@font-face{font-family:'Janux Latin';src:url('fonts/manrope-latin.woff2') format('woff2');font-weight:200 800;font-display:swap}
@font-face{font-family:'Janux Sans';src:url('fonts/noto-sans-sc.woff2') format('woff2');font-weight:100 900;font-display:swap}
@font-face{font-family:'Janux Display';src:url('fonts/noto-serif-sc.woff2') format('woff2');font-weight:200 900;font-display:swap}
:root{--bg:#f8f9fb;--surface:#fff;--ink:#202124;--muted:#62666e;--line:#e1e4e8;--blue:#2463a9;--hover:#184c84;--soft:#edf2f8;--secondary:#f0f2f5;--display:'Janux Display','Songti SC',serif;--ui:'Janux Latin','Janux Sans','PingFang SC',sans-serif;--ease:cubic-bezier(.16,1,.3,1);font-family:var(--ui);font-size:16px;line-height:1.6;background:var(--bg)}
html{scroll-behavior:smooth;scrollbar-width:thin;scrollbar-color:#c6cbd2 transparent}body{overflow-x:clip}button,input,select,textarea{font-family:var(--ui)}a{color:inherit}a:hover{color:var(--blue)}button{color:inherit}h1,h2,h3{color:var(--ink)}h1{font-family:var(--display);font-size:28px;font-weight:600;letter-spacing:-.02em;line-height:1.4}h2{font-size:20px;font-weight:600}p{max-width:72ch}button:disabled{cursor:not-allowed}input::placeholder,textarea::placeholder{color:var(--muted)}::selection{background:#d7e4f4;color:#172b45}:focus-visible{outline:2px solid var(--blue);outline-offset:4px}svg{flex-shrink:0;stroke-linecap:round;stroke-linejoin:round}.button,.button.secondary,.button.danger{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 18px;border-radius:9px;font-size:14px;font-weight:500;background:var(--ink);color:var(--surface);border:1px solid transparent;text-decoration:none;transition:background-color 180ms,transform 180ms}.button:hover{background:#3d4148;color:var(--surface)}.button:active{transform:scale(.98)}.button.secondary{color:var(--ink);background:var(--secondary)}.button.danger{background:var(--danger);color:#fff}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;min-width:36px;border:0;border-radius:8px;background:transparent;color:var(--ink);padding:8px;text-decoration:none;cursor:pointer;transition:background 180ms}.icon-button:hover{background:var(--secondary);color:var(--ink)}.link-button{font-size:14px;color:var(--muted);display:inline-flex;align-items:center;gap:7px}.link-button:hover{color:var(--ink)}[hidden]{display:none!important}
/* The reference's compact navigation and open first viewport. */
.site-header{position:sticky;top:0;z-index:20;max-width:none;min-height:76px;padding:14px 28px;gap:26px;background:var(--bg);border:0}.wordmark{font-family:var(--ui);font-size:24px;font-weight:600;letter-spacing:-.04em;gap:4px}.wordmark:hover,.landing-footer .wordmark:hover{color:var(--ink)}.wordmark img{width:36px;height:36px}.primary-nav{margin-left:0;flex:1;gap:24px;font-size:14px;justify-content:flex-start}.primary-nav>a,.primary-nav summary{color:var(--ink)}.nav-utilities{margin-left:auto;display:flex;align-items:center;gap:22px}.nav-tools{display:flex;align-items:center;gap:7px;text-decoration:none;white-space:nowrap}.nav-group{position:relative}.nav-group summary{gap:5px;min-height:38px;display:flex;align-items:center;cursor:pointer;white-space:nowrap;list-style:none}.nav-group summary::-webkit-details-marker,.utility-menu summary::-webkit-details-marker,.attachment-menu summary::-webkit-details-marker{display:none}.nav-group summary svg{width:12px}.nav-group>div{position:absolute;left:-16px;top:44px;min-width:190px;padding:8px;background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:0 14px 35px #20212412;display:grid;gap:3px;animation:menu-in 260ms var(--ease)}.nav-group>div>a,.nav-group>div>span{padding:9px 12px;font-size:14px;white-space:nowrap;border-radius:6px}.nav-group>div>a:hover{background:var(--secondary)}.primary-nav .button{background:var(--ink);color:var(--surface);font-size:13px;min-height:44px;padding:10px 18px}.primary-nav .button:hover{background:#3d4148;color:var(--surface)}.primary-nav .nav-utilities>a{border:0}.language-menu>div{left:auto;right:0}.menu-toggle{margin-left:auto}.reference-hero{position:relative;min-height:calc(100svh - 76px);display:flex;align-items:center;justify-content:center;padding:70px 24px 150px}.hero-center{width:min(800px,100%);text-align:center;transform:translateY(-15px)}.chat-promotion{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:11px 20px;background:#edf0f4;border:1px solid #e1e5eb;border-radius:30px;font-size:13px;color:#4a515b;text-decoration:none}.hero-mission{position:absolute;bottom:58px;left:22px;right:22px;text-align:center;max-width:none;font-family:var(--display);font-size:21px;color:var(--ink);margin:0}.hero-scroll{position:absolute;bottom:15px;left:calc(50% - 18px);display:grid;place-items:center;width:36px;height:36px;color:var(--muted)}.reference-services{--reveal:1;min-height:110svh;margin:0 10px;border-radius:14px;background:#edf0f4}.services-sticky{position:sticky;top:76px;min-height:calc(100svh - 76px);padding:65px 30px 50px;display:flex;flex-direction:column;justify-content:space-between;gap:70px}.services-sticky>h2{font:600 44px/1.25 var(--display);letter-spacing:-.025em;margin:0;padding-bottom:28px;border-bottom:1px solid #cfd4db}.reference-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:80px;padding:0 24px 35px}.reference-service{position:relative;display:block;text-decoration:none;color:var(--ink);transition:transform 700ms var(--ease)}.reference-service+.reference-service:before{content:'';position:absolute;left:-40px;top:18px;bottom:35px;width:1px;background:#cfd4db}.service-visual{height:175px;background:#dde3ec;border-radius:16px;display:grid;place-items:center;margin-bottom:23px;overflow:hidden}.reference-service:nth-child(2) .service-visual{background:#e0e4e9}.reference-service:nth-child(3) .service-visual{background:#e4e8ed}.service-visual svg{width:62px;height:62px;stroke-width:1.1;transition:transform 650ms var(--ease)}.reference-service:hover .service-visual svg{transform:translateY(-5px) rotate(-4deg)}.reference-service h3{font-size:20px;font-weight:600;margin-bottom:12px}.reference-service p{font-size:16px;line-height:1.7;color:var(--muted);margin:0}.service-arrow{display:inline-flex;margin-top:20px}.reference-service.is-revealed{animation:service-reveal 850ms var(--ease)}.reference-service:nth-child(2).is-revealed{animation-delay:100ms}.reference-service:nth-child(3).is-revealed{animation-delay:200ms}.reference-story{max-width:1060px;margin:auto;padding:140px 30px 130px}.reference-story>p{text-align:center;max-width:none;font-size:16px;color:var(--muted);margin-bottom:85px}.story-stage{display:grid;grid-template-columns:1fr 1fr;gap:90px;align-items:center;min-height:390px}.story-display h2{font:600 58px/1.28 var(--display);letter-spacing:-.025em;margin:0 0 30px}.story-tabs{display:flex;gap:10px}.story-tabs button{display:grid;place-items:center;width:42px;height:42px;border:1px solid var(--line);border-radius:50%;background:transparent;cursor:pointer}.story-tabs button:after{content:'';width:7px;height:7px;border-radius:50%;background:#a1a7b0}.story-tabs button[aria-selected=true]{background:var(--ink);border-color:var(--ink)}.story-tabs button[aria-selected=true]:after{background:var(--surface)}.story-detail h3{font-size:24px;margin-bottom:20px}.story-detail p{font-size:17px;color:var(--muted);line-height:1.8}.reference-world{height:540px;position:relative;overflow:hidden;display:grid;place-items:center;text-align:center;background:#f1f3f6}.world-canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.reference-world>div{position:relative;margin-top:-75px}.reference-world h2{font:600 40px/1.4 var(--display);margin-bottom:25px}.landing-footer{max-width:1240px;padding:65px 32px 24px;margin:auto;display:grid;grid-template-columns:240px 1fr;gap:45px 70px;background:none;border:0}.landing-footer nav{display:grid;grid-template-columns:repeat(4,1fr);gap:28px}.landing-footer h2{font-size:14px;font-weight:650;margin-bottom:20px}.landing-footer nav a{display:block;font-size:13px;text-decoration:none;color:var(--muted);margin-bottom:11px}.footer-brand p{font-size:13px;color:var(--muted);margin:18px 0 9px}.footer-brand>span{font-size:12px;color:var(--muted)}.footer-legal{grid-column:1/-1;display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:22px;font-size:12px;color:var(--muted)}.footer-legal>div{display:flex;gap:26px}.footer-legal a{text-decoration:none}.footer-boundary{grid-column:1/-1;margin:0;max-width:none}.footer-boundary .test-banner{padding:0;border:0;background:none;justify-content:flex-start;font-size:12px;color:var(--muted);gap:10px}
/* Workspaces follow the reference's 256px rail and quiet utility header. */
.console-layout{display:grid;grid-template-columns:256px minmax(0,1fr);min-height:100svh;background:var(--bg);transition:grid-template-columns 320ms var(--ease)}.console-sidebar{width:256px;position:fixed;inset:0 auto 0 0;background:var(--bg);border-right:1px solid var(--line);padding:15px 10px 12px;display:flex;flex-direction:column;z-index:30;transition:width 320ms var(--ease),transform 320ms var(--ease)}.sidebar-brand{display:flex;align-items:center;justify-content:space-between;padding:0 7px;margin:0 0 32px}.sidebar-brand .wordmark{font-size:25px}.sidebar-brand .wordmark img{width:30px;height:30px}.sidebar-close{display:none}.console-sidebar>nav{display:grid;gap:2px}.console-sidebar>nav>a,.sidebar-new{display:flex;align-items:center;gap:12px;width:100%;min-height:38px;padding:9px 14px;color:var(--ink);font-size:14px;text-decoration:none;border:0;border-radius:8px;background:none;text-align:left;white-space:nowrap}.console-sidebar>nav>a>svg,.sidebar-new>svg{width:17px;height:17px}.console-sidebar>nav>a:hover,.sidebar-new:hover,.sidebar-new.is-current{background:#eef0f3;color:var(--ink)}.console-sidebar>nav>a[aria-current=page]{background:#e9edf2;color:var(--ink);font-weight:500}.sidebar-history{margin-top:28px;min-height:0;overflow:auto;flex:1}.history-heading{display:flex;align-items:center;justify-content:space-between;padding-left:14px;color:var(--muted);font-size:12px}.history-heading .icon-button{width:30px;height:30px}.history-heading svg{width:14px;height:14px}.history-empty{padding:9px 14px;color:var(--muted);font-size:12px}.sidebar-history a{display:flex;align-items:center;gap:10px;min-height:36px;padding:8px 14px;border-radius:6px;text-decoration:none;font-size:13px;color:var(--muted)}.sidebar-history a>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.sidebar-history a>svg{width:14px;height:14px}.sidebar-history a:hover,.sidebar-history a[aria-current=page]{background:var(--secondary);color:var(--ink)}.sidebar-bottom{margin-top:auto;border:0;padding:12px 0 0;display:block}.sidebar-more>summary{display:flex;align-items:center;gap:12px;color:var(--muted);list-style:none;padding:9px 14px;font-size:13px;cursor:pointer}.sidebar-more>summary>svg{width:17px;height:17px}.sidebar-more>div{display:grid;grid-template-columns:1fr 1fr;padding:6px 10px 10px;gap:3px}.sidebar-more>div>a{font-size:12px;text-decoration:none;color:var(--muted);padding:7px 5px;min-height:30px}.sidebar-utilities{display:flex;gap:7px;align-items:center;padding-top:9px}.utility-menu{position:relative}.utility-menu>summary{font-size:12px;list-style:none;display:flex;align-items:center;justify-content:center;height:34px;padding:6px 10px;border:1px solid var(--line);border-radius:7px;cursor:pointer}.utility-menu>div{position:absolute;left:0;bottom:43px;background:var(--surface);padding:16px;border:1px solid var(--line);border-radius:10px;min-width:175px;font-size:13px}.sidebar-utilities>.icon-button{border:1px solid var(--line);height:34px;width:34px;min-width:34px}.sidebar-utilities svg{width:17px;height:17px}.utility-tools{display:flex;align-items:center;gap:8px;height:34px;padding:6px 11px;border:1px solid var(--line);border-radius:7px;font-size:13px;text-decoration:none}.sidebar-collapse{position:absolute;left:100%;top:47%;width:16px;height:48px;min-width:16px;padding:2px;background:var(--bg);border:1px solid var(--line);border-left:0;border-radius:0 10px 10px 0}.sidebar-collapse svg{transform:rotate(90deg);width:13px}.console-body{grid-column:2;min-width:0;margin-left:0;min-height:100svh;display:flex;flex-direction:column}.console-header{height:68px;min-height:68px;padding:14px 18px;display:flex;align-items:center;justify-content:space-between;gap:16px;background:var(--bg);border:0;position:sticky;top:0;z-index:19}.header-context,.header-actions{display:flex;align-items:center;gap:10px}.header-home{font-size:14px;color:var(--muted);text-decoration:none}.header-actions{margin-left:auto}.environment-badge{font-size:12px;color:var(--muted);white-space:nowrap}.nav-account{font-size:13px;text-decoration:none;display:flex;align-items:center;gap:7px;color:var(--ink)}.nav-account.button{color:var(--surface);min-height:32px;padding:5px 16px;border-radius:7px;font-size:13px}.nav-account svg{width:17px;height:17px}.balance-chip{border:1px solid var(--line);border-radius:7px;padding:5px 12px;font-size:13px;text-decoration:none;font-variant-numeric:tabular-nums}.console-menu{display:none}.console-content{padding:20px 45px 60px;width:100%;max-width:1110px;margin:0 auto;flex:1}.console-footer{display:flex;justify-content:center;align-items:center;gap:18px;font-size:12px;color:var(--muted);padding:14px 20px 18px;border:0;margin:0}.console-footer a{text-decoration:none}.page-heading{margin-bottom:25px;padding-bottom:22px;border-bottom:1px solid var(--line)}.page-heading h1{font-size:24px;margin:0 0 12px}.page-heading h1:only-child{margin:0}.page-heading p{font-size:14px;color:var(--muted);margin:0}.panel,.outline-panel{background:var(--surface);border:1px solid var(--line);padding:24px;border-radius:14px;box-shadow:none;margin-bottom:24px}.panel h2{font-size:18px}.notice{font-size:13px;background:var(--soft);color:#3c526d;border-radius:9px}.empty-state h2{font-size:16px}.empty-state p{font-size:13px}.responsive-table{font-size:14px}.responsive-table thead{background:var(--secondary)}.responsive-table th{font-weight:400;color:var(--muted);padding:13px 14px}.responsive-table td{padding:18px 14px}.responsive-table code{font-size:12px}.table-empty{height:170px;text-align:center;color:var(--muted)}.segmented-control{display:inline-flex;background:var(--secondary);border-radius:8px;padding:3px;gap:2px}.segmented-control button{padding:7px 12px;border:0;background:none;border-radius:6px;font-size:13px;cursor:pointer}.segmented-control button[aria-pressed=true]{background:var(--surface);box-shadow:0 1px 4px #2021240c}.segmented-control button:disabled{font-size:12px;color:var(--muted)}.page-tabs{display:flex;gap:25px;border-bottom:1px solid var(--line);margin-bottom:32px}.page-tabs button{border:0;border-bottom:2px solid transparent;background:none;min-height:44px;padding:9px 3px;font-size:16px;color:var(--muted)}.page-tabs button[aria-selected=true]{color:var(--ink);border-bottom-color:var(--ink)}.chart-empty{position:absolute;top:42%;left:0;right:0;text-align:center;margin:0;max-width:none;font-size:13px;color:var(--muted)}.gift-card-empty{padding:70px 25px;text-align:center}.gift-card-empty>svg{width:42px;height:42px;margin-bottom:20px;color:var(--muted)}.gift-card-empty p{margin:auto;color:var(--muted);font-size:13px}.auth-layout{background:var(--bg);min-height:100svh}.auth-top{max-width:none;padding:20px 28px}.auth-top .icon-button{border:1px solid var(--line);border-radius:50%}.auth-layout>.test-banner{font-size:12px;padding:6px 20px;background:none;border:0;color:var(--muted)}.auth-card.panel{background:none;border:0;border-radius:0;max-width:460px;margin:5vh auto;padding:30px 25px}.auth-card>.wordmark{display:none}.auth-card>h1{font-size:29px;text-align:center;margin-bottom:10px}.auth-card>.muted{text-align:center;font-size:13px;margin-bottom:27px}.auth-card .oauth-options{gap:12px}.auth-card .oauth-options .button{background:var(--surface);border:1px solid var(--line);font-size:14px;min-height:44px}.auth-card .oauth-options span{font-size:12px}.auth-card .auth-divider{font-size:12px;margin:24px 0}.auth-card .field>label{font-size:13px}.auth-card .field input{font-size:14px;min-height:43px}.auth-card .hint{font-size:12px}.auth-card .form-grid{gap:18px}.auth-card .invite-option{font-size:13px}.auth-card .auth-note{font-size:12px;text-align:center;color:var(--muted)}.auth-card .input-action{gap:9px}.auth-card .input-action .button{font-size:12px;white-space:nowrap;padding:8px 10px}.auth-footer{font-size:12px}
/* Chat: broad empty canvas, compact composer, content-led conversation. */
.chat-layout .console-content{max-width:none;padding:0 30px;display:flex}.chat-layout main{width:100%;display:flex;flex-direction:column;min-height:calc(100svh - 112px)}.chat-page{width:min(824px,100%);margin:0 auto;position:relative;display:flex;flex-direction:column;min-height:calc(100svh - 112px);padding-top:clamp(65px,12svh,130px)}.model-trigger{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:var(--surface);border-radius:7px;padding:7px 10px;font-size:13px;cursor:pointer}.model-trigger>svg:first-child{width:16px;height:16px;color:var(--blue)}.model-trigger>svg:last-child{width:12px;height:12px}.model-catalog-link{display:flex;align-items:center;gap:7px;padding:5px 10px;border:1px solid var(--line);border-radius:7px;font-size:12px;text-decoration:none}.model-catalog-link>svg{width:11px;height:11px}.chat-start{text-align:center}.chat-promotion{font-size:12px;padding:10px 17px;border-radius:12px;margin:0 0 25px;border:0;background:#e9edf3}.chat-promotion>svg{width:14px;height:14px}.chat-promotion>svg:last-child{transform:rotate(-90deg);width:10px}.chat-start h1{font-family:var(--display);font-size:34px;line-height:1.5;font-weight:550;margin:0 0 27px;letter-spacing:-.025em}.chat-brand{font:500 39px var(--ui);letter-spacing:-.035em}.mobile-break{display:none}.composer-dock{position:relative;z-index:3}.chat-composer{position:relative;padding:15px 15px 10px;background:var(--surface);border:1px solid var(--line);border-radius:16px;transition:border-color 180ms,box-shadow 180ms}.chat-composer:focus-within{border-color:#a7b6c9;box-shadow:0 7px 28px #28344508}.chat-composer textarea{display:block;width:100%;min-height:29px;max-height:220px;resize:none;border:0;background:none;padding:2px 4px;font-size:14px;line-height:1.7;color:var(--ink);outline:none;box-shadow:none}.composer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}.composer-tools{display:flex;align-items:center;gap:5px}.composer-tools .icon-button{width:31px;height:31px;min-width:31px;padding:5px}.composer-tools .icon-button svg{width:18px;height:18px}.unavailable-tool{color:#888f99}.send-button{width:40px;height:40px;flex:none;display:grid;place-items:center;border:0;border-radius:50%;background:var(--ink);color:var(--surface);cursor:pointer;transition:transform 160ms,background 180ms}.send-button:hover{background:#3d4148;transform:translateX(2px)}.send-button[data-stop]:hover{transform:none}.send-button>svg{width:19px;height:19px}.composer-caption{display:flex;align-items:center;justify-content:space-between;padding:10px 3px 0;font-size:12px;color:var(--muted)}.composer-caption .link-button{font-size:12px}.chat-feedback{font-size:12px;color:var(--blue);margin:8px 3px;min-height:18px}.attachment-menu{position:relative}.attachment-menu>summary{list-style:none}.attachment-menu>div{position:absolute;left:0;bottom:43px;min-width:240px;padding:7px;border:1px solid var(--line);border-radius:10px;background:var(--surface);animation:menu-in 250ms var(--ease);box-shadow:0 10px 25px #2021240c}.attachment-menu button{display:flex;align-items:center;gap:10px;border:0;background:none;padding:11px 8px;width:100%;text-align:left;font-size:13px;border-radius:6px}.attachment-menu button:hover{background:var(--secondary)}.attachment-menu span{display:block;font-size:12px;color:var(--muted);padding:7px 8px}.attachment-preview{font-size:12px;padding:7px 10px;border-radius:6px;background:var(--soft);margin-top:10px;overflow-wrap:anywhere}.chat-messages{display:flex;flex-direction:column;gap:28px}.has-conversation.chat-page{padding-top:20px}.chat-message{padding:0 5px}.message-author{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600;color:var(--muted);margin-bottom:10px}.message-author>img{width:24px;height:24px}.message-content{font-size:14px;line-height:1.9;overflow-wrap:anywhere}.message-content>p{margin:0 0 14px;max-width:none}.chat-message.user{align-self:flex-end;max-width:85%;width:fit-content}.user .message-author{justify-content:flex-end}.user .message-content{padding:12px 18px;background:#e9edf3;border-radius:16px 16px 3px 16px}.user .message-content>p:last-child{margin:0}.message-content pre{font-size:13px;padding:20px;overflow:auto;white-space:pre-wrap;background:var(--secondary);border-radius:10px}.message-actions{display:flex;align-items:center;gap:5px}.message-actions .icon-button{width:30px;height:30px;min-width:30px;color:var(--muted)}.message-actions svg{width:15px;height:15px}.user .message-actions{justify-content:flex-end}.has-conversation .composer-dock{position:sticky;bottom:0;margin-top:auto;padding-top:35px;background:var(--bg)}.has-conversation .chat-messages{padding-bottom:35px}.conversation-actions{display:flex;justify-content:center;gap:22px;padding:5px 0 12px}.conversation-actions .link-button{font-size:12px}.conversation-actions svg{width:14px;height:14px}.chat-workspace{position:fixed;right:0;top:68px;bottom:0;width:300px;padding:20px;border-left:1px solid var(--line);background:var(--surface);z-index:21;animation:workspace-in 320ms var(--ease);overflow:auto}.chat-workspace header{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px}.chat-workspace h2{font-size:15px;margin:0}.chat-workspace h3{font-size:14px;font-weight:500}.workspace-empty{text-align:center;padding:25px 10px;color:var(--muted)}.workspace-empty>svg{width:25px;height:25px;margin-bottom:10px}.workspace-empty p{font-size:12px;margin:5px 0}.workspace-empty span{font-size:12px}.workspace-files{font-size:13px;overflow-wrap:anywhere}.search-dialog,.model-dialog,.rename-dialog{color:var(--ink);border:1px solid var(--line);background:var(--surface);border-radius:16px;padding:24px;width:min(490px,calc(100vw - 32px));max-height:80svh;box-shadow:0 20px 80px #20212415}.search-dialog::backdrop,.model-dialog::backdrop,.rename-dialog::backdrop{background:#20212430;backdrop-filter:blur(5px)}dialog[open]{animation:dialog-in 280ms var(--ease)}.search-dialog>form,.dialog-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.search-dialog h2,.dialog-heading h2,.rename-form h2{font-size:19px;margin:0}.search-dialog input,.model-dialog input{font-size:14px;padding:11px 12px}.search-dialog [data-search-results]{margin-top:15px;display:grid;gap:5px}.search-dialog [data-search-results]>a{display:flex;gap:10px;padding:10px 8px;text-decoration:none;font-size:14px;border-radius:6px}.search-dialog [data-search-results]>a:hover{background:var(--secondary)}.model-options{margin:18px 0}.model-option{display:flex;align-items:center;gap:13px;background:var(--soft);border:1px solid var(--line);border-radius:10px;padding:15px;width:100%;text-align:left}.model-option>span{flex:1}.model-option strong,.model-option small{display:block}.model-option strong{font-size:14px;font-weight:500}.model-option small{font-size:12px;color:var(--muted);margin-top:5px}.model-dialog .text-link{font-size:13px}.rename-form>.field{margin:24px 0}.rename-form .field input{font-size:14px}.is-collapsed.console-layout{grid-template-columns:68px minmax(0,1fr)}.is-collapsed .console-sidebar{width:68px}.is-collapsed .wordmark>span,.is-collapsed .console-sidebar>nav span,.is-collapsed .sidebar-history,.is-collapsed .sidebar-bottom{display:none}.is-collapsed .sidebar-brand{padding:0 5px}.is-collapsed .console-sidebar>nav>a,.is-collapsed .sidebar-new{justify-content:center;padding:10px}.is-collapsed .sidebar-collapse svg{transform:rotate(-90deg)}
@keyframes menu-in{from{opacity:.6;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}@keyframes service-reveal{from{transform:translateY(35px);clip-path:inset(0 0 8% 0)}to{transform:translateY(0);clip-path:inset(0)}}@keyframes workspace-in{from{transform:translateX(100%)}to{transform:translateX(0)}}@keyframes dialog-in{from{transform:translateY(10px) scale(.985);opacity:.7}to{transform:translateY(0) scale(1);opacity:1}}
[data-theme=dark]{--bg:#17191d;--surface:#202328;--ink:#edf0f4;--muted:#a6adb8;--line:#363b43;--soft:#243349;--secondary:#292e36;--blue:#8ab4ed;--hover:#aac9f3;color-scheme:dark}[data-theme=dark] .wordmark img,[data-theme=dark] .message-author img{filter:invert(1)}[data-theme=dark] .console-sidebar>nav>a:hover,[data-theme=dark] .sidebar-new:hover,[data-theme=dark] .sidebar-new.is-current,[data-theme=dark] .console-sidebar>nav>a[aria-current=page],[data-theme=dark] .user .message-content,[data-theme=dark] .chat-promotion{background:#292e36}[data-theme=dark] .field input,[data-theme=dark] .field textarea,[data-theme=dark] input:not([type=checkbox]),[data-theme=dark] select{background:var(--surface);color:var(--ink);border-color:var(--line)}[data-theme=dark] .chat-composer textarea{background:none}[data-theme=dark] .notice{color:#c1d2eb}[data-theme=dark] .status-label{background:#29384b;color:#c1d2eb}
@media(min-width:1500px){.console-content{max-width:930px}.chat-layout .console-content{max-width:none}.chat-page{width:min(824px,calc(100% - 160px))}}
@media(min-width:1250px){.workspace-open.chat-page{transform:translateX(-120px);width:min(700px,calc(100% - 280px));transition:transform 320ms var(--ease),width 320ms var(--ease)}}
@media(max-width:1200px){.primary-nav{gap:16px}.site-header{padding:14px 20px;gap:18px}.nav-utilities{gap:15px}.nav-tools{display:none}.reference-service-grid{gap:45px;padding-left:0;padding-right:0}.reference-service+.reference-service:before{left:-23px}.console-content{padding:20px 35px 50px}.chat-layout .console-content{padding:0 25px}.chat-start h1{font-size:30px}.chat-brand{font-size:35px}.model-catalog-link{display:none}}
@media(max-width:1050px){.site-header .menu-toggle{display:flex}.site-header{min-height:70px}.primary-nav{display:none;position:absolute;top:70px;left:0;right:0;margin:0;padding:22px;background:var(--surface);border-bottom:1px solid var(--line)}.primary-nav.is-open{display:flex;flex-direction:column;align-items:stretch;gap:10px}.nav-group>div{position:static;box-shadow:none;margin:5px 0 10px}.nav-utilities{margin:10px 0 0;justify-content:space-between}.primary-nav>a{padding:8px 0}.nav-utilities .nav-group>div{position:absolute;right:0;left:auto}.landing-footer{grid-template-columns:1fr;gap:40px}.landing-footer nav{grid-template-columns:repeat(4,1fr)}.footer-brand p{margin-top:12px}.services-sticky{top:70px;padding-top:45px}.story-stage{gap:45px}.story-display h2{font-size:47px}.console-content{padding:20px 25px 45px}.chat-layout .header-context{min-width:0}.environment-badge{display:none}.chat-promotion{font-size:12px;padding:9px 12px}}
@media(max-width:700px){:root{font-size:16px}.site-header{min-height:64px;padding:12px 18px}.site-header .wordmark{font-size:22px}.site-header .wordmark img{width:30px;height:30px}.primary-nav{top:64px}.reference-hero{min-height:calc(100svh - 64px);padding:50px 22px 140px}.hero-center{transform:translateY(-20px)}.hero-mission{bottom:60px;font-size:17px}.reference-services{margin:0 8px;min-height:auto}.services-sticky{position:relative;top:auto;min-height:auto;padding:40px 22px;gap:35px}.services-sticky>h2{font-size:31px;padding-bottom:22px}.reference-service-grid{grid-template-columns:1fr;gap:30px;padding:0}.reference-service{display:grid;grid-template-columns:90px 1fr;gap:5px 20px;padding-bottom:25px;border-bottom:1px solid #d3d9e0}.reference-service+.reference-service:before{display:none}.service-visual{grid-row:1/4;height:90px;margin:0;border-radius:12px}.service-visual svg{width:36px;height:36px}.reference-service h3{font-size:16px;margin:0 0 5px}.reference-service p{font-size:13px;line-height:1.8}.service-arrow{margin:5px 0 0}.service-arrow svg{width:17px}.reference-story{padding:70px 25px}.reference-story>p{font-size:13px;margin-bottom:40px}.story-stage{grid-template-columns:1fr;gap:30px;min-height:auto}.story-display h2{font-size:41px;margin-bottom:22px}.story-tabs button{width:36px;height:36px}.story-detail h3{font-size:20px;margin-bottom:14px}.story-detail p{font-size:14px}.reference-world{height:420px}.reference-world h2{font-size:29px}.landing-footer{padding:42px 24px 25px;gap:35px}.landing-footer nav{grid-template-columns:repeat(2,1fr);gap:28px}.landing-footer h2{font-size:13px;margin-bottom:15px}.landing-footer nav a{font-size:12px}.footer-legal{font-size:12px;flex-wrap:wrap;gap:18px}.footer-legal>div{gap:18px}.footer-boundary .test-banner{display:block;font-size:12px;line-height:1.8}.footer-boundary strong{margin-right:8px}.console-layout,.is-collapsed.console-layout{display:block}.console-sidebar,.is-collapsed .console-sidebar{width:min(85vw,290px);transform:translateX(-100%);padding:15px 10px 12px}.console-sidebar.is-open{transform:translateX(0)}.is-collapsed .wordmark>span,.is-collapsed .console-sidebar>nav span{display:inline}.is-collapsed .sidebar-bottom{display:block}.is-collapsed .sidebar-history{display:block}.is-collapsed .console-sidebar>nav>a,.is-collapsed .sidebar-new{justify-content:flex-start;padding:9px 14px}.console-sidebar>nav>a,.sidebar-new{min-height:44px;font-size:14px}.sidebar-brand{margin-bottom:32px}.sidebar-close{display:flex}.sidebar-collapse{display:none}.sidebar-scrim:not([hidden]){display:block;position:fixed;inset:0;z-index:25;background:#20212435;border:0;animation:menu-in 200ms var(--ease)}.console-body{min-height:100svh}.console-header{height:60px;min-height:60px;padding:10px 14px;gap:8px}.console-menu{display:flex;width:32px;min-width:32px;height:32px;padding:6px}.header-context{gap:5px}.header-actions{gap:6px}.model-trigger{font-size:12px;padding:7px;gap:5px}.model-trigger>svg:first-child{width:13px;height:13px}.model-trigger>svg:last-child{width:10px;height:10px}.header-actions .icon-button{width:30px;min-width:30px;height:30px;padding:6px}.header-actions .icon-button svg{width:18px;height:18px}.nav-account.button{font-size:12px;padding:5px 11px;min-height:30px}.nav-account.signed-in span{display:none}.balance-chip{padding:4px 7px;font-size:12px}.console-content{padding:22px 20px 40px}.page-heading{padding-bottom:20px;margin-bottom:22px}.page-heading h1{font-size:23px}.page-heading p{font-size:14px;line-height:1.8}.console-footer{font-size:12px;padding:12px 18px;gap:10px;line-height:1.7}.panel,.outline-panel{padding:19px 16px}.responsive-table,.responsive-table tbody,.responsive-table tr,.responsive-table td{display:block;width:100%}.responsive-table thead{display:none}.responsive-table tr{padding:12px 0;border-bottom:1px solid var(--line)}.responsive-table tr:last-child{border-bottom:0}.responsive-table td{display:grid;grid-template-columns:105px minmax(0,1fr);gap:12px;padding:7px 0;border:0;font-size:13px;overflow-wrap:anywhere}.responsive-table td:before{content:attr(data-label);color:var(--muted);font-size:12px}.responsive-table .table-empty{display:flex;align-items:center;justify-content:center;min-height:150px}.responsive-table .table-empty:before{display:none}.segmented-control button{font-size:12px;padding:7px 9px}.auth-top{padding:16px 20px}.auth-card.panel{margin:2vh auto;padding:25px 24px}.auth-card>h1{font-size:26px}.auth-card .input-action{grid-template-columns:minmax(0,1fr) auto;display:grid;gap:8px}.auth-card .input-action .button{min-height:43px;padding:8px;font-size:12px}.chat-layout .console-content{padding:0 20px}.chat-layout main{min-height:calc(100svh - 110px)}.chat-page{min-height:calc(100svh - 110px);padding-top:clamp(80px,13svh,120px)}.chat-promotion{font-size:12px;padding:9px 12px;gap:7px;margin-bottom:24px}.chat-promotion>svg{width:13px;height:13px}.chat-start h1{font-size:25px;line-height:1.65;margin-bottom:24px}.chat-brand{font-size:29px}.mobile-break{display:block}.chat-composer{padding:13px 11px 9px;border-radius:14px}.chat-composer textarea{font-size:14px;min-height:40px}.composer-toolbar{margin-top:3px}.send-button{width:37px;height:37px}.composer-caption{font-size:12px}.chat-message{padding:0}.message-content{font-size:14px}.chat-message.user{max-width:92%}.user .message-content{padding:10px 14px}.conversation-actions{gap:16px;flex-wrap:wrap}.conversation-actions .link-button{font-size:12px}.chat-workspace{width:min(320px,calc(100vw - 30px));top:60px;box-shadow:-15px 0 50px #20212410}.has-conversation.chat-page{padding-top:18px}.has-conversation .composer-dock{padding-top:20px}.model-dialog,.search-dialog,.rename-dialog{padding:20px}.chat-layout .console-footer{font-size:12px}.attachment-menu>div{min-width:230px}.tool-grid{grid-template-columns:1fr}.tool-controls{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}
.landing-layout>.site-header{padding:14px 28px;border-bottom:0;z-index:30;background:var(--surface)}.landing-layout .primary-nav{gap:24px}.console-sidebar{overflow:visible}.auth-layout main{padding:15px 24px 45px}
@media(max-width:1200px){.landing-layout>.site-header{padding:14px 20px}.landing-layout .primary-nav{gap:16px}}
@media(max-width:1050px){.landing-layout .primary-nav.is-open{gap:10px}}
@media(max-width:700px){.landing-layout>.site-header{padding:12px 18px}.landing-layout .primary-nav{padding:20px 22px}.auth-layout main{padding:8px 0 30px}}
[data-theme=dark] .chat-promotion{background:#29303a;border-color:var(--line);color:var(--muted)}[data-theme=dark] .reference-services,[data-theme=dark] .reference-world{background:#20252d}[data-theme=dark] .service-visual,[data-theme=dark] .reference-service:nth-child(2) .service-visual,[data-theme=dark] .reference-service:nth-child(3) .service-visual{background:#303946}[data-theme=dark] .console-header .nav-account{color:var(--ink)}[data-theme=dark] .console-header .nav-account.button{color:var(--surface)}
.key-dialog{color:var(--ink);border:1px solid var(--line);background:var(--surface);border-radius:16px;padding:26px;width:min(580px,calc(100vw - 32px));max-height:85svh;box-shadow:0 20px 80px #20212415}.key-dialog::backdrop{background:#20212430;backdrop-filter:blur(5px)}.key-dialog .dialog-heading{margin-bottom:24px}.key-dialog .field{margin-bottom:18px}.key-dialog #new-key{padding-top:25px}.key-dialog h3{font-size:16px}.api-key-panel .button-row{gap:8px}.api-key-panel .button{min-height:34px;font-size:12px;padding:6px 12px}.referral-rules{font-size:13px;color:var(--muted);margin-top:25px}.referral-rules>summary{cursor:pointer;margin-bottom:15px}
@media(max-width:700px){.api-key-panel .section-heading{flex-wrap:wrap}.key-dialog{padding:22px 18px}}
.key-dialog>.panel{border:0;background:none;padding:0;margin:0}.key-dialog>.icon-button{float:right;margin:-10px -10px 10px 10px}.key-dialog .form-grid{clear:both}.page-tabs button[aria-pressed=true]{color:var(--ink);border-bottom-color:var(--ink)}
.site-header>.menu-toggle{display:none}
@media(max-width:1050px){.site-header>.menu-toggle{display:flex}}
/* The source's globe chapter, compact caption switcher, and linked world map. */
.reference-story{padding:100px 30px 80px;max-width:1060px}.reference-story>p{margin-bottom:35px}.story-globe{position:relative;width:min(600px,100%);height:520px;margin:0 auto 25px}.globe-canvas{position:absolute;inset:0;width:100%;height:100%}.globe-brand{position:absolute;left:calc(50% - 48px);top:calc(50% - 55px);width:96px;height:96px;opacity:.12}.story-globe h2{position:absolute;left:65%;top:47%;margin:0;font:500 44px/1.45 var(--display);letter-spacing:-.025em;white-space:nowrap}.story-stage{display:block;max-width:740px;margin:auto;min-height:140px}.story-tabs{gap:7px;margin-bottom:15px}.story-tabs button{width:11px;height:16px;min-width:11px;padding:0;background:none!important;border:0;border-radius:0}.story-tabs button:after{width:5px;height:5px;background:#b9bec7}.story-tabs button[aria-selected=true]:after{background:var(--ink)}.story-detail{display:grid;grid-template-columns:90px minmax(0,1fr);gap:18px;align-items:start}.story-detail-icon{width:90px;height:90px;background:#e9edf2;display:grid;place-items:center;border-radius:10px}.story-detail-icon svg{width:40px;height:40px;stroke-width:1.1;color:#7c8796}.story-detail h3{display:inline-block;font-size:12px;background:var(--ink);color:var(--surface);border-radius:5px;padding:4px 7px;font-weight:400;margin:0 0 10px}.story-detail p{font-size:14px;line-height:1.9;margin-bottom:8px}.story-detail .text-link{font-size:12px}.reference-world{height:550px;background:var(--bg);display:block}.world-canvas{top:0;left:50%;transform:translateX(-50%);width:min(1220px,100%);height:100%;opacity:.7}.reference-world>div{position:relative;text-align:center;margin:0;padding:175px 20px 0}.reference-world h2{font-size:38px;line-height:1.5;margin-bottom:22px;text-shadow:0 3px 15px var(--bg)}.atom-orbits{transform-origin:32px 32px}.reference-service:hover .atom-orbits{animation:orbit-turn 5s linear infinite}.reference-service:hover .network-links{stroke-dasharray:6 4;animation:link-flow 1s linear infinite}.reference-service:hover .document-lines{stroke-dasharray:30;animation:document-flow 1.2s var(--ease) infinite}.reference-service:hover .service-visual>svg{transform:none}.reference-service:hover .document-art{transform:translateY(-4px)}
@keyframes orbit-turn{to{transform:rotate(360deg)}}@keyframes link-flow{to{stroke-dashoffset:-20}}@keyframes document-flow{from{stroke-dashoffset:30}to{stroke-dashoffset:0}}
[data-theme=dark] .story-detail-icon{background:#2d3643}[data-theme=dark] .globe-brand{filter:invert(1)}
@media(max-width:1050px){.story-globe h2{left:57%;font-size:37px}.reference-story{padding-right:45px}}
@media(max-width:700px){.reference-story{padding:65px 25px 50px}.reference-story>p{margin-bottom:25px}.story-globe{height:350px;margin-bottom:20px}.story-globe h2{left:41%;top:53%;font-size:27px}.globe-brand{width:70px;height:70px;left:calc(50% - 35px);top:calc(50% - 40px)}.story-stage{min-height:165px}.story-detail{grid-template-columns:58px minmax(0,1fr);gap:14px}.story-detail-icon{width:58px;height:58px;border-radius:8px}.story-detail-icon svg{width:30px;height:30px}.story-detail h3{font-size:12px;padding:3px 6px}.story-detail p{font-size:13px}.reference-world{height:380px}.reference-world>div{padding-top:95px}.reference-world h2{font-size:28px}.service-visual>svg{width:42px;height:42px}}
.rolling-label{display:inline-flex;line-height:1.5;white-space:nowrap}.rolling-label>span{position:relative;display:block;overflow:hidden;height:1.5em}.rolling-label i{font:inherit;display:block;transition:transform 430ms var(--ease)}.rolling-label i+i{position:absolute;left:0;top:100%}.button:hover .rolling-label i{transform:translateY(-100%)}.rolling-label>span:nth-child(2)>i{transition-delay:20ms}.rolling-label>span:nth-child(3)>i{transition-delay:40ms}.rolling-label>span:nth-child(4)>i{transition-delay:60ms}.button>.rolling-label+span+svg{transition:transform 300ms var(--ease)}.button:hover>.rolling-label+span+svg{transform:translateX(3px)}

.story-stage{position:relative}

/* Janux signature: construct the mark, reveal the name, type and erase complete centered phrases. */
@font-face{font-family:'Janux Editorial';src:url('fonts/instrument-serif-regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
:root{--brand:'Janux Editorial',Georgia,serif}
.wordmark>span{font-family:var(--brand);font-size:32px;font-weight:400;letter-spacing:-.025em;line-height:1.05}.chat-brand{font-family:var(--brand);font-weight:400}
.signature-stage{position:relative;min-width:0;height:154px;margin:20px 0 28px}
.hero-wordmark{position:absolute;left:50%;top:50%;display:flex;align-items:center;gap:16px;width:max-content;max-width:none;height:124px;margin:0;transform:translate(-50%,-50%) scale(var(--signature-scale,1));font:400 72px/1.15 var(--brand);letter-spacing:-.02em;white-space:nowrap}
.signature-lockup{display:flex;align-items:center;gap:16px;height:124px;flex:none}
.signature-symbol{display:block;width:80px;height:80px;flex:none;transform-origin:center}
.signature-mark{display:block;width:100%;height:100%;overflow:visible}
.signature-text{display:flex;align-items:center;flex:none;height:1.15em}
.signature-name,.signature-prefix{display:block;flex:none;white-space:pre;overflow:hidden;height:1.15em;font:inherit;letter-spacing:inherit}
.signature-prefix{margin-right:.19em}
.signature-decoding{position:relative;display:inline-block;overflow:hidden;vertical-align:top;height:1.15em}.signature-decoding>span{position:absolute;left:50%;top:0;display:block;transform-origin:center;white-space:pre}
.signature-ruler{position:absolute;visibility:hidden;pointer-events:none;white-space:pre;width:max-content;font:inherit;letter-spacing:inherit}
.mark-traces{display:block}.mark-fragments{display:none}
[data-mark-trace]{stroke-dasharray:1;stroke-dashoffset:1;opacity:0;transform-origin:128px 128px}[data-mark-fragment]{opacity:0;transform-origin:128px 128px}
.landing-layout .services-sticky>h2,.landing-layout .story-globe h2{font-weight:500}
@media(max-width:700px){.wordmark>span{font-size:29px}.console-sidebar .wordmark>span{font-size:30px}.signature-stage{height:158px;margin:16px 0 22px}.landing-layout .hero-mission{font-size:20px}}

@media(max-width:1050px) and (min-width:701px){.reference-hero{min-height:calc(100svh - 70px)}}

/* Two centered faces reserve the wider label, keeping the CTA width stable. */
.rolling-label-swap{display:grid;overflow:hidden;vertical-align:middle}
.rolling-label-swap>.rolling-face{grid-area:1/1;display:flex;justify-content:center;overflow:visible}
.rolling-label-swap .rolling-face i{position:static;display:inline-block;transform:translateY(0);transition-delay:calc(var(--letter-index)*20ms)}
.rolling-label-swap .rolling-face-next i{transform:translateY(100%)}
.button:is(:hover,:focus-visible) .rolling-label-swap .rolling-face i{transform:translateY(-100%)}
.button:is(:hover,:focus-visible) .rolling-label-swap .rolling-face-next i{transform:translateY(0)}


/* Brand, navigation, login and CTA share the same vertical center. */
.nav-links{display:flex;align-items:center;gap:28px}
.nav-links>a{white-space:nowrap}
@media(min-width:1051px){
 .landing-layout>.site-header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:48px;height:76px;min-height:76px;padding:14px 40px}
 .landing-layout .primary-nav{display:contents}
 .site-header>.wordmark{justify-self:start}
 .nav-links{justify-self:start;gap:24px}
 .nav-utilities{justify-self:end;margin:0;gap:24px}
}
@media(max-width:1050px){
 .landing-layout>.site-header{height:70px;min-height:70px;padding:13px 20px}
 .nav-links{flex-direction:column;align-items:stretch;gap:0}
 .nav-links>a{padding:10px 0}
}
@media(max-width:700px){.landing-layout>.site-header{height:64px;min-height:64px;padding:10px 18px}}

.primary-nav .nav-login{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 0;color:var(--ink);text-decoration:none;white-space:nowrap}
.auth-layout{--blue:#2463a9;--hover:#184c84;--bg:#f8f9fb;--surface:#fff;--ink:#202124;--muted:#62666e;--line:#e1e4e8;color-scheme:light;color:var(--ink);min-height:100svh;background:var(--bg)}
.auth-layout .auth-top{max-width:none;justify-content:flex-start;margin:0;padding:20px 32px;min-height:76px}
.auth-layout .auth-top .wordmark{font-family:var(--ui);font-size:32px;font-weight:600;letter-spacing:-.02em;gap:8px;color:var(--ink)}
.auth-layout .auth-top .wordmark>span{font-family:inherit;font-weight:inherit;font-size:inherit;letter-spacing:inherit}
.auth-layout .auth-top .wordmark img{width:36px;height:36px;filter:none}
.auth-layout main{padding:clamp(60px,10vh,110px) 24px 72px}
.auth-layout .auth-card.panel{width:100%;max-width:520px;margin:0 auto;padding:0;background:none;border:0;border-radius:0;box-shadow:none}
.auth-layout .auth-card>h1{font-family:var(--ui);font-size:40px;line-height:1.25;font-weight:500;letter-spacing:-.025em;text-align:center;margin:0 0 32px}
.auth-layout .oauth-options{display:grid;grid-template-columns:1fr;gap:16px;margin:0}
.auth-layout .oauth-options .button{min-height:68px;padding:16px 28px;border:1px solid var(--line);border-radius:999px;position:relative;background:var(--surface);color:var(--ink);font-size:20px;font-weight:500;gap:12px}
.auth-layout .oauth-options .button:not(:disabled):hover{background:var(--bg);border-color:var(--muted)}
.auth-layout .oauth-options .button:disabled{opacity:1;color:var(--muted);cursor:not-allowed}
.auth-layout .oauth-options img{display:block;flex:none;width:24px;height:24px;object-fit:contain}
.auth-layout .oauth-options .button span{font-size:inherit}
.auth-layout .auth-divider{gap:28px;margin:40px 0;font-size:16px;line-height:24px;color:var(--muted)}
.auth-layout .form-grid{max-width:none;gap:30px}
.auth-layout .field input{min-height:68px;padding:18px 26px;font-size:20px;line-height:30px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--ink)}
.auth-layout .field input:focus{border-color:var(--blue)}
.auth-layout .form-grid>.button{width:100%;min-height:68px;padding:16px 24px;border-radius:999px;font-size:20px;font-weight:550;background:var(--ink);color:var(--surface)}
.auth-layout .form-grid>.button:hover{background:#3d4148}
.auth-layout .form-grid>.form-feedback{margin:0;font-size:14px}
.auth-layout .verification-address{display:flex;align-items:center;justify-content:space-between;gap:16px}
.auth-layout .verification-address p{margin:0;font-size:15px;min-width:0}
.auth-layout .verification-address button{flex:none;font-size:14px;min-height:44px}
.auth-layout .verification-status{font-size:14px;margin:0}
.auth-layout #test-code{margin:0;font-size:14px}
.auth-layout .auth-resend{justify-self:center;min-height:44px;margin-top:-8px;font-size:14px}
.auth-layout [hidden]{display:none!important}
@media(max-width:700px){.auth-layout .auth-top{min-height:72px;padding:18px 24px}.auth-layout .auth-top .wordmark{font-size:29px}.auth-layout .auth-top .wordmark img{width:32px;height:32px}.auth-layout main{padding:42px 24px 48px}.auth-layout .auth-card>h1{font-size:30px;margin-bottom:24px}.auth-layout .oauth-options{gap:12px}.auth-layout .oauth-options .button{min-height:52px;padding:12px 22px;font-size:16px;gap:10px}.auth-layout .oauth-options img{width:20px;height:20px}.auth-layout .auth-divider{gap:24px;margin:30px 0;font-size:14px;line-height:20px}.auth-layout .form-grid{gap:22px}.auth-layout .field input{min-height:52px;padding:13px 22px;font-size:16px;line-height:24px}.auth-layout .form-grid>.button{min-height:52px;padding:12px 18px;font-size:16px}.auth-layout .verification-address{align-items:flex-start;gap:8px;flex-wrap:wrap}}

/* Shared task states and reading rhythm; the approved brand and login remain local. */
.page-loading{padding:12px 0;color:var(--muted)}.page-loading p{margin:0 0 24px}.loading-lines{display:grid;gap:14px;max-width:620px}.loading-lines span{display:block;height:14px;border-radius:4px;background:var(--secondary)}.loading-lines span:nth-child(2){width:84%}.loading-lines span:last-child{width:62%}
.console-layout .button,.console-layout .link-button{min-height:44px}.console-layout .link-button{text-underline-offset:4px}.console-layout .icon-button{width:40px;height:40px;min-width:40px}.console-layout .sidebar-collapse{width:20px;min-width:20px;height:48px;padding:2px}.console-sidebar>nav>a,.sidebar-new{min-height:44px}.sidebar-history a{min-height:40px}.sidebar-more>summary,.sidebar-more>div>a{min-height:40px}.sidebar-more>div{gap:4px}.sidebar-more>div>a[aria-current=page]{background:var(--secondary);color:var(--ink);border-radius:6px}.guide-section p{color:var(--muted);line-height:1.85}.guide-section>p:first-of-type{margin-top:0}.config-list dd{min-width:0;overflow-wrap:anywhere}.form-grid .field{min-width:0}.section-heading{gap:16px}.section-heading:has(>.button){flex-wrap:wrap}.console-layout .table-wrap{max-width:100%}.responsive-table td{overflow-wrap:anywhere}.responsive-table td code{overflow-wrap:anywhere}
[data-theme=dark] .notice.success{background:#173b2c;color:#bce3ca}[data-theme=dark] .notice.error,[data-theme=dark] .error-panel{background:#482927;color:#ffd1ca}[data-theme=dark] .form-feedback.error{color:#ffd1ca}[data-theme=dark] .form-feedback.success{color:#bce3ca}[data-theme=dark] .guide-section p{color:var(--muted)}
@media(max-width:700px){.console-layout .icon-button{width:44px;height:44px;min-width:44px}.console-header{min-height:68px;height:68px;padding:10px 12px}.header-context,.header-actions{min-width:0;gap:4px}.model-trigger{min-height:44px;max-width:142px;padding:8px 6px;font-size:12px}.model-trigger>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nav-account.button,.nav-account.signed-in{min-height:44px;min-width:44px;justify-content:center;font-size:13px}.nav-account.button{padding:8px 12px}.balance-chip{min-height:44px;display:inline-flex;align-items:center;padding:6px 8px;font-size:12px}.console-content{padding-top:24px}.console-footer{flex-wrap:wrap;text-align:center;font-size:12px}.console-layout input:not([type=checkbox]):not([type=radio]),.console-layout select,.console-layout textarea{font-size:16px}.responsive-table td{font-size:14px;grid-template-columns:96px minmax(0,1fr);gap:10px}.responsive-table td:before{font-size:13px}.responsive-table td small{font-size:12px}.console-sidebar .sidebar-utilities>*,.sidebar-more>summary,.sidebar-more>div>a,.sidebar-history a{min-height:44px}.console-sidebar .sidebar-utilities>.icon-button{width:44px;min-width:44px}.utility-menu>summary{min-height:44px}.sidebar-utilities{gap:8px}.console-layout .history-heading .icon-button{width:44px;min-width:44px}.composer-tools{gap:2px}.composer-caption{font-size:12px}.chat-layout .console-footer{font-size:12px}.chat-workspace{top:68px}.send-button{width:44px;height:44px}.chat-composer textarea{font-size:16px}.page-tabs{gap:20px;overflow-x:auto}.page-tabs button{white-space:nowrap}.tool-controls{gap:20px}}

/* The homepage starts API setup instead of accepting a chat prompt. */
.hero-start{min-height:52px;padding:14px 28px;border-radius:28px;font-size:16px;gap:12px}
