.demo-root{position:relative;display:flex;flex-direction:column;overflow:hidden;border-radius:14px;border:1px solid hsla(0,0%,100%,.1);background:#0d0d12;box-shadow:0 24px 80px rgba(0,0,0,.55);color:var(--text-primary);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;container-type:inline-size}.demo-embedded{height:520px}.demo-full{height:min(78vh,760px)}.demo-traffic{display:inline-flex;gap:6px;flex-shrink:0;margin-right:4px}.demo-traffic i{width:11px;height:11px;border-radius:50%}.demo-mode{flex-shrink:0;margin-left:4px;padding:2px 8px;border-radius:999px;border:1px solid hsla(0,0%,100%,.1);font-size:10px;font-weight:600;letter-spacing:.4px;text-transform:uppercase;color:hsla(0,0%,100%,.45)}.demo-mode.is-live{border-color:rgba(251,191,36,.45);background:rgba(251,191,36,.12);color:#fbbf24}.demo-root .header{position:relative;flex-shrink:0;width:100%;min-width:0;-webkit-app-region:no-drag;padding-left:12px}.demo-root .action-buttons,.demo-root .app-logo,.demo-root .header-controls,.demo-root .header-left,.demo-root .logo-container,.demo-root .quota-cluster,.demo-root .terminal-management{flex-shrink:0}.demo-root .header button:not(.shortcut-btn):not(.btn-add-terminal){cursor:default}.demo-root .navbar-shortcuts{display:flex;align-items:center;gap:6px;min-width:0;overflow:visible}.demo-root .project-icon-emoji{line-height:1;display:inline-flex;align-items:center;justify-content:center}.demo-body{display:flex;flex:1;min-height:0}.demo-root .tabbed-layout-container.tab-navigation-sidebar{flex-grow:0;flex-shrink:0;min-width:0;height:100%;overflow:hidden}.cas-demo.demo-root .demo-resize-handle{display:block;position:relative;flex:0 0 5px;margin:0 -2px;z-index:5;cursor:col-resize;background:transparent;transition:background .12s ease}.cas-demo.demo-root .demo-resize-handle:hover,.demo-body.is-resizing .demo-resize-handle{background:rgba(251,191,36,.5)}.demo-body.is-resizing *{transition:none!important}.demo-root .terminal-tabs-bar{display:flex;flex-direction:column;height:100%;min-height:0}.demo-root .terminal-tabs{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden}.demo-root .terminal-tabs::-webkit-scrollbar{width:6px}.demo-root .terminal-tabs::-webkit-scrollbar-thumb{border-radius:3px;background:hsla(0,0%,100%,.12)}.demo-terminal-panel{display:flex;flex:1;flex-direction:column;min-width:0;min-height:0;border-left:1px solid hsla(0,0%,100%,.07);background:#0d0d12}.demo-terminal-header{display:flex;align-items:baseline;gap:10px;flex-shrink:0;padding:8px 14px;border-bottom:1px solid hsla(0,0%,100%,.06)}.demo-terminal-title{font-size:12px;font-weight:600;color:hsla(0,0%,100%,.85)}.demo-terminal-path{font-size:11px;color:hsla(0,0%,100%,.35)}.demo-terminal-host{position:relative;flex:1;min-height:0;padding:10px 6px 10px 12px}.demo-prompt-hit{position:absolute;left:12px;right:6px;padding:0;border:0;border-radius:4px;background:transparent;cursor:pointer}.demo-prompt-hit:focus-visible{outline:2px solid rgba(251,191,36,.6);outline-offset:1px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.demo-terminal-input{display:flex;align-items:center;gap:8px;flex-shrink:0;margin:0 12px;padding:7px 10px;border-radius:6px;border:1px solid hsla(0,0%,100%,.12);background:hsla(0,0%,100%,.02);font-family:SF Mono,ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}.demo-input-cursor{width:7px;height:15px;background:#fbbf24;animation:demoCaret 1.06s steps(1) infinite}@keyframes demoCaret{0%,50%{opacity:1}50.01%,to{opacity:0}}@media (prefers-reduced-motion:reduce){.demo-input-cursor{animation:none}}.demo-terminal-footer{flex-shrink:0;padding:6px 14px 8px;border-top:1px solid hsla(0,0%,100%,.05);font-family:SF Mono,ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;line-height:1.4;color:hsla(0,0%,100%,.4)}.demo-terminal-host .xterm{height:100%}.demo-terminal-host .xterm-viewport::-webkit-scrollbar{width:6px}.demo-terminal-host .xterm-viewport::-webkit-scrollbar-thumb{border-radius:3px;background:hsla(0,0%,100%,.15)}.demo-root .quota-popover{max-height:400px;overflow-y:auto}.demo-embedded .quota-popover{max-height:380px}.demo-root .quota-popover::-webkit-scrollbar{width:6px}.demo-root .quota-popover::-webkit-scrollbar-thumb{border-radius:3px;background:hsla(0,0%,100%,.15)}.demo-launcher-backdrop{position:absolute;inset:0;z-index:20;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(6,6,10,.74);backdrop-filter:blur(3px);animation:demoFadeIn .16s ease both}.demo-launcher{display:flex;flex-direction:column;width:min(620px,100%);max-height:100%;border-radius:14px;border:1px solid hsla(0,0%,100%,.12);background:#12121a;box-shadow:0 24px 60px rgba(0,0,0,.62);overflow:hidden;animation:demoPickerIn .2s cubic-bezier(.2,.9,.3,1) both}@keyframes demoFadeIn{0%{opacity:0}to{opacity:1}}@keyframes demoPickerIn{0%{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:none}}.demo-launcher-head{display:flex;align-items:center;gap:10px;flex-shrink:0;padding:14px 16px 10px}.demo-launcher-logo{width:20px;height:20px;flex-shrink:0}.demo-crumbs{display:flex;align-items:center;gap:8px;min-width:0}.demo-crumb{display:inline-flex;align-items:center;gap:6px;border:0;background:none;padding:0;font-size:11px;font-weight:700;letter-spacing:.9px;text-transform:uppercase;color:hsla(0,0%,100%,.32);cursor:pointer}.demo-crumb.is-active{color:#fbbf24}.demo-crumb-num{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:50%;border:1px solid;font-size:9px;font-weight:700}.demo-crumb-sep{color:hsla(0,0%,100%,.22)}.demo-launcher-count{margin-left:auto;font-size:11.5px;color:hsla(0,0%,100%,.36);white-space:nowrap}.demo-launcher-search{flex-shrink:0;margin:4px 16px 10px;padding:10px 13px;border-radius:9px;border:1px solid rgba(251,191,36,.55);background:hsla(0,0%,100%,.02);color:hsla(0,0%,100%,.9);font-size:13px;outline:none}.demo-launcher-search::-moz-placeholder{color:hsla(0,0%,100%,.3)}.demo-launcher-search::placeholder{color:hsla(0,0%,100%,.3)}.demo-launcher-list{flex:1;min-height:0;overflow-y:auto;padding:0 10px 8px}.demo-launcher-list::-webkit-scrollbar{width:6px}.demo-launcher-list::-webkit-scrollbar-thumb{border-radius:3px;background:hsla(0,0%,100%,.14)}.demo-launcher-row{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:12px;width:100%;padding:9px 10px;border:0;border-radius:9px;background:none;text-align:left;cursor:pointer;transition:background .11s ease}.demo-launcher-row:hover{background:hsla(0,0%,100%,.05)}.demo-launcher-icon{width:34px;height:34px;border-radius:9px}.demo-launcher-icon.is-agent{width:28px;height:28px;margin:0 3px;border-radius:7px}.demo-launcher-text{display:flex;flex-direction:column;gap:2px;min-width:0}.demo-launcher-name{font-size:14px;font-weight:600;color:hsla(0,0%,100%,.92)}.demo-launcher-path{font-family:SF Mono,ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11.5px;color:hsla(0,0%,100%,.34);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.demo-launcher-age{font-size:11.5px;color:hsla(0,0%,100%,.3);white-space:nowrap}.demo-launcher-empty{padding:22px 12px;text-align:center;font-size:13px;color:hsla(0,0%,100%,.35)}.demo-launcher-actions{display:flex;align-items:center;gap:8px;flex-shrink:0;padding:12px 16px 14px;border-top:1px solid hsla(0,0%,100%,.07)}.demo-launcher-close,.demo-launcher-primary,.demo-launcher-secondary{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:9px 14px;border-radius:9px;font-size:12.5px;font-weight:600;cursor:pointer}.demo-launcher-primary{flex:1;border:0;background:#fbbf24;color:#101014}.demo-launcher-secondary{flex:1;border:1px solid hsla(0,0%,100%,.12);background:hsla(0,0%,100%,.02);color:hsla(0,0%,100%,.75)}.demo-launcher-primary:disabled,.demo-launcher-secondary:disabled{opacity:.55;cursor:default}.demo-launcher-close{flex-shrink:0;padding:9px;border:1px solid hsla(0,0%,100%,.12);background:hsla(0,0%,100%,.02);color:hsla(0,0%,100%,.6)}.demo-launcher-close:hover{color:hsla(0,0%,100%,.9);border-color:hsla(0,0%,100%,.25)}.demo-footer{display:flex;align-items:center;gap:16px;flex-shrink:0;padding:9px 14px;border-top:1px solid hsla(0,0%,100%,.07);background:#15151c}.demo-hint{flex:1;min-width:0;font-size:10.5px;color:hsla(0,0%,100%,.32);white-space:nowrap}.demo-progress{position:absolute;left:0;right:0;bottom:0;height:2px;background:linear-gradient(90deg,rgba(251,191,36,.5),#fbbf24);transform-origin:left center;will-change:transform}@container (max-width: 720px){.demo-terminal-panel{display:none}.demo-root .tabbed-layout-container.tab-navigation-sidebar{flex:1}.demo-hint,.demo-root .header{display:none}.demo-root{border-radius:12px}}@container (min-width: 721px) and (max-width: 1040px){.demo-root .navbar-shortcuts{display:none}}.demo-loader{z-index:6;border-radius:0}.demo-pane-stack{position:relative;display:flex;flex:1;min-width:0;min-height:0}.demo-pane-stack .demo-terminal-host{min-width:0}.demo-body.demo-view-tabs{flex-direction:column}.demo-root .tabbed-layout-container.tab-navigation-tabs{flex:0 0 auto;width:100%;min-width:0;overflow:visible}.demo-root .tab-navigation-tabs .terminal-tabs-bar{height:auto}.demo-root .tab-navigation-tabs .terminal-tab.tab-has-notification:after{top:0;bottom:auto;left:8px;right:8px;width:auto;height:2px}.demo-root .tab-navigation-tabs .terminal-tabs{display:flex;flex:0 0 auto;align-self:stretch;width:100%;flex-direction:row;align-items:stretch;gap:4px;padding:6px 8px;overflow-x:auto;overflow-y:hidden;border-bottom:1px solid hsla(0,0%,100%,.07)}.demo-root .tab-navigation-tabs .terminal-tabs::-webkit-scrollbar{height:5px}.demo-root .tab-navigation-tabs .terminal-tabs::-webkit-scrollbar-thumb{border-radius:3px;background:hsla(0,0%,100%,.12)}.demo-root .tab-navigation-tabs .terminal-tab{flex:0 0 auto;width:auto;max-width:230px;margin:0;padding:6px 10px;border-radius:8px}.demo-root .tab-navigation-tabs .tab-activity,.demo-root .tab-navigation-tabs .tab-elapsed,.demo-root .tab-navigation-tabs .tab-goal,.demo-root .tab-navigation-tabs .tab-meta{display:none}.demo-root .tab-navigation-tabs .tab-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.demo-root .workspace-layout-menu.demo-view-menu{position:absolute;top:calc(100% + 6px);right:0;z-index:30;display:flex;flex-direction:column;gap:2px;width:250px;padding:6px;border-radius:11px;border:1px solid hsla(0,0%,100%,.12);background:#16161d;box-shadow:0 18px 44px rgba(0,0,0,.6);animation:demoPickerIn .15s ease both}.demo-root .demo-view-menu .workspace-layout-option{display:grid;grid-template-columns:18px 1fr 16px;align-items:center;gap:10px;padding:8px 9px;border:0;border-radius:8px;background:none;text-align:left;cursor:pointer}.demo-root .demo-view-menu .workspace-layout-option:hover:not(:disabled){background:hsla(0,0%,100%,.06)}.demo-root .demo-view-menu .workspace-layout-option:disabled{opacity:.4;cursor:default}.demo-view-menu .workspace-layout-option svg{width:16px;height:16px;color:hsla(0,0%,100%,.6)}.demo-view-menu .workspace-layout-option span{display:flex;flex-direction:column;gap:1px;min-width:0}.demo-view-menu .workspace-layout-option strong{font-size:13px;font-weight:600;color:hsla(0,0%,100%,.9)}.demo-view-menu .workspace-layout-option small{font-size:11px;color:hsla(0,0%,100%,.4)}.demo-view-menu .workspace-layout-check{color:#fbbf24!important}.demo-root .tabbed-layout-container.tab-sidebar-collapsed{flex-basis:62px!important}.demo-root .tab-sidebar-collapsed .terminal-tabs-toolbar{flex-direction:column;gap:6px;padding:8px 0}.demo-root .tab-sidebar-collapsed .terminal-tabs{align-items:center;padding:4px}.demo-toasts{position:absolute;top:62px;right:12px;z-index:25;display:flex;flex-direction:column;gap:8px;pointer-events:none}.demo-toast{display:flex;align-items:flex-start;gap:11px;width:320px;padding:11px 13px;border-radius:13px;border:1px solid hsla(0,0%,100%,.14);background:rgba(38,38,46,.92);backdrop-filter:blur(18px);box-shadow:0 12px 34px rgba(0,0,0,.5);text-align:left;cursor:pointer;pointer-events:auto}.demo-toast:hover{border-color:hsla(0,0%,100%,.26)}.demo-toast-icon{width:30px;height:30px;flex-shrink:0}.demo-toast-text{display:flex;flex-direction:column;gap:1px;min-width:0}.demo-toast-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.demo-toast-app{font-size:11.5px;font-weight:600;color:hsla(0,0%,100%,.9)}.demo-toast-now{font-size:11px;color:hsla(0,0%,100%,.4)}.demo-toast-title{font-size:12.5px;font-weight:600;color:hsla(0,0%,100%,.92)}.demo-toast-body{font-size:12px;line-height:1.35;color:hsla(0,0%,100%,.62);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}@container (max-width: 720px){.demo-toasts{display:none}}.demo-grid{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:1px;flex:1;min-width:0;min-height:0;background:hsla(0,0%,100%,.07)}.demo-grid .demo-terminal-panel{min-width:0;min-height:0;border-left:0}.demo-grid .demo-terminal-panel:not(.is-focused) .demo-terminal-footer,.demo-grid .demo-terminal-panel:not(.is-focused) .demo-terminal-header{opacity:.5}.demo-grid .demo-terminal-panel.is-focused{box-shadow:inset 0 0 0 1px rgba(251,191,36,.45)}.demo-grid .demo-terminal-panel:not(.is-focused) .demo-terminal-input{display:none}.demo-grid .demo-terminal-host{padding:8px 4px 8px 10px}@container (max-width: 900px){.demo-grid{grid-template-columns:1fr;grid-template-rows:1fr 1fr}.demo-grid .demo-terminal-panel:nth-child(n+3){display:none}}.demo-launcher-list,.demo-root .quota-popover,.demo-root .terminal-tabs{overscroll-behavior:contain}.demo-pane-stack .cas-chat{flex:1;min-width:0;min-height:0;background:transparent}.demo-terminal-panel.is-chat .demo-pane-stack{border-radius:0 0 10px 10px}.demo-root .cas-model-menu,.demo-root .cas-permission-menu{width:min(340px,calc(100cqw - 32px))}.demo-mode-switch{order:-1;flex-shrink:0;align-self:center;display:grid;place-items:center;width:24px;height:24px;padding:0;border:1px solid hsla(0,0%,100%,.1);border-radius:6px;background:transparent;color:hsla(0,0%,100%,.45);cursor:pointer;transition:color .15s ease,border-color .15s ease,background .15s ease}.demo-mode-switch:hover{color:var(--brand,#f5a623);border-color:rgba(245,166,35,.45);background:rgba(30,26,18,.9)}.demo-mode-switch svg{width:15px;height:15px}.demo-root .header{height:46px}.demo-root .app-logo{width:30px;height:30px}.demo-terminal-header{padding-top:4px;padding-bottom:4px}.mac-frame{--screen-w:16;--screen-h:10.3;--screen-max-h:74vh;--lid-pad:9px;--overhang:4.2%;display:flex;flex-direction:column;align-items:center;width:100%;max-width:calc(max(860px, calc(var(--screen-max-h) * var(--screen-w) / var(--screen-h) + var(--lid-pad) * 2)) / .916);margin-inline:auto;perspective:2400px}.mac-lid{position:relative;width:calc(100% - var(--overhang) * 2);padding:var(--lid-pad);border-radius:15px 15px 5px 5px;background:#0c0c0e;box-shadow:0 0 0 1px #6a6b71,inset 0 1px 0 hsla(0,0%,100%,.06),0 26px 60px rgba(0,0,0,.5)}.mac-screen{position:relative;display:flex;flex-direction:column;border-radius:12px;overflow:hidden;background:#0d0d12;aspect-ratio:var(--screen-w) /var(--screen-h);box-shadow:0 0 0 1px hsla(0,0%,100%,.09),inset 0 0 0 1px rgba(0,0,0,.6)}.mac-screen .demo-root{flex:1;height:auto;min-height:0}.mac-menubar{position:relative;display:flex;align-items:center;justify-content:space-between;height:24px;padding:0 10px;background:#131318;font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,Segoe UI,sans-serif;font-size:11.5px;color:hsla(0,0%,100%,.88);-webkit-user-select:none;-moz-user-select:none;user-select:none}.mac-menubar-left,.mac-menubar-right{display:flex;align-items:center;gap:13px;max-width:calc(50% - 84px);overflow:hidden;white-space:nowrap}.mac-menubar-right{gap:10px;justify-content:flex-end}.mac-apple svg{display:block;width:13px;height:13px}.mac-menu-app{font-weight:700}.mac-menu-item{color:hsla(0,0%,100%,.82)}.mac-status-icon{border-radius:3px}.mac-status-glyph,.mac-status-icon{width:14px;height:14px;opacity:.85}.mac-battery{display:inline-flex;align-items:center;gap:4px;font-size:11px}.mac-battery-shell{position:relative;width:22px;height:11px;border-radius:3px;border:1px solid hsla(0,0%,100%,.6);padding:1px}.mac-battery-shell:after{content:"";position:absolute;top:50%;right:-3px;transform:translateY(-50%);width:2px;height:4px;border-radius:0 2px 2px 0;background:hsla(0,0%,100%,.6)}.mac-battery-fill{display:block;width:100%;height:100%;border-radius:1px;background:hsla(0,0%,100%,.9)}.mac-clock{font-variant-numeric:tabular-nums}.mac-notch{top:0;width:104px;height:22px;border-radius:0 0 9px 9px;background:#000}.mac-notch,.mac-notch:after{position:absolute;left:50%;transform:translateX(-50%)}.mac-notch:after{content:"";top:6px;width:5px;height:5px;border-radius:50%;background:#0a0a0c;box-shadow:0 0 0 1px rgba(90,140,110,.35)}.mac-screen .demo-root{border:0;border-radius:0;box-shadow:none}.mac-base{position:relative;width:100%;aspect-ratio:36/1;border-radius:0 0 13px 13px;background:linear-gradient(#cfd0d5,#b9bac0 34%,#a3a4ab 62%,#86878e 88%,#6f7076);box-shadow:inset 0 1px 0 hsla(0,0%,100%,.6),inset 0 -1px 0 rgba(0,0,0,.35),0 16px 30px rgba(0,0,0,.45)}.mac-base-notch{position:absolute;top:0;left:50%;transform:translateX(-50%);width:17%;height:42%;border-radius:0 0 7px 7px;background:linear-gradient(rgba(0,0,0,.28),rgba(0,0,0,.07));box-shadow:inset 0 -1px 0 hsla(0,0%,100%,.28)}.mac-shadow{width:74%;height:26px;margin-top:-6px;border-radius:50%;background:radial-gradient(ellipse at center,rgba(0,0,0,.55),transparent 70%);filter:blur(9px);pointer-events:none}@media (max-width:720px){.mac-lid{padding:0;border-radius:12px;background:none;box-shadow:none}.mac-base,.mac-menubar,.mac-shadow{display:none}.mac-screen{border-radius:12px;box-shadow:none}.mac-screen .demo-root{border:1px solid hsla(0,0%,100%,.1);border-radius:12px}}