/* Lingdong r1062 — focused creation workspace */
html:not(.theme-white):not(.theme-pink):not(.theme-aurora-glass):not(.theme-midnight-grid):not(.theme-sakura-flux):not(.theme-forest-signal):not(.theme-solar-dust) {
  --radius: .75rem;
  --background: oklch(13.5% .012 230);
  --foreground: oklch(96% .008 220);
  --card: oklch(17.5% .014 230);
  --card-foreground: oklch(96% .008 220);
  --popover: oklch(19% .014 230);
  --popover-foreground: oklch(96% .008 220);
  --primary: oklch(76% .13 172);
  --primary-foreground: oklch(14% .025 210);
  --secondary: oklch(21% .014 230);
  --secondary-foreground: oklch(91% .01 220);
  --muted: oklch(21% .012 230);
  --muted-foreground: oklch(73% .016 225);
  --accent: oklch(24% .025 205);
  --accent-foreground: oklch(96% .008 220);
  --border: oklch(29% .018 230);
  --input: oklch(23% .016 230);
  --ring: oklch(76% .13 172);
  --sidebar: oklch(11.5% .012 230);
  --sidebar-foreground: oklch(94% .01 220);
  --sidebar-primary: oklch(76% .13 172);
  --sidebar-primary-foreground: oklch(14% .025 210);
  --sidebar-accent: oklch(19% .018 215);
  --sidebar-accent-foreground: oklch(96% .008 220);
  --sidebar-border: oklch(25% .016 230);
  --sidebar-ring: oklch(76% .13 172);
}

body {
  background-image: none !important;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  text-rendering: optimizeLegibility;
}

.app-shell,
.workspace-canvas,
.professional-bg,
.studio-generator-shell,
.admin-shell,
.tool-shell {
  background: var(--background) !important;
}

.app-shell {
  background-image: none !important;
}

.app-sidebar,
.app-sidebar-header,
.app-sidebar-footer,
.studio-form-panel,
.creative-workspace > header,
.studio-generator-header {
  box-shadow: none !important;
}

.app-sidebar-header,
.app-sidebar-footer {
  background: transparent !important;
  border-color: var(--sidebar-border) !important;
}

[data-slot="sidebar-inner"] {
  background: var(--sidebar) !important;
}

[data-slot="sidebar-group-label"] {
  color: var(--muted-foreground) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: .08em !important;
}

[data-slot="sidebar-menu-button"] {
  min-height: 40px;
  border-radius: 10px !important;
  box-shadow: none !important;
  transition: color .18s ease-out, background-color .18s ease-out, border-color .18s ease-out !important;
}

[data-slot="sidebar-menu-button"]:hover {
  background: var(--sidebar-accent) !important;
}

[data-slot="sidebar-menu-button"][data-active="true"] {
  border-color: color-mix(in oklch, var(--primary) 32%, var(--sidebar-border)) !important;
  background: color-mix(in oklch, var(--primary) 12%, var(--sidebar)) !important;
  color: var(--primary) !important;
}

[data-slot="sidebar-menu-button"] .animate-pulse {
  animation: none !important;
}

.brand-mark,
.studio-icon-tile {
  border-radius: 10px !important;
  box-shadow: none !important;
}

.surface-panel,
.surface-card,
.studio-section,
.studio-model-switcher,
.studio-plugin-shell,
.studio-enhance-panel,
.admin-toolbar,
.filter-toolbar,
.creative-composer {
  border-color: var(--border) !important;
  background: var(--card) !important;
  box-shadow: none !important;
}

.surface-panel,
.studio-section,
.studio-plugin-shell,
.creative-composer {
  border-radius: 14px !important;
}

.studio-model-sticky,
.studio-submit-bar {
  background: var(--background) !important;
  box-shadow: none !important;
}

.studio-model-trigger,
.studio-textarea,
.studio-prompt-mention-editor {
  background: var(--background) !important;
}

.studio-video-card {
  overflow: hidden;
  border-color: var(--border) !important;
  border-radius: 12px !important;
  background: var(--card) !important;
  box-shadow: none !important;
  transition: transform .18s ease-out, border-color .18s ease-out !important;
}

.studio-video-card:hover {
  border-color: color-mix(in oklch, var(--primary) 45%, var(--border)) !important;
  box-shadow: none !important;
  transform: translateY(-2px);
}

.studio-history-head,
.studio-history-panel,
.creative-workspace aside {
  border-color: var(--border) !important;
  background: var(--background) !important;
}

.studio-primary-button {
  border-radius: 10px !important;
  box-shadow: none !important;
}

.studio-primary-button:hover {
  filter: brightness(1.06);
}

.page-title,
.app-page-title {
  letter-spacing: -.02em !important;
}

.page-description,
.app-page-subtitle {
  line-height: 1.65 !important;
}

.page-kicker,
.studio-section-label {
  letter-spacing: .08em !important;
}

.creative-workspace > header {
  background: var(--background) !important;
  border-color: var(--border) !important;
}

.creative-composer {
  border-radius: 16px !important;
}

.creative-composer textarea {
  caret-color: var(--primary);
}

button,
a,
input,
textarea,
select,
[role="button"] {
  outline-offset: 3px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid var(--ring) !important;
}

::selection {
  background: color-mix(in oklch, var(--primary) 28%, transparent) !important;
}

@media (max-width: 767px) {
  [data-slot="sidebar-menu-button"] {
    min-height: 44px;
  }

  .page-shell,
  .app-page-shell {
    padding: 12px !important;
  }

  .creative-workspace > header {
    min-height: 56px;
    height: auto !important;
    padding-block: 6px;
  }

  .studio-video-card:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .studio-video-card {
    transition: none !important;
  }

  .studio-video-card:hover {
    transform: none;
  }
}
