/* Schematic Helper — shared studio design system. */
:root {
  color-scheme: light;
  --studio-bg: #f8f7f4;
  --studio-ink: #262529;
  --studio-muted: #6d6a70;
  --studio-line: #e4e1dc;
  --studio-accent: #c44e26;
  --studio-accent-hover: #a43d1b;
  --studio-tint: #f5e8df;
  --paper: var(--studio-ink);
  --paper-soft: var(--studio-muted);
  --ink: var(--studio-ink);
  --ink-soft: var(--studio-muted);
  --line: var(--studio-line);
  --line-strong: #cdc8c1;
  --copper: var(--studio-accent);
  --copper-bright: var(--studio-accent);
  --copper-deep: var(--studio-accent-hover);
  --forest: #f0eee9;
  --forest-soft: #faf9f6;
  --panel: #fff;
  --shadow: 0 16px 45px #29212a09;
  --shadow-soft: 0 4px 20px #29212a06;
  --radius: 18px;
  --radius-large: 24px;
  --content-max: 1240px;
  --heading-font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --body-font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --credits-bg: var(--studio-bg);
  --credits-card: #fff;
  --credits-card-strong: #fff;
  --credits-ink: var(--studio-ink);
  --credits-muted: var(--studio-muted);
  --credits-line: var(--studio-line);
  --credits-navy: var(--studio-ink);
  --credits-blue: var(--studio-accent);
  --credits-blue-soft: var(--studio-tint);
  --credits-shadow: var(--shadow);
  --credits-display: var(--heading-font);
  --credits-body: var(--body-font);
  --video-bg: var(--studio-bg);
  --video-ink: var(--studio-ink);
  --video-muted: var(--studio-muted);
  --video-primary: var(--studio-accent);
  --video-primary-dark: var(--studio-accent-hover);
  --video-line: var(--studio-line);
  --video-display: var(--heading-font);
  --video-body: var(--body-font);
  --toy-bg: var(--studio-bg);
  --toy-ink: var(--studio-ink);
  --toy-card: #fff;
  --toy-display: var(--heading-font);
  --toy-body: var(--body-font);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body, body.credits-page, body.video-page, body.toy-page {
  background: var(--studio-bg); color: var(--studio-ink); font-family: var(--body-font); -webkit-font-smoothing: antialiased;
}
body::before, .depth-world::before, .depth-world::after,
.depth-band::before, .depth-band::after, .hero-shell::before,
.dashboard-shell::before, .featured-panel::before, .featured-panel::after,
.dashboard-note-panel::before, .dashboard-note-panel::after { display: none; }
body .depth-world, .viewer-world { background: var(--studio-bg); }
body .depth-band { min-height: auto; background: none; padding: 60px 0; }
body .depth-band-top { padding-top: 60px; }
h1, h2, h3, h4, .brand-name { font-family: var(--heading-font); color: var(--studio-ink); text-shadow: none !important; letter-spacing: -.045em; }
h1 { font-weight: 650; }
h2 { font-weight: 620; }
h3 { font-weight: 650; letter-spacing: -.025em; }
p { line-height: 1.65; }
a { color: inherit; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #b54b2b !important; outline-offset: 4px; }
::selection { background: #f1c5af; color: #292329; }
body .section-shell { width: min(1240px, calc(100% - 80px)); margin-inline: auto; padding: 0; }
body .site-header, .credits-header, .video-header, .toy-header {
  position: relative; inset: auto; transform: none; width: min(1320px, calc(100% - 80px)); margin: 0 auto;
  min-height: 94px; padding: 20px 0; border: 0; border-bottom: 1px solid var(--studio-line); border-radius: 0;
  background: transparent; backdrop-filter: none; box-shadow: none; gap: 24px;
}
.brand, .credits-brand, .video-brand, .toy-brand { gap: 11px; }
body .brand-name, .credits-brand-name, .video-brand-name, .toy-brand-name { font-family: var(--heading-font); font-size: 19px; line-height: 1.25; font-weight: 700; letter-spacing: -.65px; color: var(--studio-ink); }
.brand-dot { color: var(--studio-accent); }
body .brand-mark { width: 29px; height: 32px; flex: 0 0 29px; border-radius: 0; background: url('/assets/brand-cube.svg') center/contain no-repeat; box-shadow: none; transform: none; }
.brand-mark::before, .brand-mark::after { display: none; }
body .brand-tagline, .credits-brand-tagline { color: var(--studio-muted); font-size: 11px; letter-spacing: .02em; }
body .site-nav { gap: 27px; background: none; border: 0; padding: 0; }
body .site-nav a, .credits-nav a, .video-nav a, .toy-nav a { font-size: 13px; font-weight: 500; color: #64616a; letter-spacing: 0; }
body .site-nav a:hover, .footer-nav a:hover { color: var(--studio-accent); }
body .header-actions { gap: 12px; }
body .header-account-link { color: var(--studio-ink); background: transparent; border: 0; border-radius: 8px; box-shadow: none; padding: 10px 12px; font-size: 13px; font-weight: 550; }
body .header-cta, .credits-return, .video-home-link, .toy-home-link { color: var(--studio-ink); border: 1px solid #d3cec7; background: transparent; border-radius: 9px; padding: 11px 17px; box-shadow: none; font-size: 13px; font-weight: 600; }
body .header-cta:hover { background: #eeebe5; transform: none; }
.header-cta span { margin-left: 12px; }
body .mobile-nav summary { background: #fff; border: 1px solid var(--studio-line); color: var(--studio-ink); width: 42px; height: 42px; box-shadow: none; }
.mobile-nav-icon, .mobile-nav-icon::before, .mobile-nav-icon::after { background-color: var(--studio-ink); }
body .mobile-nav nav { background: #fff; border: 1px solid var(--studio-line); box-shadow: var(--shadow); border-radius: 14px; min-width: 230px; }
body .mobile-nav nav a { color: var(--studio-ink); padding: 13px 16px; font-size: 14px; }
body .mobile-nav nav a:hover { background: var(--studio-bg); }
body .button, .shared-auth-primary, .shared-auth-secondary, .credits-signin-button {
  min-height: 44px; border-radius: 9px; padding: 11px 19px; font-size: 13px; font-weight: 650; letter-spacing: 0; box-shadow: none; transition: background .18s, border-color .18s, transform .18s;
}
body .button-primary, .shared-auth-primary, .credits-signin-button { background: var(--studio-accent); border: 1px solid var(--studio-accent); color: #fff; box-shadow: none; }
body .button-primary:hover, .shared-auth-primary:hover, .credits-signin-button:hover { background: var(--studio-accent-hover); border-color: var(--studio-accent-hover); transform: translateY(-1px); }
body .button-secondary, .shared-auth-secondary { background: #fff; border: 1px solid var(--studio-line); color: var(--studio-ink); }
body .button-secondary:hover, .shared-auth-secondary:hover { background: #f0ede7; border-color: #cbc5bc; transform: none; }
body .button-danger { color: #a92a2a; border-color: #e7bebe; background: #fff5f3; }
.button:disabled, button:disabled { opacity: .55; cursor: not-allowed; }
body input:not([type=checkbox]):not([type=radio]):not([type=file]), body select, body textarea {
  color: var(--studio-ink); background: #fcfbf9; border: 1px solid #dedad3; border-radius: 9px; box-shadow: none; font-family: var(--body-font);
}
body input::placeholder, body textarea::placeholder { color: #88828a; opacity: 1; }
body input:focus, body select:focus, body textarea:focus { border-color: #c57d61; box-shadow: 0 0 0 3px #c44e2610; }
body .section-kicker, body .hero-kicker, .credits-kicker, .shared-auth-kicker { color: #81736b; font-size: 10px; font-weight: 650; letter-spacing: .15em; text-transform: uppercase; }
body .section-heading h2 { font-size: clamp(32px, 3.6vw, 46px); line-height: 1.12; max-width: none; }
body .section-heading p { color: var(--studio-muted); font-size: 15px; }
.studio-hero { display: grid; grid-template-columns: 1.03fr 1fr; gap: 70px; align-items: start; padding-top: 62px !important; padding-bottom: 56px !important; }
.studio-create { min-width: 0; }
body.home-page .hero-copy { text-align: left; max-width: none; margin: 0 0 26px; display: block; justify-items: start; }
body.home-page .hero-copy h1 { width: 100%; }
body.home-page .hero-kicker { font-size: 10px; letter-spacing: .1em; display: flex; align-items: center; gap: 8px; margin: 0 0 18px; color: #716761; }
.kicker-dot { height: 6px; width: 6px; border-radius: 50%; background: var(--studio-accent); }
body.home-page .hero-copy h1 { font-size: clamp(40px, 4.15vw, 62px); letter-spacing: -.055em; line-height: 1.06; text-align: left; margin: 0 0 20px; max-width: none; }
.hero-copy h1 span { color: #9a9291; }
body.home-page .hero-lede { color: var(--studio-muted); max-width: 470px; text-align: left; font-size: 15px; line-height: 1.75; margin: 0; }
body.home-page .prompt-panel { background: #fff; border: 1px solid var(--studio-line); box-shadow: 0 5px 24px #30262505; border-radius: 17px; padding: 22px; gap: 15px; max-width: none; }
body.home-page .prompt-panel::before { display: none; }
body.home-page .prompt-panel-heading { gap: 8px; align-items: center; }
body.home-page .prompt-step { color: var(--studio-ink); font-size: 13px; font-weight: 650; letter-spacing: 0; text-transform: none; }
body.home-page .prompt-count { color: #827d83; font-size: 10px; }
body.home-page .prompt-main-row { grid-template-columns: 1fr; }
body.home-page #generation-prompt { min-height: 92px; height: 92px; padding: 13px; font-size: 13px; line-height: 1.7; background: #fbfaf8; resize: vertical; overflow: auto; border: 1px solid #dedad3; border-radius: 9px; color: var(--studio-ink); box-shadow: none; }
body.home-page #generation-prompt::placeholder { color: #88828a; }
body.home-page .prompt-starters { display: flex; margin: 0; gap: 7px; flex-wrap: wrap; }
body.home-page .prompt-starters > span { color: var(--studio-muted); font-size: 11px; }
body.home-page .prompt-starters button { min-height: 28px; background: #f7f5f1; color: #645c56; border: 0; border-radius: 6px; padding: 6px 9px; font-size: 10px; }
body.home-page .prompt-starters button:hover { background: #f3e1d5; color: #893b20; }
body.home-page .reference-image-field { display: flex; align-items: center; flex-wrap: wrap; margin: 0; min-height: 26px; gap: 9px; }
body.home-page .reference-image-button { background: none; color: #635b57; border: 1px dashed #d5cec6; border-radius: 6px; padding: 6px 9px; font-size: 10px; min-height: 28px; }
body.home-page .reference-image-status, .reference-image-clear { font-size: 10px; color: var(--studio-muted); }
body.home-page .generation-settings { grid-template-columns: 1.18fr 1fr .85fr; gap: 10px; margin: 2px 0 0; }
body.home-page .setting-field > span { color: #777077; font-size: 10px; letter-spacing: 0; text-transform: none; font-weight: 500; }
body.home-page .setting-field select { min-height: 42px; height: 42px; padding: 0 9px; font-size: 12px; background: #fff; box-shadow: none; border: 1px solid #dedad3; border-radius: 8px; }
body.home-page .setting-field select { appearance: none; padding-right: 25px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23706863' viewBox='0 0 12 12'%3E%3Cpath d='m3 4 3 3 3-3'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 8px center; }
body.home-page .generation-submit-row { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--studio-line); padding-top: 15px; margin-top: 0; gap: 8px; }
body.home-page .setting-cost-value { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; min-height: 20px; background: none; border: 0; box-shadow: none; }
body.home-page .setting-cost-value strong { font-size: 15px; color: var(--studio-ink); }
body.home-page .setting-cost-value small { font-size: 10px; color: var(--studio-muted); }
body.home-page .prompt-submit { min-width: 165px; min-height: 44px; font-size: 12px; }
body.home-page .auth-gate { color: var(--studio-muted); font-size: 11px; margin: 14px 0 0; text-align: center; }
body.home-page .generation-note { color: #8a8388; font-size: 10px; margin: 9px 0 0; text-align: center; }
.generation-note span { margin: 0 8px; }
body .auth-inline-link, .text-link { color: var(--studio-accent); text-decoration: underline; text-underline-offset: 4px; }
.studio-showcase { min-width: 0; margin-top: 8px; display: grid; gap: 0; background: #efedf1; border-radius: 22px; padding: 25px; overflow: hidden; }
.showcase-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.showcase-heading .section-kicker { font-size: 9px; letter-spacing: .08em; color: #756d7b; }
.showcase-number { font-size: 8px; color: #8b838e; letter-spacing: .1em; white-space: nowrap; }
.showcase-image { display: flex; align-items: center; justify-content: center; width: 100%; height: 440px; margin: 13px 0 4px; border-radius: 12px; overflow: hidden; background: #eeece8; }
.showcase-image img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.22); }
.showcase-caption { display: flex; gap: 14px; justify-content: space-between; align-items: center; padding-top: 17px; }
.showcase-caption .section-kicker { margin: 0 0 6px; font-size: 8px; }
.showcase-caption h2 { margin: 0; font-size: 22px; letter-spacing: -.04em; }
.showcase-open { font-size: 11px; font-weight: 600; color: #55475c; white-space: nowrap; text-decoration: underline; text-underline-offset: 5px; }
.showcase-prompt { font-size: 11px; color: #7a7280; line-height: 1.65; margin: 13px 0; max-width: 55ch; }
.showcase-facts { display: flex; gap: 14px; flex-wrap: wrap; font-size: 9px; color: #837b89; }
.process-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; border-top: 1px solid var(--studio-line); border-bottom: 1px solid var(--studio-line); padding: 29px 0 !important; }
.process-strip > div { display: flex; gap: 17px; align-items: flex-start; }
.process-index { color: #b6aaa1; font-size: 11px; font-weight: 600; margin-top: 4px; }
.process-strip p { margin: 0; font-size: 12px; line-height: 1.6; }
.process-strip strong { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; }
.process-strip p span { color: var(--studio-muted); font-size: 11px; }
body.home-page .gallery-band { padding: 80px 0 74px; background: transparent; border: 0; }
body .gallery-heading { align-items: end; gap: 25px; margin-bottom: 30px; }
body .gallery-summary { color: #817a7d; font-size: 11px; line-height: 1.6; }
body.home-page .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
body .run-card { background: #fff; border: 1px solid var(--studio-line); border-radius: 17px; overflow: hidden; box-shadow: none; }
body .run-card:hover { transform: translateY(-3px); border-color: #cdc4bb; box-shadow: 0 12px 28px #30262508; }
body .run-media { aspect-ratio: 1.6; background: #eeece8; padding: 0; border: 0; }
body .run-media::after, body .run-media::before { display: none; }
body .run-image { width: 100%; height: 100%; object-fit: cover; }
body .run-body { padding: 22px 24px; gap: 12px; }
body .run-body h3 { color: var(--studio-ink); font-size: 20px; margin: 0; }
body .run-facts { color: #878089; gap: 14px; font-size: 11px; }
body .fact { background: none; border: 0; border-radius: 0; padding: 0; min-height: 0; box-shadow: none; color: #807781; font-size: 11px; }
body .showcase-facts .fact { font-size: 10px; }
body .run-actions { gap: 8px; margin-top: 3px; }
body .run-actions .button { min-height: 36px; padding: 8px 13px; font-size: 11px; }
body .run-actions .run-viewer { background: var(--studio-ink); color: #fff; border-color: var(--studio-ink); }
.studio-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; padding: 64px 0 !important; border-top: 1px solid var(--studio-line); }
.studio-faq h2 { font-size: 37px; line-height: 1.15; margin: 15px 0 22px; }
.studio-faq .text-link { font-size: 12px; }
.faq-list details { border-bottom: 1px solid var(--studio-line); }
.faq-list summary { padding: 21px 28px 21px 0; font-size: 14px; font-weight: 600; cursor: pointer; list-style: none; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 0; color: #8b7a70; font-size: 18px; font-weight: 400; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list p { font-size: 13px; color: var(--studio-muted); padding: 0 24px 16px 0; margin: 0; }
.faq-list a { text-decoration: underline; color: var(--studio-accent); }
.closing-note { display: flex; align-items: center; justify-content: space-between; background: #ede7df; padding: 38px 44px !important; border-radius: 18px; margin: 20px auto 80px !important; }
.closing-note p { font-size: 32px; line-height: 1.25; letter-spacing: -.04em; color: #8a7b70; margin: 0; }
.closing-note strong { color: #473a31; font-weight: 600; }
body .site-footer { background: transparent; color: var(--studio-muted); border-top: 1px solid var(--studio-line); width: min(1240px, calc(100% - 80px)); margin: 0 auto; padding: 35px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 25px; }
.site-footer > div { flex: 1; }
.site-footer .brand-name { font-size: 16px; }
.site-footer .brand-mark { height: 24px; width: 24px; flex-basis: 24px; }
.site-footer p { font-size: 11px; }
.site-footer .footer-nav { gap: 25px; font-size: 12px; }
body .site-footer a { color: #6d6265; }
.site-footer .footer-fine { flex-basis: 100%; color: #8e888d; font-size: 10px; }
/* Account, help, viewer, and dashboard surfaces share the same quiet styling. */
body .featured-panel, body .process-card, body .schematic-guide, body .job-panel,
body .empty-state, body .viewer-panel, body .viewer-materials, body .password-recovery-card,
body .dashboard-detail-card, body .dashboard-job-row, body .dashboard-credit-cost-card,
body .dashboard-purchase-item, body .dashboard-provider-pill, body .dashboard-visibility-card {
  background: #fff; color: var(--studio-ink); border: 1px solid var(--studio-line); border-radius: 16px; box-shadow: none;
}
body .featured-panel p, body .process-card p, body .schematic-guide p, .job-message, .job-meta,
.viewer-prompt, .viewer-status, .dashboard-job-row-summary, .dashboard-job-row-time,
.dashboard-job-row-meta, .dashboard-subsummary, .dashboard-job-config, .dashboard-billing-note,
.dashboard-credit-cost-card span, .credit-list span, .password-recovery-copy p { color: var(--studio-muted); }
body .dashboard-band { background: transparent !important; border-top: 1px solid var(--studio-line) !important; }
body .dashboard-hero-band { padding-top: 56px !important; }
body .dashboard-header-wallet { background: #fff; border-color: var(--studio-line); box-shadow: none; color: var(--studio-ink); }
.dashboard-header-wallet-label { color: var(--studio-muted); }
.dashboard-pack-button { background: var(--studio-tint); color: var(--studio-accent); border: 1px solid #e6cbbd; box-shadow: none; }
.dashboard-detail-card strong, .dashboard-purchase-item strong, .dashboard-credit-cost-card strong { color: var(--studio-ink); }
.dashboard-title { text-shadow: none; }
.dashboard-build-media { background: #17171b; }
body .pill, .viewer-meta .fact, body .viewer-meta span { background: #f0ece6; border: 1px solid #e0d9d0; color: #746356; box-shadow: none; font-size: 11px; }
body .pill-accent, body .pill-warm { background: #f7e9de; color: #9a4522; border-color: #e9cdbd; }
body .job-progress-track { background: #ebe6df; border: 0; }
body .job-progress-fill { background: var(--studio-accent); box-shadow: none; }
body .viewer-main { padding-top: 38px; }
body .viewer-copy h1 { font-size: clamp(34px, 4vw, 52px); }
body .viewer-frame-shell { background: #17171b; border-color: var(--studio-line); border-radius: 11px; }
body .viewer-meta span { border-radius: 6px; padding: 7px 10px; }
body .viewer-mobile-download:not([hidden]) { background: var(--studio-accent); color: #fff; border: 1px solid var(--studio-accent); box-shadow: 0 4px 20px #29212a15; border-radius: 10px; }
body .viewer-frame-shell { background: #eeece8; }
body .viewer-copy h1 { max-width: none; font-size: clamp(32px, 4vw, 48px); line-height: 1.08; }
.viewer-material-list { color: var(--studio-ink); }
.viewer-view-button.is-active { background: #f3e3d8 !important; color: #85391d !important; border-color: #debda9 !important; }
body .auth-modal, .shared-auth-modal { display: flex; align-items: center; justify-content: center; padding: 16px; }
body .auth-modal-backdrop, .shared-auth-backdrop { background: #25202a60; backdrop-filter: blur(6px); }
body .auth-modal-shell, .shared-auth-shell { width: min(460px, calc(100% - 32px)); max-height: calc(100dvh - 48px); border-radius: 20px; background: #fff; border: 1px solid #e5ded6; box-shadow: 0 25px 100px #18111920; padding: 29px; color: var(--studio-ink); overflow-y: auto; }
body .auth-modal-panel { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
body .auth-modal-shell, .shared-auth-shell { display: block; min-height: 0; margin: 0; }
body .auth-modal-panel { width: 100%; max-height: none; overflow: visible; }
.shared-auth-copy { padding: 0; background: none; border: 0; min-height: 0; display: block; }
.shared-auth-signed-out { padding-top: 0; }
.shared-auth-feedback { grid-column: auto; margin-top: 18px; }
body .auth-modal-panel::before, body .auth-modal-panel::after { display: none; }
body .auth-modal-close, .shared-auth-close { background: #f5f2ed; color: #6f6661; border: 0; border-radius: 6px; padding: 7px 10px; font-size: 11px; top: 15px; right: 15px; }
body .auth-intro, .shared-auth-copy { margin-bottom: 22px; }
body .auth-intro h2, .shared-auth-copy h2 { font-size: 30px; line-height: 1.15; margin: 12px 0; }
body .auth-intro p, .shared-auth-copy p { color: var(--studio-muted); font-size: 13px; }
body .auth-forms, .shared-auth-signed-out { display: block; }
body .auth-form, .shared-auth-form { padding: 0; border: 0; background: transparent; border-radius: 0; box-shadow: none; gap: 17px; }
.auth-form h3, .shared-auth-form h3 { display: none; }
body .auth-field span, .shared-auth-field span { color: #71676d; font-size: 11px; font-weight: 550; letter-spacing: 0; text-transform: none; }
body .auth-field input, .shared-auth-field input { min-height: 45px; font-size: 14px; padding: 11px 12px; }
body .auth-feedback, .shared-auth-feedback { color: #5d5550; background: #f5f1eb; border: 1px solid var(--studio-line); font-size: 12px; }
body .auth-feedback.is-error, .shared-auth-feedback.is-error { color: #9d3027; background: #fff1ed; border-color: #efd0c9; }
.shared-auth-assistance { font-size: 12px; color: var(--studio-accent); }
.account-switcher { display: grid; grid-template-columns: 1fr 1fr; background: #f3f0eb; border-radius: 8px; padding: 4px; margin-bottom: 23px; gap: 3px; }
.account-switcher button { border: 0; padding: 10px; border-radius: 6px; background: none; color: #8b807a; font-size: 12px; font-weight: 600; cursor: pointer; }
.account-switcher button[aria-pressed=true] { background: #fff; color: var(--studio-ink); box-shadow: 0 2px 6px #28212008; }
.auth-form .button, .shared-auth-form > button { width: 100%; background: var(--studio-accent); color: #fff; border-color: var(--studio-accent); }
body code { color: #9b4529; background: #f5eae1; border-radius: 4px; padding: 1px 4px; }
body .process-number { color: var(--studio-accent); }
body .info-hero-copy h1 { font-size: clamp(40px, 5vw, 64px); }
body .info-hero-copy p { color: var(--studio-muted); }
body .contact-form textarea { min-height: 150px; }
/* A purchase page that belongs to the same studio. */
.credits-shell { padding: 0; }
.credits-header { width: min(1240px, calc(100% - 80px)); }
.credits-brand-mark { width: 30px; height: 32px; background: url('/assets/brand-cube.svg') center/contain no-repeat; }
.credits-brand-mark * { display: none; }
.credits-nav { border: 0; background: none; gap: 25px; }
.credits-return-icon { color: var(--studio-accent); }
.credits-main { width: min(1100px, calc(100% - 80px)); padding: 64px 0 30px; gap: 32px; }
.credits-hero { grid-template-columns: 1fr 285px; gap: 50px; align-items: center; }
.credits-hero-copy { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; backdrop-filter: none; }
.credits-hero:has(.credits-balance-card[hidden]) { grid-template-columns: 1fr; }
.credits-hero-copy::before, .credits-hero-copy::after, .credits-balance-card::before, .credits-balance-card::after { display: none; }
.credits-hero-copy h1 { font-size: 58px; line-height: 1.08; letter-spacing: -.055em; font-weight: 650; }
.credits-hero-copy > p:not(.credits-kicker) { font-size: 15px; color: var(--studio-muted); max-width: 46ch; }
.credits-trust-row span { color: #7b6c5f; background: #eee7df; border: 0; font-size: 10px; font-weight: 500; }
.credits-balance-card { background: #eee9e3; color: var(--studio-ink); border: 1px solid #e2d9ce; box-shadow: none; padding: 25px; border-radius: 16px; }
.credits-balance-card .credits-kicker, .credits-balance-card p { color: #817366; }
.credits-balance-card > strong { font-size: 34px; color: var(--studio-ink); font-weight: 600; letter-spacing: -.04em; }
.credits-balance-icon { color: var(--studio-accent); }
.credits-balance-icon circle { fill: #f6f0e8; }
.credits-account-chip { color: #817366; background: #e5dcd0; border: 0; font-size: 10px; }
.credits-balance-card .credits-account-chip { color: #6b5d52; }
.credits-panel { background: none; border: 0; box-shadow: none; padding: 0; border-radius: 0; }
.credits-section-head { padding-bottom: 10px; }
.credits-section-head h2 { font-size: 25px; letter-spacing: -.04em; font-weight: 620; }
.credits-section-head p { font-size: 11px; }
.credits-grid { display: block; margin-top: 22px; }
.credits-pack-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.credits-pack { display: flex; flex-direction: column; align-items: flex-start; position: relative; padding: 27px; border-radius: 16px; background: #fff; border: 1px solid var(--studio-line); box-shadow: none; color: var(--studio-ink); gap: 14px; min-height: 300px; text-align: left; }
.credits-pack:nth-child(2) { border-color: #c88465; background: #fffcf8; }
.credits-pack:hover { transform: translateY(-3px); border-color: var(--studio-accent); box-shadow: var(--shadow); }
.credits-pack-title { font-size: 12px; color: #86786d; font-weight: 500; }
.credits-pack-price { font-size: 48px; font-weight: 600; letter-spacing: -.06em; line-height: 1; margin-top: 5px; color: var(--studio-ink); }
.credits-pack > strong:not(.credits-pack-price) { font-size: 18px; font-weight: 600; letter-spacing: -.03em; }
.credits-pack-icon { display: none; }
.credits-pack-copy { font-size: 11px; color: var(--studio-muted); line-height: 1.6; }
.credits-pack-action { display: block; width: 100%; text-align: center; background: var(--studio-ink); color: #fff; border: 0; border-radius: 8px; padding: 11px; font-size: 12px; margin-top: auto; }
.credits-pack:nth-child(2) .credits-pack-action { background: var(--studio-accent); }
.credits-pack:nth-child(2) { box-shadow: none; }
.credits-pack:nth-child(2)::before { display: none; }
.credits-pack .credits-pack-title { font-size: 12px !important; color: #86786d !important; }
.credits-pack .credits-pack-price { font-size: 48px !important; color: var(--studio-ink) !important; font-weight: 600; padding: 0; border: 0; }
.credits-pack .credits-pack-action { color: #fff !important; font-size: 12px; font-weight: 600; min-height: 42px; }
.credits-pack .credits-pack-copy { font-size: 11px; }
.credits-pack .credits-pack-unit { font-size: 10px; }
.credits-pack-unit { color: #887f78; font-size: 10px; }
.credits-lower-grid { display: block; border-top: 1px solid var(--studio-line); padding-top: 30px; }
.credits-empty-card, .credits-purchase-card { background: #fff; border: 1px solid var(--studio-line); border-radius: 10px; color: var(--studio-muted); font-size: 13px; }
.credits-status { padding: 13px 16px; border-radius: 9px; background: #eee9e2; border: 0; color: #75675e; font-size: 12px; }
.credits-status.is-error { background: #fff0eb; color: #a33726; }
.credits-cost-guide { margin: 10px 0; padding: 28px; background: #f0ece6; border-radius: 15px; }
.credits-cost-guide h2 { font-size: 23px; margin: 0 0 9px; }
.credits-cost-guide p { color: var(--studio-muted); font-size: 12px; }
.cost-table { border-collapse: collapse; width: 100%; margin-top: 20px; font-size: 12px; text-align: left; }
.cost-table th, .cost-table td { padding: 13px 12px; border-bottom: 1px solid #ddd5cb; }
.cost-table th { font-weight: 600; color: #70645d; }
.cost-table td { color: var(--studio-ink); }
.cost-table td:first-child { font-weight: 600; }
.credits-faq { padding: 10px 0 30px; }
.credits-faq h2 { font-size: 25px; }
.video-header, .toy-header { width: min(1240px, calc(100% - 40px)); }
.video-brand-mark, .toy-brand-mark { color: var(--studio-accent); }
.video-main, .toy-main { padding-top: 30px; }
.toy-title, .toy-hero h1 { font-family: var(--heading-font); letter-spacing: -.045em; text-shadow: none; }
.toy-card, .toy-panel { background: #fff; border-color: var(--studio-line); box-shadow: none; }
.toy-form, .toy-result-panel, .toy-banner, .video-form, .video-result-panel { border: 1px solid var(--studio-line); border-radius: 17px; box-shadow: none; }
.video-brand-mark, .toy-brand-mark { background: url('/assets/brand-cube.svg') center/contain no-repeat; box-shadow: none; border-radius: 0; transform: none; }
.video-kicker { color: var(--studio-accent); }
.video-resolution-field input:checked + span { background: var(--studio-tint); color: var(--studio-accent-hover); border-color: #d8bca8; }
.video-cost-card { background: #f6efe6; border-color: #e6dacb; }
.video-result-frame, .toy-result-frame { background: #f2efea; border-color: var(--studio-line); }
.toy-submit { background: var(--studio-accent); border-color: var(--studio-accent); color: #fff; box-shadow: none; }
.toy-submit:hover { background: var(--studio-accent-hover); }
body .build-detail-main { padding-top: 45px; background: var(--studio-bg); }
body .build-detail-copy, body .build-detail-materials { background: #fff; border: 1px solid var(--studio-line); color: var(--studio-ink); border-radius: 18px; box-shadow: none; }
.build-detail-prompt { color: var(--studio-muted); }
.build-detail-materials li, .build-detail-materials li strong { color: var(--studio-ink); border-color: var(--studio-line); background: #f8f6f2; }
.build-detail-cover { background: #eeece8; border-color: var(--studio-line); box-shadow: none; }
.viewer-materials summary, .viewer-material-list strong { color: var(--studio-ink); }
.viewer-materials summary span:last-child { color: var(--studio-muted); }
.password-recovery-feedback.is-error { color: #963b2d; background: #fff1eb; border-color: #e6c3b7; }
.password-recovery-feedback.is-success { color: #45634b; background: #ecf3ec; border-color: #c9d9cc; }
.attribution-section { margin-bottom: 65px !important; }
.attribution-section .info-hero-panel { max-width: none; padding: 26px; }
.attribution-section .info-hero-panel h2 { font-size: 24px; }
.attribution-section .info-hero-panel p { font-size: 12px; }
body.dashboard-page .site-header { border-radius: 0; flex-wrap: nowrap; }
body .dashboard-header-wallet, body .dashboard-header-account-copy, body #dashboard-header-account-copy { display: none; }
body .header-account-copy { color: var(--studio-muted); }
body .stat-label { color: var(--studio-muted); }
#verify-status { justify-self: start; }
.dashboard-detail-card::before, .dashboard-visibility-card::before { display: none; }
@media (max-width: 1100px) {
  body .site-header { width: calc(100% - 48px); gap: 18px; }
  body .site-nav { gap: 17px; }
  body .section-shell { width: calc(100% - 56px); }
  .studio-hero { gap: 32px; }
  .showcase-image { height: 400px; }
  .studio-showcase { padding: 20px; }
  .showcase-caption { flex-wrap: wrap; }
  body .brand-name { font-size: 17px; }
  body .header-cta { padding: 10px 12px; }
  .studio-faq { gap: 50px; }
}
@media (max-width: 850px) {
  body .site-nav { display: none; }
  body .mobile-nav { display: block; }
  .studio-hero { grid-template-columns: 1fr; padding-top: 38px !important; gap: 35px; }
  .studio-create { max-width: 620px; margin-inline: auto; width: 100%; }
  body.home-page .hero-copy { text-align: center; }
  body.home-page .hero-copy { justify-items: center; }
  body.home-page .hero-kicker { justify-content: center; }
  body.home-page .hero-copy h1 { text-align: center; font-size: 54px; }
  body.home-page .hero-lede { text-align: center; margin-inline: auto; }
  .studio-showcase { max-width: 620px; width: 100%; margin-inline: auto; }
  .showcase-image { height: 410px; }
  .process-strip { gap: 18px; }
  .process-strip > div { gap: 10px; }
  body.home-page .gallery-grid { gap: 18px; }
  body .run-body { padding: 17px; }
  body .run-body h3 { font-size: 18px; }
  .credits-hero { grid-template-columns: 1fr; gap: 25px; }
  .credits-balance-card { max-width: 420px; }
  .credits-pack { padding: 22px; }
  .credits-nav { display: none; }
  .dashboard-page .site-header { flex-wrap: wrap; }
  body .dashboard-hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body .site-header, .credits-header, .video-header, .toy-header { width: calc(100% - 36px); min-height: 76px; padding: 16px 0; gap: 12px; }
  body .section-shell, .credits-main { width: calc(100% - 36px); }
  body .brand-name, .credits-brand-name { font-size: 16px; }
  body .brand-mark { width: 24px; height: 27px; flex-basis: 24px; }
  .brand-tagline { display: none !important; }
  body .header-actions { gap: 3px; }
  body .header-account-link { font-size: 12px; padding: 8px; }
  body .header-cta { display: none; }
  .studio-hero { padding-top: 30px !important; padding-bottom: 30px !important; }
  body.home-page .hero-kicker { font-size: 8px; letter-spacing: .065em; margin-bottom: 16px; }
  body.home-page .hero-copy h1 { font-size: clamp(34px, 8.5vw, 48px); line-height: 1.1; margin-bottom: 16px; }
  body.home-page .hero-lede { font-size: 13px; max-width: 35ch; line-height: 1.65; }
  body.home-page .hero-copy { margin-bottom: 23px; }
  body.home-page .prompt-panel { padding: 17px; gap: 13px; border-radius: 14px; }
  body.home-page .prompt-step { font-size: 12px; }
  body.home-page #generation-prompt { font-size: 16px; min-height: 110px; }
  body .auth-field input, .shared-auth-field input { font-size: 16px; }
  body.home-page .generation-settings { grid-template-columns: 1fr 1fr; gap: 12px 10px; }
  body.home-page .generation-settings .setting-field:first-child { grid-column: 1 / -1; }
  body.home-page .setting-field select { font-size: 12px; min-height: 42px; }
  body.home-page .prompt-submit { min-width: 140px; font-size: 11px; padding-inline: 13px; }
  body.home-page .setting-cost-value { flex-direction: column; gap: 2px; align-items: flex-start; }
  body.home-page .setting-cost-value strong { font-size: 14px; }
  body.home-page .generation-note { font-size: 9px; }
  .studio-showcase { padding: 17px; border-radius: 16px; }
  .showcase-image { height: 310px; }
  .showcase-heading .section-kicker { font-size: 8px; }
  .showcase-number { font-size: 7px; }
  .showcase-caption h2 { font-size: 21px; }
  .showcase-open { font-size: 10px; }
  .process-strip { grid-template-columns: 1fr; padding: 24px 0 !important; gap: 22px; }
  .process-strip > div { gap: 20px; }
  .process-strip p span { font-size: 12px; }
  .process-strip strong { margin-bottom: 3px; }
  body.home-page .gallery-band { padding: 46px 0; }
  body .gallery-heading { display: block; margin-bottom: 23px; }
  body .section-heading h2 { font-size: 34px; }
  body .section-heading p { font-size: 13px; }
  body .gallery-summary { margin-top: 18px; }
  body.home-page .gallery-grid { grid-template-columns: 1fr; gap: 22px; }
  body .run-body { padding: 20px; }
  body .run-body h3 { font-size: 21px; }
  body .run-media { aspect-ratio: 1.35; }
  .studio-faq { grid-template-columns: 1fr; gap: 22px; padding: 40px 0 !important; }
  .studio-faq h2 { font-size: 32px; margin: 12px 0 16px; }
  .faq-list summary { font-size: 13px; }
  .closing-note { padding: 28px !important; margin-bottom: 45px !important; align-items: flex-start; flex-direction: column; gap: 25px; }
  .closing-note p { font-size: 28px; }
  body .site-footer { width: calc(100% - 36px); padding: 30px 0; align-items: flex-start; }
  .site-footer > div { flex-basis: 100%; }
  .site-footer .footer-nav { gap: 22px; flex-wrap: wrap; }
  body .depth-band { padding: 35px 0; }
  body .auth-modal-shell, .shared-auth-shell { padding: 26px 22px; max-height: calc(100dvh - 32px); }
  .credits-main { padding-top: 36px; }
  .credits-hero-copy h1 { font-size: 43px; }
  .credits-hero-copy > p:not(.credits-kicker) { font-size: 14px; }
  .credits-pack-list { grid-template-columns: 1fr; }
  .credits-pack { padding: 24px; min-height: 265px; }
  .credits-cost-guide { padding: 20px 14px; }
  .cost-table { font-size: 10px; }
  .cost-table th, .cost-table td { padding: 12px 6px; }
  .credits-cost-guide h2 { font-size: 22px; }
  .dashboard-header-actions { flex-wrap: wrap; }
  body .dashboard-header-new-build, body .dashboard-header-add-credits { display: none; }
  body .viewer-header { flex-wrap: nowrap; }
  body .viewer-main { padding: 25px 18px; }
  .viewer-toolbar { gap: 6px; }
  .viewer-toolbar .button { padding: 9px 12px; font-size: 11px; }
  .viewer-toolbar .button { width: auto; }
  .viewer-toolbar .button:first-child { width: 100%; }
  .viewer-mobile-download { margin: 20px 18px 0; }
  body .info-hero-copy h1 { font-size: 40px; }
  .credits-return { font-size: 11px; padding: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
