:root {
  --ui-bg: #f5f7f5;
  --ui-panel: #ffffff;
  --ui-soft: #f8faf9;
  --ui-line: #dce5e1;
  --ui-ink: #17211f;
  --ui-muted: #66736f;
  --ui-teal: #075c55;
  --ui-teal-strong: #034942;
  --ui-teal-soft: #e6f3f0;
  --ui-rose: #d96d86;
  --ui-rose-soft: #fff0f4;
  --ui-mint: #23845f;
  --ui-mint-soft: #e8f6f0;
  --ui-gold: #c99b55;
  --ui-gold-soft: #fff6e7;
  --ui-blue: #315c9b;
  --ui-blue-soft: #edf3ff;
  --ui-danger: #df3d43;
  --ui-danger-soft: #fff0f0;
  --ui-radius: 8px;
  --ui-shadow: 0 10px 28px rgba(23, 33, 31, 0.08);
  --ui-font: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 0;
  background: var(--ui-bg) !important;
  color: var(--ui-ink) !important;
  font-family: var(--ui-font) !important;
  letter-spacing: 0 !important;
}

body {
  margin: 0;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0 !important;
}

button {
  cursor: pointer;
}

.app-shell {
  display: grid !important;
  grid-template-columns: 220px minmax(0, 1fr) !important;
  min-height: 100vh !important;
  background: var(--ui-bg) !important;
}

.sidebar-DISABLED {
  position: sticky !important;
  top: 0 !important;
  z-index: 30 !important;
  display: flex !important;
  flex-direction: column !important;
  width: 220px !important;
  height: 100vh !important;
  padding: 22px 16px !important;
  border: 0 !important;
  background: linear-gradient(180deg, #075c55 0%, #034942 100%) !important;
  color: #eff8f5 !important;
}

.brand-mark-DISABLED {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 54px !important;
  margin: 0 0 22px !important;
}

.brand-icon {
  width: 34px !important;
  height: 34px !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #fff6e7, #e6f3f0) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4) !important;
}

.brand-title {
  max-width: 148px !important;
  color: #ffffff !important;
  font-size: 17px !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
}

.nav-list-DISABLED {
  display: grid !important;
  gap: 8px !important;
  margin: 0 !important;
}

.sidebar-DISABLED .nav-item-DISABLED {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  min-height: 42px !important;
  width: 100% !important;
  padding: 0 14px 0 46px !important;
  border: 0 !important;
  border-radius: var(--ui-radius) !important;
  background: #0b5c54 !important;
  color: rgba(255, 255, 255, 0.86) !important;
  box-shadow: none !important;
  text-align: left !important;
}

.sidebar-DISABLED .nav-item-DISABLED::before {
  content: "" !important;
  position: absolute !important;
  left: 16px !important;
  top: 50% !important;
  width: 18px !important;
  height: 18px !important;
  border-radius: 6px !important;
  background: #b8d0cb !important;
  transform: translateY(-50%) !important;
}

.sidebar-DISABLED .nav-item-DISABLED:hover,
.sidebar-DISABLED .nav-item.active {
  background: #16766e !important;
  color: #ffffff !important;
}

.sidebar-DISABLED .nav-item.active::before {
  background: #ffffff !important;
}

.sidebar-DISABLED .nav-item-DISABLED span {
  display: block !important;
  color: inherit !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

.version-card {
  margin-top: auto !important;
  padding: 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 10px !important;
  background: #0b5c54 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.version-card .label,
.version-card span,
.version-card button {
  color: #b9d4cf !important;
}

.main {
  min-width: 0 !important;
  width: 100% !important;
  padding: 0 !important;
  background: var(--ui-bg) !important;
}

.topbar,
.section-close-bar {
  position: sticky !important;
  top: 0 !important;
  z-index: 20 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 70px !important;
  padding: 0 28px !important;
  border-bottom: 1px solid var(--ui-line) !important;
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(10px) !important;
}

.topbar h1,
.section-exit-title {
  margin: 0 !important;
  color: var(--ui-ink) !important;
  font-size: 24px !important;
  font-weight: 900 !important;
}

.account-actions {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.view {
  width: 100% !important;
  max-width: none !important;
  padding: 24px 28px 34px !important;
}

#homeView {
  padding: 0 !important;
}

body[data-current-view="home"] .ref-home {
  max-width: none !important;
  padding: 0 !important;
  background: var(--ui-bg) !important;
}

body[data-current-view="home"] .desktop-dashboard {
  display: block !important;
  width: 100% !important;
  padding: 24px 28px 34px !important;
}

.desktop-shell-top,
.desktop-hero,
.desktop-panel,
.ref-panel,
.panel,
.subpage-hero,
.work-card,
.backend-preview-box,
.admin-section-panel,
.admin-fold-panel,
.account-panel,
.aesthetic-library-panel,
.aesthetic-preview-panel,
.site-info-dialog,
.feedback-dialog {
  border: 1px solid var(--ui-line) !important;
  border-radius: var(--ui-radius) !important;
  background: var(--ui-panel) !important;
  box-shadow: none !important;
}

.desktop-shell-top {
  min-height: 70px !important;
  margin: 0 0 20px !important;
  padding: 0 20px !important;
}

.desktop-hero {
  min-height: 158px !important;
  margin: 0 0 18px !important;
  padding: 24px !important;
  background:
    linear-gradient(90deg, rgba(230, 243, 240, 0.92), rgba(255, 246, 231, 0.68)),
    var(--ui-panel) !important;
}

.desktop-hero p,
.desktop-panel-head button,
.ref-panel-head button,
.panel-heading > span,
.subpage-hero span {
  color: var(--ui-teal) !important;
}

.desktop-hero h2,
.subpage-hero h2,
.panel-heading h2,
.desktop-panel h3,
.ref-panel h2 {
  color: var(--ui-ink) !important;
  letter-spacing: 0 !important;
}

.desktop-scene-grid,
body[data-current-view="home"] .desktop-scene-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin: 0 0 18px !important;
}

.desktop-scene-card,
body[data-current-view="home"] .desktop-scene-card {
  display: grid !important;
  min-height: 134px !important;
  padding: 18px !important;
  border: 1px solid var(--ui-line) !important;
  border-radius: var(--ui-radius) !important;
  background: var(--ui-panel) !important;
  box-shadow: none !important;
  color: var(--ui-ink) !important;
  text-align: left !important;
}

.desktop-scene-card span {
  display: inline-flex !important;
  width: fit-content !important;
  min-height: 28px !important;
  padding: 0 10px !important;
  align-items: center !important;
  border-radius: 999px !important;
  background: var(--ui-teal-soft) !important;
  color: var(--ui-teal) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

.desktop-scene-card h3 {
  margin: 14px 0 6px !important;
  color: var(--ui-ink) !important;
  font-size: 20px !important;
  line-height: 1.25 !important;
}

.desktop-scene-card p,
.desktop-scene-card strong {
  color: var(--ui-muted) !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

.scene-ad span,
.ref-scene-ad span {
  background: var(--ui-rose-soft) !important;
  color: var(--ui-rose) !important;
}

.scene-compare span,
.ref-scene-compare span {
  background: var(--ui-mint-soft) !important;
  color: var(--ui-mint) !important;
}

.scene-chat span,
.ref-scene-chat span {
  background: var(--ui-blue-soft) !important;
  color: var(--ui-blue) !important;
}

.scene-aesthetic span,
.ref-scene-aesthetic span {
  background: var(--ui-gold-soft) !important;
  color: var(--ui-gold) !important;
}

.desktop-dashboard-grid {
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

.desktop-trend,
.desktop-status,
.desktop-material {
  grid-column: span 4 !important;
}

.desktop-news-panel {
  grid-column: 1 / -1 !important;
}

.workspace-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 420px) !important;
  gap: 18px !important;
  align-items: start !important;
}

.workspace-grid.slim {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

#createView .form-panel,
#createView .result-panel {
  min-width: 0 !important;
}

.panel {
  padding: 0 !important;
  overflow: hidden !important;
}

.panel-heading {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 64px !important;
  padding: 18px 20px !important;
  border-bottom: 1px solid var(--ui-line) !important;
}

.panel-heading h2 {
  margin: 0 !important;
  font-size: 22px !important;
  font-weight: 900 !important;
}

.panel-heading span,
.status-pill,
.filter-chip,
.category-intro,
.aesthetic-parameter-list span {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 26px !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
  background: var(--ui-teal-soft) !important;
  color: var(--ui-teal) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

.form-stack {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  padding: 20px !important;
}

.field-group,
.advanced-create-grid,
.two-col,
.admin-channel-grid,
.admin-code-form-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

.form-stack label,
.field-group label,
.advanced-create-grid label,
.feedback-form label {
  display: grid !important;
  min-width: 0 !important;
  gap: 8px !important;
}

.form-stack label > span,
.field-group label > span,
.advanced-create-grid label > span,
.feedback-form label > span,
.admin-channel-grid label > span {
  color: var(--ui-muted) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

input,
select,
textarea {
  width: 100% !important;
  min-height: 44px !important;
  padding: 10px 12px !important;
  border: 1px solid var(--ui-line) !important;
  border-radius: var(--ui-radius) !important;
  background: #ffffff !important;
  color: var(--ui-ink) !important;
  box-shadow: none !important;
  outline: 0 !important;
}

textarea {
  min-height: 118px !important;
  resize: vertical !important;
}

#createView .extra-text-field {
  order: 80 !important;
}

#createView .extra-text-field textarea {
  min-height: 168px !important;
}

#createView .form-actions {
  order: 90 !important;
}

.category-tabs,
body[data-current-view="create"] #createView .category-tabs {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.category-card,
body[data-current-view="create"] #createView .category-card {
  display: grid !important;
  grid-template-columns: 38px minmax(0, 1fr) !important;
  grid-template-areas: "icon title" "icon desc" !important;
  align-items: center !important;
  min-height: 78px !important;
  padding: 12px !important;
  border: 1px solid var(--ui-line) !important;
  border-radius: var(--ui-radius) !important;
  background: #ffffff !important;
  color: var(--ui-ink) !important;
  box-shadow: none !important;
  text-align: left !important;
}

.category-card.active {
  border-color: #8bd8ca !important;
  background: var(--ui-teal-soft) !important;
}

.category-card .module-icon {
  grid-area: icon !important;
  display: grid !important;
  place-items: center !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: var(--ui-radius) !important;
  background: #ffffff !important;
  color: var(--ui-teal) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
}

.category-card strong {
  grid-area: title !important;
  color: var(--ui-ink) !important;
  font-size: 15px !important;
  line-height: 1.2 !important;
}

.category-card .category-intro {
  grid-area: desc !important;
  display: block !important;
  min-height: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  color: var(--ui-muted) !important;
  font-size: 12px !important;
  line-height: 1.3 !important;
}

.choice-picker {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

.choice-picker button {
  min-height: 36px !important;
  padding: 0 12px !important;
  border: 1px solid var(--ui-line) !important;
  border-radius: var(--ui-radius) !important;
  background: #ffffff !important;
  color: var(--ui-muted) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

.choice-picker button.active {
  border-color: #8bd8ca !important;
  background: var(--ui-teal-soft) !important;
  color: var(--ui-teal) !important;
}

.primary-button,
.secondary-button,
.danger-button,
.icon-button,
.download-link,
.aesthetic-generate-button,
.aesthetic-secondary-button,
.aesthetic-video-button,
.desktop-news-refresh,
.ref-primary-button,
.section-exit-title,
.filter-chip,
[data-go-view],
[data-home-category],
[data-save-asset-name],
[data-rename-asset],
[data-delete-asset],
[data-use-asset] {
  min-height: 44px !important;
  border-radius: var(--ui-radius) !important;
  font-weight: 900 !important;
}

.primary-button,
.ref-primary-button,
.desktop-news-refresh,
.aesthetic-generate-button,
button[type="submit"].primary-button {
  border: 1px solid var(--ui-teal) !important;
  background: var(--ui-teal) !important;
  color: #ffffff !important;
}

.primary-button:hover,
.ref-primary-button:hover,
.desktop-news-refresh:hover,
.aesthetic-generate-button:hover {
  background: var(--ui-teal-strong) !important;
}

.secondary-button,
.download-link,
.aesthetic-secondary-button {
  border: 1px solid var(--ui-line) !important;
  background: #ffffff !important;
  color: var(--ui-teal) !important;
}

.danger-button {
  border: 1px solid #ffd2d5 !important;
  background: var(--ui-danger-soft) !important;
  color: var(--ui-danger) !important;
}

.aesthetic-video-button {
  border: 1px solid var(--ui-gold) !important;
  background: var(--ui-gold) !important;
  color: #ffffff !important;
}

.form-actions,
.card-actions,
.asset-actions,
.aesthetic-actions,
.admin-channel-actions,
.asset-rename-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  align-items: center !important;
}

.form-actions {
  padding-top: 4px !important;
}

.form-actions .primary-button {
  min-width: 160px !important;
}

.task-box,
.poster-preview-area {
  min-height: 360px !important;
  padding: 18px !important;
  background: var(--ui-soft) !important;
}

.poster-preview-empty,
.backend-notice {
  color: var(--ui-muted) !important;
}

.subpage-hero {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  margin: 0 0 18px !important;
  padding: 22px 24px !important;
}

.subpage-hero h2 {
  margin: 8px 0 !important;
  font-size: 30px !important;
}

.subpage-hero p {
  margin: 0 !important;
  color: var(--ui-muted) !important;
}

.asset-workspace,
.asset-framework-panel,
.asset-upload-panel {
  min-width: 0 !important;
}

.asset-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)) !important;
  gap: 14px !important;
  padding: 18px !important;
}

.asset-card {
  overflow: hidden !important;
  border: 1px solid var(--ui-line) !important;
  border-radius: var(--ui-radius) !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

.asset-card img {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 1.45 / 1 !important;
  object-fit: cover !important;
  background: var(--ui-soft) !important;
}

.asset-card .card-body {
  display: grid !important;
  gap: 10px !important;
  padding: 12px !important;
}

.asset-title-button,
.card-title {
  color: var(--ui-ink) !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  text-align: left !important;
}

.card-meta {
  color: var(--ui-muted) !important;
  font-size: 12px !important;
}

.list-toolbar,
.filter-tabs {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  padding: 14px 18px 0 !important;
}

.filter-chip {
  padding: 0 14px !important;
  border: 1px solid var(--ui-line) !important;
  background: #ffffff !important;
  color: var(--ui-teal) !important;
}

.filter-chip.active {
  border-color: #8bd8ca !important;
  background: var(--ui-teal-soft) !important;
}

.asset-rename-sheet {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;
  display: grid !important;
  place-items: center !important;
  padding: 20px !important;
}

.asset-rename-sheet.hidden {
  display: none !important;
}

.asset-rename-backdrop {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(23, 33, 31, 0.46) !important;
  backdrop-filter: blur(5px) !important;
}

.asset-rename-panel {
  position: relative !important;
  z-index: 1 !important;
  display: grid !important;
  gap: 18px !important;
  width: min(440px, calc(100vw - 32px)) !important;
  margin: 0 !important;
  padding: 22px !important;
  border: 1px solid var(--ui-line) !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  box-shadow: 0 22px 70px rgba(23, 33, 31, 0.22) !important;
}

.asset-rename-head {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 14px !important;
}

.asset-rename-head strong {
  display: block !important;
  color: var(--ui-ink) !important;
  font-size: 22px !important;
  font-weight: 900 !important;
}

.asset-rename-head span {
  display: block !important;
  margin-top: 6px !important;
  color: var(--ui-muted) !important;
  font-size: 14px !important;
}

.asset-rename-close,
.dialog-close {
  display: grid !important;
  place-items: center !important;
  width: 36px !important;
  height: 36px !important;
  min-height: 36px !important;
  border: 1px solid var(--ui-line) !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  color: var(--ui-muted) !important;
  font-size: 20px !important;
}

dialog::backdrop {
  background: rgba(23, 33, 31, 0.46) !important;
  backdrop-filter: blur(5px) !important;
}

dialog[open],
.site-info-dialog[open],
.feedback-dialog[open],
.work-dialog[open] {
  max-width: min(920px, calc(100vw - 36px)) !important;
  border: 1px solid var(--ui-line) !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  box-shadow: 0 22px 70px rgba(23, 33, 31, 0.22) !important;
}

.works-toolbar,
.tasks-toolbar,
.admin-account-toolbar,
.admin-daily-toolbar {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  align-items: end !important;
}

.work-grid,
.works-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
  gap: 14px !important;
}

.aesthetic-shell {
  display: grid !important;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr) !important;
  gap: 18px !important;
}

.aesthetic-template-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  padding: 18px !important;
}

.aesthetic-template-card {
  min-height: 82px !important;
  border: 1px solid var(--ui-line) !important;
  border-radius: var(--ui-radius) !important;
  background: #ffffff !important;
  color: var(--ui-ink) !important;
}

.aesthetic-template-card.active {
  border-color: #8bd8ca !important;
  background: var(--ui-teal-soft) !important;
}

@media (max-width: 1180px) {
  .desktop-scene-grid,
  body[data-current-view="home"] .desktop-scene-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .workspace-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .result-panel.hidden-field {
    display: block !important;
  }

  .aesthetic-shell {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 720px) {
  html,
  body {
    overflow-x: hidden !important;
  }

  .app-shell,
  body[data-current-view="home"] .app-shell {
    display: block !important;
    min-height: 100vh !important;
    padding-bottom: calc(72px + env(safe-area-inset-bottom)) !important;
    background: #f7faf8 !important;
  }

  .main,
  body[data-current-view="home"] .main {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #f7faf8 !important;
  }

  .sidebar-DISABLED,
  

  .brand-mark-DISABLED,
  .version-card,
  body[data-current-view="home"] .ref-bottom-nav {
    display: none !important;
  }

  .nav-list-DISABLED {
    display: grid !important;
    grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
    gap: 2px !important;
    height: 58px !important;
  }

  .sidebar-DISABLED .nav-item-DISABLED,
  

  .sidebar-DISABLED .nav-item-DISABLED::before {
    position: static !important;
    width: 20px !important;
    height: 20px !important;
    transform: none !important;
    background: currentColor !important;
    opacity: 0.72 !important;
  }

  .sidebar-DISABLED .nav-item-DISABLED span,
  .sidebar-DISABLED .nav-item-DISABLED .nav-desktop-label,
  .sidebar-DISABLED .nav-item-DISABLED .nav-mobile-label {
    font-size: 11px !important;
    line-height: 1 !important;
    color: inherit !important;
  }

  .sidebar-DISABLED .nav-item.active,
  .sidebar-DISABLED .nav-item-DISABLED:hover,
  

  .topbar,
  body[data-current-view="home"] .topbar {
    display: none !important;
  }

  .section-close-bar {
    top: 0 !important;
    min-height: 52px !important;
    padding: 0 16px !important;
    background: rgba(255, 255, 255, 0.96) !important;
  }

  .section-exit-title {
    font-size: 18px !important;
  }

  .view,
  body[data-current-view="home"] .desktop-dashboard,
  body[data-current-view="home"] .ref-home {
    width: 100% !important;
    max-width: 430px !important;
    margin: 0 auto !important;
    padding: 14px 12px 18px !important;
    background: #f7faf8 !important;
  }

  #homeView {
    padding: 0 !important;
  }

  body[data-current-view="home"] .desktop-dashboard,
  body[data-current-view="home"] .desktop-shell-top,
  body[data-current-view="home"] .desktop-hero,
  body[data-current-view="home"] .desktop-scene-grid,
  body[data-current-view="home"] .desktop-dashboard-grid {
    display: none !important;
  }

  body[data-current-view="home"] .ref-topbar,
  body[data-current-view="home"] .ref-greeting,
  body[data-current-view="home"] .ref-hero,
  body[data-current-view="home"] .ref-scene-grid,
  body[data-current-view="home"] .ref-two-col,
  body[data-current-view="home"] .ref-material-panel,
  body[data-current-view="home"] .ref-news-panel {
    display: flex !important;
  }

  body[data-current-view="home"] .ref-scene-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin: 14px 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body[data-current-view="home"] .ref-scene-card {
    display: grid !important;
    place-items: center !important;
    gap: 8px !important;
    min-height: 74px !important;
    padding: 10px 4px !important;
    border: 1px solid var(--ui-line) !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    color: var(--ui-ink) !important;
    box-shadow: none !important;
  }

  body[data-current-view="home"] .ref-scene-card .module-icon {
    display: grid !important;
    place-items: center !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 10px !important;
    background: var(--ui-teal-soft) !important;
    color: var(--ui-teal) !important;
    font-size: 11px !important;
  }

  body[data-current-view="home"] .ref-scene-card span {
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1.15 !important;
    color: var(--ui-ink) !important;
  }

  body[data-current-view="home"] .ref-scene-card strong {
    display: none !important;
  }

  body[data-current-view="home"] .ref-hero {
    border: 1px solid var(--ui-line) !important;
    border-radius: 16px !important;
    background: #fff3ec !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }

  .workspace-grid,
  .workspace-grid.slim,
  .field-group,
  .advanced-create-grid,
  .two-col,
  .admin-channel-grid,
  .admin-code-form-grid,
  .aesthetic-shell {
    grid-template-columns: 1fr !important;
  }

  .panel,
  .subpage-hero,
  .desktop-panel,
  .ref-panel,
  .account-panel,
  .admin-section-panel {
    border-radius: 14px !important;
  }

  .panel-heading {
    min-height: 58px !important;
    padding: 16px !important;
  }

  .panel-heading h2 {
    font-size: 20px !important;
  }

  .form-stack {
    padding: 16px !important;
    gap: 14px !important;
  }

  .category-tabs,
  body[data-current-view="create"] #createView .category-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0 !important;
    padding: 4px !important;
    border: 1px solid var(--ui-line) !important;
    border-radius: 14px !important;
    background: #eef1ef !important;
  }

  .category-card,
  body[data-current-view="create"] #createView .category-card {
    display: grid !important;
    min-height: 42px !important;
    grid-template-columns: 1fr !important;
    padding: 8px 4px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: transparent !important;
    text-align: center !important;
  }

  .category-card.active {
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(23, 33, 31, 0.08) !important;
  }

  .category-card .module-icon,
  .category-card .category-intro {
    display: none !important;
  }

  .category-card strong {
    font-size: 13px !important;
    text-align: center !important;
  }

  input,
  select {
    min-height: 50px !important;
    font-size: 15px !important;
  }

  textarea,
  #createView .extra-text-field textarea {
    min-height: 132px !important;
  }

  .form-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
  }

  .form-actions .primary-button {
    grid-column: 1 / -1 !important;
    width: 100% !important;
  }

  .task-box,
  .poster-preview-area {
    min-height: 220px !important;
  }

  .subpage-hero {
    display: block !important;
    margin: 0 0 14px !important;
    padding: 16px !important;
  }

  .subpage-hero h2 {
    font-size: 24px !important;
  }

  .asset-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    padding: 12px !important;
  }

  .asset-card .card-body {
    padding: 10px !important;
  }

  .asset-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  .asset-actions .primary-button {
    grid-column: 1 / -1 !important;
  }

  .asset-rename-panel {
    width: min(360px, calc(100vw - 28px)) !important;
    padding: 20px !important;
  }

  .aesthetic-template-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    padding: 12px !important;
  }

  .aesthetic-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
}

body[data-current-view] > .app-shell {
  display: grid !important;
  grid-template-columns: 220px minmax(0, 1fr) !important;
  background: var(--ui-bg) !important;
}





body[data-current-view] > .app-shell > .main {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  margin-left: 0 !important;
  padding: 0 !important;
  transform: none !important;
  background: var(--ui-bg) !important;
}

body[data-current-view] > .app-shell > .main > .view,
body[data-current-view] > .app-shell > .main #homeView,
body[data-current-view] > .app-shell > .main .ref-home,
body[data-current-view] > .app-shell > .main .desktop-dashboard {
  margin-left: 0 !important;
  transform: none !important;
}

body[data-current-view] > .app-shell > .main > .topbar,
body[data-current-view] > .app-shell > .main .section-close-bar {
  min-height: 70px !important;
  padding: 0 28px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid var(--ui-line) !important;
  box-shadow: none !important;
}

body[data-current-view] > .app-shell > .main > .topbar h1 {
  margin-left: 28px !important;
}

body[data-current-view] > .app-shell > .main .section-exit-title {
  margin-left: 0 !important;
}

body[data-current-view="home"] .ref-home {
  display: none !important;
}

.generated-home {
  display: grid !important;
  gap: 18px !important;
  width: 100% !important;
  padding: 24px 28px 34px !important;
}

.generated-home-hero,
.generated-panel,
.generated-module-card {
  border: 1px solid var(--ui-line) !important;
  border-radius: var(--ui-radius) !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

.generated-home-hero {
  display: flex !important;
  min-height: 166px !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  padding: 28px 30px !important;
  background:
    linear-gradient(90deg, rgba(230, 243, 240, 0.92), rgba(255, 246, 231, 0.62)),
    #ffffff !important;
}

.generated-home-hero span,
.generated-module-card span,
.generated-panel header span {
  display: inline-flex !important;
  min-height: 28px !important;
  align-items: center !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
  background: var(--ui-teal-soft) !important;
  color: var(--ui-teal) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

.generated-home-hero h2 {
  margin: 12px 0 8px !important;
  color: var(--ui-ink) !important;
  font-size: 36px !important;
  line-height: 1.15 !important;
  font-weight: 950 !important;
}

.generated-home-hero p,
.generated-module-card em,
.generated-panel em,
.generated-news-body p {
  margin: 0 !important;
  color: var(--ui-muted) !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  font-style: normal !important;
}

.generated-module-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

.generated-module-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 72px !important;
  gap: 8px 14px !important;
  min-height: 148px !important;
  padding: 18px !important;
  text-align: left !important;
  color: var(--ui-ink) !important;
}

.generated-module-card i {
  grid-row: 1 / span 3 !important;
  grid-column: 2 !important;
  display: grid !important;
  place-items: center !important;
  width: 72px !important;
  height: 72px !important;
  border-radius: 18px !important;
  background: var(--ui-teal-soft) !important;
  color: var(--ui-teal) !important;
  font-style: normal !important;
  font-weight: 950 !important;
}

.generated-module-card strong {
  display: block !important;
  color: var(--ui-ink) !important;
  font-size: 22px !important;
  line-height: 1.16 !important;
  font-weight: 950 !important;
}

.generated-module-card.is-rose span,
.generated-module-card.is-rose i {
  background: var(--ui-rose-soft) !important;
  color: var(--ui-rose) !important;
}

.generated-module-card.is-mint span,
.generated-module-card.is-mint i {
  background: var(--ui-mint-soft) !important;
  color: var(--ui-mint) !important;
}

.generated-module-card.is-blue span,
.generated-module-card.is-blue i {
  background: var(--ui-blue-soft) !important;
  color: var(--ui-blue) !important;
}

.generated-module-card.is-gold span,
.generated-module-card.is-gold i {
  background: var(--ui-gold-soft) !important;
  color: var(--ui-gold) !important;
}

.generated-dashboard-grid {
  display: grid !important;
  grid-template-columns: 1.05fr 0.85fr 1.15fr !important;
  gap: 16px !important;
}

.generated-panel {
  overflow: hidden !important;
  padding: 18px !important;
}

.generated-panel header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin: 0 0 14px !important;
}

.generated-panel h3 {
  margin: 0 !important;
  color: var(--ui-ink) !important;
  font-size: 20px !important;
  font-weight: 950 !important;
}

.generated-panel header button {
  min-height: 38px !important;
  padding: 0 12px !important;
  border: 1px solid var(--ui-line) !important;
  border-radius: var(--ui-radius) !important;
  background: #ffffff !important;
  color: var(--ui-teal) !important;
  font-weight: 900 !important;
}

.generated-stat-pair,
.generated-task-stats {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

.generated-stat-pair button,
.generated-mini-stats button,
.generated-task-stats button {
  display: grid !important;
  gap: 8px !important;
  min-height: 110px !important;
  padding: 14px !important;
  border: 1px solid var(--ui-line) !important;
  border-radius: var(--ui-radius) !important;
  background: var(--ui-soft) !important;
  color: var(--ui-ink) !important;
  text-align: left !important;
}

.generated-stat-pair strong,
.generated-mini-stats strong,
.generated-task-stats strong {
  color: var(--ui-ink) !important;
  font-size: 30px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
}

.generated-stat-pair span,
.generated-mini-stats span,
.generated-task-stats span {
  color: var(--ui-ink) !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}

.generated-mini-stats {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin-top: 10px !important;
}

.generated-mini-stats button {
  min-height: 86px !important;
}

.generated-asset-tabs {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin: 0 0 12px !important;
}

.generated-asset-tabs button {
  min-height: 34px !important;
  border: 1px solid var(--ui-line) !important;
  border-radius: var(--ui-radius) !important;
  background: #ffffff !important;
  color: var(--ui-teal) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

.generated-asset-strip {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

.generated-asset-strip button {
  display: grid !important;
  min-height: 180px !important;
  align-content: end !important;
  padding: 16px !important;
  border: 1px solid var(--ui-line) !important;
  border-radius: var(--ui-radius) !important;
  background: linear-gradient(180deg, #edf3f6 0%, #b9c3ca 100%) !important;
  color: #ffffff !important;
  text-align: left !important;
  overflow: hidden !important;
}

.generated-asset-strip img {
  width: 100% !important;
  height: 130px !important;
  object-fit: cover !important;
  border-radius: var(--ui-radius) !important;
}

.generated-news-panel {
  padding: 18px !important;
}

.generated-news-body {
  display: grid !important;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr) !important;
  gap: 14px !important;
}

.generated-news-body > div {
  min-height: 120px !important;
  padding: 16px !important;
  border: 1px solid var(--ui-line) !important;
  border-radius: var(--ui-radius) !important;
  background: var(--ui-soft) !important;
}

@media (max-width: 1180px) {
  .generated-module-grid,
  .generated-dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .generated-assets-panel,
  .generated-news-panel {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 720px) {
  .generated-home {
    gap: 12px !important;
    width: 100% !important;
    max-width: 390px !important;
    margin: 0 auto !important;
    padding: 14px 12px 18px !important;
    overflow: hidden !important;
  }

  .generated-home-hero {
    display: grid !important;
    grid-template-columns: 1fr !important;
    min-height: 144px !important;
    padding: 18px !important;
    border-radius: 16px !important;
  }

  .generated-home-hero .primary-button {
    width: fit-content !important;
    min-width: 104px !important;
    justify-self: start !important;
  }

  .generated-home-hero h2 {
    font-size: 25px !important;
  }

  .generated-home-hero p {
    display: none !important;
  }

  .generated-module-grid {
    display: flex !important;
    gap: 10px !important;
    overflow-x: auto !important;
    padding-bottom: 4px !important;
    scroll-snap-type: x mandatory !important;
  }

  .generated-module-card {
    flex: 0 0 96px !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    min-height: 82px !important;
    padding: 10px !important;
    border-radius: 14px !important;
    scroll-snap-align: start !important;
  }

  .generated-module-card i {
    grid-row: auto !important;
    grid-column: auto !important;
    width: 24px !important;
    height: 24px !important;
    border-radius: 8px !important;
    justify-self: end !important;
    font-size: 10px !important;
  }

  .generated-module-card span {
    display: none !important;
  }

  .generated-module-card strong {
    font-size: 14px !important;
  }

  .generated-module-card em {
    display: none !important;
  }

  .generated-dashboard-grid,
  .generated-news-body {
    width: 100% !important;
    grid-template-columns: 1fr !important;
  }

  .generated-stat-pair,
  .generated-task-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .generated-mini-stats,
  .generated-asset-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .generated-panel {
    min-width: 0 !important;
    padding: 14px !important;
    border-radius: 14px !important;
  }

  .generated-panel header button {
    display: none !important;
  }
}

@media (max-width: 720px) {
  body[data-current-view="home"] #homeView,
  body[data-current-view="home"] #homeView.view {
    display: block !important;
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
  }

  body[data-current-view="home"] .generated-home {
    display: grid !important;
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    transform: none !important;
  }

  body[data-current-view="home"] > .app-shell > .main {
    width: 100vw !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }






}

@media (max-width: 720px) {
  body[data-current-view] > .app-shell {
    display: block !important;
    padding-bottom: calc(72px + env(safe-area-inset-bottom)) !important;
  }






}

/* Final generated UI templates for inner pages */
body[data-current-view="create"] #createView,
body[data-current-view="assets"] #assetsView,
body[data-current-view="works"] #worksView,
body[data-current-view="tasks"] #tasksView,
body[data-current-view="aesthetic"] #aestheticView,
body[data-current-view="mine"] #mineView {
  padding: 24px 28px 34px !important;
}

body[data-current-view="create"] #createView .workspace-grid {
  grid-template-columns: minmax(520px, 1fr) minmax(380px, 430px) !important;
  gap: 18px !important;
}

body[data-current-view="create"] #createView .form-panel .panel-heading h2::before {
  content: "基础设置" !important;
  display: block !important;
  margin-bottom: 4px !important;
  color: var(--ui-teal) !important;
  font-size: 13px !important;
  font-weight: 950 !important;
}

body[data-current-view="create"] #createView .result-panel .panel-heading h2::after {
  content: " / Prompt 预览" !important;
  color: var(--ui-muted) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}

body[data-current-view="create"] #createView .project-name-field,
body[data-current-view="create"] #createView .field-group,
body[data-current-view="create"] #createView #advancedCreateFields,
body[data-current-view="create"] #createView .extra-text-field {
  padding: 14px !important;
  border: 1px solid var(--ui-line) !important;
  border-radius: var(--ui-radius) !important;
  background: #ffffff !important;
}

body[data-current-view="create"] #createView .project-name-field,
body[data-current-view="create"] #createView .extra-text-field {
  background: var(--ui-soft) !important;
}

body[data-current-view="create"] #createView #advancedCreateFields {
  display: grid !important;
  gap: 14px !important;
}

body[data-current-view="create"] #createView .advanced-create-title {
  color: var(--ui-ink) !important;
  font-size: 17px !important;
  font-weight: 950 !important;
}

body[data-current-view="create"] #createView .extra-text-field > span::after {
  content: "（放最后，活动、客户要求、门店名称）" !important;
  margin-left: 6px !important;
  color: var(--ui-muted) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

body[data-current-view="create"] #createView .poster-preview-area {
  min-height: 620px !important;
  border: 1px solid var(--ui-line) !important;
  border-radius: var(--ui-radius) !important;
  background:
    linear-gradient(180deg, rgba(230, 243, 240, 0.62), rgba(255, 255, 255, 0.95)),
    #ffffff !important;
}

body[data-current-view="assets"] #assetsView > .workspace-grid:first-of-type {
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr) !important;
}

body[data-current-view="assets"] #assetsView .asset-upload-panel {
  position: sticky !important;
  top: 88px !important;
}

body[data-current-view="assets"] #assetsView .asset-grid {
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)) !important;
  padding: 18px !important;
}

body[data-current-view="assets"] #assetsView .asset-actions {
  display: grid !important;
  grid-template-columns: 1fr 76px 64px !important;
}

body[data-current-view="assets"] #assetsView .asset-actions.single-action {
  grid-template-columns: 1fr !important;
}

body[data-current-view="assets"] #assetsView .asset-actions .primary-button,
body[data-current-view="assets"] #assetsView .asset-actions .secondary-button,
body[data-current-view="assets"] #assetsView .asset-actions .danger-button {
  min-width: 0 !important;
  width: 100% !important;
  padding-left: 8px !important;
  padding-right: 8px !important;
}

body[data-current-view="works"] #worksView,
body[data-current-view="tasks"] #tasksView,
body[data-current-view="mine"] #mineView {
  display: grid !important;
  gap: 18px !important;
}

body[data-current-view="works"] #worksView .subpage-hero,
body[data-current-view="tasks"] #tasksView .subpage-hero,
body[data-current-view="assets"] #assetsView .subpage-hero,
body[data-current-view="aesthetic"] #aestheticView .subpage-hero,
body[data-current-view="mine"] #mineView .subpage-hero {
  background:
    linear-gradient(90deg, rgba(230, 243, 240, 0.86), rgba(255, 246, 231, 0.58)),
    #ffffff !important;
}

@media (max-width: 720px) {
  body[data-current-view="create"] #createView,
  body[data-current-view="assets"] #assetsView,
  body[data-current-view="works"] #worksView,
  body[data-current-view="tasks"] #tasksView,
  body[data-current-view="aesthetic"] #aestheticView,
  body[data-current-view="mine"] #mineView {
    width: 100vw !important;
    max-width: 100vw !important;
    padding: 0 12px 18px !important;
    overflow-x: hidden !important;
  }

  body[data-current-view="create"] #createView .workspace-grid,
  body[data-current-view="assets"] #assetsView > .workspace-grid:first-of-type {
    grid-template-columns: 1fr !important;
  }

  body[data-current-view="create"] #createView .panel-heading {
    display: none !important;
  }

  body[data-current-view="create"] #createView .form-panel {
    border: 0 !important;
    background: transparent !important;
  }

  body[data-current-view="create"] #createView .form-stack {
    padding: 0 !important;
  }

  body[data-current-view="create"] #createView .field-group,
  body[data-current-view="create"] #createView #advancedCreateFields,
  body[data-current-view="create"] #createView .project-name-field,
  body[data-current-view="create"] #createView .extra-text-field {
    padding: 12px !important;
    border-radius: 14px !important;
  }

  body[data-current-view="create"] #createView .poster-preview-area {
    min-height: 220px !important;
  }

  body[data-current-view="assets"] #assetsView .asset-upload-panel {
    position: static !important;
  }

  body[data-current-view="assets"] #assetsView .asset-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    padding: 12px !important;
  }

  body[data-current-view="assets"] #assetsView .asset-actions {
    grid-template-columns: 1fr 1fr !important;
  }

  body[data-current-view="assets"] #assetsView .asset-actions .primary-button {
    grid-column: 1 / -1 !important;
  }


}

/* 2026-06-02 final generated UI alignment */
@media (min-width: 721px) {
  body[data-current-view] > .app-shell {
    grid-template-columns: 224px minmax(0, 1fr) !important;
  }


  .brand-icon {
    width: 40px !important;
    height: 40px !important;
    border-radius: 12px !important;
  }

  .brand-title {
    font-size: 18px !important;
    line-height: 1.18 !important;
  }

  .nav-list-DISABLED {
    gap: 10px !important;
  }


  .nav-mobile-label {
    display: none !important;
  }

  .nav-desktop-label {
    display: inline !important;
  }

  .topbar {
    min-height: 72px !important;
  }

  body[data-current-view="home"] .topbar h1,
  body[data-current-view="create"] .topbar h1 {
    font-size: 0 !important;
  }

  body[data-current-view="home"] .topbar h1::after,
  body[data-current-view="create"] .topbar h1::after {
    content: "新建内容";
    font-size: 22px !important;
    font-weight: 950 !important;
  }

  body[data-current-view="home"] #homeView {
    padding: 24px 28px 34px !important;
  }

  body[data-current-view="home"] .generated-home {
    display: none !important;
  }

  .generated-desktop-workbench {
    display: grid !important;
    grid-template-columns: minmax(620px, 760px) minmax(360px, 430px) !important;
    gap: 18px !important;
    max-width: 1240px !important;
    margin: 0 auto !important;
    align-items: start !important;
  }

  .generated-form-card,
  .generated-preview-card {
    overflow: hidden !important;
    border: 1px solid var(--ui-line) !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    box-shadow: 0 10px 28px rgba(23, 33, 31, 0.06) !important;
  }

  .generated-form-card {
    padding: 22px 24px !important;
  }

  .generated-preview-card {
    padding: 20px !important;
  }

  .generated-card-title {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin-bottom: 16px !important;
    padding-left: 12px !important;
    border-left: 4px solid var(--ui-teal) !important;
  }

  .generated-card-title h2 {
    margin: 0 !important;
    font-size: 18px !important;
    font-weight: 950 !important;
  }

  .generated-card-title span {
    color: var(--ui-muted) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
  }

  .generated-subtitle {
    margin-top: 20px !important;
    padding-top: 18px !important;
    border-top: 1px solid var(--ui-line) !important;
  }

  .generated-field {
    display: grid !important;
    gap: 8px !important;
    margin-bottom: 14px !important;
  }

  .generated-field > span {
    color: #42524e !important;
    font-size: 13px !important;
    font-weight: 900 !important;
  }

  .generated-input,
  .generated-select,
  .generated-textarea {
    position: relative !important;
    min-height: 44px !important;
    padding: 11px 12px !important;
    border: 1px solid var(--ui-line) !important;
    border-radius: 6px !important;
    background: #ffffff !important;
    color: var(--ui-ink) !important;
    font-size: 14px !important;
  }

  .generated-textarea {
    min-height: 68px !important;
  }

  .generated-input em,
  .generated-textarea em {
    position: absolute !important;
    right: 10px !important;
    bottom: 8px !important;
    color: #8a9692 !important;
    font-style: normal !important;
    font-size: 12px !important;
  }

  .generated-two {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  .generated-segments,
  .generated-pills,
  .generated-actions,
  .generated-device-switch {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }

  .generated-segments button,
  .generated-pills button,
  .generated-device-switch button {
    min-height: 40px !important;
    padding: 0 18px !important;
    border: 1px solid var(--ui-line) !important;
    border-radius: 6px !important;
    background: #ffffff !important;
    color: #4f5d59 !important;
    font-size: 14px !important;
    font-weight: 900 !important;
  }

  .generated-segments button.active,
  .generated-pills button.active,
  .generated-device-switch button.active {
    border-color: #0f8a7d !important;
    background: #edf8f5 !important;
    color: var(--ui-teal) !important;
  }

  .generated-material-row {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .generated-material-row button {
    min-height: 64px !important;
    border: 1px dashed #cddbd7 !important;
    border-radius: 6px !important;
    background: #fbfdfc !important;
    color: var(--ui-teal) !important;
    font-weight: 900 !important;
  }

  .generated-actions {
    justify-content: space-between !important;
    margin-top: 8px !important;
    padding-top: 18px !important;
    border-top: 1px solid var(--ui-line) !important;
  }

  .generated-actions button {
    min-width: 116px !important;
  }

  .generated-preview-tabs {
    display: flex !important;
    align-items: center !important;
    gap: 28px !important;
    min-height: 34px !important;
    margin-bottom: 14px !important;
  }

  .generated-preview-tabs strong {
    position: relative !important;
    color: var(--ui-ink) !important;
    font-size: 16px !important;
    font-weight: 950 !important;
  }

  .generated-preview-tabs strong::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: -10px !important;
    height: 2px !important;
    background: var(--ui-teal) !important;
  }

  .generated-preview-tabs span,
  .generated-preview-note {
    color: var(--ui-muted) !important;
    font-size: 13px !important;
  }

  .generated-device-switch {
    justify-content: flex-end !important;
    margin-bottom: 14px !important;
  }

  .generated-device-switch button {
    min-height: 34px !important;
    padding: 0 12px !important;
    font-size: 12px !important;
  }

  .generated-phone {
    width: 320px !important;
    min-height: 650px !important;
    margin: 0 auto !important;
    padding: 18px 22px !important;
    border: 1px solid #d7dfdd !important;
    border-radius: 28px !important;
    background: #fbfbfa !important;
    box-shadow: 0 18px 38px rgba(23, 33, 31, 0.12) !important;
  }

  .generated-phone-status {
    display: flex !important;
    justify-content: space-between !important;
    color: #0c1311 !important;
    font-size: 13px !important;
    font-weight: 900 !important;
  }

  .generated-phone-status span::before {
    content: "▮▮  ◒" !important;
    color: #0c1311 !important;
  }

  .generated-phone-title {
    min-height: 48px !important;
    display: grid !important;
    place-items: center !important;
    border-bottom: 1px solid #edf0ef !important;
    color: #111917 !important;
    font-size: 16px !important;
    font-weight: 950 !important;
  }

  .generated-moment {
    display: grid !important;
    gap: 10px !important;
    padding: 16px 0 !important;
  }

  .generated-moment header {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .generated-moment header i {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #ffe6ec, #dff7ee) !important;
  }

  .generated-moment header strong {
    display: block !important;
    color: var(--ui-teal) !important;
    font-size: 13px !important;
  }

  .generated-moment header small,
  .generated-moment > small {
    color: var(--ui-muted) !important;
    font-size: 11px !important;
  }

  .generated-moment header em {
    margin-left: auto !important;
    padding: 2px 7px !important;
    border-radius: 5px !important;
    background: #f5f3ef !important;
    color: #8c8c86 !important;
    font-style: normal !important;
    font-size: 11px !important;
  }

  .generated-moment p {
    margin: 0 !important;
    color: #1d2825 !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
  }

  .generated-phone-image {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 6px !important;
    background:
      radial-gradient(circle at 20% 36%, rgba(255, 255, 255, 0.9) 0 3%, transparent 4%),
      radial-gradient(circle at 82% 20%, rgba(255, 255, 255, 0.7) 0 6%, transparent 7%),
      linear-gradient(135deg, #dff4ff 0%, #fff0ef 60%, #f9d5d9 100%) !important;
  }

  .generated-phone-image.has-real-image {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
  }

  .generated-moment button {
    justify-self: start !important;
    min-height: 30px !important;
    padding: 0 10px !important;
    border: 0 !important;
    border-radius: 5px !important;
    background: #f1f4f6 !important;
    color: #6a82a7 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
  }

  body[data-current-view="create"] #createView {
    max-width: 1260px !important;
    margin: 0 auto !important;
    padding: 24px 28px 34px !important;
  }

  body[data-current-view="create"] #createView .section-close-bar {
    display: none !important;
  }

  body[data-current-view="create"] #createView .workspace-grid {
    grid-template-columns: minmax(620px, 760px) minmax(360px, 430px) !important;
    gap: 18px !important;
  }

  body[data-current-view="create"] #createView .panel {
    border-radius: 8px !important;
    box-shadow: 0 10px 28px rgba(23, 33, 31, 0.06) !important;
  }

  body[data-current-view="create"] #createView .panel-heading {
    min-height: 54px !important;
    padding: 16px 22px !important;
  }

  body[data-current-view="create"] #createPanelTitle {
    font-size: 0 !important;
  }

  body[data-current-view="create"] #createPanelTitle::after {
    content: "基础设置";
    font-size: 18px !important;
    font-weight: 950 !important;
  }

  body[data-current-view="create"] #createView .panel-heading::before {
    content: "" !important;
    width: 4px !important;
    height: 18px !important;
    margin-right: 10px !important;
    border-radius: 2px !important;
    background: var(--ui-teal) !important;
  }

  body[data-current-view="create"] #createView .panel-heading {
    justify-content: flex-start !important;
    gap: 10px !important;
  }

  body[data-current-view="create"] #categoryBadge {
    margin-left: auto !important;
  }

  body[data-current-view="create"] #createForm {
    display: flex !important;
    padding: 18px 22px 20px !important;
    gap: 14px !important;
  }

  body[data-current-view="create"] #createView .project-name-field {
    order: 1 !important;
  }

  body[data-current-view="create"] #createView .category-tabs {
    order: 2 !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0 !important;
    overflow: hidden !important;
    border: 1px solid var(--ui-line) !important;
    border-radius: 6px !important;
    background: #ffffff !important;
  }

  body[data-current-view="create"] #createView .category-card {
    display: grid !important;
    min-height: 44px !important;
    grid-template-columns: 1fr !important;
    padding: 0 12px !important;
    border: 0 !important;
    border-right: 1px solid var(--ui-line) !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    text-align: center !important;
  }

  body[data-current-view="create"] #createView .category-card:last-child {
    border-right: 0 !important;
  }

  body[data-current-view="create"] #createView .category-card.active {
    background: #edf8f5 !important;
    color: var(--ui-teal) !important;
  }

  body[data-current-view="create"] #createView .category-card .module-icon,
  body[data-current-view="create"] #createView .category-intro {
    display: none !important;
  }

  body[data-current-view="create"] #createView .category-card strong {
    font-size: 14px !important;
    text-align: center !important;
  }

  body[data-current-view="create"] #createView .project-field {
    order: 3 !important;
  }

  body[data-current-view="create"] #createView .comparison-field {
    order: 3 !important;
  }

  body[data-current-view="create"] #createView label:has(#count) {
    order: 4 !important;
  }

  body[data-current-view="create"] #advancedCreateFields {
    order: 6 !important;
    padding-top: 16px !important;
    border-top: 1px solid var(--ui-line) !important;
  }

  body[data-current-view="create"] #createView .advanced-create-title {
    margin: 0 0 12px !important;
    padding-left: 12px !important;
    border-left: 4px solid var(--ui-teal) !important;
    color: var(--ui-ink) !important;
    font-size: 16px !important;
    font-weight: 950 !important;
  }

  body[data-current-view="create"] #createView .extra-text-field {
    order: 80 !important;
  }

  body[data-current-view="create"] #createView .extra-text-field textarea {
    min-height: 172px !important;
  }

  body[data-current-view="create"] #createView .form-actions {
    order: 90 !important;
    justify-content: space-between !important;
    padding-top: 16px !important;
    border-top: 1px solid var(--ui-line) !important;
  }

  body[data-current-view="create"] #createView .result-panel.hidden-field,
  body[data-current-view="create"] #createView .result-panel {
    display: block !important;
    position: sticky !important;
    top: 92px !important;
  }

  body[data-current-view="create"] #createView .result-panel .panel-heading {
    display: none !important;
  }

  body[data-current-view="create"] #createView .preview-progress-track {
    display: none !important;
  }

  body[data-current-view="create"] #createView .generated-live-preview {
    display: block !important;
    padding: 20px !important;
  }

  body[data-current-view="create"] #createView #taskBox {
    max-height: 280px !important;
    min-height: 160px !important;
    margin: 0 20px 20px !important;
    padding: 14px !important;
    border: 1px dashed #d8e2df !important;
    border-radius: 8px !important;
    overflow: auto !important;
  }
}

.generated-desktop-workbench {
  display: none;
}

@media (max-width: 720px) {
  .generated-desktop-workbench {
    display: none !important;
  }

  .nav-desktop-label {
    display: none !important;
  }

  .nav-mobile-label {
    display: inline !important;
  }

  body[data-current-view="home"] .generated-home {
    display: grid !important;
    gap: 14px !important;
    max-width: 430px !important;
    padding: 16px 14px 22px !important;
    background: #f7faf8 !important;
  }

  body[data-current-view="home"] .generated-home-hero {
    position: relative !important;
    min-height: 188px !important;
    padding: 20px !important;
    border-radius: 16px !important;
    background:
      linear-gradient(90deg, rgba(255, 250, 247, 0.92), rgba(255, 239, 236, 0.8)),
      #ffffff !important;
  }

  body[data-current-view="home"] .generated-home-hero::after {
    content: "" !important;
    position: absolute !important;
    right: 14px !important;
    bottom: 12px !important;
    width: 112px !important;
    height: 128px !important;
    border-radius: 16px !important;
    background: linear-gradient(135deg, #f7cfd3, #dfeff8) !important;
  }

  body[data-current-view="home"] .generated-home-hero h2 {
    max-width: 210px !important;
    font-size: 24px !important;
  }

  body[data-current-view="home"] .generated-module-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 10px !important;
    overflow: visible !important;
  }

  body[data-current-view="home"] .generated-module-card {
    display: grid !important;
    min-height: 78px !important;
    padding: 10px 6px !important;
    border-radius: 14px !important;
    place-items: center !important;
    text-align: center !important;
  }

  body[data-current-view="home"] .generated-module-card i {
    justify-self: center !important;
  }

  body[data-current-view="home"] .generated-module-card strong {
    font-size: 12px !important;
    line-height: 1.2 !important;
  }

  body[data-current-view="home"] .generated-dashboard-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  body[data-current-view="create"] #createView {
    max-width: 430px !important;
    margin: 0 auto !important;
    padding: 0 14px 22px !important;
  }

  body[data-current-view="create"] #createView .section-close-bar {
    min-height: 58px !important;
    justify-content: center !important;
    border-bottom: 0 !important;
  }

  body[data-current-view="create"] #createSectionTitle {
    font-size: 0 !important;
  }

  body[data-current-view="create"] #createSectionTitle::after {
    content: "创作";
    font-size: 18px !important;
  }

  body[data-current-view="create"] #createView .workspace-grid {
    display: block !important;
  }

  body[data-current-view="create"] #createView .form-panel {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  body[data-current-view="create"] #createView .panel-heading {
    display: none !important;
  }

  body[data-current-view="create"] #createView .category-tabs {
    position: sticky !important;
    top: 58px !important;
    z-index: 5 !important;
    margin-bottom: 14px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--ui-line) !important;
    border-radius: 0 !important;
    background: #ffffff !important;
  }

  body[data-current-view="create"] #createView .category-card.active {
    box-shadow: inset 0 -2px 0 var(--ui-teal) !important;
  }

  body[data-current-view="create"] #createView .project-name-field,
  body[data-current-view="create"] #createView .field-group,
  body[data-current-view="create"] #advancedCreateFields,
  body[data-current-view="create"] #createView .extra-text-field {
    margin-bottom: 12px !important;
    border: 1px solid var(--ui-line) !important;
    border-radius: 14px !important;
    background: #ffffff !important;
  }

  body[data-current-view="create"] #createView .result-panel {
    display: none !important;
  }

  body[data-current-view="assets"] #assetsView {
    max-width: 430px !important;
    margin: 0 auto !important;
  }

  body[data-current-view="assets"] #assetsView .subpage-hero {
    display: none !important;
  }

  body[data-current-view="assets"] #assetsView .panel-heading h2 {
    font-size: 18px !important;
  }

  .asset-rename-sheet {
    align-items: center !important;
    justify-items: center !important;
  }

  .asset-rename-panel {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    border-radius: 16px !important;
  }
}

@media (min-width: 721px) {
  body[data-current-view="create"] #createView .workspace-grid {
    display: grid !important;
    grid-template-columns: minmax(620px, 760px) minmax(360px, 430px) !important;
    align-items: start !important;
  }

  body[data-current-view="create"] #createView .result-panel {
    display: none !important;
  }

  body[data-current-view="create"] #createView .generated-create-side-preview {
    display: block !important;
    position: sticky !important;
    top: 92px !important;
    min-width: 0 !important;
    padding: 20px !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    border: 1px solid var(--ui-line) !important;
    box-shadow: 0 10px 28px rgba(23, 33, 31, 0.06) !important;
  }

  body[data-current-view="create"] #createView .form-panel {
    min-width: 0 !important;
    overflow: hidden !important;
  }

  body[data-current-view="create"] #createForm {
    display: flex !important;
    flex-direction: column !important;
  }

  body[data-current-view="create"] #createView .project-name-field {
    order: 1 !important;
  }

  body[data-current-view="create"] #createView .category-tabs {
    order: 2 !important;
  }

  body[data-current-view="create"] #createView .project-field,
  body[data-current-view="create"] #createView .comparison-field {
    order: 3 !important;
  }

  body[data-current-view="create"] #createView label:has(#count) {
    order: 4 !important;
  }

  body[data-current-view="create"] #createView .upload-effect-field,
  body[data-current-view="create"] #createView .chat-field {
    order: 5 !important;
  }

  body[data-current-view="create"] #createView #advancedCreateFields {
    order: 6 !important;
  }

  body[data-current-view="create"] #createView .field-group,
  body[data-current-view="create"] #createView .advanced-create-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body[data-current-view="create"] #createView .category-card {
    min-height: 46px !important;
  }

  body[data-current-view="create"] #createView .form-actions {
    display: grid !important;
    grid-template-columns: 160px 150px 1fr !important;
  }

  body[data-current-view="create"] #createView .form-actions .primary-button {
    width: 160px !important;
  }
}

@media (max-width: 720px) {
  body[data-current-view="create"] #createView .generated-create-side-preview {
    display: none !important;
  }
}

@media (max-width: 720px) {






  body[data-current-view="home"] .generated-module-card,
  body[data-current-view="home"] .generated-module-card strong {
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }
}

@media (min-width: 721px) {
  body[data-current-view="create"] #createView {
    max-width: none !important;
    margin: 0 !important;
    padding-right: 472px !important;
  }

  body[data-current-view="create"] #createView .workspace-grid {
    display: block !important;
    max-width: 780px !important;
  }

  body[data-current-view="create"] #createView .form-panel {
    width: 100% !important;
    max-width: 780px !important;
  }

  body[data-current-view="create"] #createView .generated-create-side-preview {
    display: block !important;
    position: fixed !important;
    top: 94px !important;
    right: 28px !important;
    z-index: 18 !important;
    width: 430px !important;
    max-height: calc(100vh - 126px) !important;
    overflow: auto !important;
  }

  body[data-current-view="create"] #createView .generated-create-side-preview .generated-phone {
    width: 300px !important;
    min-height: 590px !important;
  }
}

@media (max-width: 720px) {










}

/* create page cleanup: remove basic-setting header and align three modules */
body[data-current-view="create"] #createView .form-panel > .panel-heading {
  display: none !important;
}

body[data-current-view="create"] #createView .section-close-bar {
  min-height: 54px !important;
  margin-bottom: 16px !important;
  padding: 0 !important;
  border-bottom: 1px solid var(--ui-line) !important;
  background: transparent !important;
  position: static !important;
}

body[data-current-view="create"] #createView .section-exit-title {
  margin: 0 !important;
  padding: 0 16px !important;
  min-height: 42px !important;
  border: 1px solid var(--ui-line) !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: var(--ui-ink) !important;
  font-size: 18px !important;
}

body[data-current-view="create"] #createView .workspace-grid {
  grid-template-columns: minmax(0, 1fr) !important;
}

body[data-current-view="create"] #createView .result-panel {
  display: none !important;
}

body[data-current-view="create"] #createView .form-panel {
  max-width: 1120px !important;
  margin: 0 auto !important;
  border-radius: 10px !important;
}

body[data-current-view="create"] #createForm {
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  gap: 14px !important;
  padding: 18px !important;
}

body[data-current-view="create"] #createForm > input[type="hidden"] {
  display: none !important;
}

body[data-current-view="create"] #createView .category-tabs {
  order: -100 !important;
  grid-column: 1 / -1 !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin: 0 0 4px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body[data-current-view="create"] #createView .category-card {
  min-height: 78px !important;
  border: 1px solid var(--ui-line) !important;
  border-radius: 8px !important;
  background: #ffffff !important;
}

body[data-current-view="create"] #createView .category-card.active {
  border-color: #0f8a7d !important;
  background: #edf8f5 !important;
  box-shadow: inset 0 0 0 1px #0f8a7d !important;
}

body[data-current-view="create"] #createView .project-name-field {
  order: -90 !important;
  grid-column: span 4 !important;
}

body[data-current-view="create"] #createView .project-field {
  order: -89 !important;
  grid-column: span 4 !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
}

body[data-current-view="create"] #createView .project-field > label,
body[data-current-view="create"] #createView label:has(#count) {
  grid-column: span 4 !important;
}

body[data-current-view="create"] #createView label:has(#count) {
  order: -88 !important;
}

body[data-current-view="create"] #createView .comparison-field {
  order: 11 !important;
  grid-column: 1 / -1 !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

body[data-current-view="create"] #createView .comparison-field > label {
  grid-column: span 4 !important;
}

body[data-current-view="create"] #createView .upload-effect-field,
body[data-current-view="create"] #createView .chat-field {
  order: 13 !important;
  grid-column: span 4 !important;
}

body[data-current-view="create"] #advancedCreateFields {
  order: 70 !important;
  grid-column: 1 / -1 !important;
  padding: 16px !important;
  border: 1px solid var(--ui-line) !important;
  border-radius: 10px !important;
  background: #f8fbfa !important;
}

body[data-current-view="create"] #advancedCreateFields.hidden-field {
  display: none !important;
}

body[data-current-view="create"] #createView .advanced-create-title {
  margin: 0 0 12px !important;
  padding: 0 !important;
  border: 0 !important;
  color: var(--ui-ink) !important;
  font-size: 16px !important;
}

body[data-current-view="create"] #createView .advanced-create-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

body[data-current-view="create"] #createView .advanced-create-grid > .field-group {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

body[data-current-view="create"] #createView .advanced-create-grid label {
  min-width: 0 !important;
}

body[data-current-view="create"] #createView .extra-text-field {
  order: 80 !important;
  grid-column: 1 / -1 !important;
}

body[data-current-view="create"] #createView .extra-text-field textarea {
  min-height: 190px !important;
}

body[data-current-view="create"] #createView .form-actions {
  order: 100 !important;
  grid-column: 1 / -1 !important;
  display: flex !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  padding-top: 12px !important;
  border-top: 1px solid var(--ui-line) !important;
}

body[data-current-view="create"] #createView .form-actions .primary-button,
body[data-current-view="create"] #createView .form-actions .secondary-button {
  min-width: 150px !important;
}

@media (max-width: 900px) {
  body[data-current-view="create"] #createForm,
  body[data-current-view="create"] #createView .advanced-create-grid {
    grid-template-columns: 1fr !important;
  }

  body[data-current-view="create"] #createView .category-tabs {
    grid-template-columns: 1fr !important;
  }

  body[data-current-view="create"] #createView .project-name-field,
  body[data-current-view="create"] #createView .project-field > label,
  body[data-current-view="create"] #createView .comparison-field > label,
  body[data-current-view="create"] #createView .upload-effect-field,
  body[data-current-view="create"] #createView .chat-field,
  body[data-current-view="create"] #createView label:has(#count) {
    grid-column: 1 / -1 !important;
  }
}

body[data-current-view="create"] #createView .hidden-field {
  display: none !important;
}

/* create page unified sizing system */
body[data-current-view="create"] #createView {
  --create-gap: 12px;
  --create-field-h: 44px;
  --create-radius: 8px;
  --create-border: #dce5e1;
  --create-soft: #f7faf9;
  --create-ink: #17211f;
  --create-muted: #66736f;
  --create-accent: #075c55;
}

body[data-current-view="create"] #createView .form-panel {
  max-width: 1040px !important;
  background: #ffffff !important;
  border: 1px solid var(--create-border) !important;
  border-radius: var(--create-radius) !important;
  box-shadow: none !important;
}

body[data-current-view="create"] #createForm {
  grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  gap: var(--create-gap) !important;
  padding: 16px !important;
  background: #ffffff !important;
}

body[data-current-view="create"] #createView .category-tabs {
  gap: var(--create-gap) !important;
  margin: 0 !important;
}

body[data-current-view="create"] #createView .category-card {
  display: grid !important;
  grid-template-columns: 1fr !important;
  align-content: center !important;
  min-height: 64px !important;
  padding: 12px 14px !important;
  border: 1px solid var(--create-border) !important;
  border-radius: var(--create-radius) !important;
  background: #ffffff !important;
  text-align: left !important;
  box-shadow: none !important;
}

body[data-current-view="create"] #createView .category-card.active {
  border-color: var(--create-accent) !important;
  background: #eef8f5 !important;
  box-shadow: inset 0 0 0 1px var(--create-accent) !important;
}

body[data-current-view="create"] #createView .category-card .module-icon {
  display: none !important;
}

body[data-current-view="create"] #createView .category-card strong {
  font-size: 18px !important;
  line-height: 1.2 !important;
  color: var(--create-ink) !important;
}

body[data-current-view="create"] #createView .category-card .category-intro {
  display: block !important;
  margin-top: 4px !important;
  padding: 0 !important;
  min-height: 0 !important;
  background: transparent !important;
  color: var(--create-muted) !important;
  font-size: 12px !important;
}

body[data-current-view="create"] #createView .project-name-field,
body[data-current-view="create"] #createView .project-field,
body[data-current-view="create"] #createView label:has(#count),
body[data-current-view="create"] #createView .comparison-field > label,
body[data-current-view="create"] #createView .upload-effect-field,
body[data-current-view="create"] #createView .chat-field,
body[data-current-view="create"] #createView .advanced-create-grid label,
body[data-current-view="create"] #createView .extra-text-field {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body[data-current-view="create"] #createView .project-name-field,
body[data-current-view="create"] #createView .project-field,
body[data-current-view="create"] #createView label:has(#count) {
  grid-column: span 4 !important;
}

body[data-current-view="create"] #createView .project-field {
  display: grid !important;
  grid-template-columns: 1fr !important;
}

body[data-current-view="create"] #createView .form-stack label,
body[data-current-view="create"] #createView .field-group label,
body[data-current-view="create"] #createView .advanced-create-grid label {
  display: grid !important;
  gap: 6px !important;
  min-width: 0 !important;
}

body[data-current-view="create"] #createView .form-stack label > span,
body[data-current-view="create"] #createView .field-group label > span,
body[data-current-view="create"] #createView .advanced-create-grid label > span {
  color: var(--create-muted) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

body[data-current-view="create"] #createView input,
body[data-current-view="create"] #createView select {
  min-height: var(--create-field-h) !important;
  height: var(--create-field-h) !important;
  padding: 0 12px !important;
  border: 1px solid var(--create-border) !important;
  border-radius: var(--create-radius) !important;
  background: #ffffff !important;
  color: var(--create-ink) !important;
  font-size: 14px !important;
  box-shadow: none !important;
}

body[data-current-view="create"] #createView textarea {
  min-height: 168px !important;
  padding: 12px !important;
  border: 1px solid var(--create-border) !important;
  border-radius: var(--create-radius) !important;
  background: #ffffff !important;
  color: var(--create-ink) !important;
  font-size: 14px !important;
  box-shadow: none !important;
}

body[data-current-view="create"] #advancedCreateFields {
  grid-column: 1 / -1 !important;
  padding: 14px !important;
  border: 1px solid var(--create-border) !important;
  border-radius: var(--create-radius) !important;
  background: var(--create-soft) !important;
}

body[data-current-view="create"] #createView .advanced-create-title {
  margin: 0 0 12px !important;
  color: var(--create-ink) !important;
  font-size: 15px !important;
  font-weight: 900 !important;
}

body[data-current-view="create"] #createView .advanced-create-title::after {
  content: "" !important;
}

body[data-current-view="create"] #createView .advanced-create-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: var(--create-gap) !important;
}

body[data-current-view="create"] #createView .advanced-create-grid > .field-group:not(.hidden-field) {
  display: grid !important;
  grid-column: span 2 !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: var(--create-gap) !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body[data-current-view="create"] #advancedCreateFields .field-group.hidden-field {
  display: none !important;
}

body[data-current-view="create"] #advancedCreateFields .field-group label,
body[data-current-view="create"] #advancedCreateFields > label,
body[data-current-view="create"] #advancedCreateFields .advanced-create-grid > label {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body[data-current-view="create"] #createView .choice-picker {
  display: none !important;
}

body[data-current-view="create"] #createView .extra-text-field {
  grid-column: 1 / -1 !important;
}

body[data-current-view="create"] #createView .form-actions {
  margin-top: 2px !important;
  padding-top: 14px !important;
  border-top: 1px solid var(--create-border) !important;
}

body[data-current-view="create"] #createView .form-actions .primary-button,
body[data-current-view="create"] #createView .form-actions .secondary-button {
  min-height: var(--create-field-h) !important;
  height: var(--create-field-h) !important;
  min-width: 136px !important;
  border-radius: var(--create-radius) !important;
}

@media (max-width: 900px) {
  body[data-current-view="create"] #createView .project-name-field,
  body[data-current-view="create"] #createView .project-field,
  body[data-current-view="create"] #createView label:has(#count) {
    grid-column: 1 / -1 !important;
  }

  body[data-current-view="create"] #createView .category-card {
    min-height: 58px !important;
  }
}

/* create inner module button/background layout */
body[data-current-view="create"] #createView .category-card {
  position: relative !important;
  overflow: hidden !important;
  background: #f8faf9 !important;
}

body[data-current-view="create"] #createView .category-card::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 4px !important;
  background: transparent !important;
}

body[data-current-view="create"] #createView .category-card.active::before {
  background: var(--create-accent) !important;
}

body[data-current-view="create"] #createView .category-card.active {
  background: linear-gradient(180deg, #f1fbf8 0%, #ffffff 100%) !important;
}

body[data-current-view="create"] #createView .category-card strong,
body[data-current-view="create"] #createView .category-card span {
  position: relative !important;
  z-index: 1 !important;
}

body[data-current-view="create"] #createView .project-name-field,
body[data-current-view="create"] #createView .project-field,
body[data-current-view="create"] #createView label:has(#count),
body[data-current-view="create"] #createView .comparison-field > label,
body[data-current-view="create"] #createView .upload-effect-field,
body[data-current-view="create"] #createView .chat-field {
  min-height: 76px !important;
  align-content: start !important;
}

body[data-current-view="create"] #createView .project-name-field,
body[data-current-view="create"] #createView .project-field,
body[data-current-view="create"] #createView label:has(#count) {
  padding: 12px !important;
  border: 1px solid #e1ebe7 !important;
  border-radius: var(--create-radius) !important;
  background: #f8faf9 !important;
}

body[data-current-view="create"] #createView .project-field > label,
body[data-current-view="create"] #createView .comparison-field > label {
  padding: 12px !important;
  border: 1px solid #e1ebe7 !important;
  border-radius: var(--create-radius) !important;
  background: #f8faf9 !important;
}

body[data-current-view="create"] #createView .comparison-field {
  grid-column: 1 / -1 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body[data-current-view="create"] #advancedCreateFields {
  background: #ffffff !important;
}

body[data-current-view="create"] #createView .advanced-create-grid label {
  min-height: 76px !important;
  padding: 12px !important;
  border: 1px solid #e1ebe7 !important;
  border-radius: var(--create-radius) !important;
  background: #f8faf9 !important;
}

body[data-current-view="create"] #createView .extra-text-field {
  padding: 12px !important;
  border: 1px solid #e1ebe7 !important;
  border-radius: var(--create-radius) !important;
  background: #f8faf9 !important;
}

body[data-current-view="create"] #createView .form-actions {
  position: sticky !important;
  bottom: 0 !important;
  z-index: 10 !important;
  margin: 0 -16px -16px !important;
  padding: 12px 16px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(10px) !important;
}

body[data-current-view="create"] #createView .form-actions .primary-button {
  border: 1px solid var(--create-accent) !important;
  background: var(--create-accent) !important;
  color: #ffffff !important;
}

body[data-current-view="create"] #createView .form-actions .secondary-button {
  border: 1px solid var(--create-border) !important;
  background: #ffffff !important;
  color: var(--create-accent) !important;
}

body[data-current-view="create"] #createView .form-actions button:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 8px 18px rgba(7, 92, 85, 0.12) !important;
}

body[data-current-view="create"] #createView input:focus,
body[data-current-view="create"] #createView select:focus,
body[data-current-view="create"] #createView textarea:focus {
  border-color: var(--create-accent) !important;
  box-shadow: 0 0 0 3px rgba(7, 92, 85, 0.1) !important;
}

@media (max-width: 720px) {
  body[data-current-view="create"] #createView .category-card,
  body[data-current-view="create"] #createView .project-name-field,
  body[data-current-view="create"] #createView .project-field,
  body[data-current-view="create"] #createView label:has(#count),
  body[data-current-view="create"] #createView .comparison-field > label,
  body[data-current-view="create"] #createView .advanced-create-grid label,
  body[data-current-view="create"] #createView .extra-text-field {
    min-height: auto !important;
    padding: 12px !important;
  }

  body[data-current-view="create"] #createView .form-actions {
    position: static !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    margin: 0 !important;
  }
}

/* remove content preview boxes from create workflow */
body[data-current-view="create"] #createView .generated-live-preview,
body[data-current-view="create"] #createView .generated-create-side-preview,
body[data-current-view="create"] #createView .generated-preview-card,
body[data-current-view="create"] #createView .result-panel {
  display: none !important;
}

/* rollback: restore previous page structure after generated mockup layout */
@media (min-width: 721px) {
  body[data-current-view="home"] .generated-desktop-workbench,
  body[data-current-view="create"] #createView .generated-create-side-preview {
    display: none !important;
  }

  body[data-current-view="home"] .generated-home {
    display: grid !important;
  }

  body[data-current-view="home"] #homeView {
    padding: 0 !important;
  }

  body[data-current-view="home"] .topbar h1,
  body[data-current-view="create"] .topbar h1 {
    font-size: 24px !important;
  }

  body[data-current-view="home"] .topbar h1::after,
  body[data-current-view="create"] .topbar h1::after {
    content: none !important;
  }

  body[data-current-view="create"] #createView {
    max-width: none !important;
    margin: 0 !important;
    padding: 24px 28px 34px !important;
  }

  body[data-current-view="create"] #createView .section-close-bar {
    display: flex !important;
  }

  body[data-current-view="create"] #createView .workspace-grid {
    display: grid !important;
    max-width: none !important;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 420px) !important;
    gap: 18px !important;
  }

  body[data-current-view="create"] #createView .form-panel {
    width: auto !important;
    max-width: none !important;
  }

  body[data-current-view="create"] #createView .result-panel.hidden-field,
  body[data-current-view="create"] #createView .result-panel {
    display: block !important;
    position: static !important;
  }
}

@media (max-width: 720px) {
  body[data-current-view="home"] .generated-desktop-workbench,
  body[data-current-view="create"] #createView .generated-create-side-preview {
    display: none !important;
  }







}

/* rollback mobile cleanup */
@media (max-width: 720px) {








}
