:root {
  color-scheme: dark;
  --ai-bg: #090b10;
  --ai-surface: #11151d;
  --ai-surface-raised: #171d27;
  --ai-line: rgba(224, 232, 247, .12);
  --ai-text: #f4f6fb;
  --ai-muted: #9aa5b5;
  --ai-lime: #d7f64a;
  --ai-pink: #ff37a8;
  --ai-violet: #9b71ff;
  --ai-cyan: #62d9e8;
}

/* Calm pro studio shell — media first, progressive disclosure. */
.studio-page {
  --studio-bg: #0b0d0f;
  --studio-panel: #121517;
  --studio-card: #191d20;
  --studio-card-hover: #202529;
  --studio-line: rgba(255, 255, 255, .075);
  --studio-muted: #8e969e;
  --studio-text: #f4f6f7;
  --studio-accent: #b7ef19;
  background: var(--studio-bg);
  color: var(--studio-text);
}

.studio-page .studio-announcement,
.studio-page .workflow-launcher,
.studio-page .capability-note,
.studio-page .public-creation-note,
.studio-page .creator-tool-actions .library-save-button span,
.studio-page .model-limit-note:not([hidden]) {
  display: none;
}

.studio-page .studio-topbar {
  border-top: 1px solid #ea3a91;
  border-bottom: 1px solid var(--studio-line);
  background: rgba(11, 13, 15, .94);
  backdrop-filter: blur(18px);
}

.studio-page .studio-header-main {
  min-height: 68px;
  padding: 0 22px;
}

.studio-page .studio-brand img { width: 34px; height: 34px; }
.studio-page .studio-brand span,
.studio-page .studio-brand strong { color: var(--studio-muted); }
.studio-page .studio-topbar nav { gap: 30px; }
.studio-page .studio-topbar nav :is(a, button) {
  color: #8d9297;
  font-size: 15px;
  font-weight: 600;
}
.studio-page .studio-topbar nav :is(a, button):hover,
.studio-page .studio-topbar nav .nav-active,
.studio-page .studio-topbar nav .studio-nav-mode.is-active { color: #fff; }
.studio-page .studio-topbar nav .nav-active::after,
.studio-page .studio-topbar nav .studio-nav-mode.is-active::after { background: var(--studio-accent); }

.studio-page .studio-layout { padding: 14px; }
.studio-page .studio-main { max-width: 1580px; margin: 0 auto; }
.studio-page .workspace-grid {
  grid-template-columns: minmax(340px, 430px) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.studio-page .creator-column {
  position: sticky;
  top: 82px;
  max-height: calc(100vh - 96px);
  overflow: auto;
  padding: 14px;
  border: 1px solid var(--studio-line);
  border-radius: 28px;
  background: var(--studio-panel);
  scrollbar-width: thin;
}

.studio-page .creator-brand {
  padding: 2px 4px 12px;
  border-bottom: 1px solid var(--studio-line);
}
.studio-page .creator-brand .tiny-label { display: none; }
.studio-page .creator-brand strong {
  font: 650 22px/1.2 "DM Sans", sans-serif;
  letter-spacing: -.025em;
}

.studio-page .creator-tool-actions { margin: 12px 0; gap: 8px; }
.studio-page .style-apply-button,
.studio-page .creator-tool-actions .library-save-button {
  min-height: 48px;
  border: 1px solid var(--studio-line);
  border-radius: 15px;
  background: var(--studio-card);
  color: var(--studio-text);
  box-shadow: none;
}
.studio-page .style-apply-button { padding: 0 15px; }
.studio-page .style-apply-button em { display: none; }
.studio-page .creator-tool-actions .library-save-button { width: 48px; padding: 0; }

.studio-page .creator-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.studio-page .creator-form-content { padding: 0; gap: 10px; }
.studio-page .asset-grid { gap: 10px; }
.studio-page .upload-slot {
  min-height: 148px;
  padding: 24px 18px;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  border: 1px dashed rgba(255,255,255,.10);
  border-radius: 18px;
  background: var(--studio-card);
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.studio-page .upload-slot:hover {
  border-color: rgba(183,239,25,.45);
  background: var(--studio-card-hover);
  transform: translateY(-1px);
}
.studio-page .upload-preview {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  background: linear-gradient(145deg, #33383c, #1b1f22);
}
.studio-page .upload-slot b { font-size: 16px; line-height: 1.2; }
.studio-page .upload-slot small { margin-top: 5px; color: var(--studio-muted); font-size: 13px; }

.studio-page .prompt-toggle-row,
.studio-page .creator-accordion {
  min-height: 56px;
  border: 1px solid var(--studio-line);
  border-radius: 15px;
  background: var(--studio-card);
}
.studio-page .prompt-toggle-row { padding: 0 16px; }
.studio-page .prompt-toggle-row label { font-weight: 650; }
.studio-page .creator-accordion summary { min-height: 56px; padding: 9px 16px; }
.studio-page .creator-accordion summary span { color: var(--studio-muted); font-size: 12px; }
.studio-page .creator-accordion summary strong { font-size: 16px; color: var(--studio-text); }
.studio-page .creator-accordion-body { padding: 0 14px 14px; }
.studio-page .creator-accordion .setting-row select,
.studio-page .creator-accordion .setting-row input,
.studio-page .creator-card .prompt-field textarea {
  border: 1px solid var(--studio-line);
  border-radius: 13px;
  background: #0f1214;
  color: var(--studio-text);
}
.studio-page .creator-card .prompt-field textarea { min-height: 112px; padding: 15px; }
.studio-page .prompt-enhance small { display: none; }
.studio-page .consent-row { color: #a9b0b6; font-size: 12px; line-height: 1.45; }
.studio-page .saved-media-card { border-color: var(--studio-line); background: var(--studio-card); }

.studio-page .creator-footer {
  position: static;
  padding: 10px 0 0;
  border: 0;
  background: transparent;
}
.studio-page .creator-footer .privacy-note { display: none; }
.studio-page .creator-footer .price-estimate {
  padding: 10px 3px 3px;
  border: 0;
  background: transparent;
}
.studio-page .price-estimate .tiny-label { color: var(--studio-muted); font-size: 10px; }
.studio-page .price-estimate-detail { display: none; }
.studio-page .creator-footer .generate-button {
  min-height: 58px;
  border-radius: 16px;
  background: var(--studio-accent);
  color: #111500;
  font-size: 16px;
  font-weight: 750;
  box-shadow: 0 5px 0 #6f900e;
}
.studio-page .creator-footer .generate-button:hover { background: #c5ff22; transform: translateY(-1px); }
.studio-page .creator-footer .generate-button:disabled { filter: saturate(.35); opacity: .58; }

.studio-page .preview-column,
.studio-page .library-shell {
  min-width: 0;
  border: 1px solid var(--studio-line);
  border-radius: 28px;
  background: var(--studio-panel);
}
.studio-page .library-shell { overflow: hidden; }
.studio-page .library-tabs {
  min-height: 64px;
  padding: 9px 14px;
  gap: 6px;
  border-bottom: 1px solid var(--studio-line);
  background: #171a1d;
}
.studio-page .library-tab {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--studio-muted);
}
.studio-page .library-tab.is-active { background: #f7f8f8; color: #202326; }
.studio-page .library-tab.is-active::after { display: none; }
.studio-page .sample-gallery { padding: 16px; }
.studio-page .library-heading { min-height: auto; margin-bottom: 12px; }
.studio-page .library-heading h1 { font: 650 24px/1.2 "DM Sans",sans-serif; letter-spacing: -.03em; }
.studio-page .library-heading p { margin-top: 3px; color: var(--studio-muted); }
.studio-page .gallery-toolbar { padding: 8px 0 14px; }
.studio-page .sample-filters { gap: 6px; }
.studio-page .sample-filters button,
.studio-page .gallery-sort button {
  border: 1px solid var(--studio-line);
  border-radius: 999px;
  background: #1c2023;
  color: var(--studio-muted);
}
.studio-page .sample-filters button.is-active,
.studio-page .gallery-sort button.is-active { background: #303539; color: #fff; }
.studio-page .sample-filters button.is-active::after { display: none; }
.studio-page #sampleGalleryGrid .sample-card { border-radius: 18px; background: #202427; }
.studio-page #sampleGalleryGrid .sample-card-media { border-radius: 18px; }

@media (max-width: 980px) {
  .studio-page .studio-layout { padding: 10px; }
  .studio-page .workspace-grid { grid-template-columns: 1fr; }
  .studio-page .creator-column { position: static; max-height: none; }
  .studio-page .studio-header-main { padding: 0 14px; }
  .studio-page .studio-brand span,
  .studio-page .studio-brand strong { display: none; }
}

@media (max-width: 620px) {
  .studio-page .studio-header-main { min-height: 58px; }
  .studio-page .studio-topbar nav { gap: 18px; overflow-x: auto; }
  .studio-page .studio-topbar nav a:first-child,
  .studio-page .topbar-actions .wallet-pill { display: none; }
  .studio-page .creator-column,
  .studio-page .preview-column,
  .studio-page .library-shell { border-radius: 20px; }
  .studio-page .creator-column { padding: 12px; }
  .studio-page .asset-grid { grid-template-columns: 1fr; }
  .studio-page .upload-slot { min-height: 132px; }
  .studio-page .library-tabs { overflow-x: auto; }
  .studio-page .sample-gallery { padding: 12px; }
}

.studio-page .library-heading-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
}

.studio-page .library-save-button {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 7px;
  color: #d3dae2;
  background: #171b22;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
}

.studio-page .library-save-button:hover {
  border-color: rgba(215, 246, 74, .38);
  color: #e8f4c2;
}

.studio-page .library-save-button svg {
  width: 14px;
  height: 14px;
}

.ai-company-theme {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  color: var(--ai-text);
  background:
    radial-gradient(ellipse at 4% 0%, rgba(114, 75, 204, .18), transparent 34%),
    radial-gradient(ellipse at 100% 8%, rgba(31, 147, 161, .13), transparent 32%),
    linear-gradient(145deg, #090b10, #0b0e14 55%, #090b10);
  background-size: 130% 130%, 130% 130%, 100% 100%;
  animation: ai-background-drift 34s ease-in-out infinite alternate;
  font-family: "DM Sans", "Space Grotesk", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.studio-page .sample-card-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.studio-page .personal-workflow-placeholder,
.studio-page .personal-workflow-empty {
  display: grid;
  place-items: center;
  color: #a7b777;
  background: radial-gradient(ellipse at 50% 35%, rgba(215, 246, 74, .1), transparent 58%), #0b0f15;
}

.studio-page .personal-workflow-placeholder svg {
  width: 28px;
  height: 28px;
}

.studio-page .personal-workflow-empty {
  grid-column: 1 / -1;
  min-height: 92px;
  padding: 18px;
  border: 1px dashed rgba(215, 246, 74, .18);
  border-radius: 8px;
  color: #8995a2;
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}

.studio-page .personal-workflow-card {
  border-color: rgba(215, 246, 74, .2);
}

.studio-page .sample-card-actions .workflow-remove-button {
  border-color: transparent;
  color: #8993a0;
  background: transparent;
}

.studio-page .sample-card-actions .workflow-remove-button:hover {
  color: #ffaca4;
  background: rgba(255, 110, 96, .08);
}

.workflow-dialog {
  width: min(460px, calc(100vw - 28px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 21px;
  border: 1px solid var(--ai-line);
  border-radius: 12px;
  color: var(--ai-text);
  background: #10141c;
  box-shadow: 0 18px 70px rgba(0, 0, 0, .58);
}

.workflow-dialog::backdrop {
  background: rgba(3, 5, 9, .78);
  backdrop-filter: blur(9px);
}

.workflow-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.workflow-dialog-header h2 {
  margin: 5px 0 0;
  font: 600 17px "Space Grotesk", sans-serif;
}

.workflow-dialog-header > button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--ai-line);
  border-radius: 7px;
  color: #c1cad6;
  background: transparent;
  font-size: 20px;
  line-height: 1;
}

.workflow-dialog-note,
.workflow-dialog-media {
  margin: 12px 0 0;
  color: #939eac;
  font-size: 10px;
  line-height: 1.55;
}

.workflow-dialog-field {
  display: grid;
  gap: 7px;
  margin-top: 15px;
  color: #aab4c1;
  font-size: 10px;
  font-weight: 600;
}

.workflow-dialog-field input {
  width: 100%;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid var(--ai-line);
  border-radius: 7px;
  color: var(--ai-text);
  background: #0b0f15;
  font-size: 11px;
}

.workflow-dialog-status {
  margin: 11px 0 0;
  color: #ffb1a7;
  font-size: 10px;
  line-height: 1.45;
}

.workflow-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 17px;
  padding-top: 13px;
  border-top: 1px solid var(--ai-line);
}

.workflow-dialog-actions .generate-button {
  min-height: 34px;
}

.workflow-dialog-actions .generate-button:disabled {
  cursor: wait;
  opacity: .6;
}

body.ai-company-theme:has(.dashboard-hero) {
  color: var(--ai-text);
  background:
    radial-gradient(ellipse at 4% 0%, rgba(114, 75, 204, .18), transparent 34%),
    radial-gradient(ellipse at 100% 8%, rgba(31, 147, 161, .13), transparent 32%),
    linear-gradient(145deg, #090b10, #0b0e14 55%, #090b10);
  background-size: 130% 130%, 130% 130%, 100% 100%;
}

.studio-page .workflow-dialog {
  color: var(--ai-text);
  background: #10141c;
}

.ai-company-theme::before {
  position: fixed;
  z-index: -1;
  inset: -18%;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 22% 30%, rgba(202, 48, 165, .11), transparent 28%),
    radial-gradient(ellipse at 75% 65%, rgba(65, 123, 232, .1), transparent 30%);
  content: "";
  animation: ai-orbit-drift 27s ease-in-out infinite alternate;
}

.ai-company-theme :is(h1, h2, h3, h4) {
  color: var(--ai-text);
  font-family: "Space Grotesk", "DM Sans", "Segoe UI", sans-serif;
}

.ai-company-theme :is(p, small, time) {
  color: var(--ai-muted);
}

.ai-company-theme :is(a, button, input, textarea, select) {
  -webkit-tap-highlight-color: transparent;
}

.ai-company-theme a {
  text-decoration-color: rgba(215, 246, 74, .36);
}

.ai-company-theme :is(button, input, textarea, select) {
  border-color: var(--ai-line);
  border-radius: 11px;
}

.ai-company-theme :is(input, textarea, select) {
  color: var(--ai-text);
  background-color: #0c1017;
  caret-color: var(--ai-lime);
}

.ai-company-theme :is(input, textarea, select)::placeholder {
  color: #788394;
}

.ai-company-theme :is(input, textarea, select):focus-visible,
.ai-company-theme :is(button, a):focus-visible {
  outline: 2px solid var(--ai-lime);
  outline-offset: 3px;
}

.ai-company-theme :is(.primary, .generate-button, .wizard-next, .wallet-add, #send) {
  border: 1px solid rgba(215, 246, 74, .6);
  border-radius: 12px;
  color: #12160b;
  background: linear-gradient(110deg, #e1fb70, var(--ai-lime) 55%, #b5df35);
  box-shadow: 0 8px 26px rgba(183, 223, 53, .16);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.ai-company-theme :is(.primary, .generate-button, .wizard-next, .wallet-add, #send):hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(183, 223, 53, .25);
  filter: saturate(1.08);
}

.ai-company-theme :is(.secondary, .wizard-back, .method-grid button, .usage-more button) {
  border: 1px solid var(--ai-line);
  color: var(--ai-text);
  background: var(--ai-surface-raised);
}

.ai-company-theme :is(.card, .panel, .creator-card, .settings-card, .suggestion-card, .results-section,
  .product-card, .store-feature, .dashboard-overview-card, .activity-table, .usage-log,
  .developer-grid article, .console form, .app-list, .credential-result, .wizard-card) {
  border-color: var(--ai-line);
  color: var(--ai-text);
  background: rgba(17, 21, 29, .9);
  box-shadow: 0 18px 55px rgba(0, 0, 0, .22);
}

.ai-company-theme :is(table th, .activity-head) {
  color: #a7b0be;
  background: #141923;
  border-color: var(--ai-line);
}

.ai-company-theme :is(table td, .activity-row, .endpoint, .app-row) {
  border-color: var(--ai-line);
}

.ai-company-theme :is(.table-wrap, .activity-table, .usage-table-wrap) {
  scrollbar-color: #485367 #11151d;
}

.ai-company-theme :is(.brand, .studio-brand, .marketplace-link) {
  color: var(--ai-text);
}

.ai-company-theme :is(.brand img, .studio-brand img, .assistant-logo, .welcome-mark img) {
  filter: brightness(0) invert(1) drop-shadow(0 0 15px rgba(215, 246, 74, .16));
}

.home-page .home-announcement {
  color: #fff;
  background: linear-gradient(100deg, #b925ff, #f52a98 50%, #ff634e);
  background-size: 200% 100%;
  animation: ai-spectrum 13s ease-in-out infinite alternate;
}

.home-page .site-header,
.studio-page .studio-topbar,
.account-page .topbar,
.wallet-page > header,
.developer-page > header,
.docs-page > header,
.assistant-page .chat-header {
  border-color: var(--ai-line);
  color: var(--ai-text);
  background: rgba(9, 11, 16, .86);
  box-shadow: 0 8px 35px rgba(0, 0, 0, .18);
  backdrop-filter: blur(18px);
}

.home-page .site-header nav a,
.home-page .site-header :is(.sign-in, .search-trigger),
.studio-page .studio-topbar nav a,
.developer-page > header nav a,
.docs-page > header nav a {
  color: #a5afbd;
}

.ai-company-theme :is(.wallet-pill, .signin-button, .account-avatar, .marketplace-link) {
  border-color: var(--ai-line);
  color: var(--ai-text);
  background: #171d27;
  box-shadow: none;
}

.ai-company-theme :is(.studio-page .wallet-pill, .studio-page .signin-button) {
  min-height: 36px;
  border-radius: 10px;
}

.ai-company-theme :is(.notice-row, .notice-row.is-error, .notice-row.is-done) {
  border-color: rgba(215, 246, 74, .22);
  border-radius: 12px;
  color: #dce5c0;
  background: rgba(215, 246, 74, .07);
}

.ai-company-theme .notice-row svg {
  color: var(--ai-lime);
}

.ai-company-theme .notice-row a {
  color: var(--ai-lime);
}

.home-page .site-header nav a:hover,
.home-page .site-header :is(.sign-in, .search-trigger):hover,
.studio-page .studio-topbar nav a:hover,
.developer-page > header nav a:hover,
.docs-page > header nav a:hover {
  color: var(--ai-lime);
}

.home-page .site-header .menu-button {
  border-color: var(--ai-line);
  background: var(--ai-surface-raised);
}

.home-page .site-header .menu-button span {
  background: var(--ai-text);
}

.home-page .site-header .primary,
.studio-page .signin-button,
.account-page .marketplace-link {
  border-color: var(--ai-line);
  color: var(--ai-text);
  background: var(--ai-surface-raised);
  box-shadow: none;
}

.home-page .site-header .primary:hover,
.studio-page .signin-button:hover {
  color: #12160b;
  background: var(--ai-lime);
}

.home-page #home {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--ai-line);
  border-radius: 26px;
  color: var(--ai-text);
  background:
    radial-gradient(ellipse at 82% 18%, rgba(205, 50, 173, .25), transparent 34%),
    radial-gradient(ellipse at 12% 100%, rgba(65, 129, 233, .2), transparent 42%),
    linear-gradient(125deg, #11151d, #0d1119 55%, #14101b);
  box-shadow: inset 0 1px rgba(255, 255, 255, .04), 0 25px 80px rgba(0, 0, 0, .2);
}

.home-page #home::after {
  position: absolute;
  z-index: -1;
  top: -50%;
  right: -9%;
  width: min(52vw, 660px);
  aspect-ratio: 1;
  border: 1px solid rgba(215, 246, 74, .16);
  border-radius: 50%;
  box-shadow: 0 0 0 35px rgba(215, 246, 74, .025), 0 0 0 82px rgba(166, 100, 255, .035);
  content: "";
  animation: ai-ring-float 14s ease-in-out infinite alternate;
}

.home-page .hero-copy h1,
.home-page .final-cta h2 {
  background: linear-gradient(95deg, #fff 5%, #e8ebf3 50%, #b8f5e8);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home-page .dashboard-hero .hero-copy > * {
  animation: ai-enter-soft .65s both;
}

.home-page .dashboard-hero .hero-copy > :nth-child(2) {
  animation-delay: .08s;
}

.home-page .dashboard-hero .hero-copy > :nth-child(3) {
  animation-delay: .14s;
}

.home-page .dashboard-hero .hero-copy > :nth-child(4) {
  animation-delay: .2s;
}

.home-page .home-prompt-suggestions > :nth-child(1),
.home-page .home-prompt-suggestions > :nth-child(2),
.home-page .home-prompt-suggestions > :nth-child(3) {
  animation: ai-enter-soft .55s both;
}

.home-page .home-prompt-suggestions > :nth-child(1) { animation-delay: .24s; }
.home-page .home-prompt-suggestions > :nth-child(2) { animation-delay: .31s; }
.home-page .home-prompt-suggestions > :nth-child(3) { animation-delay: .38s; }

.home-page .dashboard-overview-card,
.home-page .store-feature,
.home-page .product-card {
  animation: ai-enter-soft .65s both;
}

.home-page .dashboard-overview-card:nth-child(2),
.home-page .store-feature:nth-child(2),
.home-page .product-card:nth-child(2) {
  animation-delay: .08s;
}

.home-page .dashboard-overview-card:nth-child(3),
.home-page .store-feature:nth-child(3),
.home-page .product-card:nth-child(3) {
  animation-delay: .16s;
}

.home-page .hero-copy .overline,
.home-page .section-heading .overline,
.home-page .feature-label,
.home-page .search-hint > span {
  color: var(--ai-lime);
}

.home-page .dashboard-hero .hero-copy > .overline > span {
  background: var(--ai-lime);
  box-shadow: 0 0 0 4px rgba(215, 246, 74, .12), 0 0 15px rgba(215, 246, 74, .5);
}

.home-page .hero-text,
.home-page .section-heading > p,
.home-page .feature-copy p,
.home-page .product-info > p,
.home-page .wallet-copy > p:not(.overline),
.home-page .platform-points p {
  color: var(--ai-muted);
}

.home-page .home-creator-prompt,
.home-page .home-prompt-suggestions a,
.home-page .dashboard-overview-card,
.home-page .store-feature,
.home-page .product-card,
.home-page .wallet-panel,
.home-page .platform-points article {
  border-color: var(--ai-line);
  color: var(--ai-text);
  background: rgba(17, 21, 29, .9);
  box-shadow: 0 18px 55px rgba(0, 0, 0, .22);
}

.home-page .home-prompt-suggestions a {
  border-color: var(--ai-line);
  color: var(--ai-text);
  background: rgba(17, 21, 29, .92);
}

.home-page .home-prompt-suggestions a:hover {
  border-color: rgba(215, 246, 74, .44);
  background: #171d27;
}

.home-page .home-prompt-suggestions a > svg:first-child {
  color: var(--ai-lime);
}

.home-page .home-prompt-suggestions small {
  color: var(--ai-muted);
}

.home-page .home-prompt-suggestions .suggestion-arrow {
  color: var(--ai-lime);
}

.home-page .product-section {
  color: var(--ai-text);
  background: transparent;
}

.home-page .product-section .overline,
.home-page .product-section .section-heading h2,
.home-page .store-list-heading h3,
.home-page .feature-copy h3,
.home-page .product-card .product-name > div h3,
.home-page .product-card .product-info h3 {
  color: var(--ai-text);
}

.home-page .store-list-heading > span,
.home-page .product-section .section-heading > p,
.home-page .catalog-toolbar > span,
.home-page .product-card .product-name > div p,
.home-page .product-card .product-info > p,
.home-page .product-card .card-foot > span {
  color: var(--ai-muted);
}

.home-page .catalog-search,
.home-page .product-section .search-hint button,
.home-page .category-tabs button,
.home-page .catalog-empty,
.home-page .catalog-notice {
  border-color: var(--ai-line);
  color: var(--ai-text);
  background: #11151d;
}

.home-page .catalog-search > svg,
.home-page .catalog-search input,
.home-page .catalog-search input::placeholder,
.home-page .product-section .search-hint button,
.home-page .category-tabs button {
  color: #b1bbca;
}

.home-page .product-section .search-hint button:hover,
.home-page .category-tabs button.active {
  border-color: rgba(215, 246, 74, .42);
  color: #15190c;
  background: var(--ai-lime);
}

.home-page .product-card .store-price,
.home-page .product-card .card-foot button,
.home-page .wallet-activity > p a {
  color: var(--ai-lime);
}

.home-page .product-card .store-price span {
  color: #aeb8c7;
}

.home-page .product-card .product-info > p.product-clarifier {
  color: #eed58a;
}

.home-page .store-feature .feature-copy button {
  border-color: rgba(215, 246, 74, .4);
  border-radius: 10px;
  color: #15190c;
  background: var(--ai-lime);
}

.home-page .feature-copy > strong {
  color: var(--ai-lime);
  text-shadow: 0 1px 12px rgba(0, 0, 0, .6);
}

.home-page .category-tabs,
.studio-page .tool-tabs {
  scrollbar-width: none;
}

.home-page .category-tabs::-webkit-scrollbar,
.studio-page .tool-tabs::-webkit-scrollbar {
  display: none;
}

.home-page .catalog-notice p,
.home-page .catalog-empty p {
  color: var(--ai-muted);
}

.home-page .catalog-notice button {
  border-color: var(--ai-line);
  color: var(--ai-text);
  background: #1a202b;
}

.home-page .catalog-loading .catalog-skeleton {
  border-color: var(--ai-line);
  background: linear-gradient(110deg, #141923 25%, #222b38 45%, #141923 65%);
  background-size: 200% 100%;
}

.home-page .home-creator-prompt textarea {
  color: var(--ai-text);
  background: #0b0f16;
  border-color: var(--ai-line);
}

.home-page .home-prompt-footer,
.home-page .trust-row,
.home-page .dashboard-overview-card em,
.home-page .card-foot,
.home-page .wallet-activity {
  color: var(--ai-muted);
  border-color: var(--ai-line);
}

.home-page .overview-icon,
.home-page .product-symbol,
.home-page .activity-icon,
.home-page .feature-art,
.home-page .product-visual {
  color: var(--ai-lime);
  background-color: #171d27;
}

.home-page .suggestion-arrow,
.home-page .overview-arrow,
.home-page .dashboard-overview-card > svg {
  color: var(--ai-lime);
}

.home-page .store-search,
.home-page .catalog-toolbar,
.home-page .category-tabs button,
.home-page .search-hint button {
  border-color: var(--ai-line);
  color: var(--ai-text);
  background-color: rgba(17, 21, 29, .85);
}

.home-page .category-tabs button.active,
.home-page .search-hint button:hover {
  color: #12160b;
  background: var(--ai-lime);
}

.home-page .wallet-story,
.home-page .platform-band {
  border-color: var(--ai-line);
  color: var(--ai-text);
  background: linear-gradient(130deg, rgba(17, 21, 29, .96), rgba(13, 16, 23, .9));
}

.home-page .wallet-copy ol li,
.home-page .wallet-activity > div {
  border-color: var(--ai-line);
}

.home-page .final-cta {
  border: 1px solid var(--ai-line);
  color: var(--ai-text);
  background:
    radial-gradient(ellipse at 90% 15%, rgba(192, 46, 163, .25), transparent 36%),
    linear-gradient(125deg, #15141d, #111720);
}

.home-page footer {
  color: var(--ai-muted);
  background: #080a0e;
  border-color: var(--ai-line);
}

.home-page footer :is(h3, .brand, .footer-wordmark) {
  color: var(--ai-text);
}

.home-page footer .footer-main a:not(.brand) {
  color: #b7bbae;
}

.home-page :is(.site-header .brand img, footer .brand img, .final-cta > img) {
  filter: brightness(0) invert(1) drop-shadow(0 0 15px rgba(215, 246, 74, .16));
}

.home-page footer a:hover {
  color: var(--ai-lime);
}

.home-page :is(.search-dialog, .auth-dialog, .app-detail-dialog) {
  border: 1px solid var(--ai-line);
  color: var(--ai-text);
  background: #10141c;
  box-shadow: 0 35px 100px rgba(0, 0, 0, .64);
}

.home-page :is(.search-dialog, .auth-dialog, .app-detail-dialog)::backdrop {
  background: rgba(3, 5, 9, .78);
  backdrop-filter: blur(10px);
}

.home-page .auth-story,
.home-page .detail-body,
.home-page .detail-facts {
  color: var(--ai-text);
  background: #10141c;
}

.home-page .auth-panel {
  color: #111318;
  background: #fff;
}

.home-page .auth-tabs button {
  color: #626b76;
}

.home-page .auth-tabs button.active {
  color: #111318;
}

.home-page .auth-panel .overline {
  color: #1769e0;
}

.home-page .auth-panel .auth-heading h2 {
  color: #111318;
}

.home-page .auth-heading > p:last-child,
.home-page .auth-email-step > p,
.home-page .auth-switch {
  color: #626b76;
}

.home-page .search-results,
.home-page .search-result {
  color: var(--ai-text);
  background: #10141c;
}

.home-page .search-result:hover {
  background: #171d27;
}

.home-page .search-result small,
.home-page .search-empty {
  color: #b7c1ce;
}

.home-page .app-detail-dialog .detail-hero {
  background: linear-gradient(120deg, #171d27, #10141c 60%, #151a23);
}

.home-page .app-detail-dialog .detail-heading p,
.home-page .app-detail-dialog .detail-copy > .overline,
.home-page .app-detail-dialog .detail-steps span {
  color: var(--ai-lime);
}

.home-page .app-detail-dialog .detail-heading div > span,
.home-page .app-detail-dialog .detail-copy > p:not(.overline),
.home-page .app-detail-dialog .detail-facts dt,
.home-page .app-detail-dialog .detail-facts > small {
  color: #b7c1ce;
}

.home-page .app-detail-dialog .detail-copy > p.product-clarification {
  border-left-color: var(--ai-lime);
  color: #eed58a;
  background: #2a271b;
}

.home-page .app-detail-dialog .detail-main,
.home-page .app-detail-dialog .detail-facts {
  border-color: var(--ai-line);
  background: #10141c;
}

.home-page .app-detail-dialog .detail-steps {
  border-color: var(--ai-line);
  background: var(--ai-line);
}

.home-page .app-detail-dialog .detail-steps div,
.home-page .app-detail-dialog .detail-facts > small {
  background: #171d27;
}

.studio-page .studio-sidebar {
  border-color: var(--ai-line);
  background: rgba(11, 14, 20, .94);
}

.studio-page .tool-link {
  color: #a8b1bf;
}

.studio-page .tool-link:hover,
.studio-page .tool-link.is-active {
  color: #15190c;
  background: var(--ai-lime);
}

.studio-page .tool-link.is-disabled {
  color: #6f7989;
}

.studio-page .tool-link svg,
.studio-page .tool-tab svg,
.studio-page .settings-heading svg,
.studio-page .settings-note svg,
.studio-page .capability-note svg,
.studio-page .privacy-note svg,
.studio-page .suggestion-icon svg,
.studio-page .prompt-suggestion svg,
.studio-page .upload-preview svg {
  color: var(--ai-lime);
}

.studio-page .side-label,
.studio-page .sidebar-bottom p {
  color: #7d8898;
}

.studio-page .sidebar-bottom,
.studio-page .creator-footer,
.studio-page .voice-privacy-note {
  border-color: var(--ai-line);
}

.studio-page .studio-main {
  color: var(--ai-text);
}

.studio-page .hero-banner {
  position: relative;
  overflow: hidden;
  border-color: rgba(215, 246, 74, .18);
  background:
    radial-gradient(ellipse at 12% 12%, rgba(198, 50, 171, .26), transparent 38%),
    radial-gradient(ellipse at 89% 93%, rgba(54, 140, 198, .22), transparent 38%),
    linear-gradient(118deg, #15141e, #111720 58%, #17131d);
  background-size: 160% 160%;
  animation: ai-spectrum 18s ease-in-out infinite alternate;
}

.studio-page .hero-copy p:last-child,
.studio-page .hero-badge,
.studio-page .eyebrow {
  color: #aeb8c7;
}

.studio-page .online-dot {
  background: var(--ai-lime);
  box-shadow: 0 0 14px rgba(215, 246, 74, .72);
}

.studio-page .hero-orb {
  border-color: rgba(215, 246, 74, .32);
  box-shadow: 0 0 0 23px rgba(215, 246, 74, .035), 0 0 0 49px rgba(167, 107, 255, .045);
  animation: ai-ring-float 10s ease-in-out infinite alternate;
}

.studio-page .hero-orb-two {
  animation-delay: -5s;
}

.studio-page .tool-tabs {
  border-color: var(--ai-line);
  background: #10141c;
}

.studio-page .tool-tab {
  color: #9ca7b7;
}

.studio-page .tool-tab.active {
  color: #15190c;
  background: var(--ai-lime);
}

.studio-page :is(.creator-card, .settings-card, .suggestion-card, .results-section, .voice-profile-dialog, .workflow-dialog) {
  border-color: var(--ai-line);
  color: var(--ai-text);
  background: rgba(17, 21, 29, .94);
}

.studio-page :is(.tiny-label, .studio-brand-tag, .settings-note, .capability-note, .privacy-note,
  .upload-slot small, .setting-row label, .voice-profile-disclosure, .result-status) {
  color: #9aa5b5;
}

.studio-page .studio-brand-tag {
  border-color: rgba(215, 246, 74, .24);
  background: rgba(215, 246, 74, .08);
}

.studio-page .creator-card textarea,
.studio-page .setting-row select,
.studio-page .voice-profile-field input,
.studio-page .voice-profile-field textarea {
  border-color: var(--ai-line);
  color: var(--ai-text);
  background: #0b0f15;
}

.studio-page .upload-slot {
  border-color: rgba(215, 246, 74, .22);
  background: #0c1017;
}

.studio-page .upload-slot:hover {
  border-color: var(--ai-lime);
  background: #121820;
}

.studio-page .upload-slot b,
.studio-page .settings-heading h2,
.studio-page .suggestion-card h3,
.studio-page .creator-heading h2,
.studio-page .results-heading h2 {
  color: var(--ai-text);
}

.studio-page :is(.upload-preview, .suggestion-icon) {
  color: var(--ai-lime);
  background: #1b222a;
}

.studio-page .prompt-suggestion,
.studio-page .voice-profile-actions button,
.studio-page .voice-profile-cancel,
.studio-page .voice-profile-dialog-header > button {
  border-color: var(--ai-line);
  color: #c1cad6;
  background: transparent;
}

.studio-page .result-item {
  border-color: var(--ai-line);
  background: #0c1017;
}

.studio-page .result-item img,
.studio-page .result-item video,
.studio-page .result-item audio {
  background: #080b10;
}

.studio-page .voice-profile-dialog::backdrop {
  background: rgba(3, 5, 9, .78);
  backdrop-filter: blur(9px);
}

.account-page .sidebar {
  border-color: var(--ai-line);
  background: rgba(11, 14, 20, .96);
}

.account-page .brand,
.account-page .sidebar nav a,
.account-page .sidebar-account b {
  color: #d7deea;
}

.account-page .sidebar nav a.active,
.account-page .sidebar nav a:hover {
  border-color: var(--ai-lime);
  color: var(--ai-lime);
  background: rgba(215, 246, 74, .09);
}

.account-page .sidebar-account {
  border-color: var(--ai-line);
}

.account-page .sidebar-account > span,
.account-page .balance-icon {
  color: #15190c;
  background: var(--ai-lime);
}

.account-page .balance-panel {
  border: 1px solid rgba(215, 246, 74, .17);
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 80% 5%, rgba(188, 54, 173, .22), transparent 40%),
    linear-gradient(120deg, #151922, #10151d);
}

.account-page .balance-panel::after {
  border-color: rgba(215, 246, 74, .12);
  animation: ai-ring-float 15s ease-in-out infinite alternate;
}

.account-page .balance-actions button {
  border-radius: 11px;
  color: #15190c;
  background: var(--ai-lime);
}

.account-page .balance-actions a {
  border-color: var(--ai-line);
  border-radius: 11px;
  color: var(--ai-text);
  background: rgba(255, 255, 255, .04);
}

.account-page .section-heading > a {
  color: var(--ai-lime);
}

.account-page .app-card {
  border-radius: 16px;
  color: var(--ai-text);
  background: rgba(17, 21, 29, .9);
}

.account-page .app-icon,
.account-page .app-arrow {
  border-radius: 12px;
  color: var(--ai-lime);
  background: #1c232d;
}

.account-page .activity-table {
  overflow: hidden;
  border-radius: 16px;
  background: rgba(17, 21, 29, .9);
}

.account-page .activity-row:hover {
  background: rgba(255, 255, 255, .035);
}

.account-page .transaction > span {
  border-radius: 10px;
  color: var(--ai-lime);
  background: #1c232d;
}

.account-page .error-panel,
.account-page .skeleton {
  border-color: var(--ai-line);
  background: #141923;
}

.wallet-page > header {
  position: sticky;
  top: 0;
  z-index: 3;
}

.wallet-page > header a,
.wallet-page > header nav a {
  color: var(--ai-text);
}

.wallet-page > header img {
  filter: brightness(0) invert(1) drop-shadow(0 0 15px rgba(215, 246, 74, .16));
}

.wallet-page .intro h1 {
  background: linear-gradient(95deg, #fff, #d7f64a);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.wallet-page .card,
.wallet-page .grid > aside,
.wallet-page .usage-log {
  border-radius: 18px;
  background: rgba(17, 21, 29, .92);
}

.wallet-page .wizard-progress,
.wallet-page .currency-grid,
.wallet-page .method-grid {
  border-color: var(--ai-line);
}

.wallet-page .wizard-progress button {
  color: #9aa5b5;
  background: transparent;
}

.wallet-page .wizard-progress button.active {
  border-bottom-color: var(--ai-lime);
  color: var(--ai-lime);
}

.wallet-page .wizard-progress button b,
.wallet-page .step > b,
.wallet-page .wizard-next,
.wallet-page form button {
  color: #15190c;
  background: var(--ai-lime);
}

.wallet-page .wizard-page label,
.wallet-page .usage-heading p,
.wallet-page .balance p,
.wallet-page .intro p {
  color: #aab4c2;
}

.wallet-page #status:not(:empty) {
  border: 1px solid var(--ai-line);
  border-radius: 10px;
  color: var(--ai-text);
  background: rgba(215, 246, 74, .07);
}

.wallet-page .amount,
.wallet-page .bank,
.wallet-page .payment-confirmation,
.wallet-page .currency-grid button,
.wallet-page .method-grid button {
  border-color: var(--ai-line);
  color: var(--ai-text);
  background: #0c1017;
}

.wallet-page .amount input {
  background: transparent;
}

.wallet-page .bank {
  border-left-color: var(--ai-lime);
}

.wallet-page .balance {
  border: 1px solid var(--ai-line);
  border-radius: 15px;
  background: #151a23;
}

.wallet-page .payment,
.wallet-page .usage-log th,
.wallet-page .usage-log td {
  border-color: var(--ai-line);
}

.wallet-page .payment-result,
.wallet-page .payment-confirmation {
  color: var(--ai-text);
  background: #111720;
}

.developer-page .developer-hero {
  background:
    radial-gradient(ellipse at 82% 4%, rgba(194, 48, 167, .22), transparent 37%),
    linear-gradient(125deg, #11151d, #0b0e14);
}

.developer-page .developer-hero > p,
.developer-page .console-head p,
.developer-page .credential-result p {
  color: var(--ai-lime);
}

.developer-page .developer-hero h1 em {
  color: var(--ai-lime);
}

.developer-page .developer-hero > span,
.developer-page .developer-grid p,
.developer-page .console form > p,
.developer-page .console form > small {
  color: var(--ai-muted);
}

.developer-page .developer-hero > div a,
.developer-page .console form > button {
  border-radius: 12px;
  color: #15190c;
  background: var(--ai-lime);
}

.developer-page .developer-hero > div .secondary {
  border-color: var(--ai-line);
  color: var(--ai-text);
  background: var(--ai-surface-raised);
}

.developer-page .developer-grid {
  gap: 12px;
}

.developer-page .developer-grid article {
  min-height: 240px;
  border: 1px solid var(--ai-line);
  border-radius: 16px;
  background: rgba(17, 21, 29, .9);
}

.developer-page .developer-grid article + article {
  border-left: 1px solid var(--ai-line);
}

.developer-page .developer-grid svg {
  color: var(--ai-lime);
}

.developer-page .console-head h2,
.developer-page .console form h3,
.developer-page .credential-result h2 {
  color: var(--ai-text);
}

.developer-page .console-head > span,
.developer-page .credential-result span,
.developer-page .credential-result dt,
.developer-page .console label {
  color: var(--ai-muted);
}

.developer-page .app-row,
.developer-page .credential-result {
  border-color: var(--ai-line);
  background: rgba(17, 21, 29, .94);
}

.developer-page .app-row code,
.developer-page .credential-result code {
  color: #dce5f2;
  background: #0b0f15;
}

.developer-page .app-row em {
  color: var(--ai-lime);
  background: rgba(215, 246, 74, .1);
}

.developer-page .credential-result button {
  color: #15190c;
  background: var(--ai-lime);
}

.docs-page .layout {
  color: var(--ai-text);
}

.docs-page .layout > aside {
  border-color: var(--ai-line);
  background: rgba(11, 14, 20, .62);
}

.docs-page .layout > aside :is(b, a) {
  color: #9ea9b8;
}

.docs-page .layout > aside a:hover,
.docs-page .eyebrow,
.docs-page .endpoint span,
.docs-page .notice code {
  color: var(--ai-lime);
}

.docs-page .layout > main section {
  border-color: var(--ai-line);
}

.docs-page .lead,
.docs-page section > p,
.docs-page li {
  color: var(--ai-muted);
}

.docs-page .notice,
.docs-page .endpoint {
  border: 1px solid var(--ai-line);
  border-radius: 12px;
  color: var(--ai-text);
  background: #111720;
}

.docs-page pre {
  border: 1px solid var(--ai-line);
  border-radius: 14px;
  background: #080b10;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .25);
}

.assistant-page .app-shell {
  border-color: var(--ai-line);
  border-radius: 22px;
  background: #0c1017;
  box-shadow: 0 35px 100px rgba(0, 0, 0, .45);
}

.assistant-page .context-panel {
  border-color: var(--ai-line);
  background: linear-gradient(165deg, #111720, #0c1017);
}

.assistant-page .brand,
.assistant-page .assistant-profile h1,
.assistant-page .help-points b,
.assistant-page .current-context strong {
  color: var(--ai-text);
}

.assistant-page :is(.brand small, .assistant-profile p, .current-context p, .help-points small) {
  color: var(--ai-muted);
}

.assistant-page :is(.current-context, .help-points > div) {
  border-color: var(--ai-line);
  background: rgba(255, 255, 255, .025);
}

.assistant-page .help-points > div > span,
.assistant-page .eyebrow {
  color: var(--ai-lime);
}

.assistant-page .chat-panel {
  color: var(--ai-text);
  background: rgba(11, 14, 20, .8);
}

.assistant-page .desktop-status,
.assistant-page .mobile-identity,
.assistant-page .welcome p,
.assistant-page .composer-area > p {
  color: var(--ai-muted);
}

.assistant-page .welcome-mark {
  border-color: rgba(215, 246, 74, .24);
  background: rgba(215, 246, 74, .08);
  box-shadow: 0 0 40px rgba(215, 246, 74, .08);
}

.assistant-page .welcome > .eyebrow,
.assistant-page .resource small {
  color: var(--ai-lime);
}

.assistant-page .message-bubble {
  border-color: var(--ai-line);
  background: #171d27;
}

.assistant-page .message-bubble p,
.assistant-page .welcome > p strong {
  color: #e2e8f1;
}

.assistant-page .message.user .message-bubble {
  border-color: rgba(215, 246, 74, .45);
  background: rgba(215, 246, 74, .12);
}

.assistant-page .message.user .message-bubble p {
  color: var(--ai-text);
}

.assistant-page .message-avatar {
  border-color: var(--ai-line);
  background: #171d27;
}

.assistant-page .resources .resource {
  border-color: var(--ai-line);
  color: var(--ai-text);
  background: #111720;
}

.assistant-page .suggestions button {
  border-color: var(--ai-line);
  color: var(--ai-text);
  background: #111720;
}

.assistant-page .suggestions button:hover {
  border-color: rgba(215, 246, 74, .44);
  background: #171e28;
}

.assistant-page .suggestion-icon {
  color: var(--ai-lime);
  background: #202630;
}

.assistant-page .composer-input,
.assistant-page #form {
  border-color: var(--ai-line);
  background: #111720;
}

.assistant-page #message {
  color: var(--ai-text);
  background: transparent;
}

.assistant-page #attachImage {
  color: #bdc6d3;
  background: #1a212b;
}

.assistant-page #signIn {
  color: #15190c;
  background: var(--ai-lime);
}

.home-page .hero.marketplace-hero.dashboard-hero {
  display: grid;
  width: min(100% - 48px, 1440px);
  min-height: 610px;
  grid-template-columns: minmax(0, .94fr) minmax(390px, 1.06fr);
  align-items: center;
  gap: clamp(32px, 5vw, 78px);
  margin: 20px auto 0;
  padding: clamp(38px, 5.5vw, 76px);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 30px;
  background:
    radial-gradient(ellipse at 86% 9%, rgba(81, 225, 219, .11), transparent 35%),
    radial-gradient(ellipse at 10% 100%, rgba(171, 83, 242, .16), transparent 39%),
    linear-gradient(135deg, #121722 0%, #0d1119 52%, #11141d 100%);
  box-shadow: 0 34px 100px rgba(0, 0, 0, .28), inset 0 1px rgba(255, 255, 255, .045);
}

.home-page .dashboard-hero .hero-copy {
  display: grid;
  width: 100%;
  max-width: 600px;
  align-items: start;
  justify-items: start;
  padding: 0;
  text-align: left;
}

.home-page .dashboard-hero .overline {
  justify-content: flex-start;
  margin-bottom: 20px;
  color: #c9d1df;
}

.home-page .dashboard-hero .hero-copy h1 {
  max-width: 680px;
  font-size: clamp(49px, 6vw, 78px);
  line-height: .98;
  letter-spacing: -.075em;
}

.home-page .dashboard-hero .hero-copy h1 em {
  color: var(--ai-lime);
  font-style: normal;
  -webkit-text-fill-color: var(--ai-lime);
}

.home-page .dashboard-hero .hero-text {
  max-width: 520px;
  margin-top: 21px;
  color: #aab4c2;
  font-size: 15px;
  line-height: 1.7;
}

.home-page .home-creator-prompt {
  width: 100%;
  margin: 27px 0 0;
  padding: 11px 13px 10px;
  border: 1px solid rgba(225, 232, 247, .16);
  border-radius: 17px;
  background: rgba(7, 10, 15, .76);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .22), inset 0 1px rgba(255, 255, 255, .045);
  backdrop-filter: blur(18px);
}

.home-page .home-creator-prompt textarea {
  min-height: 76px;
  padding: 11px 10px;
  color: var(--ai-text);
  font-size: 14px;
}

.home-page .home-prompt-footer {
  min-height: 49px;
  border-color: var(--ai-line);
}

.home-page .home-prompt-footer > span {
  color: #aab4c2;
  font-size: 11px;
}

.home-page .home-prompt-footer > span svg {
  color: var(--ai-lime);
}

.home-page .home-prompt-footer .primary {
  min-height: 40px;
  border-radius: 10px;
  font-size: 11px;
}

.home-page .home-prompt-suggestions {
  width: 100%;
  gap: 8px;
  margin: 12px 0 0;
}

.home-page .home-prompt-suggestions a {
  min-height: 50px;
  padding: 9px 10px;
  border-color: var(--ai-line);
  border-radius: 11px;
  background: rgba(255, 255, 255, .035);
  color: var(--ai-text);
}

.home-page .home-prompt-suggestions a:hover {
  border-color: rgba(215, 246, 74, .4);
  background: rgba(255, 255, 255, .075);
}

.home-page .home-prompt-suggestions a > svg:first-child {
  color: var(--ai-lime);
}

.home-page .home-prompt-suggestions small {
  color: var(--ai-muted);
}

.home-page .dashboard-hero .trust-row {
  justify-content: flex-start;
  gap: 15px;
  margin-top: 18px;
  color: #929eaf;
  font-size: 10px;
}

.home-page .dashboard-hero .trust-row span > svg {
  color: var(--ai-lime);
}

.home-studio-preview {
  min-width: 0;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 23px;
  background: linear-gradient(145deg, rgba(28, 34, 45, .96), rgba(13, 17, 24, .96));
  box-shadow: 0 30px 75px rgba(0, 0, 0, .34), inset 0 1px rgba(255, 255, 255, .07);
  transform: perspective(1200px) rotateY(-4deg) rotateX(1deg);
  animation: ai-enter-soft .8s .14s both;
}

.preview-toolbar,
.preview-footer,
.preview-format,
.preview-caption {
  display: flex;
  align-items: center;
}

.preview-toolbar {
  min-height: 37px;
  justify-content: space-between;
  padding: 0 8px 11px;
  color: #9da8b9;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .12em;
}

.preview-toolbar > span:first-child,
.preview-footer > span,
.preview-footer > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.preview-toolbar > span:first-child i,
.preview-empty-top > span:first-child i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ai-lime);
  box-shadow: 0 0 13px rgba(215, 246, 74, .8);
}

.preview-model {
  color: #aeb8c7;
}

.preview-stage {
  position: relative;
  display: flex;
  min-height: 390px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 15px;
  background:
    linear-gradient(0deg, rgba(10, 13, 20, .58), transparent 46%),
    radial-gradient(ellipse at 62% 35%, rgba(109, 232, 211, .24), transparent 34%),
    radial-gradient(ellipse at 35% 78%, rgba(145, 94, 255, .22), transparent 45%),
    linear-gradient(140deg, #14262b, #151c2d 52%, #282039);
}

.preview-glow {
  position: absolute;
  top: 17%;
  left: 28%;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #e8ffd5 0, #8ee8c1 9%, #3b92a6 28%, #363065 58%, transparent 72%);
  filter: drop-shadow(0 0 60px rgba(82, 226, 200, .22));
  animation: ai-ring-float 8s ease-in-out infinite alternate;
}

.preview-orbit {
  position: absolute;
  left: 23%;
  width: 57%;
  height: 27%;
  border: 1px solid rgba(222, 255, 251, .44);
  border-radius: 50%;
  transform: rotate(-27deg);
}

.preview-orbit-one {
  top: 31%;
}

.preview-orbit-two {
  top: 38%;
  border-color: rgba(206, 183, 255, .4);
  transform: rotate(38deg);
}

.preview-subject {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 9px;
  background: rgba(11, 14, 21, .5);
  color: #f0f3f8;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .08em;
  backdrop-filter: blur(10px);
}

.preview-subject svg {
  width: 13px;
  height: 13px;
  color: var(--ai-lime);
}

.preview-caption {
  position: absolute;
  right: 17px;
  bottom: 56px;
  left: 17px;
  gap: 10px;
  color: white;
  font-size: 12px;
}

.preview-caption span {
  color: var(--ai-lime);
  font-size: 9px;
  font-weight: 700;
}

.preview-format {
  position: absolute;
  right: 15px;
  bottom: 13px;
  left: 15px;
  gap: 7px;
  color: #bdc5d2;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .08em;
}

.preview-format svg {
  width: 13px;
  height: 13px;
  margin-left: 6px;
  color: var(--ai-lime);
}

.preview-format svg:first-child {
  margin-left: 0;
}

.preview-footer {
  min-height: 47px;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 6px 0;
}

.preview-footer > span {
  color: #9ba6b7;
  font-size: 9px;
}

.preview-footer > span svg {
  width: 14px;
  height: 14px;
  color: var(--ai-lime);
}

.preview-footer > a {
  flex: 0 0 auto;
  color: var(--ai-lime);
  font-size: 9px;
  font-weight: 700;
}

.preview-footer > a svg {
  width: 13px;
  height: 13px;
}

.home-page .dashboard-overview {
  max-width: 1390px;
  gap: 12px;
  margin-top: 22px;
}

.home-page .dashboard-overview-card {
  min-height: 86px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(22, 27, 37, .98), rgba(15, 19, 27, .96));
}

.home-page .dashboard-overview-card:hover {
  border-color: rgba(215, 246, 74, .3);
}

.home-page .overview-icon {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(215, 246, 74, .14);
  border-radius: 13px;
  color: var(--ai-lime);
  background: rgba(215, 246, 74, .07);
}

.home-page .dashboard-overview-card strong {
  color: var(--ai-text);
  font-size: 14px;
}

.home-page .dashboard-overview-card small,
.home-page .dashboard-overview-card em {
  color: var(--ai-muted);
}

.home-page .product-section {
  max-width: 1450px;
  margin: 0 auto;
  padding: 76px 32px 86px;
}

.home-page .product-section .section-heading {
  align-items: end;
  gap: 32px;
  margin-bottom: 24px;
}

.home-page .product-section .section-heading h2 {
  margin-top: 8px;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -.055em;
}

.home-page .product-section .section-heading > p {
  max-width: 440px;
  margin: 0;
  line-height: 1.7;
}

.home-page .catalog-search {
  max-width: 760px;
  min-height: 56px;
  border-radius: 14px;
  background: rgba(17, 21, 29, .88);
}

.home-page .catalog-search .primary {
  border-radius: 10px;
}

.home-page .product-section .search-hint button,
.home-page .category-tabs button {
  border-radius: 9px;
}

.home-page .category-tabs button.active {
  border-color: rgba(215, 246, 74, .32);
  color: var(--ai-lime);
  background: rgba(215, 246, 74, .1);
}

.home-page .store-feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.home-page .store-feature {
  min-height: 0;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(145deg, #151a24, #10141c);
}

.home-page .store-feature .feature-art {
  min-height: 210px;
}

.home-page .store-feature .feature-copy {
  padding: 22px 24px 24px;
}

.home-page .store-feature .feature-copy h3 {
  font-size: 25px;
}

.home-page .store-feature .feature-copy p {
  min-height: 0;
  line-height: 1.65;
}

.home-page .store-list-heading {
  gap: 24px;
  margin-top: 68px;
}

.home-page .store-list-heading h3 {
  font-size: 30px;
  letter-spacing: -.045em;
}

.home-page .product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.home-page .product-card {
  border-radius: 17px;
  background: linear-gradient(145deg, #151a24, #10141c);
}

.home-page .product-card .product-visual {
  min-height: 190px;
}

.home-page .product-card .product-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.home-page .product-card .card-foot {
  margin-top: auto;
  padding-top: 15px;
}

.home-page .wallet-story,
.home-page .platform-band,
.home-page footer {
  border-radius: 22px;
}

.home-page .site-header .menu-button {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--ai-line);
  border-radius: 13px;
  background: #171d27;
  box-shadow: none;
}

.home-page .site-header .menu-button span {
  width: 17px;
  height: 2px;
  border-radius: 2px;
  background: var(--ai-text);
}

.studio-page .studio-layout {
  max-width: 1760px;
  grid-template-columns: 220px minmax(0, 1fr);
}

.studio-page .studio-sidebar {
  padding: 29px 17px 20px;
  border-right-color: var(--ai-line);
  background: rgba(11, 14, 20, .88);
  backdrop-filter: blur(18px);
}

.studio-page .studio-main {
  min-width: 0;
  padding: 27px clamp(20px, 3.2vw, 52px) 60px;
}

.studio-page .hero-banner {
  min-height: 150px;
  justify-content: flex-start;
  border-color: rgba(255, 255, 255, .1);
  border-radius: 20px;
  background:
    radial-gradient(ellipse at 92% 10%, rgba(99, 222, 219, .14), transparent 34%),
    radial-gradient(ellipse at 15% 100%, rgba(168, 91, 246, .2), transparent 42%),
    linear-gradient(120deg, #171c29, #11151e 62%, #181426);
  text-align: left;
}

.studio-page .hero-banner .hero-copy {
  max-width: 740px;
  padding: 28px clamp(24px, 4vw, 48px);
  text-align: left;
}

.studio-page .hero-banner .eyebrow {
  justify-content: flex-start;
  color: #b9c3d2;
}

.studio-page .hero-banner h1 {
  font-size: clamp(31px, 4vw, 46px);
  letter-spacing: -.06em;
}

.studio-page .hero-banner p:last-child {
  max-width: 520px;
  color: #a4afbf;
  font-size: 13px;
  line-height: 1.55;
}

.studio-page .hero-badge {
  right: clamp(20px, 4vw, 48px);
  bottom: 25px;
  color: #d3d9e3;
}

.studio-page .hero-badge svg {
  color: var(--ai-lime);
}

.studio-page .workspace-grid {
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 16px;
  margin-top: 18px;
}

@media (max-width: 760px) {
  .studio-page .workspace-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.studio-page .tool-tabs {
  gap: 4px;
  border-radius: 14px;
  background: #111720;
}

.studio-page .tool-tab {
  min-width: 0;
  flex: 1 0 auto;
  border-radius: 10px;
}

.studio-page .tool-tab.active {
  color: var(--ai-lime);
  background: rgba(215, 246, 74, .1);
}

.studio-page .creator-card,
.studio-page .settings-card,
.studio-page .suggestion-card,
.studio-page .preview-empty,
.studio-page .results-section {
  border-radius: 17px;
  background: linear-gradient(155deg, rgba(20, 25, 34, .98), rgba(14, 18, 26, .98));
  box-shadow: 0 22px 55px rgba(0, 0, 0, .22), inset 0 1px rgba(255, 255, 255, .035);
}

.studio-page .creator-card {
  padding: 22px;
}

.studio-page .creator-heading h2,
.studio-page .settings-heading h2,
.studio-page .suggestion-card h3 {
  color: var(--ai-text);
  font-size: 17px;
}

.studio-page .creator-card textarea {
  min-height: 132px;
  border-color: var(--ai-line);
  border-radius: 12px;
  background: #0c1017;
  line-height: 1.7;
}

.studio-page .upload-slot {
  min-height: 77px;
  border-color: rgba(224, 232, 247, .2);
  border-radius: 12px;
  background: rgba(255, 255, 255, .025);
}

.studio-page .upload-slot:hover {
  border-color: rgba(215, 246, 74, .48);
  background: rgba(215, 246, 74, .045);
}

.studio-page .upload-slot b,
.studio-page .setting-row label {
  color: #e4e9f1;
}

.studio-page .upload-preview {
  border: 1px solid var(--ai-line);
  border-radius: 10px;
  color: var(--ai-lime);
  background: #1b222d;
}

.studio-page .creator-footer {
  padding-top: 17px;
}

.studio-page .generate-button {
  min-height: 45px;
  padding-inline: 18px;
}

.studio-page .setting-row select {
  height: 42px;
  border-radius: 10px;
  background-color: #0c1017;
}

.studio-page .preview-empty {
  min-height: 550px;
  overflow: hidden;
  padding: 14px;
}

.studio-page .preview-empty-top {
  display: flex;
  min-height: 30px;
  align-items: center;
  justify-content: space-between;
  padding: 0 5px 12px;
  color: #8995a7;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .12em;
}

.studio-page .preview-empty-top > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.studio-page .preview-empty-top > span:last-child {
  color: #6d798a;
}

.studio-page .preview-empty-art {
  position: relative;
  display: grid;
  min-height: 340px;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 13px;
  background:
    radial-gradient(ellipse at 50% 46%, rgba(87, 190, 185, .2), transparent 38%),
    radial-gradient(ellipse at 83% 86%, rgba(139, 77, 201, .23), transparent 45%),
    linear-gradient(145deg, #121d26, #161a2a 56%, #211a2d);
}

.studio-page .canvas-orbit {
  position: absolute;
  width: 58%;
  height: 38%;
  border: 1px solid rgba(180, 236, 221, .35);
  border-radius: 50%;
}

.studio-page .canvas-orbit-one {
  transform: rotate(-31deg);
}

.studio-page .canvas-orbit-two {
  width: 45%;
  height: 59%;
  border-color: rgba(204, 179, 255, .3);
  transform: rotate(28deg);
}

.studio-page .canvas-object {
  display: grid;
  width: 112px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 34% 66% 57% 43% / 43% 41% 59% 57%;
  background: radial-gradient(circle at 32% 28%, #c4f8d7, #63c4ba 28%, #546bb2 62%, #51386f);
  box-shadow: 0 0 70px rgba(94, 207, 193, .22), inset -16px -16px 30px rgba(20, 19, 51, .38);
  animation: ai-ring-float 9s ease-in-out infinite alternate;
}

.studio-page .canvas-object svg {
  width: 24px;
  height: 24px;
  color: #f6ffe2;
}

.studio-page .canvas-tag {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  color: #d8deea;
  background: rgba(9, 12, 18, .45);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .1em;
}

.studio-page .preview-empty-copy {
  padding: 22px 8px 15px;
}

.studio-page .preview-empty-copy h2 {
  margin: 7px 0;
  font-size: 23px;
  letter-spacing: -.04em;
}

.studio-page .preview-empty-copy p {
  max-width: 440px;
  margin: 0;
  font-size: 11px;
  line-height: 1.65;
}

.studio-page .preview-empty-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  padding: 13px 8px 4px;
  border-top: 1px solid var(--ai-line);
  color: #9aa5b5;
  font-size: 8px;
}

.studio-page .preview-empty-foot span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.studio-page .preview-empty-foot svg {
  width: 13px;
  height: 13px;
  color: var(--ai-lime);
}

.studio-page .preview-column:has(.results-section:not([hidden])) .preview-empty {
  display: none;
}

.studio-page .results-section {
  margin-top: 0;
  padding: 20px;
}

.studio-page .result-grid {
  grid-template-columns: 1fr;
}

.studio-page .result-item {
  border-color: var(--ai-line);
  border-radius: 12px;
  background: #0c1017;
}

.studio-page .result-item img,
.studio-page .result-item video {
  max-height: 680px;
  background: #080b10;
}

.account-page .workspace-shell {
  max-width: 1760px;
  grid-template-columns: 264px minmax(0, 1fr);
}

.account-page .sidebar {
  border-right-color: var(--ai-line);
  background: rgba(11, 14, 20, .92);
  backdrop-filter: blur(18px);
}

.account-page .sidebar nav a {
  min-height: 46px;
  border-radius: 11px;
  color: #a3adbc;
}

.account-page .sidebar nav a.active {
  border-color: var(--ai-lime);
  color: var(--ai-lime);
  background: rgba(215, 246, 74, .09);
}

.account-page .sidebar nav a:hover {
  color: var(--ai-text);
  background: rgba(255, 255, 255, .055);
}

.account-page main {
  max-width: 1500px;
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px) 74px;
}

.account-page .topbar {
  min-height: 128px;
}

.account-page .topbar h1 {
  font-size: clamp(27px, 3vw, 36px);
}

.account-page .balance-panel {
  min-height: 208px;
  margin: 28px 0 48px;
  padding: 36px clamp(25px, 4vw, 48px);
  border-radius: 23px;
}

.account-page .balance-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
}

.account-page .balance-panel strong {
  font-size: clamp(34px, 4vw, 48px);
}

.account-page .content-section {
  margin-bottom: 56px;
}

.account-page .section-heading {
  margin-bottom: 22px;
}

.account-page .section-heading h2 {
  font-size: 25px;
  letter-spacing: -.035em;
}

.account-page .app-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.account-page .app-card {
  min-height: 135px;
  padding: 19px;
  border: 1px solid var(--ai-line);
  border-radius: 17px;
  background: linear-gradient(145deg, #151a24, #10141c);
}

.account-page .app-card:hover {
  border-color: rgba(215, 246, 74, .34);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
}

.account-page .app-card h3 {
  color: var(--ai-text);
}

.account-page .app-card p {
  color: var(--ai-muted);
}

.account-page .app-icon {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(215, 246, 74, .18);
  border-radius: 14px;
  color: var(--ai-lime);
  background: rgba(215, 246, 74, .08);
}

.account-page .activity-head,
.account-page .activity-row {
  grid-template-columns: minmax(0, 1fr) 170px 125px;
}

.wallet-page main {
  max-width: 1280px;
  padding-top: 45px;
}

.wallet-page .grid {
  gap: 20px;
}

.wallet-page .wizard-card,
.wallet-page .grid > aside {
  border-radius: 20px;
}

.wallet-page .wizard-card {
  padding: clamp(20px, 3vw, 34px);
}

.developer-page main,
.docs-page .layout {
  max-width: 1440px;
  margin-right: auto;
  margin-left: auto;
}

.developer-page .developer-hero {
  min-height: 400px;
  align-content: center;
  border: 1px solid var(--ai-line);
  border-radius: 26px;
  padding: clamp(35px, 6vw, 76px);
}

.developer-page .developer-grid article {
  border-radius: 17px;
}

.docs-page .layout > main {
  max-width: 920px;
}

@media (max-width: 1350px) {
  .studio-page .workspace-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .studio-page .settings-column {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(230px, .55fr);
    align-items: start;
    gap: 14px;
  }

  .studio-page .suggestion-card {
    margin-top: 0;
  }

  .studio-page .capability-note {
    grid-column: 1 / -1;
  }

  .account-page .app-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1000px) {
  .home-page .hero.marketplace-hero.dashboard-hero {
    width: calc(100% - 32px);
    min-height: 0;
    gap: 28px;
    padding: 42px;
  }

  .home-page .home-prompt-suggestions {
    grid-template-columns: 1fr;
  }

  .home-page .preview-stage {
    min-height: 320px;
  }

  .account-page .workspace-shell {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .account-page .sidebar {
    padding-inline: 11px;
  }
}

@media (max-width: 900px) {
  .home-page .hero.marketplace-hero.dashboard-hero {
    grid-template-columns: 1fr;
  }

  .home-page .home-studio-preview {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
  }
}

@media (max-width: 760px) {
  .home-page .hero.marketplace-hero.dashboard-hero {
    width: calc(100% - 24px);
    grid-template-columns: 1fr;
    gap: 23px;
    margin-top: 12px;
    padding: 29px 21px 20px;
    border-radius: 23px;
  }
}

.studio-page .price-estimate {
  display: grid;
  grid-template-columns: minmax(0, 170px) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  padding: 11px 12px;
  border: 1px solid rgba(215, 246, 74, .18);
  border-radius: 8px;
  background: rgba(215, 246, 74, .045);
}

.studio-page .price-estimate > div:first-child {
  display: grid;
  gap: 5px;
}

.studio-page .price-estimate strong {
  color: var(--ai-lime);
  font: 600 18px/1.1 "Space Grotesk", sans-serif;
}

.studio-page .price-estimate-detail {
  display: grid;
  gap: 4px;
  color: #c0c6ce;
  font-size: 10px;
  line-height: 1.45;
}

.studio-page .price-estimate-detail small {
  color: #78818d;
  font-size: 9px;
}

.studio-page .price-estimate.is-error {
  border-color: rgba(255, 125, 113, .3);
  background: rgba(255, 125, 113, .06);
}

.studio-page .price-estimate.is-error strong {
  color: #ff9a8d;
}

.studio-page .saved-media-card {
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 9px;
  background: #11151b;
}

.studio-page .saved-media-card > summary {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 9px;
  padding: 0 13px;
  color: #e4e8ec;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.studio-page .saved-media-card > summary::-webkit-details-marker {
  display: none;
}

.studio-page .saved-media-card > summary::after {
  width: 7px;
  height: 7px;
  margin-left: 2px;
  border-right: 1px solid #89919b;
  border-bottom: 1px solid #89919b;
  content: "";
  transform: rotate(45deg) translateY(-2px);
}

.studio-page .saved-media-card[open] > summary::after {
  transform: rotate(225deg) translate(-2px, -1px);
}

.studio-page .saved-media-card > summary small {
  margin-left: auto;
  color: #818a96;
  font-size: 9px;
  font-weight: 400;
}

.studio-page .saved-media-card > summary b {
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 5px;
  background: #20262d;
  color: #c2c9d0;
  font-size: 9px;
}

.studio-page .saved-media-content {
  padding: 0 12px 12px;
  border-top: 1px solid rgba(255, 255, 255, .07);
}

.studio-page .saved-media-note,
.studio-page .saved-media-message,
.studio-page .saved-media-empty {
  color: #929ba6;
  font-size: 9px;
  line-height: 1.5;
}

.studio-page .saved-media-note {
  margin: 10px 0;
}

.studio-page .character-reference-name {
  display: grid;
  gap: 5px;
  margin: 10px 0;
  color: #aab2bc;
  font-size: 9px;
}

.studio-page .character-reference-name input {
  min-height: 32px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 6px;
  outline: none;
  background: #0e1116;
  color: #e4e8ec;
  font: inherit;
}

.studio-page .character-reference-name input:focus {
  border-color: rgba(215, 246, 74, .55);
}

.studio-page .video-limit-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 9px 0 0;
  color: #929ba6;
  font-size: 9px;
  line-height: 1.5;
}

.studio-page .video-limit-note svg {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  color: #c4cf61;
}

.studio-page .save-media-button,
.studio-page .saved-media-item-actions button {
  min-height: 29px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 6px;
  background: #1a2027;
  color: #dce1e6;
  font-size: 9px;
  font-weight: 600;
  cursor: pointer;
}

.studio-page .save-media-button:hover,
.studio-page .saved-media-item-actions button:hover {
  border-color: rgba(215, 246, 74, .35);
}

.studio-page .save-media-button:disabled {
  cursor: not-allowed;
  opacity: .48;
}

.studio-page .saved-media-message {
  min-height: 14px;
  margin: 7px 0 9px;
}

.studio-page .saved-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
  gap: 8px;
}

.studio-page .saved-media-item {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 7px;
  background: #0e1116;
}

.studio-page .saved-media-item > img,
.studio-page .saved-media-item > video {
  display: block;
  width: 100%;
  height: 96px;
  object-fit: cover;
  background: #090b10;
}

.studio-page .saved-media-item-info {
  display: grid;
  gap: 4px;
  padding: 7px 8px 0;
}

.studio-page .saved-media-item-info strong {
  overflow: hidden;
  color: #dce1e6;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-page .saved-media-item-info small {
  color: #818a96;
  font-size: 8px;
}

.studio-page .saved-media-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 7px 8px 8px;
}

.studio-page .saved-media-item-actions button {
  min-height: 25px;
  padding: 0 6px;
  font-size: 8px;
}

.studio-page .saved-media-item-actions button.is-remove {
  margin-left: auto;
  color: #ff9a8d;
}

@media (max-width: 520px) {
  .studio-page .price-estimate {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .studio-page .saved-media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .home-page .dashboard-hero .hero-copy h1 {
    font-size: clamp(38px, 10.2vw, 48px);
  }

  .home-page .dashboard-hero .hero-text {
    margin-top: 13px;
    font-size: 13px;
  }

  .home-page .home-creator-prompt {
    margin-top: 19px;
  }

  .home-page .home-prompt-suggestions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .home-page .home-prompt-suggestions a {
    min-height: 62px;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 6px;
    padding: 9px;
  }

  .home-page .home-prompt-suggestions a > span {
    width: calc(100% - 26px);
    font-size: 9px;
  }

  .home-page .home-prompt-suggestions small {
    display: none;
  }

  .home-page .home-prompt-suggestions .suggestion-arrow {
    display: none;
  }

  .home-page .dashboard-hero .trust-row {
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-top: 14px;
  }

  .home-page .home-studio-preview {
    padding: 9px;
    border-radius: 17px;
    transform: none;
  }

  .home-page .preview-stage {
    min-height: 265px;
  }

  .home-page .preview-footer {
    align-items: flex-start;
  }

  .home-page .preview-footer > span {
    max-width: 60%;
    line-height: 1.4;
  }

  .home-page .dashboard-overview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin-top: 12px;
    padding: 0 12px;
  }

  .home-page .dashboard-overview-card {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
    padding: 12px;
  }

  .home-page .dashboard-overview-card em {
    display: none;
  }

  .home-page .dashboard-overview-card strong {
    font-size: 10px;
  }

  .home-page .overview-icon {
    width: 34px;
    height: 34px;
  }

  .home-page .product-section {
    padding: 52px 16px 60px;
  }

  .home-page .product-section .section-heading {
    display: block;
  }

  .home-page .product-section .section-heading > p {
    margin-top: 12px;
  }

  .home-page .store-feature-grid,
  .home-page .product-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .home-page .store-feature .feature-art {
    min-height: 165px;
  }

  .home-page .store-feature .feature-copy {
    padding: 17px;
  }

  .home-page .store-list-heading {
    display: block;
    margin-top: 48px;
  }

  .home-page .store-list-heading > span {
    display: block;
    margin-top: 9px;
  }

  .studio-page .studio-layout {
    display: block;
  }

  .studio-page .workspace-grid {
    grid-template-columns: 1fr;
  }

  .studio-page .preview-column {
    grid-row: 2;
  }

  .studio-page .settings-column {
    grid-column: auto;
    grid-template-columns: 1fr 1fr;
  }

  .studio-page .preview-empty {
    min-height: 0;
  }

  .studio-page .preview-empty-art {
    min-height: 265px;
  }

  .account-page .workspace-shell {
    display: block;
  }

  .account-page .sidebar {
    height: 64px;
    width: 100%;
    position: sticky;
    top: 0;
    flex-direction: row;
    align-items: center;
    padding: 10px 15px;
    border-right: 0;
    border-bottom: 1px solid var(--ai-line);
  }

  .account-page .sidebar > .nav-label,
  .account-page .sidebar > nav,
  .account-page .sidebar-account {
    display: none;
  }

  .account-page .sidebar .brand {
    justify-content: flex-start;
    margin: 0;
  }

  .account-page main {
    padding: 0 16px 52px;
  }

  .account-page .app-grid {
    grid-template-columns: 1fr;
  }

  .account-page .balance-panel {
    min-height: 0;
    padding: 25px 22px;
  }

  .account-page .section-heading {
    flex-wrap: wrap;
  }

  .wallet-page main {
    padding-top: 30px;
  }

  .wallet-page .grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .account-page .topbar {
    min-height: 112px;
    gap: 12px;
    padding: 20px 0;
  }

  .account-page .mobile-menu {
    display: grid;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    place-items: center;
    padding: 0;
    border: 1px solid var(--ai-line);
    border-radius: 10px;
    color: var(--ai-text);
    background: #171d27;
  }

  .account-page .mobile-menu-icon,
  .account-page .mobile-menu-icon::before,
  .account-page .mobile-menu-icon::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--ai-text);
  }

  .account-page .mobile-menu-icon {
    position: relative;
  }

  .account-page .mobile-menu-icon::before,
  .account-page .mobile-menu-icon::after {
    position: absolute;
    left: 0;
    content: "";
  }

  .account-page .mobile-menu-icon::before {
    top: -6px;
  }

  .account-page .mobile-menu-icon::after {
    top: 6px;
  }

  .account-page .mobile-menu.is-open .mobile-menu-icon {
    background: transparent;
  }

  .account-page .mobile-menu.is-open .mobile-menu-icon::before {
    top: 0;
    transform: rotate(45deg);
  }

  .account-page .mobile-menu.is-open .mobile-menu-icon::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .account-page .workspace-shell.menu-open .sidebar {
    height: auto;
    align-items: stretch;
    flex-direction: column;
  }

  .account-page .workspace-shell.menu-open .sidebar > .nav-label {
    display: block;
    margin-top: 16px;
  }

  .account-page .workspace-shell.menu-open .sidebar > nav {
    display: grid;
    width: 100%;
    gap: 3px;
    margin: 0 0 12px;
  }

  .account-page .workspace-shell.menu-open .sidebar nav a {
    justify-content: flex-start;
    border-bottom: 0;
    padding: 0 13px;
  }

  .account-page .workspace-shell.menu-open .sidebar nav a span,
  .account-page .workspace-shell.menu-open .sidebar-account div {
    display: block;
  }

  .account-page .workspace-shell.menu-open .sidebar-account {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 30px;
    justify-items: stretch;
    width: 100%;
  }

  .account-page .workspace-shell.menu-open .sidebar-account button {
    display: block;
  }
}

.studio-page .director-plan {
  padding: 11px;
  border: 1px solid rgba(215, 246, 74, .2);
  border-radius: 10px;
  background: rgba(215, 246, 74, .045);
}

.studio-page .director-plan > div {
  display: grid;
  gap: 4px;
}

.studio-page .director-plan span {
  color: var(--ai-lime);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .12em;
}

.studio-page .director-plan strong {
  color: #eef1f2;
  font-size: 10px;
  line-height: 1.4;
}

.studio-page .director-plan ol {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 9px 0 0;
  padding: 0;
  list-style: none;
}

.studio-page .director-plan li {
  padding: 5px 7px;
  border-radius: 999px;
  color: #90979b;
  background: #202527;
  font-size: 7px;
  text-transform: capitalize;
}

.studio-page .director-plan li.is-active {
  color: #252b12;
  background: var(--ai-lime);
}

.studio-page .director-plan li.is-complete {
  color: #dce8ad;
  background: #333a27;
}

@media (prefers-reduced-motion: reduce) {
  .home-studio-preview,
  .preview-glow,
  .studio-page .canvas-object {
    animation: none;
    transform: none;
  }
}

@keyframes ai-background-drift {
  from { background-position: 0% 0%, 100% 0%, 0 0; }
  to { background-position: 100% 65%, 0% 100%, 0 0; }
}

@keyframes ai-orbit-drift {
  from { transform: translate3d(-2%, -1%, 0) rotate(-8deg) scale(.96); }
  to { transform: translate3d(2%, 1%, 0) rotate(8deg) scale(1.04); }
}

@keyframes ai-ring-float {
  from { transform: translate3d(0, 0, 0) scale(.98); }
  to { transform: translate3d(-10px, 12px, 0) scale(1.03); }
}

@keyframes ai-spectrum {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

@keyframes ai-enter-soft {
  from { opacity: 0; transform: translate3d(0, 12px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@media (max-width: 760px) {
  .home-page #home {
    border-radius: 20px;
  }

  .account-page .balance-panel {
    border-radius: 17px;
  }

  .developer-page .developer-grid {
    gap: 0;
  }

  .developer-page .developer-grid article {
    border-radius: 0;
  }

  .assistant-page .app-shell {
    border-radius: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ai-company-theme,
  .ai-company-theme::before,
  .ai-company-theme *,
  .ai-company-theme *::before,
  .ai-company-theme *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

.home-page,
.studio-page {
  --ai-lime: #b7c77b;
  background: #0c0e12;
  font-family: "DM Sans", "Segoe UI", sans-serif;
}

.home-page.ai-company-theme::before,
.studio-page.ai-company-theme::before {
  display: none;
}

.home-page :is(h1, h2, h3, h4),
.studio-page :is(h1, h2, h3, h4) {
  font-family: "DM Sans", "Segoe UI", sans-serif;
  letter-spacing: -.025em;
}

.home-page .hero.marketplace-hero.dashboard-hero {
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 20px;
  background: #11151b;
  box-shadow: none;
}

.home-page .dashboard-hero .hero-copy h1 {
  max-width: 620px;
  font-size: clamp(42px, 5.2vw, 66px);
  line-height: 1.02;
  letter-spacing: -.045em;
  background: none;
  color: #f2f3f4;
  -webkit-text-fill-color: #f2f3f4;
}

.home-page .dashboard-hero .hero-copy h1 em {
  color: var(--ai-lime);
  -webkit-text-fill-color: var(--ai-lime);
}

.home-page .home-studio-preview {
  padding: 12px;
  border-color: rgba(255, 255, 255, .1);
  border-radius: 15px;
  background: #15191f;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .2);
  transform: none;
  animation: none;
}

.home-page .preview-toolbar {
  min-height: 32px;
  padding: 0 3px 9px;
  font-size: 9px;
  letter-spacing: .08em;
}

.home-page .preview-toolbar > span:first-child i {
  background: #87976a;
  box-shadow: none;
}

.home-showcase-grid {
  display: grid;
  min-height: 345px;
  grid-template-columns: minmax(0, 1.15fr) minmax(130px, .75fr);
  gap: 8px;
}

.home-sample-card {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  background: #090b0e;
}

.home-sample-card img,
.home-sample-card video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 345px;
  object-fit: cover;
}

.home-sample-image img {
  object-position: center;
}

.home-sample-card figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  padding: 35px 11px 11px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .78));
  color: #fff;
  font-size: 10px;
}

.home-sample-video figcaption {
  bottom: 38px;
}

.home-sample-card figcaption span {
  display: grid;
  gap: 3px;
}

.home-sample-card figcaption b {
  font-size: 11px;
  font-weight: 600;
}

.home-sample-card figcaption small,
.home-sample-card figcaption a {
  color: rgba(255, 255, 255, .76);
  font-size: 9px;
}

.home-sample-card figcaption a {
  flex: 0 0 auto;
  pointer-events: auto;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.home-page .preview-footer {
  min-height: 40px;
  padding: 10px 3px 0;
}

.home-page .preview-footer > span {
  color: #a4a9b0;
  font-size: 10px;
}

.home-page .preview-footer > a {
  color: var(--ai-lime);
  font-size: 10px;
}

.studio-page .studio-layout {
  grid-template-columns: 202px minmax(0, 1fr);
}

.studio-page .studio-sidebar {
  padding: 20px 13px;
  background: #0e1116;
  backdrop-filter: none;
}

.studio-page .tool-link {
  min-height: 39px;
  border-radius: 7px;
  font-size: 12px;
}

.studio-page .tool-link:hover {
  color: #e7e9e9;
  background: #1a1f25;
}

.studio-page .tool-link.is-active {
  color: #ecf0de;
  background: #242a24;
}

.studio-page .tool-link.is-active svg {
  color: var(--ai-lime);
}

.studio-page .tool-link.is-disabled {
  color: #717780;
}

.studio-page .studio-main {
  padding: 25px clamp(16px, 2.4vw, 36px) 48px;
}

.studio-page .studio-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--ai-line);
}

.studio-page .studio-intro .eyebrow {
  justify-content: flex-start;
  margin: 0 0 6px;
  color: #9da4ac;
  font-size: 9px;
  letter-spacing: .1em;
}

.studio-page .studio-intro h1 {
  max-width: 620px;
  margin: 0;
  color: #f1f2f2;
  font-size: clamp(23px, 2.2vw, 30px);
  font-weight: 600;
  line-height: 1.2;
}

.studio-page .studio-intro > p {
  max-width: 210px;
  margin: 0;
  color: #a2a8b0;
  font-size: 11px;
  line-height: 1.5;
}

.studio-page .workspace-grid {
  grid-template-columns: minmax(285px, .9fr) minmax(345px, 1.1fr) 240px;
  gap: 13px;
  margin-top: 0;
}

.studio-page .creator-card,
.studio-page .settings-card,
.studio-page .suggestion-card,
.studio-page .results-section,
.studio-page .sample-gallery {
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  background: #13171d;
  box-shadow: none;
}

.studio-page .creator-card {
  padding: 17px;
}

.studio-page .creator-heading h2,
.studio-page .settings-heading h2,
.studio-page .suggestion-card h3 {
  font-size: 15px;
  font-weight: 600;
}

.studio-page .creator-card textarea {
  min-height: 116px;
  border-radius: 8px;
  background: #0e1116;
  font-size: 13px;
  line-height: 1.55;
}

.studio-page .upload-slot {
  min-height: 65px;
  border-radius: 8px;
  background: #101319;
}

.studio-page .upload-preview {
  border-radius: 7px;
  background: #1b2025;
}

.studio-page .upload-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.studio-page .generate-button {
  min-height: 40px;
  border-radius: 7px;
  background: #d3ddbb;
  color: #151811;
  font-size: 12px;
}

.studio-page .generate-button:hover {
  background: #e0e8ce;
}

.studio-page .privacy-note,
.studio-page .settings-note,
.studio-page .capability-note,
.studio-page .upload-slot small {
  font-size: 10px;
}

.studio-page .setting-row select {
  height: 38px;
  border-radius: 7px;
  font-size: 11px;
}

.studio-page .sample-gallery {
  min-width: 0;
  padding: 15px;
}

.sample-gallery-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}

.sample-gallery-heading h2 {
  margin: 5px 0 4px;
  color: #f1f2f2;
  font-size: 18px;
  font-weight: 600;
}

.sample-gallery-heading p,
.sample-gallery-note {
  margin: 0;
  color: #9ba2ab;
  font-size: 10px;
  line-height: 1.5;
}

.sample-filters {
  display: flex;
  flex: 0 0 auto;
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 8px;
  background: #0e1116;
}

.sample-filters button {
  min-height: 27px;
  padding: 0 8px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #aab0b8;
  font-size: 9px;
  cursor: pointer;
}

.sample-filters button.is-active {
  background: #2a3028;
  color: #e4ebd2;
}

.sample-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.sample-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 9px;
  background: #0e1116;
}

.sample-card-media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #090b0e;
}

.sample-card-media img,
.sample-card-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sample-card-media img {
  transition: transform .25s ease;
}

.sample-card-media:hover img {
  transform: scale(1.025);
}

.sample-card-info {
  padding: 9px 9px 7px;
}

.sample-card-info > span {
  color: #aeb995;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .06em;
}

.sample-card-info h3 {
  overflow: hidden;
  margin: 4px 0 0;
  color: #edf0f0;
  font-size: 12px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sample-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 0 9px 9px;
}

.sample-card-actions button,
.sample-card-actions a {
  color: #cbd4b2;
  font-size: 9px;
}

.sample-card-actions button {
  padding: 5px 7px;
  border: 1px solid rgba(183, 199, 123, .25);
  border-radius: 5px;
  background: #20261e;
  cursor: pointer;
}

.sample-card-actions button:hover {
  border-color: rgba(183, 199, 123, .55);
  background: #293125;
}

.sample-card-actions a {
  color: #969ea7;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sample-gallery-note {
  margin-top: 11px;
  padding-top: 9px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 9px;
}

.studio-page .preview-column:has(.results-section:not([hidden])) .sample-gallery {
  display: none;
}

.studio-page .preview-column:has(.results-section:not([hidden])) .results-section {
  margin-top: 0;
}

@media (max-width: 1350px) {
  .studio-page .workspace-grid {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  }

  .studio-page .settings-column {
    gap: 12px;
  }
}

@media (max-width: 760px) {
  .home-showcase-grid {
    min-height: 290px;
    grid-template-columns: minmax(0, 1fr) minmax(110px, .75fr);
  }

  .home-sample-card img,
  .home-sample-card video {
    min-height: 290px;
  }

  .studio-page .studio-main {
    padding: 17px 12px 32px;
  }

  .studio-page .workspace-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .studio-page .studio-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .studio-page .studio-intro > p {
    max-width: none;
  }

  .sample-gallery-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .sample-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .home-showcase-grid {
    min-height: 250px;
    grid-template-columns: minmax(0, 1fr) minmax(90px, .7fr);
  }

  .home-sample-card img,
  .home-sample-card video {
    min-height: 250px;
  }

  .home-sample-card figcaption {
    padding-right: 7px;
    padding-left: 7px;
  }

  .home-sample-card figcaption a {
    font-size: 8px;
  }

  .sample-gallery-grid {
    grid-template-columns: 1fr;
  }

  .sample-card-media {
    aspect-ratio: 16 / 10;
  }
}

body.ai-company-theme.home-page:has(.dashboard-hero) {
  background: #0c0e12;
  animation: none;
}

.home-page #home.hero.marketplace-hero.dashboard-hero {
  background: #11151b !important;
}

.home-page #home .hero-copy h1 {
  font-family: "DM Sans", "Segoe UI", sans-serif !important;
  font-weight: 600;
}

.studio-page .studio-layout {
  display: block;
  max-width: none;
  min-height: calc(100vh - 62px);
}

.studio-page .studio-sidebar,
.studio-page .studio-intro {
  display: none;
}

.studio-page .studio-main {
  max-width: 1920px;
  margin: 0 auto;
  padding: 14px clamp(14px, 2.2vw, 36px) 40px;
}

.studio-page .studio-topbar {
  height: 58px;
  padding: 0 clamp(14px, 2.2vw, 36px);
}

.studio-page .studio-topbar nav {
  gap: 20px;
  margin-left: clamp(18px, 3vw, 48px);
}

.studio-page .studio-topbar nav :is(a, button) {
  position: relative;
  display: grid;
  align-items: center;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #a5afbd;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.studio-page .studio-topbar nav .nav-active,
.studio-page .studio-topbar nav .studio-nav-mode.is-active {
  color: #f3f5f2;
}

.studio-page .studio-topbar nav .nav-active::after,
.studio-page .studio-topbar nav .studio-nav-mode.is-active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--ai-lime);
  content: "";
}

.studio-page .workspace-grid {
  grid-template-columns: minmax(280px, 330px) minmax(0, 1fr);
  grid-template-areas:
    "creator preview"
    "settings preview";
  align-items: start;
  gap: 12px 18px;
  margin-top: 0;
}

.studio-page .creator-column {
  grid-area: creator;
  min-width: 0;
}

.studio-page .preview-column {
  grid-area: preview;
  min-width: 0;
}

.studio-page .settings-column {
  grid-area: settings;
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 10px;
}

.studio-page .control-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 3px 1px 9px;
}

.studio-page .control-heading-note {
  color: #828b98;
  font-size: 10px;
}

.studio-page .workflow-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  margin-bottom: 10px;
}

.studio-page .workflow-option {
  display: flex;
  min-width: 0;
  min-height: 36px;
  align-items: center;
  gap: 8px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 7px;
  color: #a8b0b9;
  background: #10141a;
  text-align: left;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}

.studio-page .workflow-option svg {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
}

.studio-page .workflow-option:hover,
.studio-page .workflow-option.is-active {
  border-color: rgba(215, 246, 74, .3);
  color: #eff3e1;
  background: #1d2419;
}

.studio-page .workflow-option.is-active svg {
  color: var(--ai-lime);
}

.studio-page .creator-card,
.studio-page .settings-card,
.studio-page .suggestion-card,
.studio-page .results-section,
.studio-page .sample-gallery,
.studio-page .library-shell {
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 10px;
  background: #11151b;
  box-shadow: none;
}

.studio-page .creator-card {
  padding: 13px;
}

.studio-page .creator-card textarea {
  min-height: 94px;
  margin-top: 12px;
}

.studio-page .creator-footer {
  align-items: flex-end;
  flex-direction: column;
}

.studio-page .privacy-note {
  align-self: flex-start;
  font-size: 9px;
  line-height: 1.4;
}

.studio-page .generate-button {
  align-self: stretch;
  justify-content: center;
}

.studio-page .settings-card,
.studio-page .suggestion-card {
  padding: 13px;
}

.studio-page .suggestion-card {
  margin-top: 0;
}

.studio-page .settings-heading h2 {
  font-size: 12px;
}

.studio-page .setting-row {
  margin-top: 12px;
}

.studio-page .setting-divider {
  margin: 13px 0;
}

.studio-page .settings-note,
.studio-page .capability-note {
  font-size: 9px;
}

.studio-page .library-shell {
  overflow: hidden;
  background: #0e1116;
}

.studio-page .library-tabs {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 47px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.studio-page .library-tab {
  position: relative;
  display: grid;
  height: 47px;
  align-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #8f98a4;
  background: transparent;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.studio-page .library-tab.is-active {
  color: #f2f4ef;
}

.studio-page .library-tab.is-active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--ai-lime);
  content: "";
}

.studio-page .sample-gallery,
.studio-page .library-panel {
  min-width: 0;
  padding: clamp(14px, 1.8vw, 24px);
  border: 0;
  border-radius: 0;
  background: transparent;
}

.studio-page .library-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 18px;
}

.studio-page .library-heading h1 {
  margin: 6px 0 5px;
  color: #f3f4f1;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.15;
}

.studio-page .library-heading p {
  max-width: 560px;
  margin: 0;
  color: #939ca7;
  font-size: 11px;
  line-height: 1.5;
}

.studio-page .library-create-button {
  display: inline-flex;
  min-height: 34px;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid rgba(215, 246, 74, .28);
  border-radius: 7px;
  color: #e6edce;
  background: #1d2419;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
}

.studio-page .library-create-button svg {
  width: 14px;
  height: 14px;
}

.studio-page .gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 13px;
}

.studio-page .sample-filters,
.studio-page .gallery-sort {
  display: flex;
  max-width: 100%;
  gap: 3px;
  overflow-x: auto;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 7px;
  background: #101319;
  scrollbar-width: none;
}

.studio-page .sample-filters::-webkit-scrollbar,
.studio-page .gallery-sort::-webkit-scrollbar {
  display: none;
}

.studio-page .sample-filters button,
.studio-page .gallery-sort button {
  min-height: 27px;
  flex: 0 0 auto;
  padding: 0 9px;
  border: 0;
  border-radius: 5px;
  color: #9da6b1;
  background: transparent;
  font-size: 9px;
  cursor: pointer;
}

.studio-page .sample-filters button.is-active,
.studio-page .gallery-sort button.is-active {
  color: #e5ebd7;
  background: #252b22;
}

.studio-page .gallery-sort {
  flex: 0 0 auto;
}

.studio-page .sample-gallery-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 10px;
}

.studio-page .sample-card {
  border-color: rgba(255, 255, 255, .09);
  border-radius: 8px;
  background: #12161d;
}

.studio-page .sample-card-media {
  aspect-ratio: 4 / 3;
  background: #090b10;
}

.studio-page .sample-card:nth-child(4n + 2) .sample-card-media {
  aspect-ratio: 1 / 1;
}

.studio-page .sample-card:nth-child(4n + 3) .sample-card-media {
  aspect-ratio: 4 / 5;
}

.studio-page .sample-card:nth-child(4n + 4) .sample-card-media {
  aspect-ratio: 5 / 4;
}

.studio-page .sample-card-info {
  padding: 9px 9px 7px;
}

.studio-page .sample-card-info > span {
  color: #aab995;
  font-size: 8px;
}

.studio-page .sample-card-info h3 {
  font-size: 11px;
}

.studio-page .sample-card-actions {
  justify-content: flex-start;
}

.studio-page .sample-card-actions button {
  min-height: 27px;
  padding: 0 8px;
  color: #d7e1bc;
  font-size: 9px;
}

.studio-page .sample-gallery-note,
.studio-page .history-empty {
  margin: 13px 0 0;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: #858f9b;
  font-size: 9px;
  line-height: 1.5;
}

.studio-page .history-grid:empty {
  display: none;
}

.studio-page .history-grid .sample-card-media {
  aspect-ratio: 4 / 3;
}

.studio-page .history-failure-media {
  display: grid;
  min-height: 120px;
  place-items: center;
  background: linear-gradient(135deg, #26191a, #18141a);
  color: #ffaaa0;
  font-size: 11px;
  font-weight: 700;
}

.studio-page .history-failure-message {
  margin: 8px 0 0;
  color: #9aa5b5;
  font-size: 10px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.studio-page .history-delete-status {
  color: #ffaaa0;
  font-size: 9px;
}

.studio-page .history-failure-card .sample-card-actions button:disabled {
  cursor: not-allowed;
  opacity: .6;
}

.studio-page .style-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.studio-page .style-card {
  display: grid;
  min-width: 0;
  gap: 7px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 8px;
  color: #e9ece5;
  background: #12161d;
  text-align: left;
  cursor: pointer;
}

.studio-page .style-card:hover {
  border-color: rgba(215, 246, 74, .34);
  background: #171d17;
}

.studio-page .style-card b {
  overflow: hidden;
  font-size: 10px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-page .style-card small {
  font-size: 9px;
}

.studio-page .style-swatch {
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: 5px;
  background: #29323b;
}

.studio-page .style-natural {
  background: linear-gradient(140deg, #70786a, #c2a983 46%, #353d37);
}

.studio-page .style-cinematic {
  background: linear-gradient(140deg, #282738, #80684e 48%, #161a23);
}

.studio-page .style-miniature {
  background: linear-gradient(140deg, #182d2d, #8ca48a 50%, #535244);
}

.studio-page .style-landscape {
  background: linear-gradient(140deg, #313d43, #d2a55f 52%, #423d35);
}

.studio-page .preview-column:has(.results-section:not([hidden])) .sample-gallery {
  display: block;
}

.studio-page .preview-column:has(.results-section:not([hidden])) .results-section {
  margin: 0 0 12px;
}

@media (max-width: 1250px) {
  .studio-page .sample-gallery-grid,
  .studio-page .style-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .studio-page .workspace-grid {
    grid-template-columns: minmax(250px, 310px) minmax(0, 1fr);
    gap: 10px 12px;
  }

  .studio-page .sample-gallery-grid,
  .studio-page .style-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .studio-page .studio-topbar {
    height: 56px;
  }

  .studio-page .studio-layout {
    min-height: calc(100vh - 56px);
  }

  .studio-page .studio-main {
    padding: 10px 10px 28px;
  }

  .studio-page .studio-topbar nav {
    display: flex;
    gap: 13px;
    margin-left: auto;
    margin-right: 12px;
    overflow: hidden;
  }

  .studio-page .studio-topbar nav > a:last-child,
  .studio-page .wallet-pill {
    display: none;
  }

  .studio-page .studio-topbar nav :is(a, button) {
    font-size: 10px;
  }

  .studio-page .workspace-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "preview"
      "creator"
      "settings";
    gap: 10px;
  }

  .studio-page .sample-gallery,
  .studio-page .library-panel {
    padding: 13px;
  }

  .studio-page .library-tabs {
    min-height: 43px;
    gap: 20px;
    padding: 0 13px;
  }

  .studio-page .library-tab {
    height: 43px;
    font-size: 10px;
  }

  .studio-page .library-heading {
    align-items: flex-start;
  }

  .studio-page .library-heading h1 {
    font-size: 21px;
  }

  .studio-page .sample-gallery-grid,
  .studio-page .style-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .studio-page .settings-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .studio-page .capability-note {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .studio-page .studio-brand {
    gap: 6px;
  }

  .studio-page .studio-brand b,
  .studio-page .studio-brand > span {
    display: none;
  }

  .studio-page .studio-brand img {
    width: 26px;
    height: 26px;
  }

  .studio-page .studio-topbar nav {
    gap: 10px;
    margin-right: 7px;
  }

  .studio-page .studio-topbar nav :is(a, button) {
    font-size: 9px;
  }

  .studio-page .topbar-actions {
    gap: 6px;
  }

  .studio-page .signin-button {
    min-height: 30px;
    padding: 0 8px;
    font-size: 9px;
  }

  .studio-page .library-heading {
    flex-direction: column;
  }

  .studio-page .library-heading-actions {
    flex-wrap: wrap;
  }

  .studio-page .library-create-button {
    min-height: 30px;
  }

  .studio-page .gallery-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .studio-page .sample-gallery-grid,
  .studio-page .style-grid {
    grid-template-columns: 1fr;
  }

  .studio-page .sample-card-media,
  .studio-page .sample-card:nth-child(n) .sample-card-media {
    aspect-ratio: 16 / 10;
  }

  .studio-page .settings-column {
    grid-template-columns: 1fr;
  }

  .studio-page .capability-note {
    grid-column: auto;
  }
}

.studio-page .studio-topbar {
  display: grid;
  grid-template-rows: 28px 44px;
  height: 72px;
  padding: 0;
  border-color: rgba(255, 255, 255, .09);
  background: #090b0d;
}

.studio-page .studio-announcement {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  color: #fff;
  background: linear-gradient(90deg, #bc2796, #8039bd 58%, #b72b91);
  font-size: 8px;
}

.studio-page .studio-announcement > span {
  flex: 0 0 auto;
  padding: 3px 6px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .06em;
}

.studio-page .studio-announcement strong {
  overflow: hidden;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-page .studio-announcement a {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  font-weight: 700;
}

.studio-page .studio-announcement a svg {
  width: 11px;
  height: 11px;
}

.studio-page .studio-header-main {
  display: flex;
  min-width: 0;
  align-items: center;
  padding: 0 14px;
  background: #090b0d;
}

.studio-page .studio-brand {
  gap: 7px;
}

.studio-page .studio-brand img {
  width: 23px;
  height: 23px;
}

.studio-page .studio-brand b,
.studio-page .studio-brand strong {
  color: #e8ebee;
  font-size: 11px;
}

.studio-page .studio-topbar nav {
  gap: 17px;
  margin-left: 26px;
}

.studio-page .studio-topbar nav :is(a, button) {
  color: #8d9297;
  font-size: 11px;
}

.studio-page .studio-topbar nav :is(a, button):hover,
.studio-page .studio-topbar nav .nav-active,
.studio-page .studio-topbar nav .studio-nav-mode.is-active {
  color: #eef0f1;
}

.studio-page .studio-topbar nav .nav-active::after,
.studio-page .studio-topbar nav .studio-nav-mode.is-active::after {
  background: var(--ai-lime);
}

.studio-page .wallet-pill,
.studio-page .signin-button,
.studio-page .account-avatar {
  border-color: rgba(255, 255, 255, .1);
  background: #171a1d;
  color: #e5e8eb;
}

.studio-page .signin-button {
  background: #25292c;
}

.studio-page .studio-layout {
  display: block;
  min-height: calc(100vh - 58px);
  max-width: none;
}

.studio-page .studio-main {
  max-width: none;
  padding: 0 0 24px 14px;
}

.studio-page .workspace-grid {
  grid-template-columns: 276px minmax(0, 1fr);
  grid-template-areas: "creator preview";
  align-items: start;
  gap: 8px;
  margin: 0;
}

.studio-page .creator-column {
  position: sticky;
  top: 72px;
  display: flex;
  height: calc(100vh - 86px);
  max-height: calc(100vh - 86px);
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  background: #111416;
  scrollbar-color: #3b4149 transparent;
  scrollbar-width: thin;
}

.studio-page .creator-column > * {
  flex: 0 0 auto;
}

.studio-page .creator-brand {
  display: grid;
  gap: 3px;
  margin-bottom: 4px;
  padding: 10px 5px 10px;
}

.studio-page .creator-brand .tiny-label {
  color: #8b9297;
  font-size: 8px;
  letter-spacing: .12em;
}

.studio-page .creator-brand strong {
  color: #f0f2f3;
  font: 700 23px/1.1 "Space Grotesk", sans-serif;
  letter-spacing: -.03em;
}

.studio-page .workflow-toolbar {
  display: block;
}

.studio-page .workflow-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 11px;
  background: #232629;
}

.studio-page .workflow-tab {
  min-height: 36px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #9da2a6;
  background: transparent;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
}

.studio-page .workflow-tab.is-active {
  border-color: rgba(255, 255, 255, .06);
  color: #f0f2f3;
  background: #303438;
}

.studio-page .workflow-select-wrap {
  display: block;
}

.studio-page .workflow-select-wrap select {
  width: 100%;
  height: 32px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 8px;
  color: #c3c8cc;
  background: #1c2023;
  font-size: 10px;
}

.studio-page .creator-tool-actions {
  display: flex;
  gap: 5px;
}

.studio-page .style-apply-button {
  display: flex;
  flex: 1;
  min-height: 46px;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, .05);
  border-radius: 10px;
  color: #e0e4e6;
  background: #232629;
  font-size: 10px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.studio-page .style-apply-button em {
  padding: 2px 4px;
  border-radius: 4px;
  color: #292f0f;
  background: var(--ai-lime);
  font-size: 7px;
  font-style: normal;
  font-weight: 800;
}

.studio-page .style-apply-label {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  color: #9da2a6;
  font-size: 9px;
}

.studio-page .style-apply-label svg {
  width: 12px;
  height: 12px;
}

.studio-page .creator-tool-actions .library-save-button {
  width: 39px;
  min-height: 39px;
  justify-content: center;
  padding: 0;
  border-color: transparent;
  color: #949a9f;
  background: transparent;
  font-size: 0;
  cursor: pointer;
}

.studio-page .creator-tool-actions .library-save-button:hover {
  color: #e6ecce;
  background: rgba(215, 246, 74, .06);
}

.studio-page .creator-tool-actions .library-save-button svg {
  width: 12px;
  height: 12px;
}

.studio-page .creator-card {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.studio-page .creator-form-content {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  flex-direction: column;
  gap: 8px;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0 1px 8px;
  scrollbar-color: #3b4149 transparent;
  scrollbar-width: thin;
}

.studio-page #workflowModeSelect {
  width: 100%;
}

.studio-page .asset-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

.studio-page .upload-slot {
  min-height: 144px;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 11px;
  border-color: rgba(255, 255, 255, .06);
  border-style: solid;
  border-radius: 11px;
  background: #202326;
  text-align: center;
}

.studio-page .upload-slot:hover {
  border-color: rgba(215, 246, 74, .28);
  background: #24282b;
}

.studio-page .upload-slot>span:last-child {
  justify-items: center;
  gap: 4px;
}

.studio-page .upload-slot b {
  max-width: 210px;
  color: #e3e6e8;
  font-size: 10px;
  white-space: normal;
}

.studio-page .upload-slot small {
  max-width: 205px;
  color: #8e959a;
  font-size: 9px;
  line-height: 1.4;
  white-space: normal;
}

.studio-page .upload-preview {
  flex-basis: 34px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
  color: #cbd0d3;
  background: #303538;
}

.studio-page .upload-preview svg {
  width: 15px;
  height: 15px;
}

.studio-page .prompt-toggle-row {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  border-radius: 9px;
  color: #e1e4e6;
  background: #232629;
  font-size: 10px;
  font-weight: 600;
}

.studio-page .prompt-toggle-row input {
  width: 26px;
  height: 15px;
  margin: 0;
  appearance: none;
  border-radius: 999px;
  background: #62686d;
  cursor: pointer;
  transition: background .16s ease;
}

.studio-page .prompt-toggle-row input::before {
  display: block;
  width: 11px;
  height: 11px;
  margin: 2px;
  border-radius: 50%;
  background: #f5f6f7;
  content: "";
  transition: transform .16s ease;
}

.studio-page .prompt-toggle-row input:checked {
  background: #8e9d26;
}

.studio-page .prompt-toggle-row input:checked::before {
  transform: translateX(11px);
}

.studio-page .prompt-toggle-row input:disabled {
  cursor: not-allowed;
  opacity: .48;
}

.studio-page .creator-card .prompt-field textarea {
  min-height: 72px;
  margin: 0;
  padding: 10px;
  border-color: rgba(255, 255, 255, .08);
  border-radius: 9px;
  color: #e4e8ea;
  background: #1d2124;
  font-size: 11px;
}

.studio-page .creator-card .prompt-field textarea::placeholder {
  color: #848b90;
}

.studio-page .consent-row {
  margin: 0;
  color: #92999e;
  font-size: 8px;
  line-height: 1.45;
}

.studio-page .consent-row input {
  accent-color: var(--ai-lime);
}

.studio-page .creator-accordion {
  border: 0;
  border-radius: 9px;
  background: #232629;
}

.studio-page .creator-accordion summary {
  display: flex;
  min-height: 37px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 10px;
  color: #b6bcc0;
  font-size: 9px;
  list-style: none;
  cursor: pointer;
}

.studio-page .creator-accordion summary::-webkit-details-marker {
  display: none;
}

.studio-page .creator-accordion summary::after {
  width: 7px;
  height: 7px;
  margin-left: 4px;
  border-top: 1px solid #8e959a;
  border-right: 1px solid #8e959a;
  content: "";
  transform: rotate(45deg);
  transition: transform .16s ease;
}

.studio-page .creator-accordion[open] summary::after {
  transform: rotate(135deg);
}

.studio-page .creator-accordion summary strong {
  margin-left: auto;
  color: #e2e5e7;
  font-size: 10px;
  font-weight: 600;
}

.studio-page .creator-accordion-body {
  padding: 0 10px 10px;
}

.studio-page .creator-accordion .setting-row {
  gap: 5px;
  margin-top: 8px;
}

.studio-page .creator-accordion .setting-row label {
  color: #92999e;
  font-size: 9px;
}

.studio-page .creator-accordion .setting-row select {
  height: 31px;
  border-color: rgba(255, 255, 255, .08);
  color: #e2e5e7;
  background: #171a1d;
  font-size: 9px;
}

.studio-page .creator-accordion .settings-note {
  margin-top: 8px;
}

.studio-page .price-estimate {
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  padding: 9px;
  border-color: rgba(255, 255, 255, .06);
  border-radius: 9px;
  background: #1a1e20;
}

.studio-page .price-estimate .tiny-label {
  color: #8b9297;
  font-size: 7px;
}

.studio-page .price-estimate strong {
  color: #e6ebd0;
  font-size: 11px;
}

.studio-page .price-estimate-detail {
  gap: 2px;
  color: #969da1;
  font-size: 8px;
}

.studio-page .price-estimate-detail small {
  font-size: 7px;
}

.studio-page .creator-footer {
  position: relative;
  z-index: 3;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
  margin-top: 0;
  padding: 7px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: #111416;
}

.studio-page .creator-footer .privacy-note {
  color: #899095;
  font-size: 7px;
}

.studio-page .creator-footer .price-estimate {
  grid-template-columns: minmax(0, 1fr);
  gap: 3px;
  padding: 6px 8px;
}

.studio-page .creator-footer .price-estimate > div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
}

.studio-page .creator-footer .price-estimate-detail small {
  display: none;
}

.studio-page .creator-footer .status-banner {
  margin: 0;
}

.studio-page .creator-footer .notice-row {
  margin: 0;
  padding: 7px 8px;
  border-color: rgba(240, 178, 98, .18);
  border-radius: 8px;
  font-size: 8px;
  line-height: 1.4;
}

.studio-page .creator-footer .privacy-note {
  margin: 0;
}

.studio-page .creator-footer .generate-button {
  min-height: 39px;
  justify-content: center;
  border-radius: 9px;
  color: #343a17;
  background: #9eac26;
  font-size: 10px;
}

.studio-page .creator-footer .generate-button:hover {
  background: #bacb32;
}

.studio-page .capability-note {
  padding: 1px 4px;
  color: #858d92;
  font-size: 8px;
}

.studio-page .saved-media-card {
  border-color: rgba(255, 255, 255, .07);
  border-radius: 9px;
  background: #1b1f21;
}

.studio-page .preview-column {
  grid-area: preview;
  min-width: 0;
}

.studio-page .library-shell {
  min-height: calc(100vh - 96px);
  border-color: rgba(255, 255, 255, .08);
  border-radius: 14px;
  background: #0c0f11;
}

.studio-page .library-tabs {
  min-height: 39px;
  padding: 5px 12px 0;
  border-color: rgba(255, 255, 255, .08);
}

.studio-page .library-tab {
  min-height: 30px;
  padding: 0 9px;
  color: #899095;
  font-size: 9px;
}

.studio-page .library-tab.is-active {
  border-color: rgba(255, 255, 255, .08);
  color: #edf0f1;
  background: #202427;
}

.studio-page .sample-gallery {
  padding: 0 24px 7px;
}

.studio-page .library-heading {
  justify-content: center;
  padding: 18px 12px 49px;
  text-align: center;
}

.studio-page .library-heading h1 {
  margin: 0;
  color: #f1f3f4;
  font: 700 22px/1.2 "Space Grotesk", sans-serif;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.studio-page .library-heading p {
  max-width: 480px;
  margin: 7px auto 0;
  color: #8b9297;
  font-size: 10px;
  line-height: 1.55;
}

.studio-page .gallery-toolbar {
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.studio-page .sample-filters {
  min-width: 0;
  gap: 15px;
  overflow-x: auto;
  padding: 0 1px;
  border: 0;
  border-radius: 0;
  background: transparent;
  scrollbar-width: none;
}

.studio-page .sample-filters::-webkit-scrollbar {
  display: none;
}

.studio-page .sample-filters button {
  position: relative;
  flex: 0 0 auto;
  padding: 6px 1px 10px;
  border: 0;
  border-radius: 0;
  color: #777e83;
  background: transparent;
  font-size: 9px;
}

.studio-page .sample-filters button.is-active {
  color: #eef0f1;
  background: transparent;
}

.studio-page .sample-filters button.is-active::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 2px;
  background: #e8ecee;
  content: "";
}

.studio-page .gallery-sort {
  flex: 0 0 auto;
  gap: 5px;
  padding: 0;
  border: 0;
  background: transparent;
}

.studio-page .gallery-sort button {
  min-height: 27px;
  padding: 0 9px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #838b90;
  background: transparent;
  font-size: 8px;
}

.studio-page .gallery-sort button.is-active {
  border-color: rgba(255, 255, 255, .06);
  color: #edf0f1;
  background: #252a2d;
}

.studio-page .sample-gallery-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 7px;
  align-items: stretch;
  gap: 14px;
}

.studio-page #sampleGalleryGrid .sample-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 13px;
  background: #15191b;
  box-shadow: none;
}

.studio-page #sampleGalleryGrid .sample-card:nth-of-type(4n + 1),
.studio-page #sampleGalleryGrid .sample-card:nth-of-type(4n + 2) {
  grid-row: span 9;
}

.studio-page #sampleGalleryGrid .sample-card:nth-of-type(4n + 3),
.studio-page #sampleGalleryGrid .sample-card:nth-of-type(4n + 4) {
  grid-row: span 21;
}

.studio-page #sampleGalleryGrid .sample-card-media {
  position: absolute;
  inset: 0;
  height: 100%;
  aspect-ratio: auto;
  border-radius: inherit;
  background: #15191b;
}

.studio-page #sampleGalleryGrid .sample-card-media img,
.studio-page #sampleGalleryGrid .sample-card-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.studio-page #sampleGalleryGrid .sample-card:hover .sample-card-media img,
.studio-page #sampleGalleryGrid .sample-card:hover .sample-card-media video {
  transform: scale(1.025);
}

.studio-page #sampleGalleryGrid .sample-card-info {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  z-index: 1;
  opacity: 0;
  transition: opacity .16s ease;
}

.studio-page #sampleGalleryGrid .sample-card-info span {
  color: #d7f64a;
  font-size: 7px;
}

.studio-page #sampleGalleryGrid .sample-card-info h3 {
  margin: 4px 0 0;
  color: #fff;
  font-size: 10px;
}

.studio-page #sampleGalleryGrid .sample-card-actions {
  position: absolute;
  top: 9px;
  right: 9px;
  z-index: 2;
  opacity: 0;
  transition: opacity .16s ease;
}

.studio-page #sampleGalleryGrid .sample-card-actions button {
  min-height: 27px;
  padding: 0 8px;
  border-color: rgba(255, 255, 255, .16);
  border-radius: 7px;
  color: #f5f6f6;
  background: rgba(10, 12, 14, .72);
  font-size: 8px;
  backdrop-filter: blur(7px);
}

.studio-page #sampleGalleryGrid .sample-card:hover .sample-card-info,
.studio-page #sampleGalleryGrid .sample-card:hover .sample-card-actions,
.studio-page #sampleGalleryGrid .sample-card:focus-within .sample-card-info,
.studio-page #sampleGalleryGrid .sample-card:focus-within .sample-card-actions {
  opacity: 1;
}

.studio-page .personal-workflow-card {
  grid-row: span 9 !important;
}

.studio-page .personal-workflow-empty {
  grid-column: 1 / -1;
  grid-row: auto;
  min-height: 70px;
}

.studio-page .sample-gallery-note {
  display: none;
  margin-top: 18px;
  color: #7e868a;
  font-size: 8px;
}

.studio-page .results-section {
  margin-bottom: 10px;
  border-color: rgba(255, 255, 255, .08);
  background: #101416;
}

@media (max-width: 1100px) {
  .studio-page .workspace-grid {
    grid-template-columns: 255px minmax(0, 1fr);
  }

  .studio-page .sample-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .studio-page #sampleGalleryGrid .sample-card:nth-of-type(3n + 1) {
    grid-row: span 9;
  }

  .studio-page #sampleGalleryGrid .sample-card:nth-of-type(3n + 2),
  .studio-page #sampleGalleryGrid .sample-card:nth-of-type(3n + 3) {
    grid-row: span 18;
  }
}

@media (max-width: 760px) {
  .studio-page .studio-topbar {
    grid-template-rows: 25px 48px;
    height: 73px;
    padding: 0;
  }

  .studio-page .studio-header-main {
    padding: 0 12px;
  }

  .studio-page .studio-announcement {
    padding: 0 10px;
    font-size: 7px;
  }

  .studio-page .studio-announcement > span {
    display: none;
  }

  .studio-page .studio-layout {
    min-height: calc(100vh - 73px);
  }

  .studio-page .workspace-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "preview"
      "creator";
    gap: 12px;
  }

  .studio-page .creator-column {
    position: static;
    height: auto;
    max-height: none;
    overflow: hidden;
  }

  .studio-page .creator-card {
    flex: 0 0 auto;
    overflow: visible;
  }

  .studio-page .creator-form-content {
    overflow: visible;
  }

  .studio-page .creator-footer {
    position: static;
  }

  .studio-page .sample-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 7px;
  }

  .studio-page #sampleGalleryGrid .sample-card:nth-of-type(2n + 1) {
    grid-row: span 9;
  }

  .studio-page #sampleGalleryGrid .sample-card:nth-of-type(2n + 2) {
    grid-row: span 15;
  }
}

@media (max-width: 420px) {
  .studio-page .studio-main {
    padding: 0 0 18px 9px;
  }

  .studio-page .creator-column {
    padding: 7px;
  }

  .studio-page .sample-gallery {
    padding-right: 14px;
    padding-left: 14px;
  }

  .studio-page .library-heading {
    padding: 21px 8px 24px;
  }

  .studio-page .library-heading h1 {
    font-size: 18px;
  }

  .studio-page .gallery-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .studio-page .sample-gallery-grid {
    grid-template-columns: 1fr;
  }

  .studio-page #sampleGalleryGrid .sample-card:nth-of-type(n) {
    grid-row: span 10;
  }
}

.studio-page .studio-generation-progress {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 18px 0;
  padding: 18px;
  border: 1px solid rgba(215, 246, 74, .2);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(215, 246, 74, .055), rgba(17, 20, 22, .92) 55%);
}

.studio-page .studio-generation-progress[hidden] {
  display: none;
}

.studio-page .generation-progress-spinner {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border: 2px solid rgba(215, 246, 74, .2);
  border-top-color: var(--ai-lime);
  border-radius: 50%;
  animation: studio-progress-spin .8s linear infinite;
}

.studio-page .generation-progress-content {
  min-width: 0;
  flex: 1;
}

.studio-page .generation-progress-content > strong {
  color: #eef0e7;
  font-size: 15px;
}

.studio-page .generation-progress-content > p {
  margin: 6px 0 12px;
  color: #a9afb1;
  font-size: 12px;
  line-height: 1.55;
}

.studio-page .generation-progress-track {
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .09);
}

.studio-page .generation-progress-track > span {
  display: block;
  width: 34%;
  height: 100%;
  border-radius: inherit;
  background: var(--ai-lime);
  animation: studio-progress-slide 1.5s ease-in-out infinite alternate;
}

.studio-page .generation-progress-content > small {
  display: block;
  margin-top: 9px;
  color: #777f82;
  font-size: 10px;
}

.studio-page .generation-retry-button {
  margin-top: 11px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 8px;
  color: #dce5b5;
  background: #202827;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
}

.studio-page .generation-retry-button:hover {
  border-color: rgba(215, 246, 74, .4);
  background: #283126;
}

.studio-page .studio-generation-progress[data-state="error"] {
  border-color: rgba(243, 145, 128, .35);
  background: rgba(85, 37, 32, .2);
}

.studio-page .studio-generation-progress[data-state="error"] .generation-progress-spinner {
  border-color: rgba(243, 145, 128, .35);
  border-top-color: #f39180;
  animation: none;
}

.studio-page .studio-generation-progress[data-state="error"] .generation-progress-track {
  display: none;
}

@keyframes studio-progress-spin {
  to { transform: rotate(360deg); }
}

@keyframes studio-progress-slide {
  from { transform: translateX(0); }
  to { transform: translateX(190%); }
}

@media (prefers-reduced-motion: reduce) {
  .studio-page .generation-progress-spinner,
  .studio-page .generation-progress-track > span {
    animation: none;
  }
}

.generation-confirm-dialog {
  width: min(440px, calc(100vw - 28px));
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  color: #eef0e7;
  background: #111719;
  box-shadow: 0 28px 100px rgba(0, 0, 0, .7);
}

.generation-confirm-dialog::backdrop {
  background: rgba(3, 5, 8, .76);
  backdrop-filter: blur(8px);
}

.generation-confirm-content {
  padding: 23px;
}

.generation-confirm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.generation-confirm-header > span {
  color: #a7b26a;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
}

.generation-confirm-header > button {
  width: 31px;
  height: 31px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 9px;
  color: #c4c9c5;
  background: #1c2325;
  font-size: 21px;
  line-height: 1;
}

.generation-confirm-content h2 {
  margin: 15px 0 0;
  color: #f0f2ed;
  font: 600 22px/1.2 "Space Grotesk", sans-serif;
}

.generation-confirm-note {
  margin: 7px 0 17px;
  color: #9da5a5;
  font-size: 12px;
  line-height: 1.5;
}

.generation-confirm-details {
  display: grid;
  gap: 9px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 11px;
  background: #171e20;
}

.generation-confirm-details > div,
.generation-confirm-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.generation-confirm-details span,
.generation-confirm-total > span {
  color: #90999a;
  font-size: 11px;
}

.generation-confirm-details strong {
  color: #dce1dc;
  font-size: 11px;
  font-weight: 600;
  text-align: right;
}

.generation-confirm-total {
  margin-top: 12px;
  padding: 15px 13px;
  border: 1px solid rgba(215, 246, 74, .22);
  border-radius: 11px;
  background: rgba(215, 246, 74, .06);
}

.generation-confirm-total strong {
  color: #eff5cf;
  font: 600 23px/1 "Space Grotesk", sans-serif;
}

.generation-confirm-disclosure {
  margin: 11px 1px 0;
  color: #939c9c;
  font-size: 10px;
  line-height: 1.5;
}

.generation-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 19px;
}

.generation-confirm-actions button {
  min-width: 95px;
  min-height: 39px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.generation-confirm-cancel {
  color: #d0d5d2;
  background: #1b2224;
}

.generation-confirm-submit {
  border-color: transparent !important;
  color: #20250e;
  background: #d7f64a;
}

.generation-confirm-actions button:focus-visible,
.generation-confirm-header > button:focus-visible {
  outline: 2px solid #d7f64a;
  outline-offset: 2px;
}

.studio-page #historyGrid.history-grid {
  grid-auto-flow: row;
  grid-auto-rows: auto;
  align-items: start;
}

.studio-page #historyGrid .sample-card {
  grid-row: auto;
}

.studio-page #historyTab {
  display: flex;
  align-items: center;
  gap: 7px;
}

.studio-page .history-count {
  display: inline-grid;
  min-width: 17px;
  height: 17px;
  place-items: center;
  padding: 0 5px;
  border: 1px solid rgba(215, 246, 74, .2);
  border-radius: 999px;
  color: #d7f64a;
  background: rgba(215, 246, 74, .08);
  font-size: 9px;
  font-weight: 700;
}

.studio-page .studio-output-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 9px;
}

.studio-page .history-grid .studio-output-actions {
  padding: 0 9px 10px;
}

.studio-page .studio-output-actions > a,
.studio-page .studio-output-actions > button {
  display: inline-flex;
  min-height: 31px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid rgba(215, 246, 74, .2);
  border-radius: 7px;
  color: #dce5b5;
  background: #20261e;
  font-size: 10px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.studio-page .studio-output-actions > a:hover,
.studio-page .studio-output-actions > button:hover {
  border-color: rgba(215, 246, 74, .45);
  background: #293125;
}

.studio-page .studio-output-actions > button:disabled {
  cursor: wait;
  opacity: .65;
}

.studio-page .studio-output-actions > .studio-download-status {
  flex-basis: 100%;
  margin: 0;
  color: #ffb7ab;
  font-size: 9px;
  line-height: 1.45;
}

.studio-page .studio-output-actions > :focus-visible {
  outline: 2px solid #d7f64a;
  outline-offset: 2px;
}

.studio-page .public-creation-note {
  margin: 10px 0 0;
  color: #b6bdab;
  font-size: 10px;
  line-height: 1.5;
}

.studio-page .studio-visibility-control {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  margin: 0 9px 10px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 7px;
  color: #dce5b5;
  background: #171d19;
  cursor: pointer;
}

.studio-page .result-item > .studio-visibility-control {
  margin: 0 9px 9px;
}

.studio-page .studio-visibility-control input {
  position: relative;
  flex: 0 0 30px;
  width: 30px;
  height: 17px;
  margin: 0;
  appearance: none;
  border: 1px solid #737b6b;
  border-radius: 999px;
  background: #303633;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}

.studio-page .studio-visibility-control input::before {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #f0f2e9;
  content: "";
  transition: transform .15s ease;
}

.studio-page .studio-visibility-control input:checked {
  border-color: #d7f64a;
  background: #718327;
}

.studio-page .studio-visibility-control input:checked::before {
  transform: translateX(13px);
}

.studio-page .studio-visibility-control input:focus-visible {
  outline: 2px solid #d7f64a;
  outline-offset: 2px;
}

.studio-page .studio-visibility-control input:disabled {
  cursor: wait;
  opacity: .6;
}

.studio-page .studio-visibility-label {
  min-width: 0;
  color: #e1e9c2;
  font-size: 9px;
  font-weight: 600;
}

.studio-page .studio-visibility-status {
  margin-left: auto;
  color: #929b91;
  font-size: 8px;
}

.studio-page .community-creation-card .sample-card-media audio {
  position: absolute;
  top: 50%;
  left: 8px;
  width: calc(100% - 16px);
  transform: translateY(-50%);
}

.studio-page #sampleGalleryGrid .community-creation-card .sample-card-info,
.studio-page #sampleGalleryGrid .community-creation-card .sample-card-actions {
  opacity: 1;
}

.studio-page .community-creation-card .sample-card-info h3 {
  display: -webkit-box;
  overflow: hidden;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.studio-page .community-creation-card .community-prompt-details {
  margin-top: 6px;
  color: #b7c0b9;
  font-size: 9px;
}

.studio-page .community-prompt-details summary {
  width: fit-content;
  color: #d7f64a;
  cursor: pointer;
}

.studio-page .community-prompt-details p {
  margin: 6px 0 0;
  color: #d5dad5;
  font-size: 9px;
  line-height: 1.45;
  white-space: normal;
  overflow-wrap: anywhere;
}

.studio-page .community-library-error {
  grid-column: 1 / -1;
  color: #ffb7ab;
  font-size: 11px;
}

/* Studio workflow density and tablet layout */
.studio-page .workflow-launcher {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-height: 188px;
  margin: 0;
  padding: 2px 3px 2px 0;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-color: #3b4149 transparent;
  scrollbar-width: thin;
}

.studio-page .workflow-launcher button {
  min-height: 54px;
  padding: 9px;
  border-color: rgba(255, 255, 255, .07);
  color: #e3e7e9;
  background: #1c2023;
}

.studio-page .workflow-launcher button:hover,
.studio-page .workflow-launcher button.is-active {
  border-color: rgba(215, 246, 74, .3);
  background: #272d25;
}

.studio-page .workflow-launcher b {
  font-size: 9px;
  line-height: 1.25;
}

.studio-page .workflow-launcher small {
  display: -webkit-box;
  overflow: hidden;
  color: #8e969b;
  font-size: 7px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@media (max-width: 960px) {
  .studio-page .studio-topbar {
    grid-template-rows: 25px 48px;
    height: 73px;
  }

  .studio-page .studio-header-main {
    min-width: 0;
    padding: 0 14px;
  }

  .studio-page .studio-topbar nav {
    min-width: 0;
    gap: 17px;
    margin-left: 24px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .studio-page .studio-topbar nav::-webkit-scrollbar {
    display: none;
  }

  .studio-page .studio-main {
    padding: 12px;
  }

  .studio-page .workspace-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "creator"
      "preview";
    gap: 12px;
  }

  .studio-page .creator-column {
    position: static;
    height: auto;
    max-height: none;
    overflow: visible;
    padding: 12px;
  }

  .studio-page .creator-brand {
    padding: 3px 2px 8px;
  }

  .studio-page .creator-brand strong {
    font-size: 22px;
  }

  .studio-page .workflow-launcher {
    display: grid;
    grid-auto-columns: minmax(145px, 32vw);
    grid-auto-flow: column;
    grid-template-columns: none;
    max-height: none;
    padding: 0 0 5px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
  }

  .studio-page .workflow-launcher button {
    min-height: 64px;
    scroll-snap-align: start;
  }

  .studio-page .creator-card,
  .studio-page .creator-form-content {
    flex: 0 0 auto;
    overflow: visible;
  }

  .studio-page .asset-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .studio-page .upload-slot {
    min-height: 112px;
  }

  .studio-page .creator-footer {
    position: static;
  }

  .studio-page .sample-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .studio-page .studio-topbar nav {
    display: none;
  }

  .studio-page .studio-announcement strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .studio-page .creator-column {
    padding: 10px;
  }

  .studio-page .creator-brand strong {
    font-size: 20px;
  }

  .studio-page .workflow-launcher {
    grid-auto-columns: minmax(138px, 72vw);
  }

  .studio-page .asset-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .studio-page .sample-gallery {
    padding-right: 12px;
    padding-left: 12px;
  }

  .studio-page .sample-gallery-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .studio-page #sampleGalleryGrid .sample-card:nth-of-type(n) {
    grid-row: span 12;
  }
}

.studio-page .files-panel .library-heading {
  padding-bottom: 20px;
}

.studio-page .media-trimmer {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 10px;
  background: #111719;
}

.studio-page .media-trimmer-heading h2,
.studio-page .files-list-heading h2 {
  margin: 0;
  color: #e8ece8;
  font: 600 13px "Space Grotesk", sans-serif;
}

.studio-page .media-trimmer-heading p {
  margin: 5px 0 12px;
  color: #899294;
  font-size: 10px;
  line-height: 1.5;
}

.studio-page .trim-file-picker {
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px dashed rgba(215, 246, 74, .28);
  border-radius: 8px;
  color: #d7f64a;
  background: rgba(215, 246, 74, .035);
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
}

.studio-page .trim-file-picker input {
  width: 100%;
  color: #cbd1ce;
  font-size: 10px;
}

.studio-page .trim-file-picker small {
  color: #818a8c;
  font-size: 9px;
  font-weight: 400;
}

.studio-page .trim-format-note {
  margin: 8px 0 0;
  color: #858f8e;
  font-size: 9px;
  line-height: 1.5;
}

.studio-page .trim-preview {
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  background: #090c0d;
}

.studio-page .trim-preview video,
.studio-page .trim-preview audio {
  display: block;
  width: 100%;
  max-height: 320px;
}

.studio-page .trim-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.studio-page .trim-controls > label {
  display: grid;
  gap: 6px;
  color: #b7c0bd;
  font-size: 10px;
  font-weight: 600;
}

.studio-page .trim-controls > label span {
  display: inline;
  color: #7e8887;
  font-size: 8px;
  font-weight: 400;
}

.studio-page .trim-controls input {
  width: 100%;
  min-height: 34px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 6px;
  color: #e2e7e2;
  background: #0c1012;
  font-size: 11px;
}

.studio-page .trim-selection-note,
.studio-page .trim-actions {
  grid-column: 1 / -1;
}

.studio-page .trim-selection-note {
  margin: 0;
  color: #929b97;
  font-size: 9px;
}

.studio-page .trim-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.studio-page .trim-save-button {
  border-color: rgba(215, 246, 74, .25);
  color: #e4efb1;
  background: #222a1e;
}

.studio-page .trim-actions button:disabled {
  cursor: not-allowed;
  opacity: .5;
}

.studio-page .trim-message.is-error {
  color: #ff9a8d;
}

.studio-page .files-list {
  margin-top: 14px;
}

.studio-page .files-list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.studio-page .files-list-heading h2 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.studio-page .files-list-heading h2 b {
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  padding: 0 5px;
  border-radius: 5px;
  color: #d7f64a;
  background: rgba(215, 246, 74, .1);
  font: 600 9px "DM Sans", sans-serif;
}

.studio-page .files-list .saved-media-note {
  margin: 8px 0 0;
  color: #838d8d;
  font-size: 9px;
  line-height: 1.5;
}

.studio-page .saved-media-item > img,
.studio-page .saved-media-item > video,
.studio-page .saved-media-item > audio {
  display: block;
  width: 100%;
  height: 96px;
  object-fit: cover;
  background: #090b10;
}

.studio-page .saved-media-item > audio {
  height: 54px;
  padding: 7px;
  object-fit: contain;
}

@media (max-width: 520px) {
  .studio-page .trim-controls {
    grid-template-columns: 1fr;
  }

  .studio-page .trim-selection-note,
  .studio-page .trim-actions {
    grid-column: auto;
  }
}
