:root {
  font-family: "Noto Sans SC", "PingFang SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --v2-bg: #080b12;
  --v2-bg-raised: #0d121b;
  --v2-panel: #101620;
  --v2-panel-2: #131a25;
  --v2-line: #273142;
  --v2-line-soft: #1d2532;
  --v2-text: #f3f5fa;
  --v2-muted: #8e98a8;
  --v2-blue: #3975ff;
  --v2-violet: #7657f6;
  --v2-green: #4ed39d;
  --v2-danger: #ff6f7f;
  --v2-header: 68px;
  --v2-sidebar: 236px;
}

html { scroll-behavior: smooth; }
body { min-width: 320px; color: var(--v2-text); background: var(--v2-bg); font-family: inherit; font-size: 14px; letter-spacing: 0; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid #6f8fff; outline-offset: 2px; }
.hidden { display: none !important; }

/* Public product home */
.home-active { color: var(--v2-text); background: var(--v2-bg); }
.home-active .sidebar, .home-active .topbar { display: none; }
.home-active .main-area { min-height: 100vh; margin-left: 0; padding-top: 0; }
.home-view, .home-active .home-view { width: 100%; max-width: none; margin: 0; padding: 0; background: var(--v2-bg); }

.home-header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: 76px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 max(24px, calc((100vw - 1240px) / 2));
  color: #12203a;
  background: rgba(255,255,255,.9);
  border-bottom: 1px solid rgba(229,233,242,.94);
  backdrop-filter: blur(18px);
}
.home-brand { min-width: 270px; display: flex; align-items: center; gap: 14px; }
.home-brand a { display: flex; flex: 0 0 auto; }
.home-brand img { width: 150px; height: auto; display: block; }
.home-brand > span { width: 1px; height: 38px; background: #e5e9f2; }
.home-brand > strong { color: #14213d; font-size: 15px; font-weight: 750; white-space: nowrap; }
.beta-badge { display: inline-flex; align-items: center; min-height: 21px; padding: 3px 7px; border: 1px solid #cfc8ff; border-radius: 999px; background: #f1efff; color: #6958d8; font-size: 9px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.home-header nav { flex: 1; display: flex; align-items: center; justify-content: center; gap: clamp(16px, 2vw, 28px); padding: 0; border: 0; background: transparent; }
.home-header nav button { min-height: 44px; position: relative; padding: 0 2px; color: #55627a; background: transparent; border-radius: 0; font-size: 14px; font-weight: 600; }
.home-header nav button::after { width: 0; height: 2px; position: absolute; right: 50%; bottom: 4px; left: 50%; content: ""; background: linear-gradient(135deg,#635bff 0%,#765cf2 55%,#9a62df 100%); transition: right .18s ease, left .18s ease; }
.home-header nav button:hover { color: #4d45dd; background: transparent; }
.home-header nav button:hover::after { right: 0; left: 0; }
.home-header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.all-products-link { min-height: 40px; display: inline-flex; align-items: center; padding: 0 12px; color: #34415a; border: 1px solid #e5e9f2; border-radius: 12px; background: #fff; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.all-products-link:hover { color: #624cf0; }
.locale-segmented { height: 40px; display: grid; grid-template-columns: 1fr 1fr; padding: 3px; border: 0; border-radius: 12px; background: #f0f2f7; }
.locale-segmented button { min-width: 38px; padding: 0 8px; color: #7b8597; border-radius: 9px; background: transparent; font-size: 12px; font-weight: 700; }
.locale-segmented button.active { color: #26334c; background: #fff; box-shadow: 0 1px 3px rgba(15,25,45,.12); }
.home-login, .home-account { min-height: 40px; padding: 0 8px; color: #5549c9; border: 0; background: transparent; font-size: 13px; font-weight: 700; }
.home-account { max-width: 170px; gap: 8px; padding: 0 10px; border: 1px solid #e5e9f2; border-radius: 12px; color: #31405a; background: #fff; }
.home-account img { width: 27px; height: 27px; border-radius: 8px; }
.home-account span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-start { min-height: 42px; display: flex; align-items: center; gap: 10px; padding: 0 18px; color: #fff; border: 0; border-radius: 13px; background: linear-gradient(135deg,#635bff 0%,#765cf2 55%,#9a62df 100%); box-shadow: 0 10px 24px rgba(99,91,255,.18); font-size: 13px; font-weight: 750; }
.home-start:hover { color: #fff; border: 0; background: #4d45dd; }
.home-start svg { width: 15px; }

.home-hero {
  min-height: 708px;
  display: grid;
  grid-template-columns: minmax(360px, .78fr) minmax(620px, 1.22fr);
  align-items: center;
  gap: clamp(44px, 5vw, 86px);
  padding: 38px clamp(42px, 4.6vw, 76px) 34px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #080c14;
  box-shadow: none;
}
.home-hero::before { display: none; }
.home-copy { position: relative; z-index: 2; align-self: center; }
.home-eyebrow { display: block; color: #8d76ff; font-size: 11px; font-weight: 800; letter-spacing: .18em; }
.home-copy h1 { max-width: 640px; margin: 24px 0 22px; color: #f7f8fb; font-size: clamp(48px, 4.2vw, 64px); line-height: 1.08; letter-spacing: 0; }
.home-copy h1 span { display: inline-block; color: #b7aaff; }
html[data-locale="zh"] .home-copy h1 { font-size: clamp(46px, 3.7vw, 60px); }
.home-copy > p { max-width: 560px; margin: 0; color: #9aa4b4; font-size: 15px; line-height: 1.85; }
.home-actions { display: flex; align-items: center; gap: 22px; margin-top: 34px; }
.home-primary, .home-secondary { min-height: 50px; display: flex; align-items: center; justify-content: center; gap: 20px; padding: 0 20px; border-radius: 6px; font-size: 12px; font-weight: 750; }
.home-primary { color: #fff; background: #5b55f5; box-shadow: 0 10px 26px rgba(72,70,238,.22); }
.home-primary:hover { background: #6963ff; transform: none; }
.home-secondary { color: #b5bdca; border: 0; background: transparent; }
.home-secondary:hover { color: #fff; transform: none; }
.home-secondary svg { width: 15px; color: #8b77ff; }
.home-model-note { display: flex; align-items: center; gap: 9px; margin-top: 24px !important; color: #717c8e !important; font-size: 10px !important; line-height: 1.4 !important; }
.home-model-note > span:first-child { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--v2-green); box-shadow: 0 0 12px rgba(78,211,157,.45); }
.home-model-note > span:last-child { width: auto; height: auto; background: transparent; }
.home-visual { width: 100%; max-width: 900px; aspect-ratio: 1.24; justify-self: end; position: relative; display: block; overflow: visible; border: 0; border-radius: 0; background: transparent; }
.home-visual::before { display: none; }
.home-visual img { width: 108%; height: 108%; position: absolute; inset: -4%; display: block; object-fit: cover; opacity: .98; -webkit-mask-image: radial-gradient(ellipse 78% 80% at 50% 50%, #000 52%, rgba(0,0,0,.96) 68%, transparent 100%); mask-image: radial-gradient(ellipse 78% 80% at 50% 50%, #000 52%, rgba(0,0,0,.96) 68%, transparent 100%); }
.visual-label { z-index: 3; padding: 6px 8px; border: 1px solid rgba(102,116,141,.32); border-radius: 5px; background: rgba(6,10,17,.76); backdrop-filter: blur(6px); }
.visual-label b { color: #dfe5ef; font-size: 10px; }
.visual-label span { background: #947cff; }
.visual-color { top: 10%; left: 5%; }
.visual-texture { top: 10%; left: 63%; }
.visual-light { top: 46%; left: 63%; }
.visual-space { right: 6%; bottom: 8%; }
.dna-archive { left: 5%; bottom: 5%; padding: 11px 13px; border: 1px solid #364159; border-radius: 6px; background: rgba(8,12,20,.88); }
.dna-archive small { color: #947cff; }
.dna-archive strong { color: #f0f2f7; }

.home-process, .home-workflows, .model-collaboration, .home-section-heading, .home-examples, .guide-section { margin-right: auto; margin-left: auto; width: min(1392px, calc(100% - 84px)); }
.home-process { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 22px; margin-top: 0; padding: 34px 0 18px; border: 0; border-radius: 0; background: transparent; }
.home-process article { display: flex; gap: 14px; }
.home-process article > b { color: #8e79f8; font-size: 11px; }
.home-process h2 { margin: 0 0 7px; color: #f0f2f7; font-size: 14px; }
.home-process p { margin: 0; color: #7e899b; font-size: 10px; line-height: 1.65; }
.home-process > svg { width: 17px; color: #465267; }
.home-workflows { margin-top: 58px; }
.home-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-top: 70px; margin-bottom: 22px; }
.home-section-heading-wide { width: 100%; margin: 0 0 22px; }
.home-section-heading span, .model-collaboration > div > span { color: #8c76ff; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.home-section-heading h2, .model-collaboration h2 { margin: 8px 0 0; color: #f4f6fa; font-size: 30px; letter-spacing: 0; }
.home-section-heading p { max-width: 480px; margin: 0; color: #7f8999; font-size: 12px; line-height: 1.7; }
.workflow-showcase-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 0; overflow: visible; border: 0; border-top: 1px solid #273142; border-bottom: 1px solid #273142; border-radius: 0; background: transparent; }
.workflow-showcase-card { min-height: 224px; display: flex; flex-direction: column; align-items: flex-start; padding: 28px 24px 24px; color: #e9edf7; border: 0; border-right: 1px solid #273142; border-radius: 0; background: transparent; text-align: left; }
.workflow-showcase-card:last-child { border-right: 0; }
.workflow-showcase-card:hover { border-color: #273142; background: #0e141e; transform: none; }
.workflow-showcase-card > span { color: #8e79f8; font-size: 12px; font-weight: 800; }
.workflow-showcase-card h3 { margin: 34px 0 10px; color: #f0f3f8; font-size: 17px; }
.workflow-showcase-card p { min-height: 0; margin: 0; color: #818b9b; font-size: 12px; line-height: 1.7; }
.workflow-showcase-card b { align-self: flex-start; display: flex; align-items: center; gap: 7px; margin-top: auto; padding-top: 22px; color: #a49bf8; font-size: 11px; font-weight: 750; }
.workflow-showcase-card b svg { width: 14px; height: 14px; }
.model-collaboration { grid-template-columns: minmax(0,.8fr) minmax(560px,1.2fr); gap: 80px; margin-top: 74px; padding: 48px 0 24px; border: 0; border-radius: 0; background: transparent; }
.model-collaboration > div > p { color: #818b9a; }
.model-chain-preview { border: 1px solid #273142; border-radius: 8px; background: #0e141e; }
.model-chain-preview li { border-color: #273142; }
.model-chain-preview li > i { color: #86a2ff; background: #18223a; }
.model-chain-preview span { color: #e9edf5; }
.model-chain-preview strong { color: #798599; }
.home-examples { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.home-example-card, .home-examples-loading { border-radius: 7px; }
.guide-section { grid-template-columns: minmax(0,1fr) minmax(340px,.72fr); align-items: start; gap: clamp(36px,7vw,110px); margin-top: 56px; margin-bottom: 58px; padding: 28px 0; border: 0; border-radius: 0; background: transparent; }
.guide-section p { max-width: 560px; justify-self: end; }

.public-footer { width: 100%; display: block; margin: 0; padding: 68px 0 24px; color: #d8e0f0; background: #0c1630; }
.public-footer > .footer-container { width: min(1240px, calc(100% - 48px)); display: block; margin: 0 auto; font-size: inherit; }
.public-footer .footer-main { display: grid !important; grid-template-columns: 1.7fr repeat(3,1fr); align-items: start; gap: 56px; }
.public-footer .footer-brand { max-width: none; }
.public-footer .footer-brand img { width: 184px; height: 48px; display: block; object-fit: contain; object-position: left center; }
.public-footer .footer-brand p { max-width: 390px; margin: 22px 0 16px; color: #aebbd1; font-size: 14px; line-height: 1.75; }
.public-footer .footer-brand a { color: #fff; font-weight: 700; }
.public-footer .footer-col { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.public-footer .footer-col h3 { margin: 3px 0 9px; color: #fff; font-size: 13px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.public-footer .footer-col a, .public-footer .coming-soon-link { color: #aebbd1; font-size: 13px; text-decoration: none; }
.public-footer .footer-col a:hover { color: #fff; }
.public-footer .current-product { color: #fff; font-weight: 800; }
.public-footer .coming-soon-link { display: flex; align-items: center; gap: 8px; }
.public-footer .coming-soon-link small { padding: 3px 6px; color: #8290a9; border: 1px solid #43506b; border-radius: 6px; font-size: 9px; }
.footer-bottom { display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: space-between; gap: 20px; margin: 48px 0 0; padding-top: 20px; color: #8492aa; border-top: 1px solid #27334e; font-size: 12px; }
.footer-bottom span { color: inherit; font-size: inherit; }
.footer-bottom b { color: inherit; font-size: inherit; font-weight: 400; }
.locale-footer { display: flex; align-items: center; gap: 7px; }
.locale-footer button { color: #c9d2e3; background: transparent; font-size: 12px; }
.locale-footer button.active { display: none; }

/* Studio application shell */
.main-area { min-height: 100vh; margin-left: var(--v2-sidebar); padding-top: var(--v2-header); background: var(--v2-bg); }
.topbar { position: fixed; z-index: 45; inset: 0 0 auto 0; height: var(--v2-header); display: flex; align-items: center; gap: 28px; padding: 0 24px; border-bottom: 1px solid var(--v2-line-soft); background: rgba(8,11,18,.97); backdrop-filter: blur(14px); }
.workspace-brand { min-width: 338px; height: 48px; display: flex; align-items: center; gap: 17px; padding: 0; color: var(--v2-text); background: transparent; text-align: left; }
.workspace-brand img { width: 176px; height: auto; }
.workspace-brand > span { width: 1px; height: 27px; background: #303847; }
.workspace-brand strong { font-size: 14px; white-space: nowrap; }
.workspace-brand .beta-badge { border-color: #46406f; background: #211d3a; color: #b7a9ff; }
.workspace-project { min-width: 0; display: flex; align-items: center; gap: 18px; }
.workspace-project > strong { max-width: 300px; overflow: hidden; color: #dfe4ec; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.workspace-project > span { display: flex; align-items: center; gap: 6px; color: var(--v2-green); }
.workspace-project svg { width: 14px; }
.workspace-project b { font-size: 10px; font-weight: 600; }
.workspace-top-actions { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.workspace-home-link { min-height: 36px; display: inline-flex; align-items: center; gap: 8px; padding: 0 12px; color: #b6c0ce; border: 1px solid #2b3547; border-radius: 6px; background: #0c111a; }
.workspace-home-link:hover { color: #fff; border-color: #44516a; background: #121a27; }
.workspace-home-link svg { width: 15px; }
.workspace-home-link span { font-size: 11px; font-weight: 650; }
.locale-segmented.compact { height: 36px; border-color: #2b3547; background: #0c111a; }
.locale-segmented.compact button { color: #747f91; }
.locale-segmented.compact button.active { color: #dce5f7; background: #17243a; box-shadow: none; }
.workspace-credits { display: flex; align-items: center; gap: 7px; color: #b6c0ce; }
.workspace-credits svg { width: 15px; }
.workspace-credits b { font-size: 11px; font-weight: 600; }
.sidebar { z-index: 40; inset: var(--v2-header) auto 0 0; width: var(--v2-sidebar); padding: 18px 14px 16px; border-right: 1px solid var(--v2-line-soft); background: #090d14; }
.new-task-button { min-height: 48px; margin: 0 2px 22px; border: 0; border-radius: 6px; color: #fff; background: #2f73f6; font-size: 12px; }
.new-task-button:hover { background: #4081ff; }
.side-nav { gap: 5px; }
.side-nav button { min-height: 46px; color: #8a94a3; border-radius: 6px; font-size: 12px; }
.side-nav button:hover { color: #e1e6ee; background: #101722; }
.side-nav button.active { color: #e8eef8; background: #15243b; }
.side-nav button.active svg { color: #4e8aff; }
.side-nav svg { width: 17px; }
.side-nav b { color: #7e8998; background: #151c27; }
.sidebar-foot { border-color: var(--v2-line-soft); }
.login-side { border-color: #293345; border-radius: 6px; background: #101722; }
.quota-line { color: #818c9d; }

.view { padding: 28px 28px 36px; }
.workspace-view { max-width: 1760px; margin: 0 auto; }
.workspace-heading { display: block; margin-bottom: 18px; }
.workspace-heading span { color: #6d7a8e; font-size: 9px; font-weight: 750; letter-spacing: .15em; }
.workspace-heading h1 { margin: 5px 0 0; color: var(--v2-text); font-size: 30px; letter-spacing: 0; }
.workflow-tabs { height: 50px; display: grid; grid-template-columns: repeat(5,minmax(130px,1fr)); gap: 0; margin-bottom: 16px; overflow: hidden; border: 1px solid var(--v2-line); border-radius: 7px; background: #0c1119; }
.workflow-tabs button { min-width: 0; min-height: 48px; justify-content: center; gap: 9px; padding: 0 14px; color: #8b95a4; border-right: 1px solid #202a39; background: transparent; font-size: 11px; }
.workflow-tabs button:last-child { border-right: 0; }
.workflow-tabs button:hover { color: #e4e9f1; background: #111925; }
.workflow-tabs button.active { color: #eef3fb; background: #142441; font-weight: 700; }
.workflow-tabs button.active::after { right: 0; bottom: 0; left: 0; height: 2px; background: #3479ff; box-shadow: none; }
.workflow-tabs svg { width: 16px; color: #8c99aa; }
.workflow-tabs button.active svg { color: #4b88ff; }

.workbench-grid { display: grid; grid-template-columns: minmax(310px,.82fr) minmax(330px,.92fr) minmax(430px,1.26fr); min-height: 690px; overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.workbench-form { display: contents; }
.composer-panel, .orchestration-panel, .result-panel { min-width: 0; border: 1px solid var(--v2-line); background: var(--v2-panel); }
.composer-panel { padding: 18px; border-radius: 7px 0 0 7px; }
.orchestration-panel { padding: 0 18px 18px; border-left: 0; }
.result-panel { min-height: 690px; border-left: 0; border-radius: 0 7px 7px 0; }
.panel-title { align-items: center; min-height: 44px; margin: 0 0 12px; }
.panel-title span { color: #6f7d90; font-size: 8px; }
.panel-title h1 { margin-top: 4px; color: #edf1f8; font-size: 15px; }
.icon-button { width: 31px; height: 31px; border: 1px solid #2c3646; border-radius: 5px; color: #8591a2; background: #111925; }
.field-block { padding: 16px 0; border-bottom: 1px solid var(--v2-line-soft); }
.field-block:last-child { border-bottom: 0; }
.field-label { margin-bottom: 9px; color: #dfe5ee; }
.field-label > span { width: 19px; height: 19px; border-radius: 50%; color: #dce8ff; background: #236ff5; font-size: 8px; }
.field-label strong { font-size: 11px; }
.field-label small { color: #707c8e; font-size: 8px; }
.dropzone { min-height: 255px; border: 1px dashed #3a4658; border-radius: 6px; background: #0c1119; }
.dropzone:hover, .dropzone.dragover { border-color: #4d84f2; background: #0f1826; }
.drop-empty { color: #788497; }
.drop-empty svg { width: 27px; color: #628fdc; }
.drop-empty strong { color: #cfd7e3; font-size: 11px; }
.drop-empty small { color: #697689; }
.preview-item { border-radius: 5px; }
.segmented { padding: 3px; border: 1px solid #2b3545; border-radius: 6px; background: #0c1119; }
.segmented button { min-height: 34px; color: #778396; border-radius: 4px; font-size: 9px; }
.segmented button.active { color: #e9eef7; background: #1b2c48; box-shadow: none; }
textarea, select, input[type="text"] { color: #dce2ec; border-color: #303a4b; border-radius: 5px; background: #0c1119; }
textarea::placeholder { color: #5e6a7c; }
textarea:focus, select:focus { border-color: #4b7edc; box-shadow: 0 0 0 2px rgba(58,117,235,.13); }

.pipeline-steps { margin: 0 -18px 5px; }
.pipeline-steps > div { min-height: 58px; display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 9px; padding: 0 17px; border-bottom: 1px solid var(--v2-line); }
.pipeline-steps > div > span { width: 24px; height: 24px; display: grid; place-items: center; color: #b6c5de; border: 1px solid #3c4c65; border-radius: 50%; font-size: 9px; }
.pipeline-steps > div.active > span { color: #fff; border-color: #3b7cff; background: #2d71f4; }
.pipeline-steps strong { color: #dbe1eb; font-size: 11px; }
.pipeline-steps b { color: var(--v2-green); font-size: 8px; font-weight: 650; }
.strategy-options { grid-template-columns: 1fr; gap: 6px; }
.strategy-options label { min-height: 54px; padding: 0 10px; border-color: #2c3646; border-radius: 5px; background: #0d131c; }
.strategy-options label.selected { border-color: #3c78e8; background: #111d30; box-shadow: none; }
.strategy-options label span b { color: #e0e6ef; }
.strategy-options label span small { color: #727f92; }
.strategy-options label em { color: #74a0ff; background: #182a49; }
.advanced-models { border-top: 0; }
.advanced-models summary { color: #8f9bad; }
.two-fields label > span { color: #738095; }
.primary-action { min-height: 48px; margin-top: 20px; border-radius: 6px; color: #fff; background: #2e73f6; font-size: 12px; }
.primary-action:hover { background: #4383ff; }
.primary-action:disabled { background: #1c2c48; opacity: .55; }
.primary-action b { font-size: 14px; }
.estimated-cost { display: block; margin-top: 9px; color: #667487; text-align: center; font-size: 8px; }

.empty-result, .pending-result { min-height: 688px; justify-content: flex-start; padding: 18px; text-align: left; }
.empty-result-head { width: 100%; min-height: 44px; display: flex; align-items: center; justify-content: space-between; padding-bottom: 13px; border-bottom: 1px solid var(--v2-line); }
.empty-result-head > div > span { color: #748198; font-size: 8px; letter-spacing: .12em; }
.empty-result-head h2 { margin: 5px 0 0; color: #eef2f7; font-size: 14px; }
.empty-result-head > b { display: flex; align-items: center; gap: 6px; color: #7d899b; font-size: 8px; font-weight: 600; }
.empty-result-head svg { width: 13px; }
.dna-preview { width: 100%; }
.dna-preview > div { min-height: 66px; display: grid; grid-template-columns: 84px 1fr; align-items: center; gap: 12px; border-bottom: 1px solid var(--v2-line-soft); }
.dna-preview strong { color: #9ca7b7; font-size: 9px; }
.color-swatches, .dna-bars, .composition-guides { display: grid; grid-template-columns: repeat(5,1fr); gap: 6px; }
.color-swatches i { height: 28px; border: 1px solid #384356; border-radius: 3px; background: #111a29; }
.color-swatches i:nth-child(2) { background: #1b2940; }
.color-swatches i:nth-child(3) { background: #303b4d; }
.color-swatches i:nth-child(4) { background: #5d6570; }
.color-swatches i:nth-child(5) { background: #d1d5d8; }
.dna-bars { grid-template-columns: repeat(3,1fr); }
.dna-bars i { height: 36px; border: 1px solid #303b4d; border-radius: 3px; background: #151e2b; }
.dna-bars i:nth-child(2) { background: #202a36; }
.dna-bars i:nth-child(3) { background: #0c1118; }
.dna-bars.material i:nth-child(1) { background: #263044; }
.dna-bars.material i:nth-child(2) { background: #343a42; }
.dna-bars.material i:nth-child(3) { background: #1a2029; }
.composition-guides { grid-template-columns: repeat(3,1fr); }
.composition-guides i { height: 38px; border: 1px solid #344053; border-radius: 3px; background: linear-gradient(90deg, transparent 48%, #3b4657 49%, #3b4657 51%, transparent 52%); }
.prompt-preview { width: 100%; margin-top: 14px; padding: 15px; border: 1px solid var(--v2-line); border-radius: 6px; background: #0c1119; }
.prompt-preview header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 15px; }
.prompt-preview header strong { color: #dbe2ec; font-size: 10px; }
.prompt-preview header span { color: #6682b5; font-size: 8px; }
.prompt-preview p { min-height: 42px; margin: 0 0 12px; color: #6f7b8d; font-size: 9px; line-height: 1.6; }
.prompt-preview > div { height: 7px; margin-top: 8px; border-radius: 2px; background: #18212d; }
.prompt-preview > div:nth-last-child(2) { width: 88%; }
.prompt-preview > div:last-child { width: 62%; }
.pending-result { align-items: center; justify-content: center; text-align: center; }
.result-content { min-height: 688px; padding: 18px; }
.result-header { border-color: var(--v2-line); }
.result-heading h2 { color: #eef2f8; }
.result-heading p, .fact-block p, .prompt-section p, .video-style-block p { color: #8d98a9; }
.metric, .fact-block, .dimension-card, .quality-banner, .shot-card { border-color: var(--v2-line); background: #0d131c; }
.metric { border-left-color: #8b72f6; }
.metric.blue { border-color: var(--v2-blue); }
.result-toolbar { border-color: var(--v2-line); }
.result-tabs button { color: #7d899b; }
.result-tabs button.active { color: #eef2f8; }
.result-tabs button.active::after { background: var(--v2-blue); }
.result-actions button, .section-bar button, .view-heading button { color: #aeb8c6; border-color: #303b4d; background: #101722; }
.result-actions button.primary-small { color: #fff; border-color: #2e73f6; background: #2e73f6; }
.dimension-card { background: #0d131c; }
.dimension-card p, .dimension-card small { color: #8995a6; }
.prompt-section textarea { background: #0b1017; }
.prompt-component { border-color: #344054; background: #0d131c; }
.code-block { color: #dbe4f2; border-color: #283346; background: #070b11; }
.generation-output { background: #070b11; }

.recent-section { margin-top: 24px; }
.section-bar h2, .view-heading h1 { color: #eef2f8; }
.section-bar > div > span, .view-heading > div > span { color: #718097; font-size: 8px; letter-spacing: .12em; }
.strip-empty, .library-empty, .project-empty { color: #748094; border-color: #2c3748; background: #0c1119; }
.collection-view { max-width: 1500px; margin: 0 auto; }
.view-heading p { color: #7f8b9d; }
.project-card, .style-card, .model-card, .admin-table-wrap, .account-panel { color: #dfe5ee; border-color: var(--v2-line); background: #0e141e; }
.project-card-body p, .style-card-body p, .model-card p { color: #7f8b9c; }
.model-workflow-note { border-left-color: #4f86ff; background: #0e141e; }
.model-card header span { color: var(--v2-green); background: #112b27; }
th { color: #8a95a6; background: #101722; }
th, td { border-color: var(--v2-line); }
.account-empty, .account-card, .account-grid article { border-color: var(--v2-line); background: #0e141e; }
.legal-copy { max-width: 880px; color: #dfe5ef; }
.legal-copy h1 { color: #f3f5f9; }
.legal-copy h2 { margin: 30px 0 8px; color: #e7ecf4; font-size: 16px; }
.legal-copy p, .legal-copy li { color: #98a4b5; font-size: 12px; line-height: 1.8; }
.legal-copy a { color: #8daaff; }

.login-modal { color: #dfe5ee; border: 1px solid var(--v2-line); background: #101620; }
.modal-close { color: #8a96a8; background: #17202d; }
.google-button { color: #dce3ed; border-color: #344054; background: #0d131c; }
.toast { color: #fff; background: #18253a; }

@media (max-width: 1280px) {
  .home-header { gap: 16px; padding-inline: 28px; }
  .home-brand { min-width: 250px; }
  .home-brand img { width: 145px; }
  .home-header nav { gap: 16px; }
  .home-hero { grid-template-columns: minmax(330px,.78fr) minmax(520px,1.22fr); gap: 36px; padding-inline: 42px; }
  .home-copy h1 { font-size: 56px; }
  .workbench-grid { grid-template-columns: minmax(320px,1fr) minmax(340px,1fr); }
  .result-panel { grid-column: 1 / -1; min-height: 620px; border-top: 0; border-left: 1px solid var(--v2-line); border-radius: 0 0 7px 7px; }
  .composer-panel { border-radius: 7px 0 0 0; }
  .orchestration-panel { border-radius: 0 7px 0 0; }
}

@media (max-width: 1120px) {
  .home-header nav { display: none; }
}

@media (max-width: 980px) {
  .home-header-actions { min-width: 0; }
  .all-products-link { display: none; }
  .home-hero { min-height: 0; grid-template-columns: 1fr; padding-top: 72px; }
  .home-copy h1 { max-width: 720px; }
  .home-visual { justify-self: center; max-width: 820px; }
  .home-process, .home-workflows, .model-collaboration, .home-section-heading, .home-examples, .guide-section { width: min(100% - 48px, 900px); }
  .model-collaboration { grid-template-columns: 1fr; gap: 34px; }
  .guide-section { grid-template-columns: 1fr; gap: 18px; }
  .guide-section p { justify-self: start; }
  .workflow-showcase-grid { grid-auto-flow: column; grid-auto-columns: minmax(220px,1fr); grid-template-columns: none; overflow-x: auto; overscroll-behavior-inline: contain; }
  .public-footer .footer-main { grid-template-columns: 1.5fr 1fr 1fr; }
  .public-footer .footer-brand { grid-column: 1 / -1; }
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .main-area { margin-left: 0; }
  .topbar { padding-inline: 16px; }
  .workspace-brand { min-width: 0; }
  .workspace-brand img { width: 150px; }
  .workspace-project { display: none; }
  .mobile-menu { display: grid; }
}

@media (max-width: 720px) {
  .home-header { height: 72px; padding: 0 16px; }
  .home-brand { min-width: 0; gap: 10px; }
  .home-brand img { width: 132px; }
  .home-brand > span { height: 24px; }
  .home-brand > strong { font-size: 12px; }
  .home-start { width: 40px; min-height: 40px; padding: 0; justify-content: center; }
  .home-start span { display: none; }
  .locale-segmented { height: 36px; }
  .locale-segmented button { min-width: 34px; padding-inline: 5px; }
  .home-hero { gap: 42px; padding: 54px 20px 32px; }
  .home-copy h1 { margin-top: 18px; font-size: 42px; }
  .home-copy > p { font-size: 13px; }
  .home-actions { gap: 10px; }
  .home-primary, .home-secondary { padding-inline: 14px; }
  .home-visual { aspect-ratio: .96; }
  .home-process { grid-template-columns: 1fr; gap: 18px; padding-block: 26px; }
  .home-process > svg { display: none; }
  .home-section-heading { align-items: flex-start; flex-direction: column; }
  .home-section-heading h2, .model-collaboration h2 { font-size: 25px; }
  .workflow-showcase-grid { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 1fr; overflow: visible; }
  .workflow-showcase-card { min-height: 190px; border-right: 0; border-bottom: 1px solid #273142; }
  .workflow-showcase-card:last-child { border-bottom: 0; }
  .home-examples { grid-template-columns: 1fr; }
  .model-collaboration { padding-block: 40px; }
  .guide-section { align-items: flex-start; flex-direction: column; }
  .public-footer { padding: 52px 0 24px; }
  .public-footer .footer-main { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
  .public-footer .footer-brand { grid-column: 1 / -1; }
  .public-footer .footer-col:last-child { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start !important; flex-direction: column !important; gap: 14px; }
  .topbar { height: 60px; gap: 12px; }
  .workspace-brand img { width: 132px; }
  .workspace-brand > span, .workspace-brand strong, .workspace-brand .beta-badge, .workspace-credits { display: none; }
  .home-account { width: 36px; padding: 0; justify-content: center; }
  .home-account span { display: none; }
  .workspace-home-link { width: 36px; padding: 0; justify-content: center; }
  .workspace-home-link span { display: none; }
  .workspace-top-actions { gap: 8px; }
  .main-area { padding-top: 60px; }
  .sidebar { top: 60px; }
  .view { padding: 18px 14px 26px; }
  .workflow-tabs { display: flex; overflow-x: auto; }
  .workflow-tabs button { min-width: 132px; }
  .workbench-grid { grid-template-columns: 1fr; }
  .composer-panel, .orchestration-panel, .result-panel { border: 1px solid var(--v2-line); border-radius: 7px; }
  .orchestration-panel, .result-panel { margin-top: 10px; }
  .result-panel { grid-column: auto; }
  .workspace-heading h1 { font-size: 26px; }
  .project-grid, .style-gallery, .model-card-grid { grid-template-columns: 1fr; }
}
