@font-face {
  font-family: "Manrope";
  src: url("/v2/fonts/manrope-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

/* Orbit is a presentation layer; hidden, disabled and workflow state stay app-owned. */
:root {
  color-scheme: dark;
  --platinum-50: #231d19;
  --platinum-100: #14110f;
  --platinum-200: #332b25;
  --platinum-300: #55483e;
  --graphite-950: #0e0b09;
  --graphite-900: #191512;
  --graphite-800: #f2ece5;
  --ink: #f5efe9;
  --muted: #c3b9af;
  --quiet: #b3a69b;
  --orange: #ff792f;
  --orange-deep: #ff9b5f;
  --green: #91c49b;
  --red: #ffad9e;
  --blue: #a1c7e0;
  --shadow: 0 18px 60px #00000026;
  --orbit-field: #1b1714;
  --orbit-line: #493b30;
  font-family: "Manrope", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
}

body { background: radial-gradient(ellipse 75% 60% at 50% 37%, #56301938, transparent 76%), #100d0b; }
.app-shell { display: block; max-width: 1440px; min-height: calc(100dvh - 40px); margin: 20px auto; border: 1px solid var(--orbit-line); border-radius: 24px; background: #15110fd1; }
.workspace { display: block; }
.workspace-header { gap: 24px; min-height: 86px; padding: 16px 36px; border-color: #493b307a; border-radius: 24px 24px 0 0; background: #15110ff5; }
.orbit-brand { display: inline-flex; flex-shrink: 0; gap: 15px; align-items: center; min-height: 44px; color: var(--ink); font-size: 13px; letter-spacing: .3em; font-weight: 750; text-decoration: none; }
.orbit-mark { width: 24px; height: 24px; border: 2px solid #ffa16e; border-radius: 50%; box-shadow: 0 0 14px #ff6d2438, inset 0 0 5px #ff6d2445; }
.orbit-navigation { display: flex; align-items: center; gap: 24px; margin-right: auto; margin-left: 35px; }
.orbit-navigation .new-project, .orbit-navigation .projects-button, .orbit-help { display: inline-flex; gap: 8px; align-items: center; width: auto; min-height: 44px; margin: 0; padding: 10px 0; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: none; color: var(--muted); font-size: 12px; font-weight: 600; text-decoration: none; }
.orbit-navigation .new-project { color: #ffd3b4; border-bottom-color: var(--orange); }
.orbit-navigation .new-project:hover, .orbit-navigation .projects-button:hover, .orbit-help:hover { color: var(--ink); border-bottom-color: var(--orange); background: none; }
.orbit-navigation .new-project span { font-size: 16px; }
.header-actions { gap: 12px; }
.page-language-control.orbit-language { display: block; }
.orbit-language select { width: 99px; min-height: 40px; padding: 6px; border-color: transparent; background: none; font-size: 12px; font-weight: 500; }
.display-mode-control > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.display-mode-control select { min-height: 40px; max-width: 140px; border-radius: 9px; background: #1e1814; font-size: 11px; }
.mobile-nav-toggle { display: inline-flex; min-width: 40px; min-height: 40px; justify-content: center; border-color: var(--orbit-line); border-radius: 9px; background: none; color: var(--muted); }
.icon-button, .exit-link { display: inline-flex; min-height: 40px; align-items: center; padding: 8px; border-radius: 9px; font-size: 12px; }
.profile-header-button, .exit-link { display: none; }
.icon-button:hover { color: var(--ink); background: #31261e; }
.account-button { min-height: 40px; border-radius: 20px; background: #292019; }
.account-avatar { background: #38271a; color: var(--orange-deep); }

/* The existing menu and Brief become drawers at every width, preserving their controls. */
.sidebar { position: fixed; z-index: 40; inset: 0 auto 0 0; width: min(300px,88vw); overflow-y: auto; transform: translateX(-104%); visibility: hidden; padding: 30px 22px; background: #1d1713; color: var(--ink); border-color: var(--orbit-line); box-shadow: 16px 0 50px #0008; }
body.nav-open { overflow: hidden; }
body.nav-open .sidebar { transform: translateX(0); visibility: visible; }
.nav-scrim { position: fixed; z-index: 35; inset: 0; border: 0; background: #080605b8; }
body.nav-open .nav-scrim { display: block; }
.brand { color: var(--ink); letter-spacing: .04em; }
.brand-mark { border-radius: 8px; }
.profile-button { margin-top: 28px; border-color: var(--orbit-line); border-radius: 12px; background: #272019; color: var(--ink); }
.profile-button > span, .profile-button small, .tool-link small, .project-progress > p { color: var(--muted); }
.tool-link { border-radius: 10px; color: var(--muted); min-height: 58px; }
.tool-link:hover { transform: none; }
.tool-link.active { background: #302319; border-color: #725037; }
.tool-link strong { font-size: 12px; }
.tool-link small { font-size: 10px; }
.tool-glyph, .workflow-mark, .progress-track { border-radius: 7px; }
.progress-step { min-height: 48px; }
.progress-step span, .progress-step em { color: var(--muted); }
.progress-step.active { background: #322319; }
.brief-panel { position: fixed; z-index: 25; inset: 0 0 0 auto; width: min(380px,100vw); padding: 30px 24px; transform: translateX(104%); visibility: hidden; border-color: var(--orbit-line); background: #211a15; box-shadow: -20px 0 60px #0006; }
.brief-panel.open { transform: translateX(0); visibility: visible; }
.brief-heading { font-size: 12px; }
.brief-heading button { display: block; min-width: 44px; min-height: 44px; border: 1px solid var(--orbit-line); border-radius: 50%; }
.asset-frame { min-height: 230px; border-color: var(--platinum-300); border-radius: 14px; background: #181310; }
.asset-frame img { height: 270px; background: #181310; }
.asset-empty, .brief-summary dt { color: var(--quiet); }
.brief-summary dd { color: var(--ink); }
.truth-note { border-radius: 0 12px 12px 0; }
.asset-caption, .truth-note p { font-size: 12px; }

.conversation { padding: 54px 36px 56px; }
.orbit-hero { max-width: 1040px; margin: 0 auto 35px; text-align: center; }
.orbit-eyebrow { margin: 0 0 20px; color: #d0b59f; font-size: 10px; font-weight: 600; letter-spacing: .2em; }
.studio-title { margin: 0; font-size: clamp(32px,3.6vw,50px); line-height: 1.2; letter-spacing: -.048em; font-weight: 750; text-wrap: balance; }
.orbit-accent { color: var(--orange); }
.orbit-subtitle { margin: 17px 0 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.composer, .concept-gate, .job-status { width: min(1000px,100%); margin: 0 auto; padding: 25px; border: 1px solid var(--orbit-line); border-radius: 22px; background: linear-gradient(130deg,#30251dc2,#211b17 65%); box-shadow: 0 22px 80px #0003, 0 0 100px #c75c0f08; scroll-margin-top: 120px; }
.composer { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.5fr); gap: 18px 28px; }
.composer-heading { grid-column: 1 / -1; align-items: center; gap: 12px; padding: 0 0 15px; border-color: #493b3066; }
.composer-heading span { font-size: 10px; color: #d0b59f; }
.composer-heading strong { color: var(--muted); font: 500 12px/1.5 "Manrope", "Microsoft YaHei", sans-serif; }
.source-grid { display: contents; }
.source-primary { grid-column: 1; grid-row: 2 / 4; align-self: start; }
.source-details { grid-column: 2; grid-row: 2; }
.source-details label { gap: 8px; flex-wrap: wrap; color: var(--muted); font-size: 12px; font-weight: 500; }
.source-details label small { font-size: 10px; color: var(--quiet); }
.source-details label:not(:first-child) { margin-top: 15px; }
.source-details input, .source-details textarea, .profile-dialog input, .profile-dialog textarea, .profile-dialog select { min-height: 46px; padding: 13px 15px; border: 1px solid var(--platinum-300); border-radius: 12px; background: var(--orbit-field); font-size: 14px; line-height: 1.6; }
.source-details textarea { min-height: 112px; }
.source-details input::placeholder, .source-details textarea::placeholder, .profile-dialog input::placeholder, .profile-dialog textarea::placeholder { color: var(--quiet); }
.upload-card { min-height: 288px; height: auto; padding: 24px 20px; gap: 15px; border: 1px dashed #705744; border-radius: 15px; background: radial-gradient(ellipse at 50% 10%,#53382070,transparent 75%), #261e18; }
.upload-card:hover { transform: none; border-color: var(--orange); background-color: #302319; }
.upload-card:focus-within { outline: 2px solid #ffbe8b; outline-offset: 4px; }
.upload-plus { width: 46px; height: 46px; border-color: #aa714a; background: #211811; font-size: 26px; }
.upload-start-hint { color: #ffc49b; font-size: 10px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
#upload-card > .upload-plus { width: 56px; height: 56px; border-color: #ffb17f; background: var(--orange); color: #241007; font-size: 32px; box-shadow: 0 0 0 7px #ff792f12; }
#upload-card.has-file .upload-start-hint,
#upload-card.has-original-preview .upload-start-hint,
#upload-card:has(#upload-preview:not([hidden])) .upload-start-hint { display: none; }
.upload-card strong { max-width: 250px; font-size: 14px; line-height: 1.6; font-weight: 600; }
.upload-card small { max-width: 245px; font-size: 11px; line-height: 1.7; }
.upload-card.has-file { border-color: #765539; background: #2a211a; }
#upload-card:has(#upload-preview:not([hidden])), #upload-card.has-original-preview { gap: 9px; padding: 8px 8px 13px; }
#upload-preview, #product-original-preview { height: 240px; border-radius: 9px; background: #191410; object-fit: contain; }
.upload-card.has-file strong { font-size: 12px; }
.upload-card.has-file small { font-size: 10px; line-height: 1.5; padding-inline: 6px; }
.file-name { margin-top: 10px; color: var(--quiet); font-size: 10px; }
.reference-thumb { width: 43px; height: 47px; border-radius: 7px; background: #1b1612; color: var(--ink); }
.reference-enlarge, #product-original-enlarge { min-height: 44px; margin-top: 6px; padding: 10px 0; font-size: 11px; }
#input-reference-gallery { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.orbit-settings { grid-column: 2; grid-row: 3; display: grid; align-content: start; gap: 16px; }
.page-language-settings { margin: 0; }
.page-language-settings .page-language-control { display: grid; width: 100%; grid-template-columns: auto minmax(0,1fr); gap: 6px 16px; align-items: center; }
.page-language-settings .page-language-control > span { color: var(--muted); font-size: 12px; font-weight: 500; }
.page-language-control select { min-height: 42px; border-radius: 10px; background: var(--orbit-field); color: var(--ink); font-size: 12px; font-weight: 500; }
.market-control small { grid-column: 1 / -1; font-size: 10px; }
#target-market-status { margin: 0; }
.field-status.success { color: #aed5aa; }
.field-status.warning { color: #ffd0a9; }
.profile-inline { margin: 0; border-color: var(--platinum-300); border-radius: 10px; background: #241c16; }
.profile-inline summary { gap: 8px; padding: 12px; }
.profile-inline summary span, .profile-inline summary em { color: var(--quiet); font-size: 9px; font-weight: 500; letter-spacing: 0; }
.profile-inline summary strong { color: var(--ink); font-size: 11px; font-weight: 600; }
.profile-inline-body p { font-size: 12px; }
.composer-actions { grid-column: 1 / -1; gap: 20px; margin: 0; padding-top: 14px; border-top: 1px solid #493b3066; }
.composer-actions > p { max-width: 400px; font-size: 11px; line-height: 1.7; }
.primary-button { min-height: 48px; border-radius: 13px; padding: 13px 20px; background: #ff792f; border-color: #ff9b60; color: #241007; font-size: 12px; font-weight: 800; box-shadow: 0 5px 25px #ff6a0021, inset 0 1px 0 #ffd0a94d; }
.primary-button:hover { color: #241007; background: #ff9851; border-color: #ffc099; }
.primary-button[disabled] { box-shadow: none; }
.secondary-button { min-height: 44px; border-radius: 10px; color: var(--ink); background: #282019; }
.form-error { grid-column: 1 / -1; margin: 0; }
.form-error, .status-error, .auth-error { padding: 14px; border-radius: 0 10px 10px 0; color: #ffb7a9; background: #522b254d; font-size: 12px; line-height: 1.65; }
.orbit-orientation { max-width: 800px; margin: 25px auto 0; }
.orbit-assurance { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0; color: #d6c8bc; font-size: 12px; line-height: 1.7; }
.orbit-assurance svg { flex: 0 0 19px; width: 19px; height: 22px; color: var(--orange-deep); }
.orbit-steps { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; list-style: none; margin: 28px 0 32px; padding: 0; }
.orbit-steps li { display: flex; gap: 9px; padding: 0 0 13px; border-bottom: 1px solid #493b30; font-size: 11px; line-height: 1.5; color: var(--muted); }
.orbit-steps span { color: var(--orange-deep); font-variant-numeric: tabular-nums; }
.orbit-steps strong { font-weight: 500; }
.thread { width: min(900px,100%); margin-top: 26px; }
.message { margin-bottom: 18px; gap: 12px; }
.message-copy { max-width: none; color: var(--muted); font: 400 12px/1.85 "Manrope", "Microsoft YaHei", sans-serif; }
.message-mark { border: 0; border-radius: 50%; opacity: .8; }
.message-label { font-size: 9px; color: var(--quiet); }
.message.user { background: #322218; border-radius: 0 10px 10px 0; }
.conversation:has(#intake-form[hidden]) .orbit-hero, .conversation:has(#intake-form[hidden]) .orbit-orientation { display: none; }
#studio-feedback-anchor { width: min(1000px,100%); margin-inline: auto; }
.concept-gate, .job-status { margin-top: 28px; }
.concept-gate { border-top: 2px solid var(--orange); }
.concept-gate h2, .job-status-heading strong { font-family: "Manrope", "Microsoft YaHei", sans-serif; font-size: 25px; font-weight: 650; line-height: 1.35; letter-spacing: -.025em; }
.concept-kicker { font-size: 10px; }
.concept-choice { grid-template-columns: 125px minmax(0,1fr); gap: 7px 22px; padding: 20px; border-radius: 14px; background: #201914; }
.concept-choice > small { grid-column: 1; grid-row: 1 / span 6; font-size: 11px; line-height: 1.6; }
.concept-choice > :not(small) { grid-column: 2; }
.concept-choice strong { font-size: 16px; }
.concept-choice span { color: var(--muted); font-size: 12px; line-height: 1.7; }
.concept-choice:hover { transform: none; background: #2c2018; }
.concept-choice.is-selected { background: #39271c; }
.concept-selection-copy { font-size: 12px; line-height: 1.7; }
.result-variant, .project-row { background: #201914; border-radius: 12px; }
.approved-concept { border-radius: 0 12px 12px 0; }
.scene-sequence-card a { background: #19130f; border: 1px solid var(--orbit-line); }
.result-download { min-height: 44px; border-radius: 10px; align-items: center; }
.result-download:hover { color: #241007; }
#workflow-progress-anchor { width: min(1000px,100%); margin: 24px auto 0; }
.production-progress, #workflow-progress .production-progress { background: #211a15; border-color: #5a4433; border-radius: 14px; }
.working-reference { padding: 14px; border-radius: 14px; background: #1e1814; }
.production-stages li, #workflow-progress .production-stages li { color: var(--muted); border-color: #655246; font-size: 11px; }
.production-stages .current, #workflow-progress .production-stages .current { color: #ffc49b; border-color: var(--orange); }
.production-stages .done, #workflow-progress .production-stages .done { color: #a7d4ac; border-color: var(--green); }
.production-progress-note, #workflow-progress .production-progress-note { color: var(--muted); font-size: 11px; }
.production-elapsed { font-size: 26px; }
.stage-activity { accent-color: var(--orange); }
.profile-dialog, .auth-dialog, .projects-dialog, .original-image-dialog, #product-original-dialog { border: 1px solid #70513c; border-radius: 20px; background: #211a15; }
.profile-dialog form, .auth-dialog form { padding: 28px; }
.profile-dialog-heading h2, .auth-dialog-heading h2, .projects-heading h2 { font: 650 28px/1.3 "Manrope", "Microsoft YaHei", sans-serif; }
.profile-dialog label, .auth-dialog label { color: var(--ink); font-size: 12px; }
.dialog-close { min-width: 42px; min-height: 42px; }
.auth-methods, .auth-destination-row, .auth-code, .google-auth-button { background: #1b1511; color: var(--ink); border-color: var(--platinum-300); }
.auth-method { color: var(--muted); }.auth-method.active { background: #39271c; color: var(--ink); }
.studio-demo-banner { background: #332618; color: #e8c8a7; border-color: #62452c; font-size: 11px; }

@media (max-width: 1450px) { .app-shell { margin: 12px; } }
@media (max-width: 1180px) {
  .workspace-header { padding: 16px 24px; gap: 16px; }
  .orbit-navigation { margin-left: 8px; gap: 18px; }
  .header-actions { gap: 8px; }
  .conversation { padding: 44px 25px; }
}
@media (max-width: 1000px) {
  .orbit-navigation { gap: 16px; }
  .workspace-header { justify-content: space-between; }
  .header-actions { width: 100%; justify-content: flex-end; border-top: 1px solid #493b305c; padding-top: 9px; }
  .orbit-navigation { margin: 0; }
}

/* The same compact layout applies to phones and the user's explicit mobile setting. */
@media (max-width: 720px) {
  .app-shell { margin: 0; border: 0; border-radius: 0; }
  .workspace-header { padding: 12px 16px; gap: 12px; border-radius: 0; }
  .orbit-brand { font-size: 11px; gap: 10px; letter-spacing: .2em; }
  .orbit-mark { width: 22px; height: 22px; }
  .orbit-navigation { gap: 16px; }
  .orbit-navigation .new-project, .orbit-help { font-size: 11px; }
  .header-actions { justify-content: space-between; gap: 6px; }
  .display-mode-control select { max-width: 124px; }
  .mobile-nav-toggle { font-size: 11px; }
  .conversation { padding: 34px 16px; }
  .orbit-hero { margin-bottom: 25px; text-align: left; }
  .orbit-eyebrow { margin-bottom: 15px; font-size: 9px; }
  .studio-title { font-size: 34px; letter-spacing: -.05em; }
  .orbit-subtitle { font-size: 14px; margin-top: 13px; }
  .composer { display: flex; flex-direction: column; gap: 20px; padding: 16px; border-radius: 18px; }
  .composer-heading { display: flex; flex-wrap: wrap; gap: 7px; padding-bottom: 12px; }
  .composer-heading strong { font-size: 11px; }
  .source-grid { display: flex; flex-direction: column; gap: 22px; }
  .source-details input, .source-details textarea, .page-language-settings select { font-size: 16px; }
  .source-details textarea { min-height: 110px; }
  .source-details label { font-size: 12px; }
  .source-details label small { font-size: 10px; }
  .page-language-settings .page-language-control { grid-template-columns: minmax(0,1fr); gap: 8px; }
  .upload-card { min-height: 240px; }
  #upload-preview, #product-original-preview { height: 255px; }
  .profile-inline summary { grid-template-columns: minmax(0,1fr) auto; }
  .profile-inline summary span { grid-column: 1 / -1; }
  .composer-actions { flex-direction: column-reverse; align-items: stretch; gap: 12px; padding-top: 0; border: 0; }
  .composer-actions > p { text-align: center; max-width: none; }
  .primary-button { width: 100%; min-height: 50px; font-size: 12px; }
  .orbit-assurance { align-items: flex-start; font-size: 11px; }
  .orbit-steps { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-block: 24px; }
  .message-copy { font-size: 11px; }
  .concept-gate, .job-status { padding: 18px; }
  .concept-choice { grid-template-columns: 1fr; padding: 15px; }
  .concept-choice > small, .concept-choice > :not(small) { grid-column: 1; grid-row: auto; }
  .production-stages, #workflow-progress .production-stages { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .profile-dialog form, .auth-dialog form { padding: 20px; }
}
body[data-studio-layout="mobile"] .app-shell { border-color: var(--orbit-line); background: #15110f; }
body[data-studio-layout="mobile"] .workspace-header { padding: 12px 14px; border-radius: 0; }
body[data-studio-layout="mobile"] .orbit-brand { font-size: 11px; gap: 10px; letter-spacing: .2em; }
body[data-studio-layout="mobile"] .orbit-navigation { margin: 0; gap: 14px; }
body[data-studio-layout="mobile"] .orbit-navigation .new-project, body[data-studio-layout="mobile"] .orbit-help { font-size: 11px; }
body[data-studio-layout="mobile"] .header-actions { width: 100%; justify-content: space-between; gap: 5px; padding-top: 8px; border-top: 1px solid #493b305c; }
body[data-studio-layout="mobile"] .display-mode-control select { max-width: 124px; padding-inline: 7px; }
body[data-studio-layout="mobile"] .profile-header-button { display: none; }
body[data-studio-layout="mobile"] .conversation { padding: 32px 14px; }
body[data-studio-layout="mobile"] .orbit-hero { margin-bottom: 25px; text-align: left; }
body[data-studio-layout="mobile"] .studio-title { font-size: 34px; }
body[data-studio-layout="mobile"] .orbit-subtitle { font-size: 14px; }
body[data-studio-layout="mobile"] .composer { display: flex; flex-direction: column; gap: 20px; padding: 16px; border-radius: 18px; }
body[data-studio-layout="mobile"] .composer-heading { display: flex; flex-wrap: wrap; gap: 7px; }
body[data-studio-layout="mobile"] .source-grid { display: flex; flex-direction: column; gap: 22px; }
body[data-studio-layout="mobile"] .source-details input, body[data-studio-layout="mobile"] .source-details textarea, body[data-studio-layout="mobile"] .page-language-settings select { font-size: 16px; }
body[data-studio-layout="mobile"] .page-language-settings .page-language-control { grid-template-columns: minmax(0,1fr); gap: 8px; }
body[data-studio-layout="mobile"] #upload-preview, body[data-studio-layout="mobile"] #product-original-preview { height: 255px; }
body[data-studio-layout="mobile"] .composer-actions { flex-direction: column-reverse; gap: 12px; padding-top: 0; border: 0; }
body[data-studio-layout="mobile"] .composer-actions > p { max-width: none; text-align: center; }
body[data-studio-layout="mobile"] .orbit-assurance { align-items: flex-start; font-size: 11px; }
body[data-studio-layout="mobile"] .orbit-steps { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
body[data-studio-layout="mobile"] .concept-choice > small, body[data-studio-layout="mobile"] .concept-choice > :not(small) { grid-column: 1; grid-row: auto; }
body[data-studio-layout="mobile"] .brief-panel { padding: 24px 18px; }
@media (max-width: 360px) {
  .orbit-brand { font-size: 10px; letter-spacing: .13em; }
  .orbit-navigation { gap: 10px; }
  .header-actions .orbit-language select { width: 83px; font-size: 11px; }
  .display-mode-control select, body[data-studio-layout="mobile"] .display-mode-control select { max-width: 108px; font-size: 10px; }
  .header-actions .mobile-nav-toggle { padding-inline: 6px; font-size: 10px; }
  .header-actions .mobile-nav-toggle { width: 36px; min-width: 36px; padding: 0; }
  .header-actions .mobile-nav-toggle span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .header-actions .icon-button { padding-inline: 4px; font-size: 11px; }
  .studio-title { font-size: 30px; }
}

/* Keep the first action above the fold without scrolling or changing project state. */
@media (max-width: 720px) {
  .conversation:has(#intake-form:not([hidden])) { padding-top: 18px; }
  .orbit-hero { margin-bottom: 16px; }
  .orbit-eyebrow { display: none; }
  .studio-title { font-size: 23px; line-height: 1.25; text-wrap: pretty; }
  .orbit-subtitle { margin-top: 7px; font-size: 12px; }
  .composer { gap: 14px; margin-top: 0; }
  .composer .source-grid { padding-top: 0; }
  .composer .source-primary { align-self: stretch; }
  #upload-card { width: 100%; min-height: 212px; padding: 18px 14px; gap: 10px; }
}
body[data-studio-layout="mobile"] .conversation:has(#intake-form:not([hidden])) { padding-top: 18px; }
body[data-studio-layout="mobile"] .orbit-hero { margin-bottom: 16px; }
body[data-studio-layout="mobile"] .orbit-eyebrow { display: none; }
body[data-studio-layout="mobile"] .studio-title { font-size: 23px; line-height: 1.25; text-wrap: pretty; }
body[data-studio-layout="mobile"] .orbit-subtitle { margin-top: 7px; font-size: 12px; }
body[data-studio-layout="mobile"] .composer { gap: 14px; margin-top: 0; }
body[data-studio-layout="mobile"] .composer .source-grid { padding-top: 0; }
body[data-studio-layout="mobile"] .composer .source-primary { align-self: stretch; }
body[data-studio-layout="mobile"] #upload-card { width: 100%; min-height: 212px; padding: 18px 14px; gap: 10px; }

/* Mobile keeps the original photo, but reserves the progress panel for video production. */
@media (max-width: 720px) {
  .orbit-orientation,
  .production-progress[data-video-production="false"],
  :is(#studio-feedback, #workflow-progress):not(:has(.working-reference)):has([data-video-production="false"]) { display: none; }
  #workflow-progress-anchor:has([data-video-production="false"]) { margin: 0; }
}
body[data-studio-layout="mobile"] .orbit-orientation,
body[data-studio-layout="mobile"] .production-progress[data-video-production="false"],
body[data-studio-layout="mobile"] :is(#studio-feedback, #workflow-progress):not(:has(.working-reference)):has([data-video-production="false"]) { display: none; }
body[data-studio-layout="mobile"] #workflow-progress-anchor:has([data-video-production="false"]) { margin: 0; }
