html.dark,
body.dark {
  color-scheme: dark;
}

html.dark {
  --ink: #f8fafc;
  --muted: #a7b0c0;
  --line: rgba(148, 163, 184, .26);
  --panel: #111827;
  --soft: #0f172a;
  --pc-ink: #f8fafc;
  --pc-muted: #a7b0c0;
  --pc-line: rgba(148, 163, 184, .26);
  --pc-soft: #0f172a;
}

html.dark body {
  color: #e5e7eb;
  background:
    linear-gradient(135deg, rgba(2, 6, 23, .94), rgba(15, 23, 42, .9)),
    url("/asset/pexels-background.jpg") center / cover fixed !important;
}

html.dark .page,
html.dark .shell,
html.dark .editor-shell,
html.dark .app {
  border-color: rgba(148, 163, 184, .22);
  background: rgba(15, 23, 42, .94);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .42);
}

html.dark .topbar,
html.dark .top,
html.dark .sidebar,
html.dark .side,
html.dark .main,
html.dark .content,
html.dark .panel,
html.dark .card,
html.dark .intro-card,
html.dark .metric-card,
html.dark .preview-panel,
html.dark .side-panel,
html.dark .control-card,
html.dark .actions,
html.dark .upgrade,
html.dark .search,
html.dark .tool-link,
html.dark .api-progress,
html.dark .input-card,
html.dark .workspace,
html.dark .toolbar,
html.dark .canvas-panel,
html.dark .settings-panel,
html.dark .project-panel {
  border-color: rgba(148, 163, 184, .22) !important;
  color: #e5e7eb;
  background-color: rgba(17, 24, 39, .92) !important;
}

html.dark .size-card,
html.dark .template,
html.dark .template-card,
html.dark .creation,
html.dark .video-card,
html.dark .field,
html.dark .form-card,
html.dark .canvas-card,
html.dark .stage-card,
html.dark .left-panel,
html.dark .right-panel,
html.dark .control-panel,
html.dark .properties,
html.dark .option,
html.dark .preset,
html.dark .step,
html.dark .steps li,
html.dark table,
html.dark form {
  border-color: rgba(148, 163, 184, .22) !important;
  color: #e5e7eb;
  background-color: rgba(17, 24, 39, .92) !important;
}

html.dark h1,
html.dark h2,
html.dark h3,
html.dark h4,
html.dark .page-title h1,
html.dark .section-head h2,
html.dark .card h2,
html.dark .body h2,
html.dark .nav-link,
html.dark .nav a,
html.dark .btn,
html.dark .back,
html.dark .brand,
html.dark .tool-link,
html.dark label,
html.dark .control,
html.dark .control-label {
  color: #f8fafc !important;
}

html.dark p,
html.dark span,
html.dark .meta,
html.dark .source,
html.dark .muted,
html.dark .nav-title,
html.dark .preset-note,
html.dark .status,
html.dark .page-title p,
html.dark .intro-card p,
html.dark .steps span {
  color: #a7b0c0;
}

html.dark .btn,
html.dark .back,
html.dark .ghost-btn,
html.dark .file-drop,
html.dark .category-chip,
html.dark .tab,
html.dark .preview-option,
html.dark input,
html.dark select,
html.dark textarea,
html.dark .control input,
html.dark .control select,
html.dark .search input {
  border-color: rgba(148, 163, 184, .28) !important;
  color: #f8fafc !important;
  background-color: rgba(15, 23, 42, .86) !important;
}

html.dark input::placeholder,
html.dark textarea::placeholder {
  color: #94a3b8;
}

html.dark .btn.dark,
html.dark .dark-btn,
html.dark .btn.blue,
html.dark .primary-btn,
html.dark .category-chip.active,
html.dark .tab.active,
html.dark .preview-option.active {
  color: #fff !important;
  background: #1677ff !important;
  border-color: #1677ff !important;
}

html.dark .nav-link.active,
html.dark .nav a.active {
  color: #bfdbfe !important;
  background: rgba(22, 119, 255, .18) !important;
}

html.dark .preview-stage,
html.dark .stage,
html.dark .canvas-wrap,
html.dark .dropzone,
html.dark .empty,
html.dark .output,
html.dark .search {
  border-color: rgba(148, 163, 184, .28) !important;
  background-color: rgba(2, 6, 23, .72) !important;
}

html.dark .api-progress-track {
  background: rgba(148, 163, 184, .2);
}

html.dark .brand-mark span,
html.dark .mark span {
  background: #60a5fa;
}

html.dark img {
  border-color: rgba(148, 163, 184, .18);
}

html.dark .theme-toggle {
  border-color: rgba(148, 163, 184, .28);
  background: rgba(15, 23, 42, .86);
}

html.dark .theme-toggle button {
  color: #a7b0c0;
}

html.dark .theme-toggle .selected,
html.dark button[data-theme].selected,
html.dark [role="button"][data-theme].selected {
  color: #fff !important;
  background: #1677ff !important;
}

html.dark .bg-white,
html.dark .bg-gray-50,
html.dark .bg-gray-100,
html.dark .bg-slate-50,
html.dark .bg-slate-100 {
  background-color: #111827 !important;
}

html.dark .bg-gray-900,
html.dark .bg-slate-900 {
  background-color: #020617 !important;
}

html.dark .text-gray-800,
html.dark .text-gray-900,
html.dark .text-slate-800,
html.dark .text-slate-900 {
  color: #f8fafc !important;
}

html.dark .text-gray-400,
html.dark .text-gray-500,
html.dark .text-gray-600,
html.dark .text-gray-700,
html.dark .text-slate-400,
html.dark .text-slate-500,
html.dark .text-slate-600,
html.dark .text-slate-700 {
  color: #a7b0c0 !important;
}

html.dark .border,
html.dark .border-gray-200,
html.dark .border-gray-300,
html.dark .border-slate-200,
html.dark .border-slate-300 {
  border-color: rgba(148, 163, 184, .28) !important;
}

html.dark .shadow,
html.dark .shadow-lg,
html.dark .shadow-xl {
  box-shadow: 0 20px 60px rgba(0, 0, 0, .36) !important;
}

/* Premium OnlinePhotoEditor.ai design system */
:root {
  color-scheme: light;
  --pc-bg-dark: #0d0f14;
  --pc-panel-dark: #151821;
  --pc-card-dark: #1b1f2a;
  --pc-bg-light: #f7f8fb;
  --pc-card-light: #ffffff;
  --pc-border-dark: rgba(255, 255, 255, 0.08);
  --pc-border-light: rgba(15, 23, 42, 0.08);
  --pc-accent: #8b5cf6;
  --pc-accent-2: #06b6d4;
  --pc-success: #22c55e;
  --pc-warning: #f59e0b;
  --pc-danger: #ef4444;
  --pc-text: #111827;
  --pc-text-muted: #64748b;
  --pc-surface: rgba(255, 255, 255, 0.84);
  --pc-surface-solid: #ffffff;
  --pc-panel: rgba(255, 255, 255, 0.9);
  --pc-elevated: rgba(255, 255, 255, 0.96);
  --pc-line: rgba(15, 23, 42, 0.08);
  --pc-glass: rgba(255, 255, 255, 0.66);
  --pc-gradient-cta: linear-gradient(135deg, #8b5cf6, #6366f1);
  --pc-gradient-ai: linear-gradient(135deg, #06b6d4, #8b5cf6);
  --pc-page-gradient: linear-gradient(135deg, #f7f8fb, #eef2ff);
  --pc-dark-page-gradient: radial-gradient(circle at top left, rgba(139, 92, 246, 0.18), transparent 35%), linear-gradient(135deg, #0d0f14, #151821);
  --pc-shadow-card: 0 18px 60px rgba(15, 23, 42, 0.08);
  --pc-shadow-panel: 0 20px 80px rgba(0, 0, 0, 0.18);
  --pc-shadow-float: 0 12px 30px rgba(0, 0, 0, 0.18);
  --pc-radius-sm: 12px;
  --pc-radius-md: 16px;
  --pc-radius-lg: 22px;
  --pc-radius-xl: 28px;
  --pc-transition: 180ms ease;
  --blue: #8b5cf6;
  --blue-dark: #6366f1;
  --ink: var(--pc-text);
  --muted: var(--pc-text-muted);
  --line: var(--pc-line);
  --panel: var(--pc-surface-solid);
  --soft: #eef2ff;
  --shadow: var(--pc-shadow-card);
}

html.dark,
html.theme-dark,
html[data-theme="dark"] {
  color-scheme: dark;
  --pc-text: #f8fafc;
  --pc-text-muted: #a1a8b8;
  --pc-surface: rgba(21, 24, 33, 0.82);
  --pc-surface-solid: #151821;
  --pc-panel: rgba(21, 24, 33, 0.9);
  --pc-elevated: rgba(27, 31, 42, 0.94);
  --pc-line: rgba(255, 255, 255, 0.08);
  --pc-glass: rgba(27, 31, 42, 0.66);
  --pc-page-gradient: var(--pc-dark-page-gradient);
  --pc-shadow-card: 0 20px 80px rgba(0, 0, 0, 0.35);
  --pc-shadow-panel: 0 22px 90px rgba(0, 0, 0, 0.42);
  --ink: var(--pc-text);
  --muted: var(--pc-text-muted);
  --line: var(--pc-line);
  --panel: var(--pc-surface-solid);
  --soft: #0d0f14;
}

html,
body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  color: var(--pc-text) !important;
  background: var(--pc-page-gradient) !important;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

body,
button,
input,
select,
textarea {
  letter-spacing: 0;
}

a,
button,
.btn,
.nav-link,
.tool-card,
.media-card,
.template,
.creation,
.project-card,
.video-card,
.size-card,
.social-pill {
  transition: transform var(--pc-transition), border-color var(--pc-transition), box-shadow var(--pc-transition), background var(--pc-transition), color var(--pc-transition), opacity var(--pc-transition);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid rgba(139, 92, 246, 0.32) !important;
  outline-offset: 3px;
}

.app-shell,
.shell,
.app,
.editor-shell,
.page,
.tool-shell,
.studio-shell {
  border: 1px solid var(--pc-line) !important;
  border-radius: var(--pc-radius-xl) !important;
  background: var(--pc-surface) !important;
  box-shadow: var(--pc-shadow-panel) !important;
  backdrop-filter: blur(24px);
}

.topbar,
.top,
.studio-topbar,
.editor-topbar {
  border-bottom: 1px solid var(--pc-line) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.52)) !important;
}

html.dark .topbar,
html.dark .top,
html.dark .studio-topbar,
html.dark .editor-topbar {
  background: linear-gradient(180deg, rgba(27, 31, 42, 0.92), rgba(21, 24, 33, 0.76)) !important;
}

.sidebar,
.side,
.editor-rail {
  border-right: 1px solid var(--pc-line) !important;
  background: linear-gradient(180deg, var(--pc-panel), rgba(255, 255, 255, 0.62)) !important;
}

html.dark .sidebar,
html.dark .side,
html.dark .editor-rail {
  background: linear-gradient(180deg, rgba(21, 24, 33, 0.96), rgba(13, 15, 20, 0.94)) !important;
}

.brand,
.logo {
  color: var(--pc-text) !important;
}

.brand-mark span,
.mark span,
.logo-mark span {
  background: var(--pc-gradient-ai) !important;
}

.nav-link,
.nav a,
.tool-link,
.sidebar-item {
  border: 1px solid transparent !important;
  border-radius: 14px !important;
  color: var(--pc-text-muted) !important;
}

.nav-link:hover,
.nav a:hover,
.tool-link:hover,
.sidebar-item:hover {
  transform: translateY(-1px);
  color: var(--pc-text) !important;
  background: rgba(139, 92, 246, 0.08) !important;
  border-color: rgba(139, 92, 246, 0.14) !important;
}

.nav-link.active,
.nav a.active,
.tool-link.active,
.sidebar-item.active {
  color: #ffffff !important;
  background: var(--pc-gradient-cta) !important;
  border-color: transparent !important;
  box-shadow: 0 14px 30px rgba(99, 102, 241, 0.26);
}

.main,
.content,
.workspace,
.editor-main,
.canvas-panel,
.project-panel,
.settings-panel {
  background: transparent !important;
}

.panel,
.card,
.glass-card,
.intro-card,
.metric-card,
.preview-panel,
.side-panel,
.control-card,
.input-card,
.template-card,
.canvas-card,
.stage-card,
.left-panel,
.right-panel,
.control-panel,
.properties,
.project-card,
.pricing-card,
.marketing-card,
.form-card,
.upgrade,
.modal,
.export-modal,
.preview-card,
.tool-card,
.media-card,
.property-panel,
.editor-panel {
  border: 1px solid var(--pc-line) !important;
  border-radius: var(--pc-radius-lg) !important;
  color: var(--pc-text) !important;
  background: var(--pc-elevated) !important;
  box-shadow: var(--pc-shadow-card) !important;
}

.hero {
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: var(--pc-radius-xl) !important;
  background:
    radial-gradient(circle at 12% 16%, rgba(6, 182, 212, 0.32), transparent 28%),
    radial-gradient(circle at 82% 10%, rgba(139, 92, 246, 0.42), transparent 34%),
    repeating-radial-gradient(ellipse at 18% 18%, rgba(255, 255, 255, 0.16) 0 1px, transparent 2px 24px),
    linear-gradient(135deg, #0d0f14, #1d2451 48%, #4f46e5) !important;
  box-shadow: 0 24px 90px rgba(79, 70, 229, 0.22);
}

.hero-kicker {
  width: fit-content;
  margin: 0 auto 12px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86) !important;
  background: rgba(255, 255, 255, 0.12);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-subtitle {
  max-width: 760px;
  margin: -12px auto 22px;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 1.6;
}

.pc-dashboard .hero {
  min-height: 430px !important;
}

.pc-dashboard .hero-inner {
  max-width: 1120px !important;
  padding: 44px 32px !important;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 24px;
}

.hero-action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #ffffff !important;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.2);
}

.hero-action.primary {
  border-color: transparent;
  background: var(--pc-gradient-cta);
}

.creation,
.template,
.size-card,
.social-pill,
.category-chip,
.tab,
.preview-option,
.option,
.preset,
.step,
.video-card,
.quick-card {
  border: 1px solid var(--pc-line) !important;
  border-radius: var(--pc-radius-md) !important;
  background: var(--pc-elevated) !important;
  box-shadow: 0 10px 34px rgba(15, 23, 42, 0.06);
}

.creation {
  padding: 12px 8px;
  color: rgba(255, 255, 255, 0.9) !important;
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  box-shadow: none;
}

.creation:hover,
.template:hover,
.size-card:hover,
.social-pill:hover,
.video-card:hover,
.project-card:hover,
.tool-card:hover,
.media-card:hover {
  transform: translateY(-3px);
  border-color: rgba(139, 92, 246, 0.34) !important;
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.12) !important;
}

.creation-icon,
.icon-button,
.bell,
.collapse,
.tool-button {
  border: 1px solid var(--pc-line) !important;
  border-radius: 14px !important;
  background: var(--pc-glass) !important;
  box-shadow: var(--pc-shadow-float);
}

.creation-icon {
  border-radius: 50% !important;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.18) !important;
}

.creation:first-child .creation-icon {
  color: #111827 !important;
  background: #ffffff !important;
}

.btn,
.primary-btn,
.dark-btn,
.ghost-btn,
.gradient-button,
button[type="submit"] {
  min-height: 42px;
  border-radius: 14px !important;
  border: 1px solid var(--pc-line) !important;
  font-weight: 800 !important;
}

.btn:hover,
.primary-btn:hover,
.dark-btn:hover,
.ghost-btn:hover,
.gradient-button:hover,
button[type="submit"]:hover {
  transform: translateY(-1px);
}

.btn.dark,
.btn.blue,
.btn.primary,
.primary-btn,
.dark-btn,
.gradient-button {
  color: #ffffff !important;
  background: var(--pc-gradient-cta) !important;
  border-color: transparent !important;
  box-shadow: 0 16px 32px rgba(99, 102, 241, 0.28);
}

.ghost-btn,
.btn.ghost,
.back {
  color: var(--pc-text) !important;
  background: var(--pc-glass) !important;
}

input,
select,
textarea,
.search,
.field,
.prompt-box {
  border: 1px solid var(--pc-line) !important;
  border-radius: 14px !important;
  color: var(--pc-text) !important;
  background: var(--pc-elevated) !important;
}

input::placeholder,
textarea::placeholder {
  color: var(--pc-text-muted) !important;
}

input[type="range"] {
  accent-color: var(--pc-accent);
}

.slider-row,
.control-group {
  display: grid;
  gap: 8px;
}

.segmented-control,
.theme-toggle,
.tabs,
.pill-row {
  border: 1px solid var(--pc-line) !important;
  border-radius: 16px !important;
  background: var(--pc-glass) !important;
}

.segmented-control button,
.theme-toggle button,
.tab,
.category-chip {
  border-radius: 12px !important;
}

.segmented-control .active,
.theme-toggle .selected,
button[data-theme].selected,
[role="button"][data-theme].selected,
.tab.active,
.category-chip.active,
.preview-option.active {
  color: #ffffff !important;
  background: var(--pc-gradient-cta) !important;
  border-color: transparent !important;
}

.canvas-stage,
.stage,
.preview-stage,
.canvas-wrap,
.preview-wrap,
.dropzone,
.empty,
.output,
.video-stage,
.video-frame,
.editor-card,
#editor-container {
  border: 1px solid var(--pc-line) !important;
  border-radius: var(--pc-radius-xl) !important;
  background:
    linear-gradient(45deg, rgba(148, 163, 184, 0.08) 25%, transparent 25% 75%, rgba(148, 163, 184, 0.08) 75%),
    linear-gradient(45deg, rgba(148, 163, 184, 0.08) 25%, transparent 25% 75%, rgba(148, 163, 184, 0.08) 75%),
    var(--pc-panel) !important;
  background-position: 0 0, 10px 10px, 0 0 !important;
  background-size: 20px 20px, 20px 20px, auto !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), var(--pc-shadow-card);
}

.file-drop,
.dropzone,
.upload-zone {
  border-style: dashed !important;
  border-width: 1.5px !important;
}

.timeline {
  border: 1px solid var(--pc-line) !important;
  border-radius: var(--pc-radius-lg) !important;
  background: var(--pc-elevated) !important;
  box-shadow: var(--pc-shadow-card);
}

.timeline-track {
  border: 1px solid var(--pc-line);
  border-radius: 14px;
  background: rgba(100, 116, 139, 0.08);
}

.timeline-clip,
.clip {
  border-radius: 14px !important;
  background: var(--pc-gradient-ai) !important;
  color: #ffffff !important;
  box-shadow: 0 12px 30px rgba(6, 182, 212, 0.18);
}

.toast,
.toast-stack > *,
.status-toast {
  border: 1px solid var(--pc-line) !important;
  border-radius: 16px !important;
  background: var(--pc-elevated) !important;
  color: var(--pc-text) !important;
  box-shadow: var(--pc-shadow-float) !important;
}

.modal-backdrop,
.overlay,
.dialog-backdrop {
  background: rgba(2, 6, 23, 0.62) !important;
  backdrop-filter: blur(10px);
}

.bottom-sheet {
  border-radius: 24px 24px 0 0 !important;
  border: 1px solid var(--pc-line) !important;
  background: var(--pc-elevated) !important;
  box-shadow: 0 -18px 60px rgba(0, 0, 0, 0.22);
}

.global-theme-switch {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 9999;
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--pc-line);
  border-radius: 999px;
  background: var(--pc-elevated);
  box-shadow: var(--pc-shadow-float);
  backdrop-filter: blur(18px);
}

.global-theme-switch button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  border: 0 !important;
  border-radius: 999px !important;
  color: var(--pc-text-muted) !important;
  background: transparent !important;
  box-shadow: none !important;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.global-theme-switch button.selected {
  color: #ffffff !important;
  background: var(--pc-gradient-cta) !important;
}

.pc-dashboard .topbar {
  min-height: 96px !important;
  height: auto !important;
  padding: 18px 26px !important;
  gap: 16px !important;
  border-bottom: 1px solid var(--pc-line) !important;
  background:
    radial-gradient(circle at 80% 0%, rgba(139, 92, 246, 0.16), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.82)) !important;
}

html.dark .pc-dashboard .topbar {
  background:
    radial-gradient(circle at 80% 0%, rgba(139, 92, 246, 0.22), transparent 36%),
    linear-gradient(180deg, rgba(21, 24, 33, 0.98), rgba(13, 15, 20, 0.94)) !important;
}

.pc-dashboard .top-actions {
  margin-left: auto;
  display: inline-flex !important;
  align-items: center;
  gap: 12px !important;
  padding: 8px;
  border: 1px solid var(--pc-line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

html.dark .pc-dashboard .top-actions {
  background: rgba(13, 15, 20, 0.42);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
}

.pc-dashboard .top-theme-toggle {
  flex: 0 0 auto;
  height: 48px;
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border-radius: 18px !important;
  background: rgba(100, 116, 139, 0.1) !important;
  box-shadow: none !important;
}

.pc-dashboard .top-theme-toggle button {
  min-width: 46px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 11px;
  border: 0 !important;
  border-radius: 14px !important;
  color: var(--pc-text-muted) !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 12px;
  font-weight: 900 !important;
}

.pc-dashboard .top-theme-toggle button.selected {
  color: #ffffff !important;
  background: var(--pc-gradient-cta) !important;
}

.pc-dashboard .bell {
  width: 54px !important;
  height: 54px !important;
  border-radius: 18px !important;
  color: var(--pc-text) !important;
  background: var(--pc-glass) !important;
  box-shadow: none !important;
}

.pc-dashboard .bell span {
  right: -7px !important;
  top: -12px !important;
  width: 34px !important;
  height: 34px !important;
  border: 3px solid var(--pc-surface-solid);
  background: #f72560 !important;
  font-size: 15px !important;
}

.pc-dashboard .top-actions .dark-btn {
  height: 58px;
  min-width: 248px;
  padding: 0 28px !important;
  border-radius: 22px !important;
  font-size: 18px;
  justify-content: center;
  box-shadow: 0 18px 44px rgba(37, 99, 235, 0.34) !important;
}

.pc-dashboard .top-actions .dark-btn svg {
  width: 28px;
  height: 28px;
}

.pc-dashboard .profile {
  min-width: 104px !important;
  height: 58px !important;
  gap: 14px !important;
  padding: 0 16px 0 8px;
  border: 1px solid var(--pc-line);
  border-radius: 28px !important;
  background: rgba(15, 23, 42, 0.06) !important;
  box-shadow: none;
}

html.dark .pc-dashboard .profile {
  background: rgba(2, 6, 23, 0.42) !important;
}

.pc-dashboard .profile img {
  width: 46px !important;
  height: 46px !important;
  border: 3px solid rgba(255, 255, 255, 0.72);
}

.pc-dashboard .profile svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 820px) {
  .global-theme-switch {
    top: auto;
    right: 12px;
    bottom: 12px;
  }

  .global-theme-switch button {
    min-width: 42px;
    padding-inline: 10px;
  }

  .global-theme-switch button span:last-child {
    display: none;
  }

  .pc-dashboard .topbar {
    padding: 12px !important;
  }

  .pc-dashboard .top-actions {
    width: 100%;
    justify-content: flex-end;
    gap: 8px !important;
    padding: 6px;
  }

  .pc-dashboard .top-theme-toggle button span {
    display: none;
  }

  .pc-dashboard .top-actions .dark-btn {
    min-width: 0;
    width: 54px;
    padding: 0 !important;
    font-size: 0;
  }

  .pc-dashboard .profile {
    min-width: 60px !important;
    padding-right: 8px;
  }

  .pc-dashboard .profile svg {
    display: none;
  }
}

h1,
.hero h1 {
  font-size: clamp(36px, 5.2vw, 56px) !important;
  line-height: 1.02 !important;
  letter-spacing: 0 !important;
}

h2,
.page-title,
.section-title {
  font-size: clamp(24px, 2.6vw, 32px);
  letter-spacing: 0;
}

p,
.muted,
.meta,
.source,
.status,
.nav-title {
  color: var(--pc-text-muted) !important;
}

.badge,
.pill,
.premium-badge {
  border-radius: 999px !important;
  border: 1px solid rgba(139, 92, 246, 0.18);
  color: var(--pc-accent) !important;
  background: rgba(139, 92, 246, 0.1) !important;
}

.success {
  color: var(--pc-success) !important;
}

.warning {
  color: var(--pc-warning) !important;
}

.danger,
.error {
  color: var(--pc-danger) !important;
}

@media (max-width: 1180px) {
  .shell,
  .app,
  .editor-shell {
    width: min(100vw - 28px, 1180px) !important;
    margin: 14px auto !important;
    grid-template-columns: 90px minmax(0, 1fr) !important;
  }

  .sidebar .brand strong,
  .sidebar .nav-title,
  .sidebar .nav-link span:not(.badge),
  .sidebar .upgrade,
  .sidebar .theme-toggle {
    display: none !important;
  }

  .sidebar .brand,
  .sidebar .nav-link {
    justify-content: center !important;
  }
}

@media (max-width: 820px) {
  body {
    overflow-x: hidden;
  }

  .shell,
  .app,
  .editor-shell,
  .page,
  .tool-shell {
    width: 100% !important;
    min-height: 100vh !important;
    margin: 0 !important;
    border-radius: 0 !important;
    grid-template-columns: 1fr !important;
  }

  .sidebar,
  .side {
    border-right: 0 !important;
  }

  .content,
  .main,
  .workspace {
    padding: 18px !important;
  }

  .hero {
    min-height: 360px !important;
  }

  .hero-actions,
  .creation-row {
    overflow-x: auto;
    justify-content: flex-start;
    grid-auto-flow: column;
    grid-auto-columns: minmax(110px, 1fr);
    grid-template-columns: none !important;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
  }

  .creation {
    scroll-snap-align: start;
  }

  .editor-layout {
    grid-template-columns: 1fr !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Subtle purple unification layer */
:root,
html,
body {
  --blue: #8b5cf6 !important;
  --blue-dark: #7c3aed !important;
  --pc-blue: #8b5cf6 !important;
  --pc-blue-dark: #7c3aed !important;
  --pc-accent-soft: rgba(139, 92, 246, 0.1);
  --pc-accent-line: rgba(139, 92, 246, 0.18);
  --pc-accent-line-strong: rgba(139, 92, 246, 0.32);
}

body.theme-light,
html.theme-light body {
  background:
    radial-gradient(circle at 8% 8%, rgba(139, 92, 246, 0.13), transparent 34%),
    radial-gradient(circle at 92% 4%, rgba(6, 182, 212, 0.08), transparent 28%),
    linear-gradient(135deg, #fbfaff, #f6f3ff 45%, #f7f8fb) !important;
}

html.dark body,
body.theme-dark {
  background:
    radial-gradient(circle at 10% 0%, rgba(139, 92, 246, 0.22), transparent 34%),
    radial-gradient(circle at 82% 8%, rgba(99, 102, 241, 0.14), transparent 30%),
    linear-gradient(135deg, #0d0f14, #151821) !important;
}

a {
  color: inherit;
}

a:not(.btn):not(.nav-link):not(.creation):not(.template):not(.card):not(.video-card):not(.project-tile):not(.profile):hover {
  color: #7c3aed !important;
}

.shell,
.app,
.editor-shell,
.tools-shell,
.page,
.tool-shell {
  border-color: var(--pc-accent-line) !important;
}

.sidebar,
.side,
.tools-side,
.topbar,
.panel,
.card,
.glass-card,
.form-card,
.upgrade,
.workspace,
.editor-card,
.canvas-stage,
.control-panel,
.properties,
.right-panel,
.left-panel {
  border-color: var(--pc-accent-line) !important;
}

.panel,
.card,
.glass-card,
.intro-card,
.metric-card,
.preview-panel,
.side-panel,
.control-card,
.input-card,
.template-card,
.canvas-card,
.stage-card,
.left-panel,
.right-panel,
.control-panel,
.properties,
.project-card,
.pricing-card,
.marketing-card,
.form-card,
.upgrade,
.preview-card,
.tool-card,
.media-card,
.property-panel,
.editor-panel,
.option,
.preset,
.step,
.quick-card {
  padding: clamp(16px, 1.8vw, 24px) !important;
  border-color: var(--pc-accent-line) !important;
  background:
    linear-gradient(145deg, rgba(139, 92, 246, 0.045), rgba(255, 255, 255, 0.02)),
    var(--pc-elevated) !important;
}

html.dark .panel,
html.dark .card,
html.dark .glass-card,
html.dark .intro-card,
html.dark .metric-card,
html.dark .preview-panel,
html.dark .side-panel,
html.dark .control-card,
html.dark .input-card,
html.dark .template-card,
html.dark .canvas-card,
html.dark .stage-card,
html.dark .left-panel,
html.dark .right-panel,
html.dark .control-panel,
html.dark .properties,
html.dark .project-card,
html.dark .pricing-card,
html.dark .marketing-card,
html.dark .form-card,
html.dark .upgrade,
html.dark .preview-card,
html.dark .tool-card,
html.dark .media-card,
html.dark .property-panel,
html.dark .editor-panel,
html.dark .option,
html.dark .preset,
html.dark .step,
html.dark .quick-card {
  background:
    linear-gradient(145deg, rgba(139, 92, 246, 0.12), rgba(6, 182, 212, 0.035)),
    var(--pc-elevated) !important;
}

.template,
.size-card,
.social-pill,
.category-chip,
.tab,
.preview-option,
.video-card,
.project-tile,
.creation,
.tool-card,
.media-card {
  border-color: var(--pc-accent-line) !important;
}

.template-thumb,
.tool-icon,
.creation-icon,
.icon-button,
.bell,
.collapse,
.tool-button,
.mark span,
.brand-mark span,
.logo-mark span {
  background:
    linear-gradient(135deg, rgba(139, 92, 246, 0.92), rgba(99, 102, 241, 0.86)) !important;
}

.creation:first-child .creation-icon {
  color: #4c1d95 !important;
  background: rgba(255, 255, 255, 0.92) !important;
}

.nav-link.active,
.nav a.active,
.site-nav a.active,
.tool-link.active,
.sidebar-item.active,
.tab.active,
.category-chip.active,
.preview-option.active,
.social-pill.active,
.btn.blue,
.btn.dark,
.btn.primary,
.primary-btn,
.dark-btn,
.gradient-button,
button[type="submit"] {
  color: #ffffff !important;
  background: linear-gradient(135deg, #8b5cf6, #7c3aed) !important;
  border-color: transparent !important;
  box-shadow: 0 14px 34px rgba(139, 92, 246, 0.24) !important;
}

.btn,
.primary-btn,
.dark-btn,
.ghost-btn,
.gradient-button,
button,
.back {
  min-height: 44px;
  border-radius: 14px !important;
}

.btn,
.primary-btn,
.dark-btn,
.ghost-btn,
.gradient-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px !important;
}

.ghost-btn,
.btn.ghost,
.back,
.search,
.field,
input,
select,
textarea,
.prompt-box {
  border-color: var(--pc-accent-line) !important;
  background:
    linear-gradient(145deg, rgba(139, 92, 246, 0.04), rgba(255, 255, 255, 0.02)),
    var(--pc-elevated) !important;
}

input:focus,
select:focus,
textarea:focus,
.search:focus-within,
.field:focus-within,
.prompt-box:focus-within {
  border-color: var(--pc-accent-line-strong) !important;
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.14) !important;
  outline: 0 !important;
}

input[type="range"] {
  accent-color: #8b5cf6 !important;
}

.control,
.control-group,
.slider-row,
.form-row,
.toolbar,
.actions,
.top-actions,
.filter-pills,
.hero-actions,
.templates,
.project-grid,
.tools-grid,
.gallery,
.grid,
.cards,
.section-grid {
  gap: clamp(12px, 1.4vw, 20px) !important;
}

.content,
.main,
.tools-main,
.workspace,
.editor-main {
  scrollbar-color: rgba(139, 92, 246, 0.44) transparent;
}

.badge,
.pill,
.premium-badge {
  border-color: var(--pc-accent-line) !important;
  color: #7c3aed !important;
  background: rgba(139, 92, 246, 0.1) !important;
}

html.dark .badge,
html.dark .pill,
html.dark .premium-badge {
  color: #c4b5fd !important;
  background: rgba(139, 92, 246, 0.16) !important;
}

.api-progress-fill,
.progress-fill,
.meter-fill,
.timeline-clip,
.clip {
  background: linear-gradient(90deg, #8b5cf6, #a78bfa) !important;
}

.site-nav,
.theme-toggle,
.segmented-control,
.tabs,
.pill-row,
.top-actions {
  border-color: var(--pc-accent-line) !important;
}

@media (max-width: 820px) {
  .panel,
  .card,
  .glass-card,
  .form-card,
  .tool-card,
  .project-card,
  .pricing-card,
  .marketing-card {
    padding: 16px !important;
  }

  .btn,
  .primary-btn,
  .dark-btn,
  .ghost-btn,
  .gradient-button {
    min-height: 44px;
    padding-inline: 14px !important;
  }
}

html.dark .shell,
html.dark .app,
html.dark .editor-shell,
html.dark .tools-shell,
html.dark .page,
html.dark .tool-shell,
html.dark .sidebar,
html.dark .side,
html.dark .topbar,
html.dark .panel,
html.dark .card,
html.dark .intro-card,
html.dark .metric-card,
html.dark .preview-panel,
html.dark .side-panel,
html.dark .control-card,
html.dark .input-card,
html.dark .workspace,
html.dark .toolbar,
html.dark .canvas-panel,
html.dark .settings-panel,
html.dark .project-panel,
html.dark .size-card,
html.dark .template,
html.dark .template-card,
html.dark .creation,
html.dark .video-card,
html.dark .field,
html.dark .form-card,
html.dark .canvas-card,
html.dark .stage-card,
html.dark .left-panel,
html.dark .right-panel,
html.dark .control-panel,
html.dark .properties,
html.dark .option,
html.dark .preset,
html.dark .step,
html.dark .steps li,
html.dark table,
html.dark form,
html.dark input,
html.dark select,
html.dark textarea,
html.dark .search,
html.dark .dropzone,
html.dark .empty,
html.dark .output {
  border-color: rgba(139, 92, 246, 0.24) !important;
}

html.dark .btn,
html.dark .back,
html.dark .ghost-btn,
html.dark .file-drop,
html.dark .category-chip,
html.dark .tab,
html.dark .preview-option,
html.dark input,
html.dark select,
html.dark textarea,
html.dark .control input,
html.dark .control select,
html.dark .search input {
  border-color: rgba(139, 92, 246, 0.24) !important;
  background:
    linear-gradient(145deg, rgba(139, 92, 246, 0.12), rgba(15, 23, 42, 0.7)) !important;
}

html.dark .btn.dark,
html.dark .dark-btn,
html.dark .btn.blue,
html.dark .btn.primary,
html.dark .primary-btn,
html.dark .gradient-button,
html.dark .category-chip.active,
html.dark .tab.active,
html.dark .preview-option.active,
html.dark button[type="submit"] {
  color: #ffffff !important;
  background: linear-gradient(135deg, #8b5cf6, #7c3aed) !important;
  border-color: transparent !important;
  box-shadow: 0 16px 38px rgba(139, 92, 246, 0.32) !important;
}

html.dark .nav-link.active,
html.dark .nav a.active,
html.dark .site-nav a.active {
  color: #ffffff !important;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.95), rgba(124, 58, 237, 0.95)) !important;
}

/* Theme-aware icon contrast */
:root {
  --pc-icon-on-accent: #ffffff;
  --pc-icon-light: #6d28d9;
  --pc-icon-dark: #c4b5fd;
}

svg,
i[data-lucide] {
  color: currentColor;
  stroke: currentColor;
}

.template-thumb,
.tool-icon,
.creation-icon,
.step-icon,
.play span,
.logo,
.brand-dot,
.mock .brand-dot,
.mark,
.brand-mark,
.icon-tile {
  color: var(--pc-icon-on-accent) !important;
}

.template-thumb svg,
.template-thumb i,
.tool-icon svg,
.tool-icon i,
.creation-icon svg,
.creation-icon i,
.step-icon svg,
.step-icon i,
.play span svg,
.play span i,
.logo svg,
.logo i,
.brand-dot svg,
.brand-dot i,
.mock .brand-dot svg,
.mock .brand-dot i,
.icon-tile svg,
.icon-tile i {
  color: var(--pc-icon-on-accent) !important;
  stroke: var(--pc-icon-on-accent) !important;
}

.nav-link:not(.active) svg,
.nav-link:not(.active) i,
.nav a:not(.active) svg,
.nav a:not(.active) i,
.tool-link svg,
.tool-link i,
.ghost-btn svg,
.ghost-btn i,
.btn.ghost svg,
.btn.ghost i,
.back svg,
.back i,
.search svg,
.search i,
.field svg,
.field i,
.collapse svg,
.collapse i,
.bell svg,
.bell i,
.profile svg,
.profile i,
.top-theme-toggle button:not(.selected) svg,
.top-theme-toggle button:not(.selected) i,
.theme-toggle button:not(.selected) svg,
.theme-toggle button:not(.selected) i {
  color: var(--pc-icon-light) !important;
  stroke: var(--pc-icon-light) !important;
}

html.dark .nav-link:not(.active) svg,
html.dark .nav-link:not(.active) i,
html.dark .nav a:not(.active) svg,
html.dark .nav a:not(.active) i,
html.dark .tool-link svg,
html.dark .tool-link i,
html.dark .ghost-btn svg,
html.dark .ghost-btn i,
html.dark .btn.ghost svg,
html.dark .btn.ghost i,
html.dark .back svg,
html.dark .back i,
html.dark .search svg,
html.dark .search i,
html.dark .field svg,
html.dark .field i,
html.dark .collapse svg,
html.dark .collapse i,
html.dark .bell svg,
html.dark .bell i,
html.dark .profile svg,
html.dark .profile i,
html.dark .top-theme-toggle button:not(.selected) svg,
html.dark .top-theme-toggle button:not(.selected) i,
html.dark .theme-toggle button:not(.selected) svg,
html.dark .theme-toggle button:not(.selected) i {
  color: var(--pc-icon-dark) !important;
  stroke: var(--pc-icon-dark) !important;
}

.nav-link.active svg,
.nav-link.active i,
.nav a.active svg,
.nav a.active i,
.site-nav a.active svg,
.site-nav a.active i,
.btn.dark svg,
.btn.dark i,
.btn.blue svg,
.btn.blue i,
.btn.primary svg,
.btn.primary i,
.primary-btn svg,
.primary-btn i,
.dark-btn svg,
.dark-btn i,
.gradient-button svg,
.gradient-button i,
button[type="submit"] svg,
button[type="submit"] i,
.top-theme-toggle button.selected svg,
.top-theme-toggle button.selected i,
.theme-toggle button.selected svg,
.theme-toggle button.selected i,
button[data-theme].selected svg,
button[data-theme].selected i {
  color: var(--pc-icon-on-accent) !important;
  stroke: var(--pc-icon-on-accent) !important;
}

.template-thumb {
  color: var(--pc-icon-on-accent) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    0 18px 36px rgba(139, 92, 246, 0.18) !important;
}

html.theme-light .template span:last-child,
html.theme-light .template,
html.theme-light .card h2 {
  color: #111827 !important;
}

html.dark .template span:last-child,
html.dark .template,
html.dark .card h2 {
  color: #f8fafc !important;
}

.social-pill,
.social-pill span:not(.social-dot),
.template-tab,
.category-chip,
.filter-pills button {
  color: #4c1d95 !important;
}

html.dark .social-pill,
html.dark .social-pill span:not(.social-dot),
html.dark .template-tab,
html.dark .category-chip,
html.dark .filter-pills button {
  color: #f8fafc !important;
}

.social-pill .social-dot {
  color: #ffffff !important;
}

html.dark .social-pill {
  background:
    linear-gradient(145deg, rgba(139, 92, 246, 0.13), rgba(255, 255, 255, 0.02)),
    rgba(21, 24, 33, 0.88) !important;
}

/* Dark theme coverage for every static/utility page */
html.dark body,
body.theme-dark {
  color: #f8fafc !important;
  background:
    radial-gradient(circle at 12% 4%, rgba(139, 92, 246, 0.22), transparent 34%),
    linear-gradient(135deg, #0d0f14, #151821) !important;
}

html.dark header,
html.dark footer,
html.dark .bg-blue-600,
html.dark .bg-blue-700,
html.dark .bg-gradient-to-r,
html.dark .from-blue-500,
html.dark .to-indigo-600 {
  color: #ffffff !important;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.14), transparent 30%),
    linear-gradient(135deg, #7c3aed, #4f46e5) !important;
  background-image:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.14), transparent 30%),
    linear-gradient(135deg, #7c3aed, #4f46e5) !important;
}

html.dark main,
html.dark section,
html.dark article,
html.dark form,
html.dark .bg-white,
html.dark .bg-gray-50,
html.dark .bg-gray-100,
html.dark .bg-slate-50,
html.dark .bg-slate-100 {
  color: #f8fafc !important;
  background:
    linear-gradient(145deg, rgba(139, 92, 246, 0.10), rgba(6, 182, 212, 0.025)),
    rgba(21, 24, 33, 0.9) !important;
}

html.dark form,
html.dark .bg-white,
html.dark .rounded-xl,
html.dark .rounded-lg,
html.dark .shadow,
html.dark .shadow-lg,
html.dark .shadow-xl {
  border: 1px solid rgba(139, 92, 246, 0.24) !important;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.34) !important;
}

html.dark h1,
html.dark h2,
html.dark h3,
html.dark h4,
html.dark h5,
html.dark h6,
html.dark label,
html.dark strong,
html.dark .text-gray-800,
html.dark .text-gray-900,
html.dark .text-slate-800,
html.dark .text-slate-900,
html.dark .font-semibold,
html.dark .font-bold {
  color: #f8fafc !important;
}

html.dark p,
html.dark li,
html.dark small,
html.dark .text-gray-300,
html.dark .text-gray-400,
html.dark .text-gray-500,
html.dark .text-gray-600,
html.dark .text-gray-700,
html.dark .text-slate-400,
html.dark .text-slate-500,
html.dark .text-slate-600,
html.dark .text-slate-700,
html.dark .leading-relaxed {
  color: #cbd5e1 !important;
}

html.dark .text-blue-500,
html.dark .text-blue-600,
html.dark .hover\:text-blue-600:hover,
html.dark a[href^="mailto:"] {
  color: #c4b5fd !important;
}

html.dark .border,
html.dark .border-gray-200,
html.dark .border-gray-300,
html.dark .border-slate-200,
html.dark .border-slate-300,
html.dark .focus\:ring-blue-500:focus {
  border-color: rgba(139, 92, 246, 0.28) !important;
  --tw-ring-color: rgba(139, 92, 246, 0.34) !important;
}

html.dark .bg-gray-900,
html.dark footer.bg-gray-900 {
  background: #0d0f14 !important;
  color: #cbd5e1 !important;
}

html.theme-light main,
html.theme-light section,
html.theme-light article {
  color: #111827;
}

html:not(.dark) button:not([type="submit"]):not(.selected):not(.active):not(.primary):not(.blue):not(.dark):not(.dark-btn):not(.primary-btn):not(.gradient-button),
html:not(.dark) .btn:not(.primary):not(.blue):not(.dark),
html:not(.dark) .ghost-btn,
html:not(.dark) .back,
html:not(.dark) .icon-button,
html:not(.dark) .tool-button,
html:not(.dark) .category-chip:not(.active),
html:not(.dark) .tab:not(.active),
html:not(.dark) .preview-option:not(.active),
html:not(.dark) .social-pill:not(.active) {
  color: #4c1d95 !important;
  border-color: rgba(139, 92, 246, 0.24) !important;
  background:
    linear-gradient(135deg, rgba(139, 92, 246, 0.10), rgba(255, 255, 255, 0.84)) !important;
  box-shadow: 0 10px 26px rgba(139, 92, 246, 0.08) !important;
}

html:not(.dark) button:not([type="submit"]):not(.selected):not(.active):not(.primary):not(.blue):not(.dark):not(.dark-btn):not(.primary-btn):not(.gradient-button):hover,
html:not(.dark) .btn:not(.primary):not(.blue):not(.dark):hover,
html:not(.dark) .ghost-btn:hover,
html:not(.dark) .back:hover,
html:not(.dark) .icon-button:hover,
html:not(.dark) .tool-button:hover,
html:not(.dark) .category-chip:not(.active):hover,
html:not(.dark) .tab:not(.active):hover,
html:not(.dark) .preview-option:not(.active):hover,
html:not(.dark) .social-pill:not(.active):hover {
  border-color: rgba(139, 92, 246, 0.42) !important;
  background:
    linear-gradient(135deg, rgba(139, 92, 246, 0.16), rgba(255, 255, 255, 0.94)) !important;
  box-shadow: 0 14px 32px rgba(139, 92, 246, 0.14) !important;
}

html:not(.dark) button:not([type="submit"]):not(.selected):not(.active):not(.primary):not(.blue):not(.dark):not(.dark-btn):not(.primary-btn):not(.gradient-button) svg,
html:not(.dark) button:not([type="submit"]):not(.selected):not(.active):not(.primary):not(.blue):not(.dark):not(.dark-btn):not(.primary-btn):not(.gradient-button) i,
html:not(.dark) .btn:not(.primary):not(.blue):not(.dark) svg,
html:not(.dark) .btn:not(.primary):not(.blue):not(.dark) i,
html:not(.dark) .ghost-btn svg,
html:not(.dark) .ghost-btn i,
html:not(.dark) .back svg,
html:not(.dark) .back i,
html:not(.dark) .icon-button svg,
html:not(.dark) .icon-button i,
html:not(.dark) .tool-button svg,
html:not(.dark) .tool-button i {
  color: #7c3aed !important;
  stroke: #7c3aed !important;
}
