/* AceGPT Wide v3 — fixes constrained design & olive/green-tinted background. */
:root{color-scheme:dark;--bg:#090909;--sidebar:#101010;--surface:#141414;--surface-2:#1c1b1a;--surface-3:#252322;--border:#302925;--text:#f3f0ee;--muted:#a8a19a;--subtle:#716c66;--accent:#f7bf4d;--accent-soft:rgba(247,191,77,.09);--accent-line:rgba(247,191,77,.4)}
html,body,#app,.marketing{background-color:#090909!important;color:#f3f0ee}
.marketing{background:#090909!important}
.marketing-grid{
 background:
  radial-gradient(ellipse 34% 530px at 52% 3%,rgba(138,50,13,.14),transparent 85%),
  radial-gradient(ellipse 24% 600px at 100% 52%,rgba(111,45,10,.08),transparent 90%),
  linear-gradient(rgba(180,154,141,.045) 1px,transparent 1px),
  linear-gradient(90deg,rgba(180,154,141,.045) 1px,transparent 1px)!important;
 background-size:auto,auto,56px 56px,56px 56px!important;
}
.site-width,.landing-nav{width:min(1450px,calc(100% - 100px))!important;margin-inline:auto}
.landing-nav{gap:42px;max-width:none;min-height:78px}
.landing-links{gap:30px}
.landing-links a,.landing-account>a:first-child{font-size:13px}
.landing-hero{grid-template-columns:minmax(0,1.1fr) minmax(370px,.9fr)!important;gap:clamp(30px,5vw,100px)!important;min-height:695px;padding-block:35px 92px}
.hero-copy{max-width:730px}
.hero-copy h1{font-size:clamp(56px,4.65vw,79px)!important;line-height:1.04;letter-spacing:-.055em;margin:28px 0 30px}
.hero-copy>p{font-size:16px!important;max-width:620px!important;line-height:1.8}
.hero-copy>small{font-size:12px;line-height:1.6}
.hero-copy .hero-limit-note{font-size:11px}
.hero-robot-scene{height:510px!important;min-width:0}
.hero-robot{transform:scale(1.12);transform-origin:center;filter:drop-shadow(0 18px 70px rgba(247,191,77,.06))}
.hero-actions .pill-button{padding-inline:22px;min-height:46px}
.platform-section{padding-top:60px}
.platform-heading{margin-top:50px}
.platform-heading h3{font-size:27px}
.platform-preview{border-radius:20px}
.editor-preview{grid-template-columns:230px minmax(0,1fr);min-height:420px}
.editor-preview>div{padding:40px 58px}
.models-section{grid-template-columns:.8fr 1.2fr;gap:90px}
.provider-cloud{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.provider-cloud a{min-height:80px;font-size:14px;border-color:#302b27}
.provider-glyph{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;flex:none}
.provider-glyph img{width:26px;height:26px;object-fit:contain;display:block}
.value-grid{gap:42px}
.marketing h2{font-size:clamp(34px,3vw,46px)}
.section-description{font-size:15px;max-width:730px}
.auth-layout{grid-template-columns:1.15fr .85fr;gap:90px}
/* Studio: wider content area; do not force a cramped center column. */
.studio-layout{background:#090909!important;grid-template-columns:254px minmax(0,1fr)}
.studio-sidebar,.studio-side-footer{background:#101010!important;border-color:#29231f}
.studio-main{background:radial-gradient(ellipse 36% 27% at 53% 46%,rgba(108,39,9,.06),transparent 88%),#090909!important}
.studio-thread-space{width:min(1120px,calc(100% - 100px))!important;padding-bottom:26px}
.studio-thread-space.is-empty{padding-bottom:7vh}
.studio-intro h1{font-size:clamp(34px,3.2vw,48px)}
.studio-intro{margin-bottom:36px}
.studio-prompt{min-height:98px;padding:14px 19px 13px 22px;border-color:#483122;background:#151311!important}
.studio-prompt textarea{font-size:15px}
.studio-quick-actions{gap:10px;margin-top:16px}
.quick-chip{font-size:12px;min-height:35px;padding:8px 13px;background:#191716}
.studio-footnote{font-size:11px}
.studio-info-page{width:min(1050px,calc(100% - 110px));margin-top:9vh}
.studio-info-page p{font-size:16px}
.models-window{width:min(1080px,calc(100vw - 56px));height:min(750px,calc(100dvh - 50px))}
.models-window-grid{grid-template-columns:240px minmax(0,1fr)}
.provider-list{padding:17px 14px}
.provider-choice{gap:11px;min-height:47px;font-size:13px;padding:11px 13px}
.model-results{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:19px}
.model-result{min-height:78px;justify-content:flex-start;gap:13px;padding:14px}
.model-result>span:first-of-type{flex:1;min-width:0}
.model-result strong{font-size:13px}
.model-result small{font-size:11px}
.model-chip{font-size:12px;max-width:78%}
.provider-logo{width:23px;height:23px;object-fit:contain;display:inline-block;flex:0 0 23px;vertical-align:middle;filter:none}
.model-result .provider-logo{width:27px;height:27px;flex-basis:27px}
.provider-choice .provider-logo{width:20px;height:20px;flex-basis:20px}
.model-chip .provider-logo{width:17px;height:17px;flex-basis:17px}
.provider-logo-fallback{width:23px;height:23px;display:inline-flex;justify-content:center;align-items:center;background:#28231f;color:#eadcd0;border:1px solid #463b32;border-radius:6px;font-size:10px;font-weight:700;flex:0 0 23px}
.model-result .provider-logo-fallback{width:27px;height:27px;flex-basis:27px}
.provider-choice .provider-logo-fallback{width:20px;height:20px;flex-basis:20px}
.ace-overlay{background:rgba(0,0,0,.82)}
.models-window,.upgrade-window,.generic-modal{background-color:#141211}
@media(min-width:1750px){.site-width,.landing-nav{width:min(1560px,calc(100% - 160px))!important}}
@media(max-width:1060px){.site-width,.landing-nav{width:calc(100% - 60px)!important}.landing-hero{grid-template-columns:1.05fr .95fr!important;gap:20px!important}.hero-copy h1{font-size:clamp(45px,5.4vw,65px)!important}.studio-thread-space{width:calc(100% - 52px)!important}}
@media(max-width:750px){.site-width,.landing-nav{width:calc(100% - 32px)!important}.landing-hero{grid-template-columns:1fr!important;gap:10px!important;min-height:0;padding-top:32px}.hero-copy h1{font-size:clamp(43px,9vw,65px)!important}.hero-robot-scene{height:335px!important}.hero-robot{transform:scale(.88)}.models-section,.auth-layout{grid-template-columns:1fr;gap:28px}.editor-preview{grid-template-columns:145px minmax(0,1fr)}.editor-preview>div{padding:20px 14px}.studio-thread-space{width:calc(100% - 28px)!important}.studio-info-page{width:calc(100% - 28px)}.models-window{width:100%;height:calc(100dvh - 20px)}.models-window-grid{grid-template-columns:133px minmax(0,1fr)}.provider-choice{padding:9px 7px;font-size:11px;gap:7px}.model-results{grid-template-columns:1fr;padding:12px}.model-result{min-height:65px;padding:10px}}
@media(prefers-reduced-motion:reduce){.hero-robot{animation:none!important}}
