:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--background:#fafafa;--foreground:#171717;--card:#fff;--muted:#f5f5f5;--muted-foreground:#737373;--border:#e5e5e5;--sidebar:#f4f4f5;--sidebar-foreground:#525252;--sidebar-accent:#0000000f;--destructive:#b42318;--shadow-card:0 1px 3px #0000000d, 0 1px 1px #00000008;--shadow-composer:0 1px 2px #0000000a;--shadow-composer-focus:0 0 0 1px #0000000f, 0 2px 8px -2px #0000000f;--color-background-primary:#fff;--color-background-secondary:#f5f5f5;--color-background-tertiary:#fafafa;--color-background-info:#d7ebff;--color-background-danger:#fde1e1;--color-background-success:#e0f4dd;--color-background-warning:#fff0cf;--color-text-primary:#171717;--color-text-secondary:#525252;--color-text-tertiary:#737373;--color-text-info:#004b91;--color-text-danger:#9a1f1f;--color-text-success:#1f6a12;--color-text-warning:#7a4b00;--color-border-primary:#0f172a66;--color-border-secondary:#0f172a4d;--color-border-tertiary:#0f172a26;--color-border-info:#0062c4;--color-border-danger:#c63a3a;--color-border-success:#2f8a1d;--color-border-warning:#b36b00;--font-sans:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--font-serif:ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;--font-mono:"SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;--border-radius-md:8px;--border-radius-lg:12px;--border-radius-xl:16px;--sidebar-row-inset:12px;--chat-content-max-width:820px}*{box-sizing:border-box}html,body{min-height:100%}body{background:var(--background);color:var(--foreground);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,textarea{font:inherit}button{cursor:pointer}svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;width:16px;height:16px}.app-shell{width:100%;height:100dvh;display:flex;overflow:hidden}.sidebar{background:linear-gradient(180deg, #ffffffb8, #fff0) 0 0 / 100% 120px no-repeat, var(--sidebar);color:var(--sidebar-foreground);will-change:flex-basis, padding;border-right:1px solid #0000000f;flex-direction:column;flex:0 0 272px;gap:8px;min-height:0;padding:12px 10px 10px;transition:flex-basis .22s,padding .22s,border-color .22s,box-shadow .22s;display:flex;overflow:hidden;box-shadow:inset -1px 0 #ffffff73}.sidebar-inner{opacity:1;flex-direction:column;flex:auto;gap:8px;min-width:252px;min-height:0;transition:opacity .18s,transform .22s;display:flex;transform:translate(0)}.sidebar.is-collapsed{border-right-color:#0000;flex-basis:0;padding-left:0;padding-right:0;box-shadow:inset -1px 0 #fff0}.sidebar.is-collapsed .sidebar-inner{opacity:0;pointer-events:none;transform:translate(-18px)}.sidebar-top{align-items:center;gap:8px;height:32px;display:flex}.ghost-icon,.tool-button,.send-button{border:0;flex:none;justify-content:center;align-items:center;display:inline-grid}.ghost-icon,.tool-button{color:var(--sidebar-foreground);background:0 0;border-radius:10px;width:32px;height:32px;text-decoration:none}.ghost-icon:hover,.tool-button:hover{background:var(--sidebar-accent);color:var(--foreground)}.new-chat-button{color:#262626;text-align:left;background:#ffffffc2;border:1px solid #0000000d;border-radius:11px;flex:0 0 36px;align-items:center;gap:7px;height:36px;min-height:36px;padding:0 11px;font-size:13px;font-weight:500;line-height:1;transition:background .14s,box-shadow .14s,transform .14s;display:flex;box-shadow:inset 0 1px #ffffffb3,0 2px 6px #0000000d}.new-chat-button svg{width:15px;height:15px}.new-chat-button:hover{color:var(--foreground);background:#ffffffeb;transform:translateY(-1px);box-shadow:inset 0 1px #ffffffd9,0 8px 24px #00000012}.sidebar-section{flex-direction:column;flex:auto;min-height:0;margin-top:6px;padding-right:0;display:flex}.sidebar-section-header{padding:0 var(--sidebar-row-inset);justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.sidebar-section p{color:#7a7a7a;letter-spacing:.08em;text-transform:uppercase;margin:0;font-size:11px;font-weight:700}.sidebar-history-list{--sidebar-scrollbar-surface:#f4f4f5f0;--sidebar-scrollbar-thumb:transparent;--sidebar-scrollbar-track:transparent;overscroll-behavior:contain;scrollbar-color:var(--sidebar-scrollbar-thumb) var(--sidebar-scrollbar-track);scrollbar-width:none;flex-direction:column;flex:auto;gap:1px;min-height:0;margin-right:-10px;padding-right:10px;display:flex;overflow-y:auto}.sidebar-history-list:hover,.sidebar-history-list:focus-within{--sidebar-scrollbar-thumb:#5252524d;--sidebar-scrollbar-track:var(--sidebar-scrollbar-surface);scrollbar-width:thin}.sidebar-history-list::-webkit-scrollbar{width:10px}.sidebar-history-list::-webkit-scrollbar-track{background:var(--sidebar-scrollbar-track);border-radius:999px}.sidebar-history-list::-webkit-scrollbar-thumb{background:var(--sidebar-scrollbar-thumb);background-clip:padding-box;border:2px solid #0000;border-radius:999px}.sidebar-history-list:hover::-webkit-scrollbar-thumb{border:2px solid var(--sidebar-scrollbar-surface);background:linear-gradient(#7373736b,#52525247) padding-box padding-box}.sidebar-history-list:focus-within::-webkit-scrollbar-thumb{border:2px solid var(--sidebar-scrollbar-surface);background:linear-gradient(#7373736b,#52525247) padding-box padding-box}.sidebar-history-list:hover::-webkit-scrollbar-track{background:linear-gradient(#f6f6f7f5,#efeff1eb)}.sidebar-history-list:focus-within::-webkit-scrollbar-track{background:linear-gradient(#f6f6f7f5,#efeff1eb)}.chat-count{color:#6b6b6b;font-variant-numeric:tabular-nums;background:#0000000d;border-radius:999px;justify-content:center;align-items:center;min-width:18px;height:18px;padding:0 6px;font-size:11px;display:inline-flex}.chat-row,.chat-link{background:0 0;position:relative}.chat-row{border-radius:10px;align-items:center;width:100%;min-height:34px;display:block}.chat-row:before{content:"";opacity:0;background:#111;border-radius:999px;width:3px;height:18px;transition:opacity .14s,transform .14s;position:absolute;top:50%;left:4px;transform:translateY(-50%)scaleY(.6)}.chat-link{color:var(--foreground);min-height:34px;padding:7px var(--sidebar-row-inset);text-align:left;border:0;border-radius:10px;text-decoration:none;transition:padding-right .14s,transform .14s;display:block;overflow:hidden}.chat-title-input{color:#111;font:inherit;height:30px;margin:2px 0 2px var(--sidebar-row-inset);min-width:0;width:calc(100% - (var(--sidebar-row-inset) * 2));background:#fffffff5;border:1px solid #1111111f;border-radius:9px;outline:none;padding:0 10px 0 12px;font-size:13px;font-weight:500}.chat-title-input:focus{border-color:#1111114d;box-shadow:0 0 0 3px #11111114}.chat-row:hover,.chat-row.active,.chat-row:focus-within{background:#ffffffd1;box-shadow:inset 0 1px #ffffffd1,0 8px 20px #0f172a0d}.chat-row:hover .chat-link,.chat-row:focus-within .chat-link{padding-right:44px;transform:translate(1px)}.chat-row:hover:before,.chat-row.active:before,.chat-row:focus-within:before{opacity:1;transform:translateY(-50%)scaleY(1)}.chat-row.active .chat-link{color:#111}.chat-link-title{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500;line-height:1.2;display:block;overflow:hidden}.chat-link-title.is-refreshing{transform-origin:0;animation:.52s cubic-bezier(.2,.9,.25,1) chat-title-refresh}@keyframes chat-title-refresh{0%{filter:blur(5px);opacity:.32;transform:translateY(8px)scale(.985)}45%{filter:blur();opacity:1;transform:translateY(0)scale(1.01)}to{filter:blur();opacity:1;transform:translateY(0)scale(1)}}.chat-menu-trigger{color:#7a7a7a;opacity:0;z-index:1;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;width:28px;height:28px;transition:background .14s,color .14s,opacity .14s;display:inline-grid;position:absolute;top:50%;right:6px;transform:translateY(-50%)}.chat-row:hover .chat-menu-trigger,.chat-row:focus-within .chat-menu-trigger,.chat-menu-trigger.is-visible{opacity:1}.chat-menu-trigger:hover,.chat-menu-trigger.is-visible{color:#202020;background:#0f172a0f}.chat-menu{z-index:20;background:#fffffffa;border:1px solid #0f172a14;border-radius:12px;gap:1px;width:128px;padding:4px;display:grid;position:absolute;top:calc(100% - 2px);right:4px;box-shadow:0 18px 40px #0f172a1f,0 4px 12px #0f172a14}.chat-menu-item{color:#202020;text-align:left;background:0 0;border:0;border-radius:9px;align-items:center;gap:6px;height:30px;padding:0 8px;font-size:11px;font-weight:500;line-height:1;transition:background .14s;display:flex}.chat-menu-item:hover{background:#0f172a0f}.chat-menu-item.danger{color:#b42318}.chat-menu-item.danger:hover{background:#b4231814}.empty-history{color:var(--muted-foreground);padding:10px 12px;font-size:12px}.sidebar-footer{border-top:1px solid #1111110f;flex:none;margin-top:4px;padding:10px 0 0}.sidebar-settings-button{color:#202020;min-height:34px;padding:7px var(--sidebar-row-inset);text-align:left;background:#fff0;border:0;border-radius:10px;align-items:center;gap:6px;width:100%;transition:background .14s,color .14s,opacity .14s;display:flex}.sidebar-settings-button:hover{color:#111;opacity:1;background:#ffffffd1}.sidebar-settings-icon{flex:none;justify-content:center;align-items:center;width:14px;height:14px;display:inline-flex}.sidebar-settings-icon svg{width:14px;height:14px}.sidebar-settings-title{font-size:12px;font-weight:600;line-height:1}.dialog-backdrop{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:40;background:#0f172a24;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.dialog-card{background:#fffffffa;border:1px solid #dadfe8f5;border-radius:18px;width:min(100%,360px);max-width:360px;padding:18px 18px 16px;box-shadow:0 18px 40px #15161a1a}.dialog-eyebrow{color:#b42318;letter-spacing:.08em;text-transform:uppercase;margin:0 0 8px;font-size:11px;font-weight:700}.dialog-card h2{color:#111;letter-spacing:-.02em;margin:0;font-size:18px;font-weight:650;line-height:1.2}.dialog-description{color:#5f5f5f;margin:10px 0 0;font-size:13px;line-height:1.5}.dialog-description span{color:#111;font-weight:600}.dialog-actions{justify-content:flex-end;gap:8px;margin-top:18px;display:flex}.dialog-button{color:#202020;min-width:82px;height:34px;box-shadow:none;background:#f1eee8fa;border:1px solid #cfc7bbeb;border-radius:10px;justify-content:center;align-items:center;padding:0 14px;font-size:12px;font-weight:600;transition:background .14s,border-color .14s,box-shadow .14s;display:inline-flex}.dialog-button:hover{box-shadow:none;background:#f7f4ef;border-color:#bbb2a4f5}.dialog-button:disabled{cursor:wait;opacity:.68}.dialog-button.danger{color:#fff;box-shadow:none;background:#26231f;border-color:#2c2823fa}.dialog-button.danger:hover{background:#302c27;border-color:#35302afa}.manage-models-dialog{background:#fffffffa;width:min(100%,560px);max-width:560px;padding:16px 16px 14px;box-shadow:0 18px 36px #15161a17}.provider-picker-dialog{background:#fffffffa;width:min(100%,620px);max-width:620px;padding:20px 20px 18px;box-shadow:0 18px 36px #15161a17}.settings-dialog{scrollbar-gutter:stable;background:#fffffffa;width:min(100%,520px);max-width:520px;max-height:min(720px,100dvh - 40px);padding:16px 16px 14px;overflow-y:auto;box-shadow:0 18px 36px #15161a17}.settings-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.settings-copy{min-width:0}.settings-close{flex:none}.settings-showcase-note{background:#f8f6f1f5;border:1px solid #e2ddd4f5;border-radius:12px;justify-content:space-between;align-items:center;gap:10px;margin-top:12px;padding:10px 12px;display:flex}.settings-showcase-copy{color:#5f5f5f;margin:0;font-size:12px;line-height:1.45}.settings-github-link{color:#fff;background:#26231f;border:1px solid #2c2823fa;border-radius:10px;flex:none;align-items:center;height:32px;padding:0 12px;font-size:12px;font-weight:600;text-decoration:none;transition:background .14s,border-color .14s;display:inline-flex}.settings-github-link:hover,.settings-github-link:focus-visible{background:#302c27;border-color:#35302afa}.settings-stack{gap:10px;margin-top:12px;display:grid}.settings-section-card{background:#fffffff5;border:1px solid #e5e5e5f5;border-radius:14px;gap:10px;padding:12px;display:grid}.settings-section-copy{min-width:0}.settings-section-card h3{color:#171717;letter-spacing:-.02em;margin:0;font-size:15px;font-weight:650;line-height:1.2}.settings-secret-form{gap:8px}.settings-shortcuts{align-items:flex-start;gap:8px;display:flex}.settings-toggle-row{display:flex}.settings-switch{color:#171717;cursor:pointer;text-align:left;background:#f8f6f1f5;border:1px solid #e2ddd4f5;border-radius:14px;align-items:center;gap:10px;width:100%;min-height:46px;padding:8px 10px;transition:border-color .14s,background-color .14s,box-shadow .14s;display:inline-flex}.settings-switch:hover:not(:disabled){background:#faf8f4fa;border-color:#bbb2a4fa}.settings-switch:disabled{cursor:wait;opacity:.72}.settings-switch-track{background:#bfbab2e6;border-radius:999px;flex:none;align-items:center;width:44px;height:26px;padding:3px;transition:background-color .14s;display:inline-flex}.settings-switch-thumb{background:#fffdf9;border-radius:999px;width:20px;height:20px;transition:transform .14s;display:block;box-shadow:0 1px 3px #1c19172e}.settings-switch-copy{min-width:0;display:grid}.settings-switch-label{color:#171717;font-size:13px;font-weight:650;line-height:1.2}.settings-switch.is-active{background:#f5f8effa;border-color:#667b3f3d}.settings-switch.is-active .settings-switch-track{background:#5f7d38}.settings-switch.is-active .settings-switch-thumb{transform:translate(18px)}.settings-actions{margin-top:12px}.provider-picker-header,.manage-models-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.provider-picker-copy,.manage-models-copy{min-width:0}.provider-picker-eyebrow,.manage-models-eyebrow{letter-spacing:.08em;text-transform:uppercase;color:var(--muted-foreground);margin:0 0 8px;font-size:11px;font-weight:700}.provider-picker-description,.manage-models-description{color:#5f5f5f;max-width:52ch;margin:10px 0 0;font-size:13px;line-height:1.5}.provider-picker-close,.manage-models-close{flex:none}.provider-picker-toolbar,.manage-models-toolbar{align-items:center;gap:8px;margin-top:12px;display:flex}.provider-picker-search,.manage-model-search{flex:auto;width:100%}.provider-picker-list,.manage-models-list{overflow-anchor:none;scrollbar-width:none;gap:8px;max-height:min(56vh,520px);margin-top:12px;padding-right:2px;display:grid;overflow-y:auto}.provider-picker-list::-webkit-scrollbar{display:none}.manage-models-list::-webkit-scrollbar{display:none}.provider-picker-actions,.manage-models-actions{margin-top:12px}.provider-dialog-group,.manage-models-list .model-group{background:#fffffff5;border:1px solid #e5e5e5f5;border-radius:16px;padding:9px}.manage-models-list .model-group{background:0 0;border:0;border-radius:0;padding:0}.provider-dialog-label{color:#59606fe6;letter-spacing:.06em;text-transform:uppercase;margin:0 0 8px;padding:0 4px;font-size:11px;font-weight:700}.provider-credential-input{color:var(--foreground);font:inherit;background:#fffffffa;border:1px solid #d6d2caf5;border-radius:12px;width:100%;height:42px;padding:0 12px}.provider-credential-input:focus{border-color:#79746bf5;outline:none}.provider-credential-input.is-masked{-webkit-text-security:disc}.widget-shell{width:100%;margin-top:6px;display:block;position:relative}.widget-frame{box-shadow:none;background:0 0;border:0;border-radius:0;width:100%;padding:0;position:relative;overflow:visible}.widget-frame.is-error{color:#b42318}.widget-placeholder{align-items:start;gap:12px;padding:6px 0;display:grid}.widget-loader-line{background:linear-gradient(90deg,#f0f0f0 0%,#fff 50%,#f0f0f0 100%);border-radius:999px;width:min(220px,60%);height:10px;animation:1.3s ease-in-out infinite widgetPulse}.widget-host{color:var(--color-text-primary);font-family:var(--font-sans);white-space:normal;min-height:0;position:relative}.widget-live-region{width:100%;max-width:100%;display:inline-block;position:relative}.widget-host>*{max-width:100%}.widget-host svg{--p:var(--color-text-primary);--s:var(--color-text-secondary);--t:var(--color-text-tertiary);--bg2:var(--color-background-secondary);--b:var(--color-border-tertiary);fill:initial;max-width:100%;height:auto;stroke:initial;stroke-linecap:initial;stroke-linejoin:initial;stroke-width:initial;width:auto}.widget-host svg .t,.widget-host svg .th{fill:var(--color-text-primary);font-family:var(--font-sans);font-size:14px}.widget-host svg .th{font-weight:500}.widget-host svg .ts{fill:var(--color-text-secondary);font-family:var(--font-sans);font-size:12px;font-weight:400}.widget-host svg .box{fill:var(--color-background-secondary);stroke:var(--color-border-tertiary)}.widget-host svg .arr{fill:none;stroke:var(--color-border-primary);stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}.widget-host svg .leader{fill:none;stroke:var(--color-border-tertiary);stroke-dasharray:4 4;stroke-width:.5px}.widget-host svg .node{cursor:pointer;transition:opacity .14s}.widget-host svg .node:hover{opacity:.82}.widget-host svg .c-purple{--ramp-fill:#eeedfe;--ramp-stroke:#534ab7;--ramp-title:#3c3489;--ramp-subtitle:#534ab7}.widget-host svg .c-teal{--ramp-fill:#e1f5ee;--ramp-stroke:#0f6e56;--ramp-title:#085041;--ramp-subtitle:#0f6e56}.widget-host svg .c-coral{--ramp-fill:#faece7;--ramp-stroke:#993c1d;--ramp-title:#712b13;--ramp-subtitle:#993c1d}.widget-host svg .c-pink{--ramp-fill:#fbeaf0;--ramp-stroke:#993556;--ramp-title:#72243e;--ramp-subtitle:#993556}.widget-host svg .c-gray{--ramp-fill:#f1efe8;--ramp-stroke:#5f5e5a;--ramp-title:#444441;--ramp-subtitle:#5f5e5a}.widget-host svg .c-blue{--ramp-fill:#e6f1fb;--ramp-stroke:#185fa5;--ramp-title:#0c447c;--ramp-subtitle:#185fa5}.widget-host svg .c-green{--ramp-fill:#eaf3de;--ramp-stroke:#3b6d11;--ramp-title:#27500a;--ramp-subtitle:#3b6d11}.widget-host svg .c-amber{--ramp-fill:#faeeda;--ramp-stroke:#854f0b;--ramp-title:#633806;--ramp-subtitle:#854f0b}.widget-host svg .c-red{--ramp-fill:#fcebeb;--ramp-stroke:#a32d2d;--ramp-title:#791f1f;--ramp-subtitle:#a32d2d}.widget-host svg rect.c-purple,.widget-host svg circle.c-purple,.widget-host svg ellipse.c-purple,.widget-host svg rect.c-teal,.widget-host svg circle.c-teal,.widget-host svg ellipse.c-teal,.widget-host svg rect.c-coral,.widget-host svg circle.c-coral,.widget-host svg ellipse.c-coral,.widget-host svg rect.c-pink,.widget-host svg circle.c-pink,.widget-host svg ellipse.c-pink,.widget-host svg rect.c-gray,.widget-host svg circle.c-gray,.widget-host svg ellipse.c-gray,.widget-host svg rect.c-blue,.widget-host svg circle.c-blue,.widget-host svg ellipse.c-blue,.widget-host svg rect.c-green,.widget-host svg circle.c-green,.widget-host svg ellipse.c-green,.widget-host svg rect.c-amber,.widget-host svg circle.c-amber,.widget-host svg ellipse.c-amber,.widget-host svg rect.c-red,.widget-host svg circle.c-red,.widget-host svg ellipse.c-red,.widget-host svg .c-purple>rect,.widget-host svg .c-purple>circle,.widget-host svg .c-purple>ellipse,.widget-host svg .c-teal>rect,.widget-host svg .c-teal>circle,.widget-host svg .c-teal>ellipse,.widget-host svg .c-coral>rect,.widget-host svg .c-coral>circle,.widget-host svg .c-coral>ellipse,.widget-host svg .c-pink>rect,.widget-host svg .c-pink>circle,.widget-host svg .c-pink>ellipse,.widget-host svg .c-gray>rect,.widget-host svg .c-gray>circle,.widget-host svg .c-gray>ellipse,.widget-host svg .c-blue>rect,.widget-host svg .c-blue>circle,.widget-host svg .c-blue>ellipse,.widget-host svg .c-green>rect,.widget-host svg .c-green>circle,.widget-host svg .c-green>ellipse,.widget-host svg .c-amber>rect,.widget-host svg .c-amber>circle,.widget-host svg .c-amber>ellipse,.widget-host svg .c-red>rect,.widget-host svg .c-red>circle,.widget-host svg .c-red>ellipse{fill:var(--ramp-fill);stroke:var(--ramp-stroke)}.widget-host svg .c-purple>.t,.widget-host svg .c-purple>.th,.widget-host svg .c-teal>.t,.widget-host svg .c-teal>.th,.widget-host svg .c-coral>.t,.widget-host svg .c-coral>.th,.widget-host svg .c-pink>.t,.widget-host svg .c-pink>.th,.widget-host svg .c-gray>.t,.widget-host svg .c-gray>.th,.widget-host svg .c-blue>.t,.widget-host svg .c-blue>.th,.widget-host svg .c-green>.t,.widget-host svg .c-green>.th,.widget-host svg .c-amber>.t,.widget-host svg .c-amber>.th,.widget-host svg .c-red>.t,.widget-host svg .c-red>.th{fill:var(--ramp-title)}.widget-host svg .c-purple>.ts,.widget-host svg .c-teal>.ts,.widget-host svg .c-coral>.ts,.widget-host svg .c-pink>.ts,.widget-host svg .c-gray>.ts,.widget-host svg .c-blue>.ts,.widget-host svg .c-green>.ts,.widget-host svg .c-amber>.ts,.widget-host svg .c-red>.ts{fill:var(--ramp-subtitle)}.widget-live-region.is-hidden{display:none}.widget-loading-status{color:var(--color-text-tertiary);letter-spacing:.01em;align-items:center;gap:8px;margin-top:8px;padding-left:2px;font-size:12px;font-weight:500;line-height:1.3;display:inline-flex}.widget-placeholder .widget-loading-status{margin-top:0}.widget-loading-dot{opacity:.42;background:currentColor;border-radius:999px;flex:none;width:6px;height:6px;animation:1.9s ease-in-out infinite widgetLoadingDot}.widget-loading-text{align-items:baseline;min-width:0;display:inline-flex}.widget-loading-ellipsis{width:3ch;animation:1.8s steps(4,end) infinite widgetEllipsis;display:inline-block;overflow:hidden}.widget-error-text{color:#b42318;margin:10px 0 0;font-size:12px;line-height:1.5}@keyframes widgetPulse{0%,to{opacity:.55;transform:scaleX(.98)}50%{opacity:1;transform:scaleX(1)}}@keyframes widgetLoadingDot{0%,to{opacity:.28;transform:scale(.92)}50%{opacity:.72;transform:scale(1)}}@keyframes widgetEllipsis{0%{width:0}25%{width:1ch}50%{width:2ch}75%,to{width:3ch}}@keyframes widgetFadeIn{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.chat-panel{background:var(--background);flex:auto;grid-template-rows:auto minmax(0,1fr) auto;min-width:0;display:grid}.chat-header{background:var(--background);align-items:center;gap:8px;height:56px;padding:0 12px;display:flex}.chat-header-leading{align-items:center;gap:8px;display:flex}.mobile-only{display:none}.model-pill{white-space:nowrap;border-radius:8px;justify-content:center;align-items:center;gap:8px;height:34px;display:inline-flex}.header-spacer{flex:1}.message-scroll{scrollbar-gutter:stable both-edges;min-height:0;padding:16px 16px 12px;overflow-y:auto}.empty-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:100%;padding-bottom:96px;display:flex}.empty-state h1{letter-spacing:0;margin:0;font-size:clamp(28px,4vw,34px);font-weight:650;line-height:1.18}.empty-state p{color:#737373d9;margin:12px 0 0;font-size:14px;line-height:1.5}.conversation-skeleton{max-width:calc(var(--chat-content-max-width) - 32px);gap:22px;width:100%;margin:0 auto;padding:24px 0 40px;display:grid}.conversation-skeleton-message{justify-items:start;gap:10px;max-width:76%;display:grid}.conversation-skeleton-message.user{justify-self:end;justify-items:end;width:58%;max-width:58%}.conversation-skeleton-role,.conversation-skeleton-block{background:linear-gradient(90deg,#e5e5e5b3,#f6f6f7f2,#e5e5e5b3) 0 0/220% 100%;animation:1.25s ease-in-out infinite conversation-skeleton-shimmer}.conversation-skeleton-role{border-radius:999px;width:96px;height:12px}.conversation-skeleton-block{border-radius:12px;height:16px}.conversation-skeleton-block.wide{width:min(560px,100%)}.conversation-skeleton-block.medium{width:min(440px,82%)}.conversation-skeleton-block.short{width:min(280px,54%)}.conversation-skeleton-block.user-line{border-radius:16px;width:min(360px,100%);height:42px}@keyframes conversation-skeleton-shimmer{0%{background-position:120% 0}to{background-position:-120% 0}}.message-list{max-width:calc(var(--chat-content-max-width) - 32px);gap:20px;width:100%;margin:0 auto;padding:18px 0 24px;display:grid}.message{white-space:pre-wrap;line-height:1.65}.message-user{justify-self:end;max-width:min(660px,82%)}.message-assistant{justify-self:start;gap:8px;width:100%;max-width:100%;padding:2px 0;display:grid}.message-role{color:var(--muted-foreground);margin-bottom:5px;font-size:12px;font-weight:600;display:block}.message-body{width:100%;min-width:0;display:grid}.message-user-row{grid-template-columns:auto minmax(0,1fr);align-items:end;gap:10px;display:grid}.message-user .message-body{background:var(--muted);border-radius:16px;padding:10px 14px}.message-actions{gap:2px;margin-top:2px;display:flex}.message-assistant .message-actions{justify-content:flex-start}.message-action-button{color:var(--muted-foreground);opacity:0;pointer-events:none;background:0 0;border:0;border-radius:10px;justify-content:center;align-items:center;width:28px;height:28px;padding:0;transition:opacity .14s,color .14s;display:inline-flex}.message:hover .message-action-button,.message:focus-within .message-action-button{opacity:1;pointer-events:auto}.message-action-button:hover,.message-action-button.is-copied{color:var(--foreground)}.message-action-button.is-copied svg{stroke-width:2.4px}.message-user .message-action-button{align-self:end}.message p{margin:0}.tool-stack{gap:10px;margin-bottom:12px;display:grid}.tool-card{border:1px solid var(--border);background:#ffffffb8;border-radius:8px;grid-template-columns:minmax(0,1fr);gap:8px;min-width:0;padding:9px 10px 9px 18px;display:grid;position:relative;overflow:hidden}.tool-card:before{content:"";background:#0f172a38;border-radius:999px;width:2px;height:calc(100% - 14px);position:absolute;top:7px;left:8px}.tool-card-running{border-color:#0f172a1f}.tool-card-done{border-color:#16653429}.tool-card-error{border-color:#b4231833}.tool-card-running:before{background:#64748b}.tool-card-done:before{background:#3b6d11}.tool-card-error:before{background:#a32d2d}.tool-card-readme{border-color:#0f172a1f}.tool-card-readme:before{background:#64748b}.tool-card-header{flex-wrap:wrap;align-items:center;gap:6px;min-width:0;display:flex}.tool-badge{color:var(--foreground);font-family:var(--font-mono);letter-spacing:0;text-transform:none;background:#0f172a08;border:1px solid #0f172a0f;border-radius:6px;flex-shrink:0;padding:3px 7px;font-size:10px;font-weight:700;line-height:1.2;display:inline-flex}.tool-status{color:var(--muted-foreground);min-width:0;font-size:12px;line-height:1.4}.tool-input-preview{background:#0f172a09;border:1px solid #0f172a12;border-radius:6px;grid-template-columns:minmax(0,1fr);gap:4px;min-width:0;padding:7px 8px 8px;display:grid}.tool-input-preview span{color:#6b7280;letter-spacing:.08em;text-transform:uppercase;font-size:10px;font-weight:700;line-height:1}.tool-input-preview pre{color:#1f2937;font-family:var(--font-mono);white-space:pre-wrap;word-break:break-word;min-width:0;margin:0;font-size:12px;line-height:1.45;overflow-x:auto}.tool-sources{gap:4px;padding-left:2px;display:grid}.tool-source-link{color:#1d4ed8;text-overflow:ellipsis;white-space:nowrap;font-size:12px;text-decoration:none;overflow:hidden}.tool-source-link:hover{text-decoration:underline}.markdown-body{gap:10px;display:grid}.markdown-body+.widget-shell,.widget-shell+.markdown-body{margin-top:10px}.markdown-body>*{margin:0}.markdown-body h1,.markdown-body h2,.markdown-body h3{letter-spacing:0;margin-top:8px;font-weight:650;line-height:1.25}.markdown-body h1{font-size:24px}.markdown-body h2{font-size:20px}.markdown-body h3{font-size:16px}.markdown-body ul,.markdown-body ol{margin:0;padding-left:22px;line-height:1}.markdown-body ol>li,.markdown-body ul>li{line-height:1.4}.markdown-body li+li{margin-top:4px}.markdown-body li>p{margin:0}.markdown-body li>.markdown-list-item-content{margin:0 0 1px 4px;display:block}.markdown-body li>ul,.markdown-body li>ol{margin-top:0;padding-left:18px}.markdown-body ul ul>li,.markdown-body ul ol>li,.markdown-body ol ul>li,.markdown-body ol ol>li{line-height:1.28}.markdown-body ul ul>li+li,.markdown-body ul ol>li+li,.markdown-body ol ul>li+li,.markdown-body ol ol>li+li{margin-top:2px}.markdown-body code{background:var(--muted);border:1px solid var(--border);border-radius:6px;padding:1px 5px;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:.92em}.markdown-body pre{color:#f8f8f8;background:#111;border-radius:8px;padding:12px;overflow-x:auto}.markdown-body pre code{color:inherit;background:0 0;border:0;padding:0}.markdown-body blockquote{border-left:3px solid var(--border);color:var(--muted-foreground);padding-left:12px}.markdown-body table{border-collapse:collapse;width:100%;display:block;overflow-x:auto}.markdown-body th,.markdown-body td{border:1px solid var(--border);padding:6px 8px}.reasoning-block{border:1px solid var(--border);color:var(--muted-foreground);background:#00000008;border-radius:10px;width:100%;margin-bottom:12px;padding:10px 12px}.reasoning-toggle{color:var(--foreground);cursor:pointer;text-align:left;background:0 0;border:0;justify-content:space-between;align-items:center;width:100%;padding:0;font-size:13px;font-weight:600;line-height:1.35;display:flex}.reasoning-chevron{opacity:.58;border-bottom:1.5px solid;border-right:1.5px solid;width:7px;height:7px;margin-left:12px;transition:opacity .18s,transform .22s;display:inline-block;transform:rotate(45deg)translateY(-1px)}.reasoning-block.is-open .reasoning-chevron{opacity:.82;transform:rotate(225deg)translateY(-1px)}.thinking-panel{opacity:0;visibility:hidden;grid-template-rows:0fr;margin-top:0;transition:grid-template-rows .26s,margin-top .26s,opacity .18s,transform .22s,visibility 0s linear .26s;display:grid;overflow:hidden;transform:translateY(-4px)}.reasoning-block.is-open .thinking-panel{opacity:1;visibility:visible;grid-template-rows:1fr;margin-top:8px;transition:grid-template-rows .3s,margin-top .3s,opacity .22s 45ms,transform .26s 35ms,visibility linear;transform:translateY(0)}.thinking-panel-inner{min-height:0;overflow:hidden}.reasoning-plain-text{color:inherit;overflow-wrap:anywhere;white-space:pre-wrap;word-break:break-word;margin:0;font-family:inherit;font-size:13px;line-height:1.55}.thinking-stack{grid-template-columns:minmax(0,1fr);gap:10px;min-width:0;display:grid}.pulse-text{color:var(--muted-foreground);animation:1.2s ease-in-out infinite pulse}.message-streaming-indicator{color:var(--muted-foreground);align-items:center;min-height:20px;padding:2px 2px 0;display:inline-flex}.message-streaming-dots{align-items:center;gap:6px;display:inline-flex}.message-streaming-dot{opacity:.24;background:currentColor;border-radius:999px;width:5px;height:5px;animation:1.05s ease-in-out infinite messageStreamingDot}.message-streaming-dot:nth-child(2){animation-delay:.15s}.message-streaming-dot:nth-child(3){animation-delay:.3s}.message-widget-reasoning-preview{color:#6b7280e0;letter-spacing:.01em;margin:8px 0 0 2px;font-size:12px;font-style:italic;line-height:1.45}.message-widget-reasoning-preview .markdown-body{color:inherit;font-size:inherit;font-style:inherit;line-height:inherit}.message-widget-reasoning-preview .markdown-body>:first-child{margin-top:0}.message-widget-reasoning-preview .markdown-body>:last-child{margin-bottom:0}@media (prefers-reduced-motion:reduce){.reasoning-chevron,.thinking-panel,.reasoning-block.is-open .thinking-panel,.starter-card,.conversation-skeleton-role,.conversation-skeleton-block,.message-streaming-dot,.showcase-replay-button{transition:none;animation:none}}.composer-wrap{max-width:var(--chat-content-max-width);gap:12px;width:100%;margin:0 auto;padding:0 16px 18px;display:grid}.starter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.starter-card{color:var(--muted-foreground);text-align:left;background:#ffffff7a;border:1px solid #e5e5e5c7;border-radius:12px;min-height:52px;padding:12px 14px;transition:background .15s,box-shadow .15s,transform .15s,color .15s;animation:.42s both starter-card-enter}.starter-card:nth-child(2){animation-delay:55ms}.starter-card:nth-child(3){animation-delay:.11s}.starter-card:nth-child(4){animation-delay:.165s}.starter-card:hover{box-shadow:var(--shadow-card);color:var(--foreground);background:#ffffffc7;transform:translateY(-1px)}@keyframes starter-card-enter{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.error-banner{color:var(--destructive);background:#fff7ed;border:1px solid #b4231829;border-radius:10px;margin:0;padding:10px 12px;font-size:13px}.showcase-replay-button{background:var(--foreground);color:var(--background);border:0;border-radius:10px;flex:none;justify-content:center;align-items:center;gap:7px;height:32px;padding:0 12px;font-size:13px;font-weight:600;transition:background .15s,transform .15s;display:inline-flex}.showcase-replay-button:hover{background:#171717e0;transform:translateY(-1px)}.showcase-replay-button svg{stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;width:16px;height:16px}.composer{box-shadow:var(--shadow-composer);background:#ffffffb8;border:1px solid #e5e5e5c7;border-radius:16px;gap:6px;padding:0;transition:box-shadow .18s;display:grid}.composer:focus-within{box-shadow:var(--shadow-composer-focus)}.composer.is-read-only:focus-within{box-shadow:var(--shadow-composer)}.composer.is-read-only{gap:0}.composer textarea{color:var(--foreground);resize:none;background:0 0;border:0;outline:none;width:100%;min-height:96px;padding:15px 16px 4px}.composer textarea::placeholder{color:#7373738c}.composer.is-read-only textarea,.composer.is-read-only textarea:disabled,.composer.is-read-only textarea:hover{cursor:not-allowed;opacity:1}.composer.is-read-only textarea:disabled{-webkit-text-fill-color:#737373c7}.composer.is-read-only textarea{min-height:54px;padding:13px 16px 0}.composer-footer{justify-content:space-between;align-items:flex-end;gap:10px;padding:0 10px 10px;display:flex;position:relative}.tool-row{flex-direction:column;flex:auto;align-items:flex-start;gap:10px;min-width:0;display:flex;position:relative}.model-rail{min-width:0;display:flex}.model-trigger{color:#48443ed6;background:0 0;border:0;border-radius:0;align-items:center;gap:6px;min-width:0;max-width:min(360px,100vw - 140px);height:auto;padding:0 0 0 6px;font-size:12px;font-weight:500;line-height:1.2;transition:color .14s;display:inline-flex}.model-trigger:hover,.model-trigger:focus-visible{color:var(--foreground)}.picker-icon-button:hover:not(:disabled){box-shadow:none;color:var(--foreground);background:#fff;border-color:#d4d4d4f5}.model-trigger svg,.model-search svg,.picker-icon-button svg,.model-option-check svg{stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;flex:none;width:14px;height:14px}.model-trigger-text{color:#30302deb;text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.picker-icon-button{color:#525252e6;width:38px;height:38px;box-shadow:none;background:#fffffffa;border:1px solid #e5e5e5f0;border-radius:12px;flex:none;justify-content:center;align-items:center;padding:0;transition:background .14s,border-color .14s,color .14s,box-shadow .14s;display:inline-flex}.picker-icon-button:disabled{color:var(--muted-foreground);cursor:not-allowed;opacity:.55}.picker-back-button{flex:none}.model-picker{z-index:20;background:#fffffffa;border:1px solid #e5e5e5f2;border-radius:16px;width:min(420px,100%);max-width:min(420px,100vw - 48px);padding:12px;position:absolute;bottom:calc(100% + 12px);left:0;box-shadow:0 18px 36px #1c1a161a}.model-surface-header{gap:4px;margin-bottom:12px;display:grid}.model-surface-eyebrow{color:var(--muted-foreground);letter-spacing:.08em;text-transform:uppercase;margin:0;font-size:10px;font-weight:700}.model-surface-title{color:var(--foreground);letter-spacing:-.02em;margin:0;font-size:15px;font-weight:650}.model-picker-topbar{align-items:center;gap:8px;display:flex}.model-search{color:var(--muted-foreground);min-width:0;height:38px;box-shadow:none;background:#fffffff5;border:1px solid #e5e5e5f2;border-radius:12px;flex:auto;align-items:center;gap:8px;padding:0 12px;display:flex}.model-search:focus-within,.picker-text-button:focus-visible,.provider-option:focus-visible,.manage-model-option:focus-visible,.manual-model-option:focus-visible{border-color:#a3a3a3e6;box-shadow:0 0 0 3px #e5e5e5b3}.model-search-input{color:var(--foreground);background:0 0;border:0;outline:none;flex:auto;min-width:0;font-size:14px}.model-search-input::placeholder{color:#737373b3}.picker-text-button{color:var(--muted-foreground);height:24px;box-shadow:none;background:#fffffffa;border:1px solid #e5e5e5f5;border-radius:999px;flex:none;padding:0 8px;font-size:11px;font-weight:600}.picker-text-button:hover{box-shadow:none;color:var(--foreground);background:#fff;border-color:#d4d4d4fa}.provider-option-list{grid-template-columns:minmax(0,1fr);gap:6px;display:grid}.provider-option{color:var(--foreground);text-align:left;background:#fffffffa;border:1px solid #e5e5e5f5;border-radius:12px;gap:10px;width:100%;padding:10px;transition:background .14s,border-color .14s,box-shadow .14s;display:grid}.provider-option:hover,.provider-option.is-active{box-shadow:none;background:#fafafa;border-color:#d4d4d4fa}.provider-option-summary{color:inherit;cursor:pointer;text-align:left;background:0 0;border:0;width:100%;padding:0;display:block}.provider-option-summary:focus-visible{outline:none}.provider-option:has(.provider-option-summary:focus-visible){border-color:#a3a3a3e6;box-shadow:0 0 0 3px #e5e5e5b3}.provider-option-copy{gap:4px;width:100%;min-width:0;display:grid}.provider-option-editor{gap:10px;display:grid}.provider-option-actions{flex-wrap:wrap;gap:8px;display:flex}.provider-option-title-row{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:6px 8px;min-width:0;display:flex}.provider-option-title{color:var(--foreground);flex:auto;min-width:0;font-size:13px;font-weight:600}.provider-option-description,.provider-option-meta{color:var(--muted-foreground);font-size:12px;line-height:1.45}.manage-models-provider-button{flex:none;justify-content:center;align-items:center;height:38px;padding:0 14px;display:inline-flex}.manual-model-option{text-align:left;background:#f6f4efa8;border:1px solid #e3e1daeb;border-radius:12px;align-items:flex-start;gap:3px;width:100%;margin-top:10px;padding:10px 12px;display:grid}.manual-model-option:hover{background:#faf8f3eb;border-color:#d2cdc4f0}.manual-model-label{color:#706c63e0;letter-spacing:.04em;text-transform:uppercase;font-size:11px;font-weight:600}.manual-model-value{color:var(--foreground);font-size:13px}.manage-group-label{color:#7a7a7a;align-items:center;padding:0 6px;font-size:12px;font-weight:500}.manage-group-actions{gap:6px;display:flex}.manage-models-dialog .picker-text-button{color:#5f5a52eb;background:0 0;border:0;border-radius:8px;height:26px;padding:0 6px}.manage-models-dialog .picker-text-button:hover{background:#ffffffb8;border-color:#0000}.manage-model-option{text-align:left;background:0 0;border:0;border-radius:10px;justify-content:space-between;align-items:center;width:100%;min-height:34px;padding:0 10px 0 16px;font-size:13px;transition:background .16s,color .16s,transform .16s;display:flex;position:relative}.manage-model-option:before{content:"";opacity:.28;border-radius:999px;width:3px;height:16px;transition:opacity .16s,transform .16s;position:absolute;top:50%;left:6px;transform:translateY(-50%)scaleY(.72)}.manage-model-option:hover{background:#ffffffd1}.manage-model-option:hover:before,.manage-model-option:focus-visible:before{opacity:1;transform:translateY(-50%)scaleY(1)}.manage-model-option.is-visible{color:var(--foreground)}.manage-model-option.is-visible:before{background:var(--foreground)}.manage-model-option.is-hidden{color:var(--muted-foreground)}.manage-model-option.is-hidden:before{background:#737373c7}.manage-model-name{font-weight:500;transition:color .16s}.manage-model-option.is-visible .manage-model-name{color:var(--foreground)}.manage-model-option.is-hidden .manage-model-name{color:var(--muted-foreground)}.manage-model-state{letter-spacing:.04em;text-align:center;text-transform:uppercase;flex:none;min-width:52px;padding:0;font-size:11px;font-weight:600}.manage-model-state.is-visible{color:var(--foreground);background:0 0}.manage-model-state.is-hidden{color:var(--muted-foreground);background:0 0}.manage-models-list .model-option-list{gap:1px}.model-group-list{overflow-anchor:none;scrollbar-width:none;grid-template-columns:minmax(0,1fr);gap:12px;max-height:320px;margin-top:10px;padding-right:2px;display:grid;overflow-y:auto}.model-group-list::-webkit-scrollbar{display:none}.model-group{grid-template-columns:minmax(0,1fr);gap:4px;min-width:0;display:grid}.model-group-label{box-sizing:border-box;color:#746f66f0;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:6px 8px;width:100%;min-width:0;padding:0 4px;font-size:12px;font-weight:500;line-height:1.4;display:flex}.model-group-title{flex:auto;min-width:0}.model-group-toggle{cursor:pointer;text-align:left;background:0 0;border:0;border-radius:12px;flex:auto;justify-content:space-between;align-items:center;gap:8px;min-width:0;padding:4px;display:flex}.model-group-toggle:hover{color:#46423bfa;background:#f8f6f1b8}.model-group-toggle:focus-visible{outline:none;box-shadow:0 0 0 3px #dcd8ce59}.model-group-toggle-meta{flex:0 auto;justify-content:flex-end;align-items:center;gap:8px;min-width:0;max-width:100%;margin-left:auto;display:flex}.model-group-toggle-manage{flex:auto}.model-group-badges{flex-wrap:wrap;flex:0 auto;justify-content:flex-end;gap:6px;min-width:0;max-width:100%;margin-left:auto;display:flex}.model-group-badge{color:#777066e6;background:#f2efe8eb;border-radius:999px;max-width:100%;padding:3px 7px;font-size:10px;font-weight:600}.model-group-badge.is-current{color:#faf8f2f5;background:#232321eb}.model-group-toggle-icon{color:#7b756bf0;flex:none;align-items:center;transition:color .16s,transform .16s;display:inline-flex}.model-group-toggle:hover .model-group-toggle-icon{color:#48443df5}.model-group-toggle-icon.is-collapsed{transform:rotate(-90deg)}.model-group-collapsible{opacity:1;grid-template-rows:1fr;transition:grid-template-rows .24s,opacity .2s;display:grid}.model-group-collapsible.is-collapsed{opacity:.28;grid-template-rows:0fr}.model-group-collapsible-inner{min-height:0;overflow:hidden}.model-option-list{grid-template-columns:minmax(0,1fr);gap:2px;display:grid}.model-option{color:#272623f0;text-align:left;background:0 0;border:1px solid #0000;border-radius:10px;justify-content:space-between;align-items:center;width:100%;min-height:36px;padding:0 10px;font-size:14px;display:flex}.model-option.is-active{background:#f4f2eceb;border-color:#e4e1dbfa}.model-option:hover{background:#f8f6f1d1;border-color:#eae6dff5}.model-option-main{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.model-option-check{color:#373530eb;flex:none;display:inline-flex}.model-empty-state{color:#746f66f0;background:#f6f4efa3;border:1px dashed #e2ded6f5;border-radius:12px;margin:0;padding:12px;font-size:12px;line-height:1.5}.selector-error{color:var(--destructive);margin:10px 0 0;font-size:12px;line-height:1.4}.selector-success{color:#0f766e;margin:10px 0 0;font-size:12px;line-height:1.4}.send-button{background:var(--foreground);color:var(--background);border-radius:12px;align-self:flex-end;width:30px;height:30px}.send-button:hover:not(:disabled){opacity:.85}.send-button:disabled{background:var(--muted);color:#73737359;cursor:not-allowed}.sr-only{width:1px;height:1px;margin:-1px;position:absolute;overflow:hidden}@keyframes pulse{0%,to{opacity:.45}50%{opacity:1}}@keyframes messageStreamingDot{0%,80%,to{opacity:.22;transform:translateY(0)}40%{opacity:.9;transform:translateY(-1px)}}@media (max-width:860px){.sidebar{display:none}.mobile-only{display:inline-grid}}@media (max-width:620px){.chat-header{padding:0 8px}.message-scroll{padding:12px 12px 8px}.message-user,.message-assistant{width:100%;max-width:100%}.composer-wrap{padding:0 10px 10px}.showcase-replay-button{min-width:118px}.starter-grid{scrollbar-width:none;gap:8px;display:flex;overflow-x:auto}.starter-grid::-webkit-scrollbar{display:none}.starter-card{flex:0 0 210px}.composer-footer{flex-direction:column;align-items:stretch}.model-picker{width:calc(100vw - 32px);max-width:calc(100vw - 32px);left:0}.model-trigger{max-width:calc(100vw - 104px)}.send-button{align-self:flex-end}}@media (max-height:860px){.settings-dialog{max-height:calc(100dvh - 28px);padding:14px 14px 12px}.settings-showcase-note{flex-direction:column;align-items:flex-start}.settings-stack{gap:8px}.settings-section-card{gap:8px;padding:10px}}.example-index-page,.example-page{color:var(--foreground);background:radial-gradient(circle at 0 0,#0062c414,#0000 28%),linear-gradient(#fafafa 0%,#f5f5f5 100%);min-height:100vh}.example-index-inner,.example-page-inner{max-width:1120px;margin:0 auto;padding:36px 24px 56px}.example-index-header,.example-page-header{gap:12px;display:grid}.example-page-header{max-width:calc(var(--chat-content-max-width) - 32px);margin:0 auto 24px}.example-page-header-row,.example-index-actions,.example-page-meta{flex-wrap:wrap;gap:10px;display:flex}.example-index-kicker,.example-page-meta span,.example-card-header span,.example-back-link{color:var(--muted-foreground);letter-spacing:.04em;text-transform:uppercase;font-size:12px}.example-index-header h1,.example-page-header h1{letter-spacing:-.04em;margin:0;font-size:clamp(32px,4vw,52px);line-height:.96}.example-index-header p,.example-page-header p{color:#525252e6;max-width:760px;margin:0;font-size:16px;line-height:1.65}.example-back-link{color:var(--foreground);letter-spacing:.06em;background:#ffffffc7;border:1px solid #0f172a14;border-radius:999px;align-items:center;gap:8px;padding:10px 14px;text-decoration:none;transition:background .14s,border-color .14s,transform .14s;display:inline-flex}.example-back-link:hover{background:#fffffff5;border-color:#0f172a24;transform:translateY(-1px)}.example-card-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px;margin-top:28px;display:grid}.example-card{color:inherit;background:#ffffffdb;border:1px solid #0f172a14;border-radius:22px;gap:14px;min-height:220px;padding:22px 22px 24px;text-decoration:none;transition:background .18s,border-color .18s,transform .18s;display:grid}.example-card:hover{background:#fffffffa;border-color:#0062c433;transform:translateY(-2px)}.example-card-header{flex-direction:column;gap:10px;display:flex}.example-card-header h2{letter-spacing:-.03em;margin:0;font-size:22px;line-height:1.06}.example-card p{color:#525252eb;margin:0;line-height:1.65}.example-transcript{background:#ffffffd6;border:1px solid #0f172a14;border-radius:30px;min-height:420px;padding:10px 18px 28px}
