/* GXXXN_AI_IMAGE_STUDIO_V1 — outer page only; embed styles stay isolated. */
.ai-studio-page .header-inner{display:flex;flex-wrap:nowrap;justify-content:space-between}
.ai-studio-page .studio-back{margin-left:auto;font-size:12px;color:var(--muted);white-space:nowrap}
.ai-studio-page .studio-back:hover{color:var(--text)}
.ai-studio-page .header-lower{overflow:hidden}
.ai-studio-page .page-nav{overflow-x:auto;white-space:nowrap;min-width:0;scrollbar-width:thin}
.ai-studio-page .page-nav-link{flex-shrink:0;min-height:44px}
.ai-studio-page .studio-main{width:100%;padding-top:30px;padding-bottom:40px}
.studio-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:14px}
.studio-heading .eyebrow{margin-bottom:8px}
.studio-heading h1{font-size:clamp(26px,4vw,42px);letter-spacing:-1.5px;line-height:1.1;margin:0}
.studio-heading .ghost-button{flex-shrink:0}
.studio-note{color:var(--muted);font-size:12px;line-height:1.65;margin:0 0 20px}
.studio-note a{color:var(--text);text-decoration:underline;text-underline-offset:3px}
.studio-frame{display:block;width:100%;height:100vh;height:100dvh;min-height:640px;border:1px solid var(--line);background:#fff;color-scheme:normal}
.studio-back:focus-visible,.studio-note a:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
@media(max-width:760px){
  body[data-design="next"] .header-lower{min-width:0}
  body[data-design="next"] .page-nav{min-width:0;overflow-x:auto;justify-content:flex-start;gap:22px}
  body[data-design="next"] .page-nav-link{flex-shrink:0}
}
@media(max-width:720px){
  .ai-studio-page .header-inner{min-height:68px;gap:12px}
  .ai-studio-page .brand-logo{width:130px;max-width:40vw;height:auto}
  .ai-studio-page .studio-back{font-size:10px}
  .ai-studio-page .page-nav{justify-content:flex-start;gap:22px}
  .ai-studio-page .studio-main{padding:22px 12px 28px}
  .studio-heading{gap:10px;flex-wrap:wrap}
  .studio-heading .ghost-button{font-size:10px;padding:10px}
  .studio-frame{min-height:700px}
}
