.article-shell{display:grid;gap:2.6rem;padding:1.25rem 0 4rem}.article-hero{display:grid;gap:1rem;max-width:58rem}.article-back-link{display:inline-flex;width:-moz-fit-content;width:fit-content;align-items:center;border:1px solid var(--gr-border);border-radius:999px;background:var(--gr-surface-raised);color:var(--gr-muted);padding:.42rem .72rem;font-size:.78rem;font-weight:760}.article-back-link:hover{border-color:color-mix(in oklch,var(--gr-primary) 28%,var(--gr-border));color:var(--gr-primary)}.article-hero h1{max-width:13ch;margin:0;color:var(--gr-ink);font-size:clamp(2.55rem,5vw,5rem);font-weight:840;letter-spacing:-.075em;line-height:.98}.article-hero p:not(.section-kicker){max-width:49rem;margin:0;color:var(--gr-muted);font-size:clamp(1rem,1.4vw,1.15rem);line-height:1.75}.article-meta,.article-tags{display:flex;flex-wrap:wrap;gap:.5rem}.article-meta a,.article-meta span,.article-tags span{display:inline-flex;min-height:1.8rem;align-items:center;border:1px solid color-mix(in oklch,var(--gr-border) 88%,transparent);border-radius:999px;background:color-mix(in oklch,var(--gr-surface-raised) 92%,var(--gr-primary-soft));color:var(--gr-muted);padding:0 .65rem;font-size:.76rem;font-weight:720}.article-meta a{color:var(--gr-primary)}.article-tags span{background:var(--gr-primary-soft);color:var(--gr-primary-ink)}.article-layout{display:grid;grid-template-columns:minmax(0,1fr) 15rem;gap:3rem;align-items:start}.article-content{max-width:48rem;color:var(--gr-ink);font-size:1rem;line-height:1.85}.article-content h1{display:none}.article-content h2{margin:2.4rem 0 .8rem;color:var(--gr-ink);font-size:clamp(1.5rem,2.4vw,2.1rem);letter-spacing:-.045em;line-height:1.15}.article-content h3{margin:2rem 0 .55rem;color:var(--gr-ink);font-size:1.16rem;letter-spacing:-.025em}.article-content li,.article-content p{color:var(--gr-muted)}.article-content p{margin:.85rem 0}.article-content ol,.article-content ul{display:grid;gap:.45rem;margin:1rem 0;padding-left:1.2rem}.article-content a{color:var(--gr-primary);font-weight:720}.article-code{overflow:auto;border:1px solid color-mix(in oklch,var(--gr-border) 88%,transparent);border-radius:.9rem;background:color-mix(in oklch,var(--gr-ink) 94%,var(--gr-primary));color:oklch(.94 .015 265);padding:1rem;font-size:.86rem;line-height:1.7}.article-callout{margin:1.25rem 0;border:1px solid color-mix(in oklch,var(--gr-primary) 24%,var(--gr-border));border-radius:1rem;background:var(--gr-primary-soft);padding:1rem 1.1rem;color:var(--gr-primary-ink)}.article-table-wrap{overflow:auto;margin:1.2rem 0;border:1px solid var(--gr-border);border-radius:.9rem}.article-table-wrap table{width:100%;border-collapse:collapse;min-width:42rem}.article-table-wrap td,.article-table-wrap th{border-bottom:1px solid var(--gr-border);padding:.75rem .85rem;text-align:left}.article-table-wrap th{color:var(--gr-ink);font-size:.78rem;letter-spacing:.04em;text-transform:uppercase}.article-table-wrap td{color:var(--gr-muted);font-size:.88rem}.article-toc{position:sticky;top:6rem;display:grid;gap:.55rem;border:1px solid color-mix(in oklch,var(--gr-border) 88%,transparent);border-radius:1rem;background:var(--gr-surface-raised);padding:1rem}.article-toc strong{color:var(--gr-ink);font-size:.86rem}.article-toc a{color:var(--gr-muted);font-size:.8rem;line-height:1.45}.article-toc a:hover{color:var(--gr-primary)}@media (max-width:980px){.article-layout{grid-template-columns:1fr}.article-toc{position:static;order:-1}}@media (max-width:640px){.article-shell{padding-top:.75rem}.article-hero h1{max-width:100%;font-size:clamp(2.25rem,13vw,3.5rem)}.article-content{font-size:.95rem}}@media (max-width:1180px){.chat-page-shell,.docs-home-layout,.hero,.home-flow-main,.home-flow-panel,.layout,.marketplace-layout,.openrouter-catalog-layout,.playground-shell,.playground-shell-grid,.split,.three-column{grid-template-columns:1fr}.sidebar{position:static;height:auto}.chat-sidebar{height:auto;min-height:0}.chat-main-stage{height:100%;min-height:0}.chat-model-menu{width:min(32rem,90%)}.chat-input-surface{grid-template-columns:1fr}.marketplace-filter{position:static;border-right:0;border-bottom:1px solid var(--gr-border)}.openrouter-model-list{max-height:28rem}.playground-chat,.playground-config,.playground-debug{min-height:auto}.agent-showcase,.featured-model-list,.grid-3,.grid-4,.grid-5,.grid-6,.home-metrics,.home-proof-grid,.home-start,.insight-grid,.market-model-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-flow-node{min-height:auto}.docs-home-aside{position:static;padding-left:0;border-left:0}.docs-entry-grid,.docs-path{grid-template-columns:repeat(2,minmax(0,1fr))}.router-lines{display:none}}@media (max-height:760px){.chat-model-menu{max-height:52vh}.chat-welcome-panel{margin-bottom:.5rem}}@media (max-width:760px){body,html{overflow-x:hidden}.topbar{display:grid;height:auto;min-height:0;grid-template-columns:minmax(0,1fr) auto;gap:.7rem;align-items:center;padding:.75rem .85rem}.brand{min-width:0;width:auto}.brand-name{font-size:1rem}.nav{grid-column:1/-1;width:calc(100vw - 1.7rem);gap:.35rem;overflow-x:auto;padding-bottom:.18rem;scrollbar-width:none}.nav::-webkit-scrollbar{display:none}.nav a{flex:0 0 auto;min-height:2.05rem;border-radius:.55rem;padding:.42rem .62rem;font-size:.86rem}.nav a[data-mobile-hidden=true]{display:none}.top-actions{width:auto;min-width:0;justify-content:flex-end;gap:.35rem}.account-trigger>.small,.top-actions>.small,.top-actions>svg{display:none}.account-trigger{gap:.25rem;padding:0}.account-dropdown{right:0;width:min(18rem,calc(100vw - 1.5rem))}.search{grid-column:1/-1;width:100%;border-radius:.75rem}.top-actions .search{width:auto}.auth-panel{grid-template-columns:1fr}.auth-copy{min-height:auto}.agent-showcase,.docs-entry-grid,.docs-path,.featured-model-list,.grid-2,.grid-3,.grid-4,.grid-5,.grid-6,.home-metrics,.home-proof-grid,.home-start,.insight-grid,.market-model-grid,.provider-cloud,.provider-grid{grid-template-columns:1fr}.home-page{gap:2.25rem;padding:.25rem 0 2rem}.home-hero{justify-items:start;padding:1rem 0 0;text-align:left}.home-hero h1{font-size:2.55rem;letter-spacing:0;line-height:1.04;white-space:normal}.home-hero-copy{font-size:.95rem;line-height:1.65}.home-actions{width:100%;justify-content:stretch}.home-actions .btn{width:100%;min-width:0;justify-content:center}.home-metrics{grid-template-columns:repeat(2,minmax(0,1fr));padding:0}.home-metric{align-items:start;justify-items:start;border-radius:.75rem;background:var(--gr-surface-raised);border:1px solid var(--gr-border);border-right:0;padding:.85rem .85rem 1rem;text-align:left}.home-proof-card{min-height:auto}.home-proof-visual{min-height:9rem}.home-table-wrap{overflow-x:auto}.home-model-table{min-width:44rem}.announcement-item,.featured-model-card{grid-template-columns:1fr;justify-items:start}.model-stat{justify-items:start}.announcement-art{width:100%}.home-footer{flex-direction:column}.home-section-heading{align-items:flex-start;flex-direction:column}.auth-page{min-height:auto;padding:.5rem 0 2.25rem}.auth-page:before{width:18rem;height:18rem}.auth-panel{gap:.75rem;border:0;border-radius:1rem;background:transparent;padding:0}.auth-copy,.auth-form{border-radius:.85rem}.auth-copy{display:none}.auth-copy h1{max-width:14ch;font-size:2.15rem}.auth-trust-strip{gap:.45rem}.auth-flow-preview{display:none}.auth-form{padding:1rem;box-shadow:0 18px 44px color-mix(in oklch,var(--gr-ink) 6%,transparent)}.auth-form-head h2{font-size:1.35rem}.marketplace-hero,.marketplace-toolbar{align-items:flex-start;flex-direction:column}.main:has(.marketplace-page){padding:1rem .85rem 4rem}.marketplace-page{gap:.85rem}.marketplace-hero{padding:.25rem 0}.marketplace-hero h2{font-size:1.65rem}.marketplace-hero-stack{justify-items:start}.marketplace-search{min-width:0;width:100%}.marketplace-toolbar{gap:.7rem;padding:0}.marketplace-toolbar-main{width:100%;gap:.65rem}.marketplace-mode-strip,.provider-chip-strip{width:100%;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.marketplace-mode-strip::-webkit-scrollbar,.provider-chip-strip::-webkit-scrollbar{display:none}.marketplace-mode-strip button,.provider-chip-strip button{flex:0 0 auto}.filter-chip-grid{width:100%;flex-wrap:wrap;overflow:visible}.filter-chip{flex:0 1 auto}.market-clear-button,.market-sort-button{width:100%;justify-content:center}.marketplace-filter{gap:.85rem;padding:.8rem}.market-model-list{max-height:none!important;height:auto!important;overflow:visible}.market-model-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.55rem .75rem;width:100%;min-width:0;min-height:auto;padding:.9rem}.market-model-row .model-actions,.market-model-row .model-capability,.market-model-row .model-title-cell{grid-column:1/-1}.market-route-preview{width:100vw;max-width:100vw;border-radius:0}.market-playground-link{display:none}.openrouter-catalog-hero{display:grid}.openrouter-catalog-note,.openrouter-endpoint-heading,.openrouter-summary-strip{grid-template-columns:1fr}.openrouter-endpoint-heading{display:grid}.openrouter-model-row{grid-template-columns:minmax(0,1fr) 4rem}.openrouter-model-row span:nth-child(3),.openrouter-model-row span:nth-child(4){grid-column:1/-1}.chat-message-row{max-width:100%}.main:has(.chat-page-shell){height:auto;min-height:calc(100svh - 10rem);overflow:visible}.container:has(.chat-page-shell){height:auto;min-height:inherit}.chat-page-shell{display:grid;height:auto;min-height:0;grid-template-rows:auto minmax(0,1fr);min-height:calc(100svh - 10rem);overflow:visible}.chat-sidebar{gap:1rem;height:auto;overflow:visible;border-right:0;border-bottom:1px solid var(--gr-border);padding:.85rem}.chat-new-thread{min-height:2.7rem}.chat-thread-list{display:grid;max-height:16rem}.chat-main-stage{height:100%;min-height:calc(100svh - 18rem);overflow:visible;padding:.85rem .75rem}.chat-welcome-panel{align-self:start;justify-items:start;margin-bottom:.5rem;text-align:left}.chat-hero-logo{height:3.1rem;width:3.1rem;border-radius:.9rem}.chat-welcome-panel h1{font-size:1.55rem}.chat-welcome-panel p{font-size:.92rem}.chat-current-model{align-items:flex-start;flex-direction:column;width:100%}.chat-current-model span{border-right:0;border-bottom:1px solid var(--gr-border);padding:0 0 .7rem}.chat-composer-dock{width:100%;max-width:100%;justify-items:stretch}.chat-message-drawer{width:100%;max-width:100%;min-height:13rem;max-height:calc(100svh - 23rem)}.chat-message-drawer:before{display:none}.chat-model-menu{position:fixed;right:.75rem;bottom:1rem;left:.75rem;width:auto;max-height:65vh;margin-left:0}.chat-input-controls{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.chat-input-controls::-webkit-scrollbar{display:none}.chat-input-actions{align-items:center;justify-content:space-between}.chat-input-actions span{display:none}.chat-input-surface{border-radius:1rem;padding:.65rem}.debug-stat-grid,.mode-segment{grid-template-columns:1fr}.main{padding:1.25rem .85rem 7rem}.layout{display:block}.console-panel-title,.console-ref-actions,.console-ref-header{align-items:flex-start;flex-direction:column}.console-ref-header h1{font-size:1.55rem}.console-ref-actions,.console-ref-actions .console-ref-btn{width:100%}.console-metric-grid.five,.workspace-dashboard-grid{grid-template-columns:1fr}.console-metric-card{min-height:auto;padding:.95rem}.workspace-logs-panel{grid-column:auto}.console-panel-title{min-height:auto;padding:.85rem 1rem}.ref-table{min-width:44rem}.docs-home-hero h1{font-size:clamp(2.35rem,13vw,3.5rem)}.docs-entry-card{min-height:auto}.docs-path-step{grid-template-columns:auto minmax(0,1fr)}.docs-path-step svg{display:none}.docs-code-footer,.docs-code-header{align-items:flex-start;flex-direction:column}.docs-code-footer span{text-align:left}.cta,.page-header{align-items:flex-start;flex-direction:column;gap:.85rem}}