/* ==========================================================================
   Mammoth Club character themes
   --------------------------------------------------------------------------
   The colour tokens of every theme live in mammoth-themes.css (public pages)
   and mammoth-dashboard-themes.css (dashboard and course player). The five
   themes in this file go further than colour: each one swaps the typefaces,
   the corner radius, the shadows, the page texture and a few shapes, so the
   app feels like a different product. Nothing here is needed by the plain
   colour themes.

   Load after the two token sheets. Fonts come from Google Fonts: the sheet
   for a theme is added by mammoth-theme.js the first time the theme is used
   (the `fonts` field of its THEMES entry), so visitors on other themes never
   download them.

   Each theme's variables are declared on html AND on [data-dashboard-theme],
   because the dashboard re-declares the font and radius variables on <body>.
   ========================================================================== */

/* ==========================================================================
   Hacker Terminal: green phosphor on black, scanlines, a monospace face
   ========================================================================== */
html[data-theme="hacker"],
html[data-theme="hacker"] [data-dashboard-theme] {
  --dashboard-font-display: 'Share Tech Mono', 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --dashboard-font-body: 'Share Tech Mono', 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --dashboard-font-mono: 'Share Tech Mono', 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --mc-sans: 'Share Tech Mono', 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --mc-display: 'Share Tech Mono', 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --mc-mono: 'Share Tech Mono', 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --radius: 0;
  --mt-shadow: 0 0 0 1px rgba(57, 255, 20, .22), 0 0 28px rgba(57, 255, 20, .14);
  --dashboard-shell-shadow: 0 0 0 1px rgba(57, 255, 20, .22);
  --dashboard-elevated-shadow: 0 0 0 1px rgba(57, 255, 20, .28), 0 0 30px rgba(57, 255, 20, .16);
  --dashboard-cta-shadow: 0 0 18px rgba(57, 255, 20, .45);
  --dashboard-sidebar-gradient: linear-gradient(180deg, #010603 0%, #020b05 100%);
  --dashboard-hero-surface: #04120a;
  --dashboard-editorial-underline: linear-gradient(90deg, #39ff14 0 100%);
  --line: rgba(57, 255, 20, .28);
  --line-2: rgba(57, 255, 20, .45);
}

/* The CRT: scanlines and a soft vignette over everything, never in the way of the mouse. */
html[data-theme="hacker"]::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, .22) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, .55) 100%);
}

html[data-theme="hacker"] body { text-shadow: 0 0 6px rgba(57, 255, 20, .35); }

/* Every corner is square, every edge a thin phosphor line. */
html[data-theme="hacker"] :is(.rounded, .rounded-sm, .rounded-md, .rounded-lg, .rounded-xl, .rounded-2xl, .rounded-3xl,
  .mammoth-card, .mammoth-stat-card, .mammoth-featured, .mammoth-price-block, .mammoth-tabs-list, .mammoth-btn,
  .mammoth-sidebar-mark, button, input, select, textarea, .mt-switcher-menu) { border-radius: 0; }

html[data-theme="hacker"] :is(.mammoth-card, .mammoth-stat-card, .mammoth-featured, .dashboard-theme-panel, .bg-card, .bg-popover) {
  border: 1px solid rgba(57, 255, 20, .3);
  box-shadow: inset 0 0 0 1px rgba(57, 255, 20, .05), 0 0 22px rgba(57, 255, 20, .08);
}
html[data-theme="hacker"] :is(.mammoth-card, .mammoth-stat-card):hover { border-color: rgba(57, 255, 20, .7); box-shadow: 0 0 24px rgba(57, 255, 20, .22); }

html[data-theme="hacker"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-sidebar-brand) {
  text-transform: uppercase;
  letter-spacing: .06em;
}
/* Headings get the terminal prompt. */
html[data-theme="hacker"] :is(.mammoth-card-head-title, .dashboard-mammoth-title)::before { content: '> '; color: #39ff14; }

html[data-theme="hacker"] .mammoth-sidebar-shell { border-right: 1px solid rgba(57, 255, 20, .25); }
html[data-theme="hacker"] .mammoth-sidebar-mark { background: #39ff14; color: #02120a; }

/* Pictures are phosphor too. Lesson videos and images stay as they are. */
html[data-theme="hacker"] :is(#cp-dashboard, .mammoth-theme) img:not(.mammoth-learn-body img) {
  filter: grayscale(1) sepia(1) hue-rotate(60deg) saturate(2.6) brightness(.9) contrast(1.1);
}

/* Blinking cursor after the page title. */
html[data-theme="hacker"] .dashboard-mammoth-title::after {
  content: '_';
  color: #39ff14;
  animation: mt-blink 1s steps(2, start) infinite;
}
@keyframes mt-blink { to { visibility: hidden; } }

/* ==========================================================================
   Obsidian Gold: jet black, gold leaf, a serif hand
   ========================================================================== */
html[data-theme="obsidian-gold"],
html[data-theme="obsidian-gold"] [data-dashboard-theme] {
  --dashboard-font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --mc-display: 'Cormorant Garamond', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --radius: 0.375rem;
  --mt-shadow: 0 20px 50px rgba(0, 0, 0, .7), 0 0 0 1px rgba(212, 175, 55, .18);
  --dashboard-shell-shadow: 0 1px 0 rgba(212, 175, 55, .25) inset, 0 10px 30px -12px rgba(0, 0, 0, .8);
  --dashboard-elevated-shadow: 0 1px 0 rgba(212, 175, 55, .35) inset, 0 24px 60px -24px rgba(0, 0, 0, .9);
  --dashboard-cta-shadow: 0 12px 30px -12px rgba(212, 175, 55, .55);
  --dashboard-sidebar-gradient: linear-gradient(180deg, #0c0c0f 0%, #050506 100%);
  --dashboard-hero-surface: #121215;
  --dashboard-dot-grid: none;
  --dashboard-editorial-underline: linear-gradient(90deg, #d4af37 0 100%);
  --line: rgba(212, 175, 55, .22);
  --line-2: rgba(212, 175, 55, .4);
}

/* Faint gold shimmer at the top of the page, the kind of light on polished stone. */
html[data-theme="obsidian-gold"]::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(60% 40% at 50% -10%, rgba(212, 175, 55, .16), transparent 70%);
}
html[data-theme="obsidian-gold"] body { background: transparent; }

html[data-theme="obsidian-gold"] :is(.mammoth-card, .mammoth-stat-card, .mammoth-featured, .dashboard-theme-panel, .bg-card, .bg-popover) {
  border: 1px solid rgba(212, 175, 55, .22);
  box-shadow: inset 0 1px 0 rgba(212, 175, 55, .35);
}
html[data-theme="obsidian-gold"] :is(.mammoth-card, .mammoth-stat-card):hover { border-color: rgba(212, 175, 55, .55); }

html[data-theme="obsidian-gold"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) {
  font-family: var(--dashboard-font-display, var(--mc-display));
  font-weight: 600;
  letter-spacing: .01em;
}
html[data-theme="obsidian-gold"] .mammoth-card-head-title { font-size: 21px; }
html[data-theme="obsidian-gold"] .mammoth-sidebar-brand { font-size: 19px; }
html[data-theme="obsidian-gold"] .mammoth-theme h1, html[data-theme="obsidian-gold"] .mammoth-theme h2 { font-family: var(--mc-display); font-weight: 600; }

/* Gold leaf on the primary buttons, with dark lettering. */
html[data-theme="obsidian-gold"] :is(.bg-primary, .mammoth-btn:not(.mammoth-btn-outline), .mt-switcher-menu button[aria-checked="true"] .mt-swatch) {
  background: linear-gradient(135deg, #f3d77c 0%, #d4af37 45%, #a7841c 100%);
  color: #1a1405;
}
html[data-theme="obsidian-gold"] .mammoth-btn:not(.mammoth-btn-outline):hover { background: linear-gradient(135deg, #f7df8f 0%, #dcb941 45%, #b08c22 100%); color: #1a1405; }
html[data-theme="obsidian-gold"] .mammoth-sidebar-mark { background: linear-gradient(135deg, #f3d77c, #a7841c); color: #1a1405; }
html[data-theme="obsidian-gold"] .mammoth-sidebar-shell { border-right: 1px solid rgba(212, 175, 55, .18); }
html[data-theme="obsidian-gold"] .mammoth-card-head { border-bottom-color: rgba(212, 175, 55, .22); }

/* ==========================================================================
   Cyberpunk: neon magenta and cyan over violet, a grid, cut corners
   ========================================================================== */
html[data-theme="cyberpunk"],
html[data-theme="cyberpunk"] [data-dashboard-theme] {
  --dashboard-font-display: 'Orbitron', 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --dashboard-font-body: 'Rajdhani', 'Inter', system-ui, sans-serif;
  --mc-display: 'Orbitron', 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --mc-sans: 'Rajdhani', 'Inter', system-ui, sans-serif;
  --radius: 0.25rem;
  --mt-shadow: 0 0 0 1px rgba(255, 43, 214, .35), 0 0 24px rgba(255, 43, 214, .22);
  --dashboard-shell-shadow: 0 0 0 1px rgba(255, 43, 214, .3), 0 0 18px rgba(255, 43, 214, .12);
  --dashboard-elevated-shadow: 0 0 0 1px rgba(34, 211, 238, .4), 0 0 30px rgba(34, 211, 238, .2);
  --dashboard-cta-shadow: 0 0 22px rgba(255, 43, 214, .55);
  --dashboard-sidebar-gradient: linear-gradient(180deg, #0a0524 0%, #06031a 100%);
  --dashboard-hero-surface: #130b2a;
  --dashboard-dot-grid: none;
  --dashboard-editorial-underline: linear-gradient(90deg, #ff2bd6 0 50%, #22d3ee 50% 100%);
  --ring: 187 92% 53%;
  --line: rgba(255, 43, 214, .3);
  --line-2: rgba(34, 211, 238, .45);
}

/* The grid floor: faint cyan lines that fade towards the top, with a magenta haze. */
html[data-theme="cyberpunk"]::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 6, 24, 1) 0%, rgba(10, 6, 24, .4) 60%, rgba(10, 6, 24, 0) 100%),
    linear-gradient(rgba(34, 211, 238, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, .12) 1px, transparent 1px),
    radial-gradient(50% 35% at 50% 110%, rgba(255, 43, 214, .28), transparent 70%),
    #0a0618;
  background-size: auto, 44px 44px, 44px 44px, auto, auto;
}
html[data-theme="cyberpunk"] body { background: transparent; }
html[data-theme="cyberpunk"] .dashboard-shell-surface { background-color: transparent; background-image: none; }
html[data-theme="cyberpunk"] .mammoth-theme { background: transparent; }
html[data-theme="cyberpunk"] body.website-builder-page { background: transparent; }

/* Body copy in Rajdhani runs small, so it gets a touch more size and weight. */
html[data-theme="cyberpunk"] body { font-weight: 500; }

html[data-theme="cyberpunk"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-sidebar-brand) {
  text-transform: uppercase;
  letter-spacing: .08em;
  text-shadow: 0 0 14px rgba(255, 43, 214, .55);
}
html[data-theme="cyberpunk"] .mammoth-card-head-title { font-size: 14px; }
html[data-theme="cyberpunk"] .mammoth-sidebar-brand { font-size: 13px; }

/* Cards: neon edge, a cut corner top-right and bottom-left. */
html[data-theme="cyberpunk"] :is(.mammoth-card, .mammoth-stat-card, .mammoth-featured, .dashboard-theme-panel) {
  border: 1px solid rgba(255, 43, 214, .45);
  box-shadow: inset 0 0 0 1px rgba(255, 43, 214, .12), inset 0 0 30px rgba(255, 43, 214, .06), 0 0 18px rgba(255, 43, 214, .14);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  border-radius: 0;
}
html[data-theme="cyberpunk"] :is(.mammoth-card, .mammoth-stat-card):hover {
  border-color: rgba(34, 211, 238, .8);
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .25), 0 0 24px rgba(34, 211, 238, .3);
}
html[data-theme="cyberpunk"] .mammoth-card-head { border-bottom: 1px solid rgba(34, 211, 238, .3); }

/* Buttons glow magenta; outline buttons glow cyan. */
html[data-theme="cyberpunk"] :is(.bg-primary, .mammoth-btn:not(.mammoth-btn-outline)) {
  box-shadow: 0 0 16px rgba(255, 43, 214, .5), inset 0 0 0 1px rgba(255, 255, 255, .15);
  text-transform: uppercase;
  letter-spacing: .06em;
}
html[data-theme="cyberpunk"] .mammoth-btn-outline { border-color: #22d3ee; color: #22d3ee; box-shadow: 0 0 12px rgba(34, 211, 238, .3); }
html[data-theme="cyberpunk"] .mammoth-btn-outline:hover { background: #22d3ee; color: #06031a; }
html[data-theme="cyberpunk"] .mammoth-sidebar-shell { border-right: 1px solid rgba(34, 211, 238, .35); box-shadow: inset -1px 0 0 rgba(34, 211, 238, .25), 0 0 30px rgba(255, 43, 214, .08); }
html[data-theme="cyberpunk"] .mammoth-sidebar-mark { background: linear-gradient(135deg, #ff2bd6, #22d3ee); color: #06031a; }

/* ==========================================================================
   Retro 1995: teal desktop, grey bevels, blue title bars
   ========================================================================== */
html[data-theme="retro"],
html[data-theme="retro"] [data-dashboard-theme] {
  --dashboard-font-display: Tahoma, Verdana, Geneva, 'DejaVu Sans', sans-serif;
  --dashboard-font-body: Tahoma, Verdana, Geneva, 'DejaVu Sans', sans-serif;
  --dashboard-font-mono: 'Courier New', Courier, monospace;
  --mc-sans: Tahoma, Verdana, Geneva, 'DejaVu Sans', sans-serif;
  --mc-display: Tahoma, Verdana, Geneva, 'DejaVu Sans', sans-serif;
  --mc-mono: 'Courier New', Courier, monospace;
  --radius: 0;
  --mt-shadow: 2px 2px 0 #000000;
  --dashboard-shell-shadow: none;
  --dashboard-elevated-shadow: 3px 3px 0 #000000;
  --dashboard-cta-shadow: none;
  --dashboard-sidebar-gradient: linear-gradient(#000080, #000080);
  --dashboard-hero-surface: #000080;
  --dashboard-dot-grid: none;
  --dashboard-diagonal-hatch: none;
  --dashboard-editorial-underline: linear-gradient(90deg, #000080 0 100%);
  --line: #808080;
  --line-2: #404040;
}

/* The desktop is flat teal, nothing fades into anything. */
html[data-theme="retro"] .dashboard-shell-surface { background-color: #008080; background-image: none; }
html[data-theme="retro"] .mammoth-theme { background: #008080; }

/* 1995 had no round corners. */
html[data-theme="retro"] :is(.rounded, .rounded-sm, .rounded-md, .rounded-lg, .rounded-xl, .rounded-2xl, .rounded-3xl, .rounded-full,
  .mammoth-card, .mammoth-stat-card, .mammoth-featured, .mammoth-price-block, .mammoth-tabs-list, .mammoth-btn, .mammoth-sidebar-mark,
  .mammoth-sidebar-avatar, .mammoth-sidebar-avatar img, button, input, select, textarea, img, .mt-switcher-menu, .mt-swatch) { border-radius: 0 !important; }

/* Raised panels: light top-left, dark bottom-right, the two-pixel bevel. */
html[data-theme="retro"] :is(.mammoth-card, .mammoth-stat-card, .mammoth-featured, .mammoth-price-block, .dashboard-theme-panel, .bg-card, .bg-popover, .mt-switcher-menu) {
  background: #c0c0c0;
  border: 2px solid;
  border-color: #ffffff #404040 #404040 #ffffff;
  box-shadow: inset -1px -1px 0 #808080, inset 1px 1px 0 #dfdfdf;
}
html[data-theme="retro"] :is(.mammoth-card, .mammoth-stat-card):hover { transform: none; border-color: #ffffff #404040 #404040 #ffffff; }

/* Sunken fields. */
html[data-theme="retro"] :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), select, textarea) {
  background: #ffffff;
  color: #000000;
  border: 2px solid;
  border-color: #808080 #ffffff #ffffff #808080;
  box-shadow: inset 1px 1px 0 #404040, inset -1px -1px 0 #dfdfdf;
}

/* Every button is a grey, bevelled button, except the sidebar's, which stay flat on the navy. */
html[data-theme="retro"] :is(button, .mammoth-btn, .mammoth-btn-outline, a.mammoth-btn, .bg-primary):where(:not([role="tab"]):not([role="menuitemradio"]):not(.mt-switcher-btn):not(.mammoth-sidebar-shell *)) {
  background: #c0c0c0;
  background-image: none;
  color: #000000;
  border: 2px solid;
  border-color: #ffffff #404040 #404040 #ffffff;
  box-shadow: inset -1px -1px 0 #808080, inset 1px 1px 0 #dfdfdf;
  text-shadow: none;
  font-weight: 400;
  transform: none;
}
html[data-theme="retro"] :is(button, .mammoth-btn, .mammoth-btn-outline, .bg-primary):where(:not([role="tab"]):not([role="menuitemradio"]):not(.mt-switcher-btn):not(.mammoth-sidebar-shell *)):hover { background: #d4d4d4; color: #000000; transform: none; }
html[data-theme="retro"] :is(button, .mammoth-btn, .mammoth-btn-outline, .bg-primary):where(:not([role="tab"]):not([role="menuitemradio"]):not(.mt-switcher-btn):not(.mammoth-sidebar-shell *)):active {
  border-color: #404040 #ffffff #ffffff #404040;
  box-shadow: inset 1px 1px 0 #808080, inset -1px -1px 0 #dfdfdf;
}

/* Card headers are window title bars. */
html[data-theme="retro"] .mammoth-card-head {
  background: linear-gradient(90deg, #000080 0%, #1084d0 100%);
  border-bottom: 2px solid #404040;
  padding: 6px 10px;
}
html[data-theme="retro"] :is(.mammoth-card-head-title, .mammoth-card-head-title *, .mammoth-card-head .mammoth-card-link) { color: #ffffff !important; font-size: 13px; font-weight: 700; letter-spacing: 0; }
html[data-theme="retro"] .mammoth-card-tag { background: #c0c0c0; color: #000000; border: 1px solid #404040; }

html[data-theme="retro"] :is(h1, h2, h3, .dashboard-mammoth-title) { letter-spacing: 0; }
html[data-theme="retro"] .mammoth-sidebar-shell { border-right: 2px solid; border-color: #ffffff #404040 #404040 #ffffff; }
html[data-theme="retro"] .mammoth-sidebar-mark { background: #c0c0c0; color: #000080; border: 1px solid #404040; }
html[data-theme="retro"] .mammoth-sidebar-brand { font-size: 13px; }
html[data-theme="retro"] .mammoth-card-head-title::before { content: '\25A3  '; font-size: 11px; }

/* The progress bars are the blue-block kind. */
html[data-theme="retro"] :is(.mammoth-progress-mini, [role="progressbar"]) { background: #ffffff; border: 1px solid #808080; }
html[data-theme="retro"] :is(.mammoth-progress-mini > *, [role="progressbar"] > *) {
  background: repeating-linear-gradient(90deg, #000080 0 8px, #c0c0c0 8px 10px) !important;
}

/* ==========================================================================
   Zen Garden: a garden photo behind frosted glass, moss and leaf
   ========================================================================== */
html[data-theme="zen"],
html[data-theme="zen"] [data-dashboard-theme] {
  --dashboard-font-display: 'Lora', 'Playfair Display', Georgia, serif;
  --dashboard-font-body: 'Nunito', 'Inter', system-ui, sans-serif;
  --mc-display: 'Lora', 'Playfair Display', Georgia, serif;
  --mc-sans: 'Nunito', 'Inter', system-ui, sans-serif;
  --radius: 1.1rem;
  --mt-shadow: 0 18px 50px -20px rgba(27, 42, 32, .35);
  --dashboard-shell-shadow: 0 10px 30px -18px rgba(27, 42, 32, .4);
  --dashboard-elevated-shadow: 0 24px 60px -30px rgba(27, 42, 32, .5);
  --dashboard-cta-shadow: 0 10px 24px -12px rgba(79, 143, 85, .6);
  --dashboard-sidebar-gradient: linear-gradient(180deg, rgba(29, 54, 39, .86) 0%, rgba(20, 40, 28, .92) 100%);
  --dashboard-hero-surface: rgba(29, 54, 39, .82);
  --dashboard-dot-grid: none;
  --dashboard-editorial-underline: linear-gradient(90deg, #1d3627 0 60%, #4f8f55 60% 100%);
  --line: rgba(27, 42, 32, .1);
  --line-2: rgba(27, 42, 32, .18);
  --mt-surface: rgba(255, 255, 255, .78);
  --mt-surface-2: rgba(255, 255, 255, .6);
  --mt-border: rgba(27, 42, 32, .1);
  --mt-border-2: rgba(27, 42, 32, .18);
}

/* The garden. The picture is fixed, so the page scrolls over it. */
html[data-theme="zen"]::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: #cfdcc3 url('/frontend/img/themes/zen-garden.jpg?v=2') center / cover no-repeat;
}
html[data-theme="zen"] body { background: transparent; }
html[data-theme="zen"] .dashboard-shell-surface { background-color: transparent; background-image: none; }
html[data-theme="zen"] .mammoth-theme { background: transparent; }
html[data-theme="zen"] body.website-builder-page { background: transparent; }

/* Frosted glass panels, soft edges, no hard lines. */
html[data-theme="zen"] :is(.mammoth-card, .mammoth-stat-card, .mammoth-featured, .mammoth-price-block, .mammoth-tabs-list, .dashboard-theme-panel, .bg-card, .bg-white, .mammoth-dashboard-streak) {
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, .7);
}
html[data-theme="zen"] :is(.bg-popover, .mt-switcher-menu) {
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
html[data-theme="zen"] :is(.mammoth-card, .mammoth-stat-card, .mammoth-featured) { border-radius: 20px; }
html[data-theme="zen"] :is(.mammoth-card, .mammoth-stat-card):hover { border-color: rgba(79, 143, 85, .5); }
html[data-theme="zen"] .mammoth-card-head { border-bottom: 1px solid rgba(27, 42, 32, .08); }

html[data-theme="zen"] .mammoth-sidebar-shell {
  background: rgba(29, 54, 39, .86);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-right: 1px solid rgba(255, 255, 255, .12);
}
html[data-theme="zen"] .mammoth-sidebar-mark { background: #4f8f55; color: #ffffff; border-radius: 50%; }

html[data-theme="zen"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title) {
  font-family: var(--dashboard-font-display, var(--mc-display));
  font-weight: 600;
  letter-spacing: -.005em;
}
html[data-theme="zen"] .mammoth-theme h1, html[data-theme="zen"] .mammoth-theme h2 { font-family: var(--mc-display); font-weight: 600; }
html[data-theme="zen"] :is(.mammoth-btn, .bg-primary) { border-radius: 999px; }

/* The public header and footer sit on the garden too. */
html[data-theme="zen"] .mammoth-chrome {
  background: rgba(29, 54, 39, .82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

/* ==========================================================================
   Frutiger Aero: glossy glass, aqua gel buttons, a blue-sky wallpaper (2006)
   ========================================================================== */
html[data-theme="aero"],
html[data-theme="aero"] [data-dashboard-theme] {
  --dashboard-font-display: 'Hind', 'Segoe UI', 'Frutiger', 'Trebuchet MS', system-ui, sans-serif;
  --dashboard-font-body: 'Hind', 'Segoe UI', 'Frutiger', 'Trebuchet MS', system-ui, sans-serif;
  --mc-display: 'Hind', 'Segoe UI', 'Frutiger', 'Trebuchet MS', system-ui, sans-serif;
  --mc-sans: 'Hind', 'Segoe UI', 'Frutiger', 'Trebuchet MS', system-ui, sans-serif;
  --radius: 0.9rem;
  --mt-shadow: 0 10px 30px rgba(12, 95, 184, .22), inset 0 1px 0 #ffffff;
  --dashboard-shell-shadow: 0 6px 18px rgba(12, 95, 184, .16), inset 0 1px 0 #ffffff;
  --dashboard-elevated-shadow: 0 18px 40px -18px rgba(12, 95, 184, .4), inset 0 1px 0 #ffffff;
  --dashboard-cta-shadow: 0 4px 12px rgba(11, 125, 220, .45);
  --dashboard-sidebar-gradient: linear-gradient(180deg, #3b9cf0 0%, #1370cf 48%, #0c5fb8 52%, #1a78d6 100%);
  --dashboard-hero-surface: #1370cf;
  --dashboard-dot-grid: none;
  --dashboard-editorial-underline: linear-gradient(90deg, #0c5fb8 0 60%, #6fcf2f 60% 100%);
  --dashboard-online-indicator: 97 63% 50%;
  --line: rgba(12, 95, 184, .16);
  --line-2: rgba(12, 95, 184, .3);
  --mt-surface: rgba(255, 255, 255, .86);
  --mt-surface-2: rgba(232, 244, 255, .8);
}

/* The wallpaper: grass, sky and bubbles, fixed behind the page; a few more bubbles drift over the top. */
html[data-theme="aero"]::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, #6fc3ff 0%, #bfe6ff 45%, #8fd65a 100%) center / cover no-repeat;
  background-image: url('/frontend/img/themes/frutiger-aero.jpg?v=1');
  background-size: cover;
  background-position: center;
}
html[data-theme="aero"]::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 78%, rgba(255, 255, 255, .55) 0 2px, rgba(255, 255, 255, .18) 3px 26px, rgba(255, 255, 255, 0) 28px),
    radial-gradient(circle at 86% 22%, rgba(255, 255, 255, .5) 0 3px, rgba(255, 255, 255, .14) 4px 40px, rgba(255, 255, 255, 0) 42px),
    radial-gradient(circle at 70% 88%, rgba(255, 255, 255, .5) 0 2px, rgba(255, 255, 255, .14) 3px 18px, rgba(255, 255, 255, 0) 20px),
    radial-gradient(circle at 40% 6%, rgba(255, 255, 255, .45) 0 2px, rgba(255, 255, 255, .12) 3px 14px, rgba(255, 255, 255, 0) 16px);
  mix-blend-mode: screen;
}
html[data-theme="aero"] body { background: transparent; }
html[data-theme="aero"] .dashboard-shell-surface { background-color: transparent; background-image: none; }
html[data-theme="aero"] .mammoth-theme { background: transparent; }
html[data-theme="aero"] body.website-builder-page { background: transparent; }

/* Aero glass: a white sheen on the top half, a cooler tint below, a one-pixel white rim and a soft blue shadow. */
html[data-theme="aero"] :is(.mammoth-card, .mammoth-stat-card, .mammoth-featured, .mammoth-price-block, .mammoth-tabs-list, .dashboard-theme-panel, .bg-card, .bg-white, .mammoth-dashboard-streak) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .8) 50%, rgba(226, 241, 255, .82) 50.5%, rgba(244, 250, 255, .9) 100%);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  backdrop-filter: blur(12px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: 0 8px 22px rgba(12, 95, 184, .18), inset 0 1px 0 #ffffff, inset 0 0 0 1px rgba(12, 95, 184, .12);
  color: #0f2f52;
}
html[data-theme="aero"] :is(.bg-popover, .mt-switcher-menu) {
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: 0 8px 22px rgba(12, 95, 184, .22);
}
html[data-theme="aero"] :is(.mammoth-card, .mammoth-stat-card, .mammoth-featured) { border-radius: 16px; }
html[data-theme="aero"] :is(.mammoth-card, .mammoth-stat-card):hover { box-shadow: 0 12px 28px rgba(12, 95, 184, .28), inset 0 1px 0 #ffffff, inset 0 0 0 1px rgba(31, 143, 232, .4); }
html[data-theme="aero"] .mammoth-card-head { border-bottom: 1px solid rgba(12, 95, 184, .14); }

/* Headings in deep blue with a white glint under them. */
html[data-theme="aero"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title) {
  color: #0b4f9c;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .8);
  letter-spacing: -.01em;
}
html[data-theme="aero"] .mammoth-theme h1, html[data-theme="aero"] .mammoth-theme h2 { color: #0b4f9c; text-shadow: 0 1px 0 rgba(255, 255, 255, .8); }

/* Gel buttons: aqua, pill-shaped, lit from above, with a crisp white text shadow. */
html[data-theme="aero"] :is(.bg-primary, .mammoth-btn:not(.mammoth-btn-outline), a.mammoth-btn:not(.mammoth-btn-outline)) {
  background: linear-gradient(180deg, #9fe6ff 0%, #39aef7 46%, #0f84e0 52%, #46b9ff 100%);
  border: 1px solid #0a62b5;
  border-radius: 999px;
  color: #ffffff;
  text-shadow: 0 1px 1px rgba(0, 40, 90, .5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), inset 0 -1px 0 rgba(255, 255, 255, .25), 0 3px 8px rgba(10, 98, 181, .35);
}
html[data-theme="aero"] :is(.bg-primary, .mammoth-btn:not(.mammoth-btn-outline)):hover {
  background: linear-gradient(180deg, #b9efff 0%, #52bcff 46%, #1a90ea 52%, #5cc4ff 100%);
  color: #ffffff;
}
/* Outline buttons go green, the grass to the sky's blue. */
html[data-theme="aero"] .mammoth-btn-outline {
  background: linear-gradient(180deg, #d9f7b0 0%, #8fdc4a 46%, #5cbd1f 52%, #8ee04c 100%);
  border: 1px solid #3f8f12;
  border-radius: 999px;
  color: #ffffff;
  text-shadow: 0 1px 1px rgba(20, 60, 0, .5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 3px 8px rgba(63, 143, 18, .3);
}
html[data-theme="aero"] .mammoth-btn-outline:hover { background: linear-gradient(180deg, #e6fbc6 0%, #a3e661 46%, #6fcb2e 52%, #a0ea5f 100%); color: #ffffff; }

/* Glossy blue sidebar with a sheen, like a Vista title bar. */
html[data-theme="aero"] .mammoth-sidebar-shell {
  background: linear-gradient(180deg, #3b9cf0 0%, #1370cf 48%, #0c5fb8 52%, #1a78d6 100%);
  border-right: 1px solid rgba(255, 255, 255, .45);
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, .25), inset 0 1px 0 rgba(255, 255, 255, .6);
}
html[data-theme="aero"] .mammoth-sidebar-mark { background: linear-gradient(180deg, #ffffff, #cfe9ff); color: #0c5fb8; border-radius: 50%; box-shadow: 0 2px 6px rgba(0, 40, 90, .35); }
html[data-theme="aero"] .mammoth-sidebar-avatar img { border: 2px solid rgba(255, 255, 255, .85); box-shadow: 0 2px 6px rgba(0, 40, 90, .35); }

/* Progress bars fill with grass green. */
html[data-theme="aero"] :is(.mammoth-progress-mini > *, [role="progressbar"] > *) {
  background: linear-gradient(180deg, #b6f07e 0%, #6fcf2f 50%, #4fae18 51%, #7ed63a 100%) !important;
}

/* The public header is the same glossy blue. */
html[data-theme="aero"] .mammoth-chrome {
  background: linear-gradient(180deg, #3b9cf0 0%, #1370cf 48%, #0c5fb8 52%, #1a78d6 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 4px 14px rgba(12, 95, 184, .3);
}

/* ==========================================================================
   Theme library: 35 themes in six groups, generated by scratchpad gen_library.py
   ========================================================================== */

/* ==========================================================================
   Neon Grid: Electric blue lines and glowing interfaces.
   ========================================================================== */
html[data-theme="neon-grid"],
html[data-theme="neon-grid"] [data-dashboard-theme] {
  --dashboard-font-display: 'Exo 2', 'Inter', system-ui, sans-serif;
  --mc-display: 'Exo 2', 'Inter', system-ui, sans-serif;
  --dashboard-font-body: 'Exo 2', 'Inter', system-ui, sans-serif;
  --mc-sans: 'Exo 2', 'Inter', system-ui, sans-serif;
  --radius: 0.35rem;
  --mt-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  --dashboard-shell-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.6);
  --dashboard-elevated-shadow: 0 18px 44px -24px rgba(0, 0, 0, 0.75);
  --dashboard-cta-shadow: 0 8px 22px -10px rgba(25, 164, 255, 0.6);
  --dashboard-hero-surface: #0a1430;
  --dashboard-dot-grid: none;
  --line: rgba(25, 164, 255, 0.22);
  --line-2: rgba(25, 164, 255, 0.4);
}
html[data-theme="neon-grid"]::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, var(--mt-bg) 0%, color-mix(in srgb, var(--mt-bg) 40%, transparent) 60%, transparent 100%), linear-gradient(rgba(25, 164, 255, .14) 1px, transparent 1px), linear-gradient(90deg, rgba(25, 164, 255, .14) 1px, transparent 1px), var(--mt-bg); background-size: auto, 40px 40px, 40px 40px, auto;
}
html[data-theme="neon-grid"] body { background: transparent; }
html[data-theme="neon-grid"] .dashboard-shell-surface { background-color: transparent; background-image: none; }
html[data-theme="neon-grid"] .mammoth-theme { background: transparent; }
html[data-theme="neon-grid"] body.website-builder-page { background: transparent; }
html[data-theme="neon-grid"] :is(.mammoth-card, .mammoth-stat-card, .mammoth-featured, .mammoth-price-block, .mammoth-tabs-list, .dashboard-theme-panel, .bg-card), html[data-theme="neon-grid"] :is(.bg-popover, .mt-switcher-menu) { border: 1px solid rgba(25, 164, 255, .45); box-shadow: inset 0 0 0 1px rgba(25, 164, 255, .12), 0 0 18px rgba(25, 164, 255, .18); }
html[data-theme="neon-grid"] :is(.mammoth-card, .mammoth-stat-card):hover { border-color: rgba(108, 200, 255, .9); box-shadow: 0 0 26px rgba(25, 164, 255, .35); }
html[data-theme="neon-grid"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { text-transform: uppercase; letter-spacing: .06em; }
html[data-theme="neon-grid"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { text-shadow: 0 0 12px rgba(25, 164, 255, .6); }
html[data-theme="neon-grid"] .mammoth-theme :is(h1, h2) { text-shadow: 0 0 12px rgba(25, 164, 255, .6); }
html[data-theme="neon-grid"] :is(.bg-primary, .mammoth-btn:not(.mammoth-btn-outline), a.mammoth-btn:not(.mammoth-btn-outline)) { box-shadow: 0 0 16px rgba(25, 164, 255, .55); }
html[data-theme="neon-grid"] .mammoth-sidebar-shell { border-right: 1px solid rgba(25, 164, 255, .4); box-shadow: inset -1px 0 0 rgba(25, 164, 255, .3); }


/* ==========================================================================
   Mission Control: Aerospace-inspired instrumentation in amber and graphite.
   ========================================================================== */
html[data-theme="mission-control"],
html[data-theme="mission-control"] [data-dashboard-theme] {
  --dashboard-font-display: 'Barlow Condensed', 'Inter', system-ui, sans-serif;
  --mc-display: 'Barlow Condensed', 'Inter', system-ui, sans-serif;
  --dashboard-font-body: 'Barlow', 'Inter', system-ui, sans-serif;
  --mc-sans: 'Barlow', 'Inter', system-ui, sans-serif;
  --dashboard-font-mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --mc-mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --radius: 0.125rem;
  --mt-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  --dashboard-shell-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.6);
  --dashboard-elevated-shadow: 0 18px 44px -24px rgba(0, 0, 0, 0.75);
  --dashboard-cta-shadow: 0 8px 22px -10px rgba(255, 176, 32, 0.6);
  --dashboard-hero-surface: #11171e;
  --dashboard-dot-grid: none;
  --line: rgba(255, 176, 32, 0.22);
  --line-2: rgba(255, 176, 32, 0.4);
}
html[data-theme="mission-control"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { font-family: 'Barlow Condensed', 'Inter', system-ui, sans-serif; }
html[data-theme="mission-control"] .mammoth-theme :is(h1, h2) { font-family: 'Barlow Condensed', 'Inter', system-ui, sans-serif; }
html[data-theme="mission-control"] :is(.rounded, .rounded-sm, .rounded-md, .rounded-lg, .rounded-xl, .rounded-2xl, .rounded-3xl, .mammoth-card, .mammoth-stat-card, .mammoth-featured, .mammoth-price-block, .mammoth-tabs-list, .mammoth-btn, .mammoth-sidebar-mark, button, input, select, textarea, .mt-switcher-menu) { border-radius: 0; }
html[data-theme="mission-control"] :is(.mammoth-card, .mammoth-stat-card, .mammoth-featured, .mammoth-price-block, .mammoth-tabs-list, .dashboard-theme-panel, .bg-card), html[data-theme="mission-control"] :is(.bg-popover, .mt-switcher-menu) { border: 1px solid rgba(255, 176, 32, .35); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .03); background-image: linear-gradient(90deg, rgba(255, 176, 32, .5) 0 12px, transparent 12px); background-size: 100% 2px; background-repeat: no-repeat; background-position: 0 0; }
html[data-theme="mission-control"] :is(.mammoth-card, .mammoth-stat-card):hover { border-color: rgba(255, 200, 92, .8); }
html[data-theme="mission-control"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { text-transform: uppercase; letter-spacing: .12em; }
html[data-theme="mission-control"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { font-weight: 600; }
html[data-theme="mission-control"] .mammoth-theme :is(h1, h2) { font-weight: 600; }
html[data-theme="mission-control"] .mammoth-card-tag, html[data-theme="mission-control"] .dashboard-mammoth-eyebrow { font-family: var(--dashboard-font-mono); letter-spacing: .18em; }
html[data-theme="mission-control"] .mammoth-sidebar-shell { border-right: 1px solid rgba(255, 176, 32, .3); background-image: repeating-linear-gradient(0deg, transparent 0 23px, rgba(255, 255, 255, .03) 23px 24px); }
html[data-theme="mission-control"] :is(.bg-primary, .mammoth-btn:not(.mammoth-btn-outline), a.mammoth-btn:not(.mammoth-btn-outline)) { border-radius: 2px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }


/* ==========================================================================
   Holographic: Translucent panels with iridescent edges.
   ========================================================================== */
html[data-theme="holographic"],
html[data-theme="holographic"] [data-dashboard-theme] {
  --dashboard-font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --mc-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --radius: 1rem;
  --mt-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  --dashboard-shell-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.6);
  --dashboard-elevated-shadow: 0 18px 44px -24px rgba(0, 0, 0, 0.75);
  --dashboard-cta-shadow: 0 8px 22px -10px rgba(125, 249, 255, 0.6);
  --dashboard-hero-surface: #171a45;
  --dashboard-dot-grid: none;
  --line: rgba(125, 249, 255, 0.22);
  --line-2: rgba(125, 249, 255, 0.4);
}
html[data-theme="holographic"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif; }
html[data-theme="holographic"] .mammoth-theme :is(h1, h2) { font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif; }
html[data-theme="holographic"]::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(60% 50% at 20% 10%, rgba(125, 249, 255, .25), transparent 60%), radial-gradient(50% 40% at 85% 90%, rgba(255, 122, 217, .28), transparent 60%), linear-gradient(135deg, #0e1030 0%, #1b2a5a 60%, #3a1a5e 100%);
}
html[data-theme="holographic"] body { background: transparent; }
html[data-theme="holographic"] .dashboard-shell-surface { background-color: transparent; background-image: none; }
html[data-theme="holographic"] .mammoth-theme { background: transparent; }
html[data-theme="holographic"] body.website-builder-page { background: transparent; }
html[data-theme="holographic"] :is(.mammoth-card, .mammoth-stat-card, .mammoth-featured, .mammoth-price-block, .mammoth-tabs-list, .dashboard-theme-panel, .bg-card), html[data-theme="holographic"] .bg-white, html[data-theme="holographic"] .mammoth-dashboard-streak {
  background: linear-gradient(135deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05));
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
  backdrop-filter: blur(14px) saturate(1.25);
  border: 1px solid rgba(255, 255, 255, .35); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 10px 30px rgba(0, 0, 0, .35);
}
html[data-theme="holographic"] :is(.bg-popover, .mt-switcher-menu) { background: linear-gradient(135deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05)); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .35); }
html[data-theme="holographic"] :is(.mammoth-card, .mammoth-stat-card, .mammoth-featured) { border-image: linear-gradient(135deg, #7df9ff, #ff7ad9, #fff07a) 1; border-radius: 0; }
html[data-theme="holographic"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { background: linear-gradient(90deg, #7df9ff, #ff7ad9 60%, #fff07a); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
html[data-theme="holographic"] .mammoth-theme :is(h1, h2) { background: linear-gradient(90deg, #7df9ff, #ff7ad9 60%, #fff07a); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
html[data-theme="holographic"] .mammoth-sidebar-shell { background: linear-gradient(180deg, rgba(10, 12, 40, .7), rgba(20, 16, 60, .85)); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-right: 1px solid rgba(255, 255, 255, .25); }
html[data-theme="holographic"] :is(.bg-primary, .mammoth-btn:not(.mammoth-btn-outline), a.mammoth-btn:not(.mammoth-btn-outline)) { background: linear-gradient(135deg, #7df9ff, #ff7ad9); color: #0a0c28; box-shadow: 0 0 20px rgba(255, 122, 217, .45); }


/* ==========================================================================
   Deep Space: Industrial spaceship computer: black steel and hazard orange.
   ========================================================================== */
html[data-theme="deep-space"],
html[data-theme="deep-space"] [data-dashboard-theme] {
  --dashboard-font-display: 'Barlow Condensed', 'Inter', system-ui, sans-serif;
  --mc-display: 'Barlow Condensed', 'Inter', system-ui, sans-serif;
  --dashboard-font-body: 'Share Tech Mono', 'JetBrains Mono', monospace;
  --mc-sans: 'Share Tech Mono', 'JetBrains Mono', monospace;
  --dashboard-font-mono: 'Share Tech Mono', 'JetBrains Mono', monospace;
  --mc-mono: 'Share Tech Mono', 'JetBrains Mono', monospace;
  --radius: 0;
  --mt-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  --dashboard-shell-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.6);
  --dashboard-elevated-shadow: 0 18px 44px -24px rgba(0, 0, 0, 0.75);
  --dashboard-cta-shadow: 0 8px 22px -10px rgba(255, 122, 26, 0.6);
  --dashboard-hero-surface: #111115;
  --dashboard-dot-grid: none;
  --line: rgba(255, 122, 26, 0.22);
  --line-2: rgba(255, 122, 26, 0.4);
}
html[data-theme="deep-space"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { font-family: 'Barlow Condensed', 'Inter', system-ui, sans-serif; }
html[data-theme="deep-space"] .mammoth-theme :is(h1, h2) { font-family: 'Barlow Condensed', 'Inter', system-ui, sans-serif; }
html[data-theme="deep-space"]::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px), #07070a; background-size: 22px 22px;
}
html[data-theme="deep-space"] body { background: transparent; }
html[data-theme="deep-space"] .dashboard-shell-surface { background-color: transparent; background-image: none; }
html[data-theme="deep-space"] .mammoth-theme { background: transparent; }
html[data-theme="deep-space"] body.website-builder-page { background: transparent; }
html[data-theme="deep-space"] :is(.rounded, .rounded-sm, .rounded-md, .rounded-lg, .rounded-xl, .rounded-2xl, .rounded-3xl, .mammoth-card, .mammoth-stat-card, .mammoth-featured, .mammoth-price-block, .mammoth-tabs-list, .mammoth-btn, .mammoth-sidebar-mark, button, input, select, textarea, .mt-switcher-menu) { border-radius: 0; }
html[data-theme="deep-space"] :is(.mammoth-card, .mammoth-stat-card, .mammoth-featured, .mammoth-price-block, .mammoth-tabs-list, .dashboard-theme-panel, .bg-card), html[data-theme="deep-space"] :is(.bg-popover, .mt-switcher-menu) { border: 2px solid #2a2a32; box-shadow: inset 0 0 0 1px #0d0d10, 0 0 0 1px #000; background-image: repeating-linear-gradient(45deg, rgba(255, 122, 26, .18) 0 10px, transparent 10px 20px); background-size: 100% 6px; background-repeat: no-repeat; background-position: 0 100%; }
html[data-theme="deep-space"] :is(.mammoth-card, .mammoth-stat-card):hover { border-color: #ff7a1a; }
html[data-theme="deep-space"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { text-transform: uppercase; letter-spacing: .14em; }
html[data-theme="deep-space"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { font-weight: 700; }
html[data-theme="deep-space"] .mammoth-theme :is(h1, h2) { font-weight: 700; }
html[data-theme="deep-space"]::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .12) 0 1px, transparent 1px 3px);
}
html[data-theme="deep-space"] .mammoth-sidebar-shell { border-right: 3px solid #2a2a32; background-image: repeating-linear-gradient(45deg, rgba(255, 122, 26, .25) 0 10px, transparent 10px 20px); background-size: 100% 6px; background-repeat: no-repeat; background-position: 0 0; }
html[data-theme="deep-space"] :is(.bg-primary, .mammoth-btn:not(.mammoth-btn-outline), a.mammoth-btn:not(.mammoth-btn-outline)) { border-radius: 0; text-transform: uppercase; letter-spacing: .1em; box-shadow: 4px 4px 0 #000; }


/* ==========================================================================
   Neural Network: Purple gradients and interconnected nodes.
   ========================================================================== */
html[data-theme="neural-network"],
html[data-theme="neural-network"] [data-dashboard-theme] {
  --dashboard-font-display: 'Sora', 'Inter', system-ui, sans-serif;
  --mc-display: 'Sora', 'Inter', system-ui, sans-serif;
  --radius: 0.875rem;
  --mt-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  --dashboard-shell-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.6);
  --dashboard-elevated-shadow: 0 18px 44px -24px rgba(0, 0, 0, 0.75);
  --dashboard-cta-shadow: 0 8px 22px -10px rgba(168, 85, 247, 0.6);
  --dashboard-hero-surface: #140c2a;
  --dashboard-dot-grid: none;
  --line: rgba(168, 85, 247, 0.22);
  --line-2: rgba(168, 85, 247, 0.4);
}
html[data-theme="neural-network"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { font-family: 'Sora', 'Inter', system-ui, sans-serif; }
html[data-theme="neural-network"] .mammoth-theme :is(h1, h2) { font-family: 'Sora', 'Inter', system-ui, sans-serif; }
html[data-theme="neural-network"]::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 15% 20%, rgba(168, 85, 247, .35), transparent 35%), radial-gradient(circle at 85% 75%, rgba(236, 72, 153, .3), transparent 35%), radial-gradient(rgba(192, 132, 252, .35) 1.5px, transparent 1.5px), linear-gradient(180deg, #0b0618, #140c2a); background-size: auto, auto, 38px 38px, auto;
}
html[data-theme="neural-network"] body { background: transparent; }
html[data-theme="neural-network"] .dashboard-shell-surface { background-color: transparent; background-image: none; }
html[data-theme="neural-network"] .mammoth-theme { background: transparent; }
html[data-theme="neural-network"] body.website-builder-page { background: transparent; }
html[data-theme="neural-network"] :is(.mammoth-card, .mammoth-stat-card, .mammoth-featured, .mammoth-price-block, .mammoth-tabs-list, .dashboard-theme-panel, .bg-card), html[data-theme="neural-network"] :is(.bg-popover, .mt-switcher-menu) { border: 1px solid rgba(168, 85, 247, .35); box-shadow: 0 0 0 1px rgba(236, 72, 153, .08), 0 12px 32px rgba(0, 0, 0, .45); }
html[data-theme="neural-network"] :is(.mammoth-card, .mammoth-stat-card):hover { border-color: rgba(236, 72, 153, .7); box-shadow: 0 0 28px rgba(168, 85, 247, .35); }
html[data-theme="neural-network"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { background: linear-gradient(90deg, #c084fc, #ec4899); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
html[data-theme="neural-network"] .mammoth-theme :is(h1, h2) { background: linear-gradient(90deg, #c084fc, #ec4899); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
html[data-theme="neural-network"] :is(.bg-primary, .mammoth-btn:not(.mammoth-btn-outline), a.mammoth-btn:not(.mammoth-btn-outline)) { background: linear-gradient(135deg, #a855f7, #ec4899); color: #fff; box-shadow: 0 8px 24px rgba(168, 85, 247, .45); }
html[data-theme="neural-network"] .mammoth-sidebar-shell { background: linear-gradient(180deg, #0f0a22, #080414); border-right: 1px solid rgba(168, 85, 247, .3); }


/* ==========================================================================
   Wasteland: Retro monochrome industrial computer, green phosphor in a rusted shell.
   ========================================================================== */
html[data-theme="wasteland"],
html[data-theme="wasteland"] [data-dashboard-theme] {
  --dashboard-font-display: 'VT323', 'Share Tech Mono', monospace;
  --mc-display: 'VT323', 'Share Tech Mono', monospace;
  --dashboard-font-body: 'VT323', 'Share Tech Mono', monospace;
  --mc-sans: 'VT323', 'Share Tech Mono', monospace;
  --dashboard-font-mono: 'VT323', 'Share Tech Mono', monospace;
  --mc-mono: 'VT323', 'Share Tech Mono', monospace;
  --radius: 0.25rem;
  --mt-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  --dashboard-shell-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.6);
  --dashboard-elevated-shadow: 0 18px 44px -24px rgba(0, 0, 0, 0.75);
  --dashboard-cta-shadow: 0 8px 22px -10px rgba(53, 255, 106, 0.6);
  --dashboard-hero-surface: #10251a;
  --dashboard-dot-grid: none;
  --line: rgba(53, 255, 106, 0.22);
  --line-2: rgba(53, 255, 106, 0.4);
}
html[data-theme="wasteland"] body { font-size: 1.08em; text-shadow: 0 0 5px rgba(53, 255, 106, .45); }
html[data-theme="wasteland"]::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .22) 0 1px, transparent 1px 3px);
}
html[data-theme="wasteland"]::after { background-image: radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, .6) 100%); }
html[data-theme="wasteland"] :is(.mammoth-card, .mammoth-stat-card, .mammoth-featured, .mammoth-price-block, .mammoth-tabs-list, .dashboard-theme-panel, .bg-card), html[data-theme="wasteland"] :is(.bg-popover, .mt-switcher-menu) { border: 2px solid #3b2f22; box-shadow: inset 0 0 0 1px rgba(53, 255, 106, .25), inset 0 0 40px rgba(0, 0, 0, .5), 0 0 0 4px #1a140d; border-radius: 6px; }
html[data-theme="wasteland"] :is(.mammoth-card, .mammoth-stat-card):hover { box-shadow: inset 0 0 0 1px rgba(53, 255, 106, .6), 0 0 0 4px #1a140d; }
html[data-theme="wasteland"] .mammoth-sidebar-shell { background: linear-gradient(180deg, #302618, #1a140d); border-right: 4px solid #3b2f22; color: #a8ff9a; }
html[data-theme="wasteland"] .mammoth-sidebar-mark { background: #35ff6a; color: #06200e; border-radius: 4px; }
html[data-theme="wasteland"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { text-transform: uppercase; letter-spacing: .04em; }
html[data-theme="wasteland"] :is(.bg-primary, .mammoth-btn:not(.mammoth-btn-outline), a.mammoth-btn:not(.mammoth-btn-outline)) { border-radius: 4px; border: 2px solid #1a140d; box-shadow: 0 0 12px rgba(53, 255, 106, .5); text-transform: uppercase; }
html[data-theme="wasteland"] :is(#cp-dashboard, .mammoth-theme) img:not(.mammoth-learn-body img) { filter: grayscale(1) sepia(1) hue-rotate(60deg) saturate(2.4) brightness(.85) contrast(1.15); }


/* ==========================================================================
   Emerald Reserve: British racing green and gold.
   ========================================================================== */
html[data-theme="emerald-reserve"],
html[data-theme="emerald-reserve"] [data-dashboard-theme] {
  --dashboard-font-display: 'Playfair Display', Georgia, serif;
  --mc-display: 'Playfair Display', Georgia, serif;
  --radius: 0.5rem;
  --mt-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  --dashboard-shell-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.6);
  --dashboard-elevated-shadow: 0 18px 44px -24px rgba(0, 0, 0, 0.75);
  --dashboard-cta-shadow: 0 8px 22px -10px rgba(212, 175, 55, 0.6);
  --dashboard-hero-surface: #0a3528;
  --dashboard-dot-grid: none;
  --line: rgba(212, 175, 55, 0.22);
  --line-2: rgba(212, 175, 55, 0.4);
}
html[data-theme="emerald-reserve"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { font-family: 'Playfair Display', Georgia, serif; }
html[data-theme="emerald-reserve"] .mammoth-theme :is(h1, h2) { font-family: 'Playfair Display', Georgia, serif; }
html[data-theme="emerald-reserve"] :is(.mammoth-card, .mammoth-stat-card, .mammoth-featured, .mammoth-price-block, .mammoth-tabs-list, .dashboard-theme-panel, .bg-card), html[data-theme="emerald-reserve"] :is(.bg-popover, .mt-switcher-menu) { border: 1px solid rgba(212, 175, 55, .35); box-shadow: inset 0 1px 0 rgba(212, 175, 55, .3), 0 12px 30px rgba(0, 0, 0, .45); }
html[data-theme="emerald-reserve"] :is(.mammoth-card, .mammoth-stat-card):hover { border-color: rgba(212, 175, 55, .7); }
html[data-theme="emerald-reserve"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { font-weight: 600; letter-spacing: .01em; }
html[data-theme="emerald-reserve"] .mammoth-theme :is(h1, h2) { font-weight: 600; letter-spacing: .01em; }
html[data-theme="emerald-reserve"] .mammoth-card-head-title { font-size: 20px; }
html[data-theme="emerald-reserve"] :is(.bg-primary, .mammoth-btn:not(.mammoth-btn-outline), a.mammoth-btn:not(.mammoth-btn-outline)) { background: linear-gradient(135deg, #f3d77c, #d4af37 45%, #a7841c); color: #1a1405; border: 1px solid #8a6d14; }
html[data-theme="emerald-reserve"] .mammoth-sidebar-shell { border-right: 1px solid rgba(212, 175, 55, .3); background: linear-gradient(180deg, #072a1f, #031a13); }
html[data-theme="emerald-reserve"] .mammoth-sidebar-mark { background: linear-gradient(135deg, #f3d77c, #a7841c); color: #1a1405; }
html[data-theme="emerald-reserve"] .mammoth-card-head { border-bottom: 1px solid rgba(212, 175, 55, .3); }


/* ==========================================================================
   Platinum: White marble and champagne accents.
   ========================================================================== */
html[data-theme="platinum"],
html[data-theme="platinum"] [data-dashboard-theme] {
  --dashboard-font-display: 'Cormorant Garamond', Georgia, serif;
  --mc-display: 'Cormorant Garamond', Georgia, serif;
  --radius: 0.25rem;
  --mt-shadow: 0 12px 32px rgba(38, 36, 33, 0.16);
  --dashboard-shell-shadow: 0 8px 20px -10px rgba(38, 36, 33, 0.2);
  --dashboard-elevated-shadow: 0 18px 44px -24px rgba(38, 36, 33, 0.35);
  --dashboard-cta-shadow: 0 8px 22px -10px rgba(201, 166, 107, 0.6);
  --dashboard-hero-surface: #2b2927;
  --dashboard-dot-grid: none;
  --line: rgba(38, 36, 33, 0.14);
  --line-2: rgba(38, 36, 33, 0.26);
}
html[data-theme="platinum"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { font-family: 'Cormorant Garamond', Georgia, serif; }
html[data-theme="platinum"] .mammoth-theme :is(h1, h2) { font-family: 'Cormorant Garamond', Georgia, serif; }
html[data-theme="platinum"]::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(90% 60% at 20% 20%, rgba(255, 255, 255, .9), transparent 60%), radial-gradient(70% 50% at 80% 80%, rgba(201, 166, 107, .18), transparent 60%), linear-gradient(135deg, #f7f4ee 0%, #e9e4da 50%, #f4f1ea 100%);
}
html[data-theme="platinum"] body { background: transparent; }
html[data-theme="platinum"] .dashboard-shell-surface { background-color: transparent; background-image: none; }
html[data-theme="platinum"] .mammoth-theme { background: transparent; }
html[data-theme="platinum"] body.website-builder-page { background: transparent; }
html[data-theme="platinum"] :is(.mammoth-card, .mammoth-stat-card, .mammoth-featured, .mammoth-price-block, .mammoth-tabs-list, .dashboard-theme-panel, .bg-card), html[data-theme="platinum"] :is(.bg-popover, .mt-switcher-menu) { border: 1px solid rgba(201, 166, 107, .4); box-shadow: 0 10px 30px rgba(38, 36, 33, .08), inset 0 1px 0 #fff; }
html[data-theme="platinum"] :is(.mammoth-card, .mammoth-stat-card):hover { border-color: #c9a66b; }
html[data-theme="platinum"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { font-weight: 600; letter-spacing: .02em; }
html[data-theme="platinum"] .mammoth-theme :is(h1, h2) { font-weight: 600; letter-spacing: .02em; }
html[data-theme="platinum"] .mammoth-card-head-title { font-size: 21px; }
html[data-theme="platinum"] :is(.bg-primary, .mammoth-btn:not(.mammoth-btn-outline), a.mammoth-btn:not(.mammoth-btn-outline)) { background: linear-gradient(135deg, #e8d3a8, #c9a66b 50%, #a8864c); color: #fff; border: 1px solid #8f7140; text-shadow: 0 1px 1px rgba(0, 0, 0, .25); }
html[data-theme="platinum"] .mammoth-sidebar-shell { background: linear-gradient(180deg, #3a3734, #2b2927); border-right: 1px solid rgba(201, 166, 107, .4); }
html[data-theme="platinum"] .mammoth-sidebar-mark { background: linear-gradient(135deg, #e8d3a8, #a8864c); color: #fff; }


/* ==========================================================================
   Art Deco: 1920s geometric elegance: black lacquer, gold and bronze.
   ========================================================================== */
html[data-theme="art-deco"],
html[data-theme="art-deco"] [data-dashboard-theme] {
  --dashboard-font-display: 'Poiret One', 'Josefin Sans', sans-serif;
  --mc-display: 'Poiret One', 'Josefin Sans', sans-serif;
  --dashboard-font-body: 'Josefin Sans', 'Inter', system-ui, sans-serif;
  --mc-sans: 'Josefin Sans', 'Inter', system-ui, sans-serif;
  --radius: 0;
  --mt-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  --dashboard-shell-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.6);
  --dashboard-elevated-shadow: 0 18px 44px -24px rgba(0, 0, 0, 0.75);
  --dashboard-cta-shadow: 0 8px 22px -10px rgba(217, 180, 91, 0.6);
  --dashboard-hero-surface: #1a1712;
  --dashboard-dot-grid: none;
  --line: rgba(217, 180, 91, 0.22);
  --line-2: rgba(217, 180, 91, 0.4);
}
html[data-theme="art-deco"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { font-family: 'Poiret One', 'Josefin Sans', sans-serif; }
html[data-theme="art-deco"] .mammoth-theme :is(h1, h2) { font-family: 'Poiret One', 'Josefin Sans', sans-serif; }
html[data-theme="art-deco"]::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 50% 120%, rgba(217, 180, 91, .25), transparent 50%), repeating-radial-gradient(circle at 50% 120%, transparent 0 28px, rgba(217, 180, 91, .08) 28px 30px), #0f0d0a;
}
html[data-theme="art-deco"] body { background: transparent; }
html[data-theme="art-deco"] .dashboard-shell-surface { background-color: transparent; background-image: none; }
html[data-theme="art-deco"] .mammoth-theme { background: transparent; }
html[data-theme="art-deco"] body.website-builder-page { background: transparent; }
html[data-theme="art-deco"] :is(.rounded, .rounded-sm, .rounded-md, .rounded-lg, .rounded-xl, .rounded-2xl, .rounded-3xl, .mammoth-card, .mammoth-stat-card, .mammoth-featured, .mammoth-price-block, .mammoth-tabs-list, .mammoth-btn, .mammoth-sidebar-mark, button, input, select, textarea, .mt-switcher-menu) { border-radius: 0; }
html[data-theme="art-deco"] :is(.mammoth-card, .mammoth-stat-card, .mammoth-featured, .mammoth-price-block, .mammoth-tabs-list, .dashboard-theme-panel, .bg-card), html[data-theme="art-deco"] :is(.bg-popover, .mt-switcher-menu) { border: 1px solid #d9b45b; outline: 1px solid rgba(217, 180, 91, .35); outline-offset: 3px; box-shadow: inset 0 0 0 1px #0f0d0a; }
html[data-theme="art-deco"] :is(.mammoth-card, .mammoth-stat-card):hover { outline-color: #d9b45b; }
html[data-theme="art-deco"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { text-transform: uppercase; letter-spacing: .18em; }
html[data-theme="art-deco"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { font-weight: 400; color: #efcf7a; }
html[data-theme="art-deco"] .mammoth-theme :is(h1, h2) { font-weight: 400; color: #efcf7a; }
html[data-theme="art-deco"] .mammoth-card-head-title { font-size: 20px; }
html[data-theme="art-deco"] :is(.bg-primary, .mammoth-btn:not(.mammoth-btn-outline), a.mammoth-btn:not(.mammoth-btn-outline)) { background: linear-gradient(180deg, #efcf7a, #d9b45b 50%, #a7841c); color: #1a1405; border: 1px solid #efcf7a; text-transform: uppercase; letter-spacing: .14em; border-radius: 0; }
html[data-theme="art-deco"] .mammoth-sidebar-shell { border-right: 1px solid #d9b45b; box-shadow: inset -4px 0 0 #0f0d0a, inset -5px 0 0 rgba(217, 180, 91, .4); }
html[data-theme="art-deco"] .mammoth-sidebar-mark { background: #d9b45b; color: #1a1405; border-radius: 0; transform: rotate(45deg) scale(.8); }
html[data-theme="art-deco"] .mammoth-card-head { border-bottom: 1px solid #d9b45b; }


/* ==========================================================================
   Wall Street: Financial terminal: amber and green on black, dense and fast.
   ========================================================================== */
html[data-theme="wall-street"],
html[data-theme="wall-street"] [data-dashboard-theme] {
  --dashboard-font-display: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --mc-display: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --dashboard-font-body: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --mc-sans: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --dashboard-font-mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --mc-mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --radius: 0;
  --mt-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  --dashboard-shell-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.6);
  --dashboard-elevated-shadow: 0 18px 44px -24px rgba(0, 0, 0, 0.75);
  --dashboard-cta-shadow: 0 8px 22px -10px rgba(255, 176, 0, 0.6);
  --dashboard-hero-surface: #0a0a0a;
  --dashboard-dot-grid: none;
  --line: rgba(255, 176, 0, 0.22);
  --line-2: rgba(255, 176, 0, 0.4);
}
html[data-theme="wall-street"] :is(.rounded, .rounded-sm, .rounded-md, .rounded-lg, .rounded-xl, .rounded-2xl, .rounded-3xl, .mammoth-card, .mammoth-stat-card, .mammoth-featured, .mammoth-price-block, .mammoth-tabs-list, .mammoth-btn, .mammoth-sidebar-mark, button, input, select, textarea, .mt-switcher-menu) { border-radius: 0; }
html[data-theme="wall-street"] body { font-size: .95em; }
html[data-theme="wall-street"] :is(.mammoth-card, .mammoth-stat-card, .mammoth-featured, .mammoth-price-block, .mammoth-tabs-list, .dashboard-theme-panel, .bg-card), html[data-theme="wall-street"] :is(.bg-popover, .mt-switcher-menu) { border: 1px solid #2a2a2a; box-shadow: none; background: #0a0a0a; }
html[data-theme="wall-street"] :is(.mammoth-card, .mammoth-stat-card):hover { border-color: #ffb000; }
html[data-theme="wall-street"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { text-transform: uppercase; letter-spacing: .08em; }
html[data-theme="wall-street"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { font-weight: 600; color: #ffcf4d; }
html[data-theme="wall-street"] .mammoth-theme :is(h1, h2) { font-weight: 600; color: #ffcf4d; }
html[data-theme="wall-street"] .mammoth-card-head { background: #141414; border-bottom: 1px solid #2a2a2a; padding: 8px 14px; }
html[data-theme="wall-street"] .mammoth-card-head-title { font-size: 12px; }
html[data-theme="wall-street"] :is(.text-green-600, .text-emerald-600, .text-green-500) { color: #00e676 !important; }
html[data-theme="wall-street"] :is(.text-red-600, .text-red-500) { color: #ff3d3d !important; }
html[data-theme="wall-street"] :is(.bg-primary, .mammoth-btn:not(.mammoth-btn-outline), a.mammoth-btn:not(.mammoth-btn-outline)) { border-radius: 0; text-transform: uppercase; font-weight: 700; letter-spacing: .06em; }
html[data-theme="wall-street"] .mammoth-sidebar-shell { border-right: 1px solid #2a2a2a; background: #000; color: #d49400; }
html[data-theme="wall-street"] .mammoth-sidebar-shell::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: repeating-linear-gradient(90deg, #ffb000 0 40%, #00e676 40% 70%, #3d8bff 70% 100%); }


/* ==========================================================================
   The Scholar: Leather, parchment and classical typography by lamplight.
   ========================================================================== */
html[data-theme="the-scholar"],
html[data-theme="the-scholar"] [data-dashboard-theme] {
  --dashboard-font-display: 'Cinzel', 'EB Garamond', Georgia, serif;
  --mc-display: 'Cinzel', 'EB Garamond', Georgia, serif;
  --dashboard-font-body: 'EB Garamond', Georgia, serif;
  --mc-sans: 'EB Garamond', Georgia, serif;
  --radius: 0.25rem;
  --mt-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  --dashboard-shell-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.6);
  --dashboard-elevated-shadow: 0 18px 44px -24px rgba(0, 0, 0, 0.75);
  --dashboard-cta-shadow: 0 8px 22px -10px rgba(212, 162, 76, 0.6);
  --dashboard-hero-surface: #2c1f17;
  --dashboard-dot-grid: none;
  --line: rgba(212, 162, 76, 0.22);
  --line-2: rgba(212, 162, 76, 0.4);
}
html[data-theme="the-scholar"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { font-family: 'Cinzel', 'EB Garamond', Georgia, serif; }
html[data-theme="the-scholar"] .mammoth-theme :is(h1, h2) { font-family: 'Cinzel', 'EB Garamond', Georgia, serif; }
html[data-theme="the-scholar"]::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: #1e1410 url('/frontend/img/themes/scholar.jpg?v=1') center / cover no-repeat;
}
html[data-theme="the-scholar"] body { background: transparent; }
html[data-theme="the-scholar"] .dashboard-shell-surface { background-color: transparent; background-image: none; }
html[data-theme="the-scholar"] .mammoth-theme { background: transparent; }
html[data-theme="the-scholar"] body.website-builder-page { background: transparent; }
html[data-theme="the-scholar"] body { font-size: 1.06em; }
html[data-theme="the-scholar"] :is(.mammoth-card, .mammoth-stat-card, .mammoth-featured, .mammoth-price-block, .mammoth-tabs-list, .dashboard-theme-panel, .bg-card), html[data-theme="the-scholar"] .bg-white, html[data-theme="the-scholar"] .mammoth-dashboard-streak {
  background: linear-gradient(180deg, rgba(44, 31, 23, .9), rgba(30, 20, 16, .92));
  -webkit-backdrop-filter: blur(10px) saturate(1.25);
  backdrop-filter: blur(10px) saturate(1.25);
  border: 1px solid rgba(212, 162, 76, .35); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .4), 0 14px 34px rgba(0, 0, 0, .55);
}
html[data-theme="the-scholar"] :is(.bg-popover, .mt-switcher-menu) { background: linear-gradient(180deg, rgba(44, 31, 23, .9), rgba(30, 20, 16, .92)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(212, 162, 76, .35); }
html[data-theme="the-scholar"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { font-weight: 600; color: #e8bd6a; letter-spacing: .02em; }
html[data-theme="the-scholar"] .mammoth-theme :is(h1, h2) { font-weight: 600; color: #e8bd6a; letter-spacing: .02em; }
html[data-theme="the-scholar"] :is(.bg-primary, .mammoth-btn:not(.mammoth-btn-outline), a.mammoth-btn:not(.mammoth-btn-outline)) { background: linear-gradient(180deg, #a52424, #8b1a1a 55%, #6d1111); color: #f1e6cf; border: 1px solid #d4a24c; border-radius: 3px; }
html[data-theme="the-scholar"] .mammoth-sidebar-shell { background: linear-gradient(180deg, rgba(34, 24, 18, .92), rgba(21, 16, 12, .95)); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-right: 1px solid rgba(212, 162, 76, .35); }
html[data-theme="the-scholar"] .mammoth-sidebar-mark { background: #8b1a1a; color: #f1e6cf; border: 1px solid #d4a24c; }
html[data-theme="the-scholar"] .mammoth-card-head { border-bottom: 1px solid rgba(212, 162, 76, .3); }


/* ==========================================================================
   Titanium: Precision-engineered metallic minimalism.
   ========================================================================== */
html[data-theme="titanium"],
html[data-theme="titanium"] [data-dashboard-theme] {
  --dashboard-font-display: 'Titillium Web', 'Inter', system-ui, sans-serif;
  --mc-display: 'Titillium Web', 'Inter', system-ui, sans-serif;
  --dashboard-font-body: 'Titillium Web', 'Inter', system-ui, sans-serif;
  --mc-sans: 'Titillium Web', 'Inter', system-ui, sans-serif;
  --radius: 0.375rem;
  --mt-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  --dashboard-shell-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.6);
  --dashboard-elevated-shadow: 0 18px 44px -24px rgba(0, 0, 0, 0.75);
  --dashboard-cta-shadow: 0 8px 22px -10px rgba(223, 228, 234, 0.6);
  --dashboard-hero-surface: #26292f;
  --dashboard-dot-grid: none;
  --line: rgba(223, 228, 234, 0.22);
  --line-2: rgba(223, 228, 234, 0.4);
}
html[data-theme="titanium"]::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px), linear-gradient(180deg, #1f2227, #16181c);
}
html[data-theme="titanium"] body { background: transparent; }
html[data-theme="titanium"] .dashboard-shell-surface { background-color: transparent; background-image: none; }
html[data-theme="titanium"] .mammoth-theme { background: transparent; }
html[data-theme="titanium"] body.website-builder-page { background: transparent; }
html[data-theme="titanium"] :is(.mammoth-card, .mammoth-stat-card, .mammoth-featured, .mammoth-price-block, .mammoth-tabs-list, .dashboard-theme-panel, .bg-card), html[data-theme="titanium"] :is(.bg-popover, .mt-switcher-menu) { background: linear-gradient(180deg, #2b2f36, #23262c); border: 1px solid #40454e; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 10px 24px rgba(0, 0, 0, .45); background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .02) 0 1px, transparent 1px 3px), linear-gradient(180deg, #2b2f36, #23262c); }
html[data-theme="titanium"] :is(.mammoth-card, .mammoth-stat-card):hover { border-color: #868d98; }
html[data-theme="titanium"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { text-transform: uppercase; letter-spacing: .1em; }
html[data-theme="titanium"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { font-weight: 600; }
html[data-theme="titanium"] .mammoth-theme :is(h1, h2) { font-weight: 600; }
html[data-theme="titanium"] :is(.bg-primary, .mammoth-btn:not(.mammoth-btn-outline), a.mammoth-btn:not(.mammoth-btn-outline)) { background: linear-gradient(180deg, #f6f8fa, #c9cfd7); color: #141619; border: 1px solid #9aa2ad; box-shadow: inset 0 1px 0 #fff, 0 2px 6px rgba(0, 0, 0, .4); }
html[data-theme="titanium"] .mammoth-sidebar-shell { background: linear-gradient(180deg, #1e2126, #141619); border-right: 1px solid #40454e; box-shadow: inset -1px 0 0 rgba(255, 255, 255, .06); }
html[data-theme="titanium"] .mammoth-sidebar-mark { background: linear-gradient(180deg, #f6f8fa, #c9cfd7); color: #141619; }


/* ==========================================================================
   Synthwave 1986: Neon sunset, chrome type and a purple grid to the horizon.
   ========================================================================== */
html[data-theme="synthwave"],
html[data-theme="synthwave"] [data-dashboard-theme] {
  --dashboard-font-display: 'Audiowide', 'Exo 2', sans-serif;
  --mc-display: 'Audiowide', 'Exo 2', sans-serif;
  --dashboard-font-body: 'Exo 2', 'Inter', system-ui, sans-serif;
  --mc-sans: 'Exo 2', 'Inter', system-ui, sans-serif;
  --radius: 0.375rem;
  --mt-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  --dashboard-shell-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.6);
  --dashboard-elevated-shadow: 0 18px 44px -24px rgba(0, 0, 0, 0.75);
  --dashboard-cta-shadow: 0 8px 22px -10px rgba(255, 46, 151, 0.6);
  --dashboard-hero-surface: #1e1040;
  --dashboard-dot-grid: none;
  --line: rgba(255, 46, 151, 0.22);
  --line-2: rgba(255, 46, 151, 0.4);
}
html[data-theme="synthwave"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { font-family: 'Audiowide', 'Exo 2', sans-serif; }
html[data-theme="synthwave"] .mammoth-theme :is(h1, h2) { font-family: 'Audiowide', 'Exo 2', sans-serif; }
html[data-theme="synthwave"]::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: #140a2b url('/frontend/img/themes/synthwave.jpg?v=1') center / cover no-repeat;
}
html[data-theme="synthwave"] body { background: transparent; }
html[data-theme="synthwave"] .dashboard-shell-surface { background-color: transparent; background-image: none; }
html[data-theme="synthwave"] .mammoth-theme { background: transparent; }
html[data-theme="synthwave"] body.website-builder-page { background: transparent; }
html[data-theme="synthwave"] :is(.mammoth-card, .mammoth-stat-card, .mammoth-featured, .mammoth-price-block, .mammoth-tabs-list, .dashboard-theme-panel, .bg-card), html[data-theme="synthwave"] .bg-white, html[data-theme="synthwave"] .mammoth-dashboard-streak {
  background: linear-gradient(180deg, rgba(30, 16, 64, .82), rgba(20, 10, 43, .9));
  -webkit-backdrop-filter: blur(10px) saturate(1.25);
  backdrop-filter: blur(10px) saturate(1.25);
  border: 1px solid rgba(255, 46, 151, .5); box-shadow: 0 0 0 1px rgba(0, 229, 255, .2), 0 0 24px rgba(255, 46, 151, .25);
}
html[data-theme="synthwave"] :is(.bg-popover, .mt-switcher-menu) { background: linear-gradient(180deg, rgba(30, 16, 64, .82), rgba(20, 10, 43, .9)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255, 46, 151, .5); }
html[data-theme="synthwave"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { text-transform: uppercase; letter-spacing: .06em; }
html[data-theme="synthwave"] .mammoth-card-head-title { font-size: 13px; }
html[data-theme="synthwave"] .mammoth-sidebar-brand { font-size: 13px; }
html[data-theme="synthwave"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { background: linear-gradient(180deg, #fff 0%, #ffd6f2 45%, #ff2e97 50%, #ffb3dc 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 10px rgba(255, 46, 151, .6)); }
html[data-theme="synthwave"] .mammoth-theme :is(h1, h2) { background: linear-gradient(180deg, #fff 0%, #ffd6f2 45%, #ff2e97 50%, #ffb3dc 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 10px rgba(255, 46, 151, .6)); }
html[data-theme="synthwave"] :is(.bg-primary, .mammoth-btn:not(.mammoth-btn-outline), a.mammoth-btn:not(.mammoth-btn-outline)) { background: linear-gradient(180deg, #ff6fb7, #ff2e97); color: #fff; box-shadow: 0 0 18px rgba(255, 46, 151, .6), inset 0 1px 0 rgba(255, 255, 255, .4); }
html[data-theme="synthwave"] .mammoth-sidebar-shell { background: linear-gradient(180deg, rgba(23, 11, 54, .9), rgba(13, 6, 32, .95)); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-right: 1px solid rgba(0, 229, 255, .4); }
html[data-theme="synthwave"] .mammoth-sidebar-mark { background: linear-gradient(135deg, #ff2e97, #00e5ff); color: #0d0620; }


/* ==========================================================================
   Macintosh 1984: Black on white, one-pixel borders and a striped title bar.
   ========================================================================== */
html[data-theme="macintosh"],
html[data-theme="macintosh"] [data-dashboard-theme] {
  --dashboard-font-display: 'Pixelify Sans', 'Chicago', Geneva, sans-serif;
  --mc-display: 'Pixelify Sans', 'Chicago', Geneva, sans-serif;
  --dashboard-font-body: Geneva, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mc-sans: Geneva, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --dashboard-font-mono: Monaco, 'Courier New', monospace;
  --mc-mono: Monaco, 'Courier New', monospace;
  --radius: 0;
  --mt-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
  --dashboard-shell-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.2);
  --dashboard-elevated-shadow: 0 18px 44px -24px rgba(0, 0, 0, 0.35);
  --dashboard-cta-shadow: 0 8px 22px -10px rgba(0, 0, 0, 0.6);
  --dashboard-hero-surface: #ffffff;
  --dashboard-dot-grid: none;
  --line: rgba(0, 0, 0, 0.14);
  --line-2: rgba(0, 0, 0, 0.26);
}
html[data-theme="macintosh"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { font-family: 'Pixelify Sans', 'Chicago', Geneva, sans-serif; }
html[data-theme="macintosh"] .mammoth-theme :is(h1, h2) { font-family: 'Pixelify Sans', 'Chicago', Geneva, sans-serif; }
html[data-theme="macintosh"]::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: repeating-conic-gradient(#b8b8b8 0 25%, #e8e8e8 0 50%) 0 0 / 4px 4px;
}
html[data-theme="macintosh"] body { background: transparent; }
html[data-theme="macintosh"] .dashboard-shell-surface { background-color: transparent; background-image: none; }
html[data-theme="macintosh"] .mammoth-theme { background: transparent; }
html[data-theme="macintosh"] body.website-builder-page { background: transparent; }
html[data-theme="macintosh"] body { background: transparent; }
html[data-theme="macintosh"] :is(.rounded, .rounded-sm, .rounded-md, .rounded-lg, .rounded-xl, .rounded-2xl, .rounded-3xl, .mammoth-card, .mammoth-stat-card, .mammoth-featured, .mammoth-price-block, .mammoth-tabs-list, .mammoth-btn, .mammoth-sidebar-mark, button, input, select, textarea, .mt-switcher-menu) { border-radius: 0; }
html[data-theme="macintosh"] img, html[data-theme="macintosh"] .mammoth-sidebar-avatar, html[data-theme="macintosh"] .mammoth-sidebar-avatar img, html[data-theme="macintosh"] .rounded-full { border-radius: 0 !important; }
html[data-theme="macintosh"] :is(.mammoth-card, .mammoth-stat-card, .mammoth-featured, .mammoth-price-block, .mammoth-tabs-list, .dashboard-theme-panel, .bg-card), html[data-theme="macintosh"] :is(.bg-popover, .mt-switcher-menu) { background: #fff; border: 1px solid #000; box-shadow: 2px 2px 0 #000; color: #000; }
html[data-theme="macintosh"] :is(.mammoth-card, .mammoth-stat-card):hover { box-shadow: 3px 3px 0 #000; transform: none; }
html[data-theme="macintosh"] .mammoth-card-head { background: repeating-linear-gradient(0deg, #000 0 1px, #fff 1px 3px); border-bottom: 1px solid #000; padding: 4px 12px; }
html[data-theme="macintosh"] :is(.mammoth-card-head-title, .mammoth-card-head-title *) { background: #fff; color: #000 !important; padding: 0 8px; font-size: 13px; font-weight: 600; }
html[data-theme="macintosh"] .mammoth-card-tag { background: #fff; border: 1px solid #000; color: #000; }
html[data-theme="macintosh"] :is(.bg-primary, .mammoth-btn:not(.mammoth-btn-outline), a.mammoth-btn:not(.mammoth-btn-outline)) { background: #fff; color: #000; border: 1px solid #000; border-radius: 10px; box-shadow: none; font-weight: 600; }
html[data-theme="macintosh"] :is(.bg-primary, .mammoth-btn:not(.mammoth-btn-outline), a.mammoth-btn:not(.mammoth-btn-outline)):hover { background: #000; color: #fff; }
html[data-theme="macintosh"] .mammoth-sidebar-shell { background: #fff; color: #000; border-right: 1px solid #000; box-shadow: 2px 0 0 #000; }
html[data-theme="macintosh"] .mammoth-sidebar-shell :is(a, button, div, span) { color: #000; }
html[data-theme="macintosh"] .mammoth-sidebar-brand { border-bottom: 1px solid #000; color: #000; }
html[data-theme="macintosh"] .mammoth-sidebar-mark { background: #000; color: #fff; border-radius: 0; }
html[data-theme="macintosh"] :is(#cp-dashboard, .mammoth-theme) img:not(.mammoth-learn-body img) { filter: grayscale(1) contrast(1.4); image-rendering: pixelated; }


/* ==========================================================================
   Millennium: Rolling green hills, Luna blue title bars and warm grey panels, 2001.
   ========================================================================== */
html[data-theme="millennium"],
html[data-theme="millennium"] [data-dashboard-theme] {
  --dashboard-font-display: 'Trebuchet MS', Tahoma, Verdana, sans-serif;
  --mc-display: 'Trebuchet MS', Tahoma, Verdana, sans-serif;
  --dashboard-font-body: Tahoma, Verdana, 'Trebuchet MS', sans-serif;
  --mc-sans: Tahoma, Verdana, 'Trebuchet MS', sans-serif;
  --radius: 0.5rem;
  --mt-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
  --dashboard-shell-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.2);
  --dashboard-elevated-shadow: 0 18px 44px -24px rgba(0, 0, 0, 0.35);
  --dashboard-cta-shadow: 0 8px 22px -10px rgba(28, 95, 217, 0.6);
  --dashboard-hero-surface: #245edb;
  --dashboard-dot-grid: none;
  --line: rgba(0, 0, 0, 0.14);
  --line-2: rgba(0, 0, 0, 0.26);
}
html[data-theme="millennium"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { font-family: 'Trebuchet MS', Tahoma, Verdana, sans-serif; }
html[data-theme="millennium"] .mammoth-theme :is(h1, h2) { font-family: 'Trebuchet MS', Tahoma, Verdana, sans-serif; }
html[data-theme="millennium"]::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: #5aa0e8 url('/frontend/img/themes/millennium.jpg?v=1') center / cover no-repeat;
}
html[data-theme="millennium"] body { background: transparent; }
html[data-theme="millennium"] .dashboard-shell-surface { background-color: transparent; background-image: none; }
html[data-theme="millennium"] .mammoth-theme { background: transparent; }
html[data-theme="millennium"] body.website-builder-page { background: transparent; }
html[data-theme="millennium"] :is(.mammoth-card, .mammoth-stat-card, .mammoth-featured, .mammoth-price-block, .mammoth-tabs-list, .dashboard-theme-panel, .bg-card), html[data-theme="millennium"] :is(.bg-popover, .mt-switcher-menu) { background: #ece9d8; border: 1px solid #0a246a; border-radius: 8px 8px 0 0; box-shadow: 0 4px 14px rgba(0, 20, 80, .35); color: #000; }
html[data-theme="millennium"] :is(.mammoth-card, .mammoth-stat-card):hover { box-shadow: 0 6px 18px rgba(0, 20, 80, .45); transform: none; }
html[data-theme="millennium"] .mammoth-card-head { background: linear-gradient(180deg, #3f8cf3 0%, #245edb 55%, #1b4fc4 100%); border-bottom: 1px solid #0a246a; padding: 6px 12px; border-radius: 7px 7px 0 0; }
html[data-theme="millennium"] :is(.mammoth-card-head-title, .mammoth-card-head-title *, .mammoth-card-head .mammoth-card-link) { color: #fff !important; text-shadow: 1px 1px 0 #0a246a; font-size: 14px; font-weight: 700; }
html[data-theme="millennium"] .mammoth-card-tag { background: #fff; color: #0a246a; border: 1px solid #0a246a; }
html[data-theme="millennium"] :is(.bg-primary, .mammoth-btn:not(.mammoth-btn-outline), a.mammoth-btn:not(.mammoth-btn-outline)) { background: linear-gradient(180deg, #ffffff, #ece9d8); color: #000; border: 1px solid #003c74; border-radius: 3px; box-shadow: inset 0 0 0 1px #fff, inset -1px -1px 0 #c3c0b4; font-weight: 400; }
html[data-theme="millennium"] :is(.bg-primary, .mammoth-btn:not(.mammoth-btn-outline), a.mammoth-btn:not(.mammoth-btn-outline)):hover { background: linear-gradient(180deg, #fff6d7, #ffe29a); border-color: #e5a000; }
html[data-theme="millennium"] .mammoth-sidebar-shell { background: linear-gradient(180deg, #3f8cf3 0%, #245edb 55%, #1b4fc4 100%); border-right: 1px solid #0a246a; color: #fff; }
html[data-theme="millennium"] .mammoth-sidebar-shell::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 30px; background: linear-gradient(180deg, #3c9e3c, #2a7a2a); border-top: 1px solid #1c5a1c; }
html[data-theme="millennium"] .mammoth-sidebar-mark { background: linear-gradient(180deg, #4cc34c, #2a7a2a); color: #fff; border-radius: 50%; border: 1px solid #1c5a1c; }
html[data-theme="millennium"] input, html[data-theme="millennium"] select, html[data-theme="millennium"] textarea { border: 1px solid #7f9db9; border-radius: 0; background: #fff; }


/* ==========================================================================
   Pocket Pixel: Four shades of green on a dot-matrix screen, 1989.
   ========================================================================== */
html[data-theme="pocket-pixel"],
html[data-theme="pocket-pixel"] [data-dashboard-theme] {
  --dashboard-font-display: 'Press Start 2P', 'VT323', monospace;
  --mc-display: 'Press Start 2P', 'VT323', monospace;
  --dashboard-font-body: 'VT323', monospace;
  --mc-sans: 'VT323', monospace;
  --dashboard-font-mono: 'VT323', monospace;
  --mc-mono: 'VT323', monospace;
  --radius: 0;
  --mt-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  --dashboard-shell-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.6);
  --dashboard-elevated-shadow: 0 18px 44px -24px rgba(0, 0, 0, 0.75);
  --dashboard-cta-shadow: 0 8px 22px -10px rgba(155, 188, 15, 0.6);
  --dashboard-hero-surface: #306230;
  --dashboard-dot-grid: none;
  --line: rgba(155, 188, 15, 0.22);
  --line-2: rgba(155, 188, 15, 0.4);
}
html[data-theme="pocket-pixel"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { font-family: 'Press Start 2P', 'VT323', monospace; }
html[data-theme="pocket-pixel"] .mammoth-theme :is(h1, h2) { font-family: 'Press Start 2P', 'VT323', monospace; }
html[data-theme="pocket-pixel"]::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: repeating-conic-gradient(#0f380f 0 25%, #143a14 0 50%) 0 0 / 4px 4px;
}
html[data-theme="pocket-pixel"] body { background: transparent; }
html[data-theme="pocket-pixel"] .dashboard-shell-surface { background-color: transparent; background-image: none; }
html[data-theme="pocket-pixel"] .mammoth-theme { background: transparent; }
html[data-theme="pocket-pixel"] body.website-builder-page { background: transparent; }
html[data-theme="pocket-pixel"] body { font-size: 1.1em; }
html[data-theme="pocket-pixel"] :is(.rounded, .rounded-sm, .rounded-md, .rounded-lg, .rounded-xl, .rounded-2xl, .rounded-3xl, .mammoth-card, .mammoth-stat-card, .mammoth-featured, .mammoth-price-block, .mammoth-tabs-list, .mammoth-btn, .mammoth-sidebar-mark, button, input, select, textarea, .mt-switcher-menu) { border-radius: 0; }
html[data-theme="pocket-pixel"] img, html[data-theme="pocket-pixel"] .rounded-full, html[data-theme="pocket-pixel"] .mammoth-sidebar-avatar img { border-radius: 0 !important; image-rendering: pixelated; }
html[data-theme="pocket-pixel"] :is(.mammoth-card, .mammoth-stat-card, .mammoth-featured, .mammoth-price-block, .mammoth-tabs-list, .dashboard-theme-panel, .bg-card), html[data-theme="pocket-pixel"] :is(.bg-popover, .mt-switcher-menu) { background: #306230; border: 4px solid #9bbc0f; box-shadow: 4px 4px 0 #081f08; color: #9bbc0f; }
html[data-theme="pocket-pixel"] :is(.mammoth-card, .mammoth-stat-card):hover { box-shadow: 6px 6px 0 #081f08; transform: none; }
html[data-theme="pocket-pixel"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { font-family: var(--dashboard-font-display); font-size: .8em; line-height: 1.6; letter-spacing: 0; text-transform: uppercase; }
html[data-theme="pocket-pixel"] .mammoth-theme :is(h1, h2) { font-family: var(--dashboard-font-display); font-size: .8em; line-height: 1.6; letter-spacing: 0; text-transform: uppercase; }
html[data-theme="pocket-pixel"] .mammoth-card-head-title { font-size: 11px; }
html[data-theme="pocket-pixel"] .mammoth-sidebar-brand { font-size: 10px; }
html[data-theme="pocket-pixel"] .dashboard-mammoth-title { font-size: 1.3rem !important; }
html[data-theme="pocket-pixel"] :is(.bg-primary, .mammoth-btn:not(.mammoth-btn-outline), a.mammoth-btn:not(.mammoth-btn-outline)) { background: #9bbc0f; color: #0f380f; border: 3px solid #0f380f; border-radius: 0; box-shadow: 3px 3px 0 #081f08; font-family: var(--dashboard-font-display); font-size: .7em; text-transform: uppercase; }
html[data-theme="pocket-pixel"] .mammoth-sidebar-shell { background: #081f08; border-right: 4px solid #9bbc0f; color: #9bbc0f; }
html[data-theme="pocket-pixel"] .mammoth-sidebar-mark { background: #9bbc0f; color: #0f380f; border-radius: 0; }
html[data-theme="pocket-pixel"] :is(#cp-dashboard, .mammoth-theme) img:not(.mammoth-learn-body img) { filter: grayscale(1) sepia(1) hue-rotate(40deg) saturate(2) contrast(1.3) brightness(.9); }


/* ==========================================================================
   Retro 1977: Cream, orange, mustard and avocado with a rainbow stripe.
   ========================================================================== */
html[data-theme="retro-1977"],
html[data-theme="retro-1977"] [data-dashboard-theme] {
  --dashboard-font-display: 'Righteous', 'Nunito', sans-serif;
  --mc-display: 'Righteous', 'Nunito', sans-serif;
  --dashboard-font-body: 'Nunito', 'Inter', system-ui, sans-serif;
  --mc-sans: 'Nunito', 'Inter', system-ui, sans-serif;
  --radius: 1rem;
  --mt-shadow: 0 12px 32px rgba(59, 35, 20, 0.16);
  --dashboard-shell-shadow: 0 8px 20px -10px rgba(59, 35, 20, 0.2);
  --dashboard-elevated-shadow: 0 18px 44px -24px rgba(59, 35, 20, 0.35);
  --dashboard-cta-shadow: 0 8px 22px -10px rgba(224, 123, 42, 0.6);
  --dashboard-hero-surface: #5c3b1e;
  --dashboard-dot-grid: none;
  --line: rgba(59, 35, 20, 0.14);
  --line-2: rgba(59, 35, 20, 0.26);
}
html[data-theme="retro-1977"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { font-family: 'Righteous', 'Nunito', sans-serif; }
html[data-theme="retro-1977"] .mammoth-theme :is(h1, h2) { font-family: 'Righteous', 'Nunito', sans-serif; }
html[data-theme="retro-1977"]::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, #f4e4c1 0 26px, #efdab0 26px 28px);
}
html[data-theme="retro-1977"] body { background: transparent; }
html[data-theme="retro-1977"] .dashboard-shell-surface { background-color: transparent; background-image: none; }
html[data-theme="retro-1977"] .mammoth-theme { background: transparent; }
html[data-theme="retro-1977"] body.website-builder-page { background: transparent; }
html[data-theme="retro-1977"] :is(.mammoth-card, .mammoth-stat-card, .mammoth-featured, .mammoth-price-block, .mammoth-tabs-list, .dashboard-theme-panel, .bg-card), html[data-theme="retro-1977"] :is(.bg-popover, .mt-switcher-menu) { background: #fff7e6; border: 2px solid #5c3b1e; box-shadow: 5px 5px 0 #e07b2a; border-radius: 14px; }
html[data-theme="retro-1977"] :is(.mammoth-card, .mammoth-stat-card):hover { box-shadow: 7px 7px 0 #d9a326; transform: none; }
html[data-theme="retro-1977"] .mammoth-card-head { border-bottom: 2px solid #5c3b1e; background-image: linear-gradient(90deg, #e07b2a 0 20%, #d9a326 20% 40%, #6b7f2e 40% 60%, #c45f12 60% 80%, #5c3b1e 80% 100%); background-size: 100% 5px; background-repeat: no-repeat; background-position: 0 100%; }
html[data-theme="retro-1977"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { letter-spacing: .01em; color: #5c3b1e; }
html[data-theme="retro-1977"] .mammoth-theme :is(h1, h2) { letter-spacing: .01em; color: #5c3b1e; }
html[data-theme="retro-1977"] :is(.bg-primary, .mammoth-btn:not(.mammoth-btn-outline), a.mammoth-btn:not(.mammoth-btn-outline)) { background: #e07b2a; color: #fff; border: 2px solid #5c3b1e; border-radius: 999px; box-shadow: 3px 3px 0 #5c3b1e; font-weight: 800; }
html[data-theme="retro-1977"] :is(.bg-primary, .mammoth-btn:not(.mammoth-btn-outline), a.mammoth-btn:not(.mammoth-btn-outline)):hover { background: #d9a326; color: #3b2314; transform: translate(1px, 1px); box-shadow: 2px 2px 0 #5c3b1e; }
html[data-theme="retro-1977"] .mammoth-sidebar-shell { background: #5c3b1e; border-right: 3px solid #3b2314; background-image: linear-gradient(180deg, #e07b2a 0 25%, #d9a326 25% 50%, #6b7f2e 50% 75%, #c45f12 75% 100%); background-size: 8px 100%; background-repeat: no-repeat; background-position: 100% 0; }
html[data-theme="retro-1977"] .mammoth-sidebar-mark { background: #d9a326; color: #3b2314; border-radius: 50%; }


/* ==========================================================================
   Bauhaus: Primary colours, geometry and Futura-style type.
   ========================================================================== */
html[data-theme="bauhaus"],
html[data-theme="bauhaus"] [data-dashboard-theme] {
  --dashboard-font-display: 'Jost', 'Futura', 'Inter', sans-serif;
  --mc-display: 'Jost', 'Futura', 'Inter', sans-serif;
  --dashboard-font-body: 'Jost', 'Futura', 'Inter', sans-serif;
  --mc-sans: 'Jost', 'Futura', 'Inter', sans-serif;
  --radius: 0;
  --mt-shadow: 0 12px 32px rgba(17, 17, 17, 0.16);
  --dashboard-shell-shadow: 0 8px 20px -10px rgba(17, 17, 17, 0.2);
  --dashboard-elevated-shadow: 0 18px 44px -24px rgba(17, 17, 17, 0.35);
  --dashboard-cta-shadow: 0 8px 22px -10px rgba(214, 40, 40, 0.6);
  --dashboard-hero-surface: #111111;
  --dashboard-dot-grid: none;
  --line: rgba(17, 17, 17, 0.14);
  --line-2: rgba(17, 17, 17, 0.26);
}
html[data-theme="bauhaus"]::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 88% 12%, #f6c026 0 120px, transparent 121px), radial-gradient(circle at 8% 92%, #1d4ed8 0 90px, transparent 91px), linear-gradient(#d62828, #d62828) 0 0 / 100% 6px no-repeat, #f3efe6;
}
html[data-theme="bauhaus"] body { background: transparent; }
html[data-theme="bauhaus"] .dashboard-shell-surface { background-color: transparent; background-image: none; }
html[data-theme="bauhaus"] .mammoth-theme { background: transparent; }
html[data-theme="bauhaus"] body.website-builder-page { background: transparent; }
html[data-theme="bauhaus"] :is(.rounded, .rounded-sm, .rounded-md, .rounded-lg, .rounded-xl, .rounded-2xl, .rounded-3xl, .mammoth-card, .mammoth-stat-card, .mammoth-featured, .mammoth-price-block, .mammoth-tabs-list, .mammoth-btn, .mammoth-sidebar-mark, button, input, select, textarea, .mt-switcher-menu) { border-radius: 0; }
html[data-theme="bauhaus"] :is(.mammoth-card, .mammoth-stat-card, .mammoth-featured, .mammoth-price-block, .mammoth-tabs-list, .dashboard-theme-panel, .bg-card), html[data-theme="bauhaus"] :is(.bg-popover, .mt-switcher-menu) { background: #fff; border: 3px solid #111; box-shadow: none; }
html[data-theme="bauhaus"] :is(.mammoth-card, .mammoth-stat-card):hover { box-shadow: 8px 8px 0 #f6c026; transform: none; }
html[data-theme="bauhaus"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { text-transform: uppercase; letter-spacing: .1em; }
html[data-theme="bauhaus"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { font-weight: 700; }
html[data-theme="bauhaus"] .mammoth-theme :is(h1, h2) { font-weight: 700; }
html[data-theme="bauhaus"] .mammoth-card-head { border-bottom: 3px solid #111; }
html[data-theme="bauhaus"] .mammoth-card-tag { background: #1d4ed8; color: #fff; border-radius: 0; }
html[data-theme="bauhaus"] :is(.bg-primary, .mammoth-btn:not(.mammoth-btn-outline), a.mammoth-btn:not(.mammoth-btn-outline)) { background: #d62828; color: #fff; border: 3px solid #111; border-radius: 0; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
html[data-theme="bauhaus"] :is(.bg-primary, .mammoth-btn:not(.mammoth-btn-outline), a.mammoth-btn:not(.mammoth-btn-outline)):hover { background: #f6c026; color: #111; }
html[data-theme="bauhaus"] .mammoth-sidebar-shell { background: #111; border-right: 3px solid #111; background-image: linear-gradient(180deg, #d62828 0 33.3%, #f6c026 33.3% 66.6%, #1d4ed8 66.6% 100%); background-size: 10px 100%; background-repeat: no-repeat; background-position: 100% 0; }
html[data-theme="bauhaus"] .mammoth-sidebar-mark { background: #f6c026; color: #111; border-radius: 50%; }


/* ==========================================================================
   Brutalist: Design without rules: raw black, hard yellow, mono type.
   ========================================================================== */
html[data-theme="brutalist"],
html[data-theme="brutalist"] [data-dashboard-theme] {
  --dashboard-font-display: 'Archivo Black', 'Arial Black', Impact, sans-serif;
  --mc-display: 'Archivo Black', 'Arial Black', Impact, sans-serif;
  --dashboard-font-body: 'Space Mono', 'Courier New', monospace;
  --mc-sans: 'Space Mono', 'Courier New', monospace;
  --dashboard-font-mono: 'Space Mono', 'Courier New', monospace;
  --mc-mono: 'Space Mono', 'Courier New', monospace;
  --radius: 0;
  --mt-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
  --dashboard-shell-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.2);
  --dashboard-elevated-shadow: 0 18px 44px -24px rgba(0, 0, 0, 0.35);
  --dashboard-cta-shadow: 0 8px 22px -10px rgba(0, 0, 0, 0.6);
  --dashboard-hero-surface: #000000;
  --dashboard-dot-grid: none;
  --line: rgba(0, 0, 0, 0.14);
  --line-2: rgba(0, 0, 0, 0.26);
}
html[data-theme="brutalist"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { font-family: 'Archivo Black', 'Arial Black', Impact, sans-serif; }
html[data-theme="brutalist"] .mammoth-theme :is(h1, h2) { font-family: 'Archivo Black', 'Arial Black', Impact, sans-serif; }
html[data-theme="brutalist"] :is(.rounded, .rounded-sm, .rounded-md, .rounded-lg, .rounded-xl, .rounded-2xl, .rounded-3xl, .mammoth-card, .mammoth-stat-card, .mammoth-featured, .mammoth-price-block, .mammoth-tabs-list, .mammoth-btn, .mammoth-sidebar-mark, button, input, select, textarea, .mt-switcher-menu) { border-radius: 0; }
html[data-theme="brutalist"] * { border-radius: 0 !important; }
html[data-theme="brutalist"] :is(.mammoth-card, .mammoth-stat-card, .mammoth-featured, .mammoth-price-block, .mammoth-tabs-list, .dashboard-theme-panel, .bg-card), html[data-theme="brutalist"] :is(.bg-popover, .mt-switcher-menu) { background: #fff; border: 4px solid #000; box-shadow: 10px 10px 0 #000; }
html[data-theme="brutalist"] :is(.mammoth-card, .mammoth-stat-card):hover { box-shadow: 14px 14px 0 #000; transform: translate(-2px, -2px); }
html[data-theme="brutalist"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { text-transform: uppercase; letter-spacing: .02em; }
html[data-theme="brutalist"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { font-weight: 900; line-height: 1; }
html[data-theme="brutalist"] .mammoth-theme :is(h1, h2) { font-weight: 900; line-height: 1; }
html[data-theme="brutalist"] .mammoth-card-head { border-bottom: 4px solid #000; background: #000; color: #fff; }
html[data-theme="brutalist"] :is(.mammoth-card-head-title, .mammoth-card-head-title *) { color: #fff !important; }
html[data-theme="brutalist"] :is(.bg-primary, .mammoth-btn:not(.mammoth-btn-outline), a.mammoth-btn:not(.mammoth-btn-outline)) { background: #000; color: #ffff00; border: 4px solid #000; text-transform: uppercase; font-family: var(--dashboard-font-display); box-shadow: 6px 6px 0 #ff2d7a; }
html[data-theme="brutalist"] :is(.bg-primary, .mammoth-btn:not(.mammoth-btn-outline), a.mammoth-btn:not(.mammoth-btn-outline)):hover { background: #ff2d7a; color: #000; box-shadow: 6px 6px 0 #000; }
html[data-theme="brutalist"] .mammoth-sidebar-shell { background: #000; border-right: 4px solid #000; color: #ffff00; }
html[data-theme="brutalist"] .mammoth-sidebar-mark { background: #ffff00; color: #000; }
html[data-theme="brutalist"] input, html[data-theme="brutalist"] select, html[data-theme="brutalist"] textarea { border: 3px solid #000; background: #fff; }


/* ==========================================================================
   Wabi-Sabi: Imperfect, quiet and natural: stone, clay and washi paper.
   ========================================================================== */
html[data-theme="wabi-sabi"],
html[data-theme="wabi-sabi"] [data-dashboard-theme] {
  --dashboard-font-display: 'Shippori Mincho', 'Noto Serif JP', Georgia, serif;
  --mc-display: 'Shippori Mincho', 'Noto Serif JP', Georgia, serif;
  --dashboard-font-body: 'Zen Kaku Gothic New', 'Noto Sans JP', 'Inter', sans-serif;
  --mc-sans: 'Zen Kaku Gothic New', 'Noto Sans JP', 'Inter', sans-serif;
  --radius: 0.375rem;
  --mt-shadow: 0 12px 32px rgba(59, 55, 51, 0.16);
  --dashboard-shell-shadow: 0 8px 20px -10px rgba(59, 55, 51, 0.2);
  --dashboard-elevated-shadow: 0 18px 44px -24px rgba(59, 55, 51, 0.35);
  --dashboard-cta-shadow: 0 8px 22px -10px rgba(162, 102, 63, 0.6);
  --dashboard-hero-surface: #3b3733;
  --dashboard-dot-grid: none;
  --line: rgba(59, 55, 51, 0.14);
  --line-2: rgba(59, 55, 51, 0.26);
}
html[data-theme="wabi-sabi"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { font-family: 'Shippori Mincho', 'Noto Serif JP', Georgia, serif; }
html[data-theme="wabi-sabi"] .mammoth-theme :is(h1, h2) { font-family: 'Shippori Mincho', 'Noto Serif JP', Georgia, serif; }
html[data-theme="wabi-sabi"]::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); opacity: .07;
}
html[data-theme="wabi-sabi"]::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(120% 80% at 70% 30%, #f1ede6, #ece7df 60%, #e3ddd2);
}
html[data-theme="wabi-sabi"] body { background: transparent; }
html[data-theme="wabi-sabi"] .dashboard-shell-surface { background-color: transparent; background-image: none; }
html[data-theme="wabi-sabi"] .mammoth-theme { background: transparent; }
html[data-theme="wabi-sabi"] body.website-builder-page { background: transparent; }
html[data-theme="wabi-sabi"] :is(.mammoth-card, .mammoth-stat-card, .mammoth-featured, .mammoth-price-block, .mammoth-tabs-list, .dashboard-theme-panel, .bg-card), html[data-theme="wabi-sabi"] :is(.bg-popover, .mt-switcher-menu) { background: #f6f3ec; border: 1px solid #d4ccbe; box-shadow: 0 1px 0 #fff inset; border-radius: 6px 14px 6px 18px; }
html[data-theme="wabi-sabi"] :is(.mammoth-card, .mammoth-stat-card):hover { border-color: #a2663f; }
html[data-theme="wabi-sabi"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { font-weight: 500; letter-spacing: .06em; color: #3b3733; }
html[data-theme="wabi-sabi"] .mammoth-theme :is(h1, h2) { font-weight: 500; letter-spacing: .06em; color: #3b3733; }
html[data-theme="wabi-sabi"] .mammoth-card-head { border-bottom: 1px dashed #d4ccbe; }
html[data-theme="wabi-sabi"] :is(.bg-primary, .mammoth-btn:not(.mammoth-btn-outline), a.mammoth-btn:not(.mammoth-btn-outline)) { background: #a2663f; color: #fff; border-radius: 4px 12px 4px 12px; box-shadow: none; }
html[data-theme="wabi-sabi"] :is(.bg-primary, .mammoth-btn:not(.mammoth-btn-outline), a.mammoth-btn:not(.mammoth-btn-outline)):hover { background: #85502e; }
html[data-theme="wabi-sabi"] .mammoth-sidebar-shell { background: #3b3733; border-right: 1px solid #2d2a26; background-image: radial-gradient(circle at 50% 100%, rgba(162, 102, 63, .35), transparent 50%); }
html[data-theme="wabi-sabi"] .mammoth-sidebar-mark { background: #a2663f; color: #fff; border-radius: 50% 50% 50% 10%; }


/* ==========================================================================
   Memphis: 1980s pop: squiggles, confetti and candy colours that dare.
   ========================================================================== */
html[data-theme="memphis"],
html[data-theme="memphis"] [data-dashboard-theme] {
  --dashboard-font-display: 'Rubik', 'Inter', sans-serif;
  --mc-display: 'Rubik', 'Inter', sans-serif;
  --dashboard-font-body: 'Rubik', 'Inter', sans-serif;
  --mc-sans: 'Rubik', 'Inter', sans-serif;
  --radius: 0.75rem;
  --mt-shadow: 0 12px 32px rgba(31, 27, 46, 0.16);
  --dashboard-shell-shadow: 0 8px 20px -10px rgba(31, 27, 46, 0.2);
  --dashboard-elevated-shadow: 0 18px 44px -24px rgba(31, 27, 46, 0.35);
  --dashboard-cta-shadow: 0 8px 22px -10px rgba(255, 63, 142, 0.6);
  --dashboard-hero-surface: #1f1b2e;
  --dashboard-dot-grid: none;
  --line: rgba(31, 27, 46, 0.14);
  --line-2: rgba(31, 27, 46, 0.26);
}
html[data-theme="memphis"]::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 12% 18%, #19c3b5 0 22px, transparent 23px), radial-gradient(circle at 88% 28%, #ffd23f 0 30px, transparent 31px), radial-gradient(circle at 70% 85%, #7c3aed 0 18px, transparent 19px), radial-gradient(circle at 25% 80%, #ff3f8e 0 14px, transparent 15px), radial-gradient(#1f1b2e 1.5px, transparent 1.5px) 0 0 / 26px 26px, #fff8ef;
}
html[data-theme="memphis"] body { background: transparent; }
html[data-theme="memphis"] .dashboard-shell-surface { background-color: transparent; background-image: none; }
html[data-theme="memphis"] .mammoth-theme { background: transparent; }
html[data-theme="memphis"] body.website-builder-page { background: transparent; }
html[data-theme="memphis"] :is(.mammoth-card, .mammoth-stat-card, .mammoth-featured, .mammoth-price-block, .mammoth-tabs-list, .dashboard-theme-panel, .bg-card), html[data-theme="memphis"] :is(.bg-popover, .mt-switcher-menu) { background: #fff; border: 3px solid #1f1b2e; box-shadow: 8px 8px 0 #19c3b5; }
html[data-theme="memphis"] :is(.mammoth-card, .mammoth-stat-card):hover { box-shadow: 8px 8px 0 #ffd23f; transform: translate(-2px, -2px); }
html[data-theme="memphis"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { font-weight: 900; letter-spacing: -.01em; }
html[data-theme="memphis"] .mammoth-theme :is(h1, h2) { font-weight: 900; letter-spacing: -.01em; }
html[data-theme="memphis"] .mammoth-card-head { border-bottom: 3px solid #1f1b2e; background: repeating-linear-gradient(135deg, #fff 0 14px, #fff0dc 14px 28px); }
html[data-theme="memphis"] .mammoth-card-tag { background: #ffd23f; color: #1f1b2e; border: 2px solid #1f1b2e; }
html[data-theme="memphis"] :is(.bg-primary, .mammoth-btn:not(.mammoth-btn-outline), a.mammoth-btn:not(.mammoth-btn-outline)) { background: #ff3f8e; color: #fff; border: 3px solid #1f1b2e; box-shadow: 4px 4px 0 #1f1b2e; font-weight: 700; }
html[data-theme="memphis"] :is(.bg-primary, .mammoth-btn:not(.mammoth-btn-outline), a.mammoth-btn:not(.mammoth-btn-outline)):hover { background: #19c3b5; color: #1f1b2e; transform: translate(2px, 2px); box-shadow: 2px 2px 0 #1f1b2e; }
html[data-theme="memphis"] .mammoth-sidebar-shell { background: #1f1b2e; border-right: 3px solid #1f1b2e; background-image: radial-gradient(rgba(255, 255, 255, .12) 1.5px, transparent 1.5px); background-size: 18px 18px; }
html[data-theme="memphis"] .mammoth-sidebar-mark { background: #ffd23f; color: #1f1b2e; border-radius: 50% 10% 50% 10%; border: 2px solid #fff; }


/* ==========================================================================
   Art Nouveau: Olive, cream and terracotta with flowing, ornamental type.
   ========================================================================== */
html[data-theme="art-nouveau"],
html[data-theme="art-nouveau"] [data-dashboard-theme] {
  --dashboard-font-display: 'Philosopher', 'Lora', Georgia, serif;
  --mc-display: 'Philosopher', 'Lora', Georgia, serif;
  --dashboard-font-body: 'Lora', Georgia, serif;
  --mc-sans: 'Lora', Georgia, serif;
  --radius: 1.25rem;
  --mt-shadow: 0 12px 32px rgba(47, 42, 28, 0.16);
  --dashboard-shell-shadow: 0 8px 20px -10px rgba(47, 42, 28, 0.2);
  --dashboard-elevated-shadow: 0 18px 44px -24px rgba(47, 42, 28, 0.35);
  --dashboard-cta-shadow: 0 8px 22px -10px rgba(196, 96, 43, 0.6);
  --dashboard-hero-surface: #4a5a2a;
  --dashboard-dot-grid: none;
  --line: rgba(47, 42, 28, 0.14);
  --line-2: rgba(47, 42, 28, 0.26);
}
html[data-theme="art-nouveau"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { font-family: 'Philosopher', 'Lora', Georgia, serif; }
html[data-theme="art-nouveau"] .mammoth-theme :is(h1, h2) { font-family: 'Philosopher', 'Lora', Georgia, serif; }
html[data-theme="art-nouveau"]::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 0 0, rgba(74, 90, 42, .18) 0 40px, transparent 41px), radial-gradient(circle at 100% 100%, rgba(196, 96, 43, .16) 0 50px, transparent 51px), repeating-radial-gradient(circle at 50% 50%, transparent 0 60px, rgba(74, 90, 42, .05) 60px 62px), #efe7d3;
}
html[data-theme="art-nouveau"] body { background: transparent; }
html[data-theme="art-nouveau"] .dashboard-shell-surface { background-color: transparent; background-image: none; }
html[data-theme="art-nouveau"] .mammoth-theme { background: transparent; }
html[data-theme="art-nouveau"] body.website-builder-page { background: transparent; }
html[data-theme="art-nouveau"] :is(.mammoth-card, .mammoth-stat-card, .mammoth-featured, .mammoth-price-block, .mammoth-tabs-list, .dashboard-theme-panel, .bg-card), html[data-theme="art-nouveau"] :is(.bg-popover, .mt-switcher-menu) { background: #f8f3e6; border: 2px solid #4a5a2a; outline: 1px solid rgba(74, 90, 42, .4); outline-offset: 4px; border-radius: 28px 10px 28px 10px; box-shadow: 0 8px 24px rgba(47, 42, 28, .12); }
html[data-theme="art-nouveau"] :is(.mammoth-card, .mammoth-stat-card):hover { outline-color: #c4602b; }
html[data-theme="art-nouveau"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { font-weight: 700; letter-spacing: .02em; color: #4a5a2a; }
html[data-theme="art-nouveau"] .mammoth-theme :is(h1, h2) { font-weight: 700; letter-spacing: .02em; color: #4a5a2a; }
html[data-theme="art-nouveau"] .mammoth-card-head { border-bottom: 1px solid #4a5a2a; }
html[data-theme="art-nouveau"] .mammoth-card-head-title::before { content: '\2766  '; color: #c4602b; }
html[data-theme="art-nouveau"] :is(.bg-primary, .mammoth-btn:not(.mammoth-btn-outline), a.mammoth-btn:not(.mammoth-btn-outline)) { background: #c4602b; color: #fff; border: 2px solid #4a5a2a; border-radius: 999px; box-shadow: inset 0 0 0 2px #f8f3e6; }
html[data-theme="art-nouveau"] :is(.bg-primary, .mammoth-btn:not(.mammoth-btn-outline), a.mammoth-btn:not(.mammoth-btn-outline)):hover { background: #a2491a; }
html[data-theme="art-nouveau"] .mammoth-sidebar-shell { background: linear-gradient(180deg, #5b6d36, #4a5a2a); border-right: 2px solid #2f2a1c; box-shadow: inset -6px 0 0 rgba(255, 255, 255, .08); }
html[data-theme="art-nouveau"] .mammoth-sidebar-mark { background: #c4602b; color: #fff; border-radius: 50% 50% 50% 0; }


/* ==========================================================================
   Blueprint: White and cyan drafting lines on blueprint blue.
   ========================================================================== */
html[data-theme="blueprint"],
html[data-theme="blueprint"] [data-dashboard-theme] {
  --dashboard-font-display: 'Architects Daughter', 'Share Tech Mono', monospace;
  --mc-display: 'Architects Daughter', 'Share Tech Mono', monospace;
  --dashboard-font-body: 'Share Tech Mono', 'JetBrains Mono', monospace;
  --mc-sans: 'Share Tech Mono', 'JetBrains Mono', monospace;
  --dashboard-font-mono: 'Share Tech Mono', 'JetBrains Mono', monospace;
  --mc-mono: 'Share Tech Mono', 'JetBrains Mono', monospace;
  --radius: 0;
  --mt-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  --dashboard-shell-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.6);
  --dashboard-elevated-shadow: 0 18px 44px -24px rgba(0, 0, 0, 0.75);
  --dashboard-cta-shadow: 0 8px 22px -10px rgba(79, 195, 247, 0.6);
  --dashboard-hero-surface: #0f3570;
  --dashboard-dot-grid: none;
  --line: rgba(79, 195, 247, 0.22);
  --line-2: rgba(79, 195, 247, 0.4);
}
html[data-theme="blueprint"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { font-family: 'Architects Daughter', 'Share Tech Mono', monospace; }
html[data-theme="blueprint"] .mammoth-theme :is(h1, h2) { font-family: 'Architects Daughter', 'Share Tech Mono', monospace; }
html[data-theme="blueprint"]::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(rgba(143, 220, 255, .14) 1px, transparent 1px), linear-gradient(90deg, rgba(143, 220, 255, .14) 1px, transparent 1px), var(--mt-bg); background-size: 24px 24px, 24px 24px, auto;
}
html[data-theme="blueprint"] body { background: transparent; }
html[data-theme="blueprint"] .dashboard-shell-surface { background-color: transparent; background-image: none; }
html[data-theme="blueprint"] .mammoth-theme { background: transparent; }
html[data-theme="blueprint"] body.website-builder-page { background: transparent; }
html[data-theme="blueprint"]::before { background-image: linear-gradient(rgba(143, 220, 255, .25) 1px, transparent 1px), linear-gradient(90deg, rgba(143, 220, 255, .25) 1px, transparent 1px), linear-gradient(rgba(143, 220, 255, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(143, 220, 255, .1) 1px, transparent 1px); background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px; background-color: #0a2a5e; }
html[data-theme="blueprint"] :is(.rounded, .rounded-sm, .rounded-md, .rounded-lg, .rounded-xl, .rounded-2xl, .rounded-3xl, .mammoth-card, .mammoth-stat-card, .mammoth-featured, .mammoth-price-block, .mammoth-tabs-list, .mammoth-btn, .mammoth-sidebar-mark, button, input, select, textarea, .mt-switcher-menu) { border-radius: 0; }
html[data-theme="blueprint"] :is(.mammoth-card, .mammoth-stat-card, .mammoth-featured, .mammoth-price-block, .mammoth-tabs-list, .dashboard-theme-panel, .bg-card), html[data-theme="blueprint"] :is(.bg-popover, .mt-switcher-menu) { background: rgba(10, 42, 94, .75); border: 1px dashed rgba(233, 243, 255, .7); box-shadow: inset 0 0 0 4px rgba(10, 42, 94, .75), inset 0 0 0 5px rgba(143, 220, 255, .4); }
html[data-theme="blueprint"] :is(.mammoth-card, .mammoth-stat-card):hover { border-style: solid; }
html[data-theme="blueprint"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { font-weight: 400; color: #e9f3ff; text-decoration: underline; text-decoration-color: rgba(143, 220, 255, .6); text-underline-offset: 6px; }
html[data-theme="blueprint"] .mammoth-theme :is(h1, h2) { font-weight: 400; color: #e9f3ff; text-decoration: underline; text-decoration-color: rgba(143, 220, 255, .6); text-underline-offset: 6px; }
html[data-theme="blueprint"] .mammoth-card-head { border-bottom: 1px dashed rgba(233, 243, 255, .6); }
html[data-theme="blueprint"] .mammoth-card-head-title::before { content: '\2316  '; color: #8fdcff; }
html[data-theme="blueprint"] :is(.bg-primary, .mammoth-btn:not(.mammoth-btn-outline), a.mammoth-btn:not(.mammoth-btn-outline)) { background: transparent; color: #e9f3ff; border: 1px solid #e9f3ff; border-radius: 0; box-shadow: inset 0 0 0 3px #0a2a5e, inset 0 0 0 4px rgba(233, 243, 255, .5); }
html[data-theme="blueprint"] :is(.bg-primary, .mammoth-btn:not(.mammoth-btn-outline), a.mammoth-btn:not(.mammoth-btn-outline)):hover { background: #e9f3ff; color: #0a2a5e; }
html[data-theme="blueprint"] .mammoth-sidebar-shell { background: #061d44; border-right: 1px dashed rgba(233, 243, 255, .5); background-image: linear-gradient(rgba(143, 220, 255, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(143, 220, 255, .12) 1px, transparent 1px); background-size: 24px 24px; }
html[data-theme="blueprint"] .mammoth-sidebar-mark { background: transparent; color: #e9f3ff; border: 1px solid #e9f3ff; border-radius: 50%; }


/* ==========================================================================
   Northern Lights: Aurora greens and violets over a dark, still night.
   ========================================================================== */
html[data-theme="northern-lights"],
html[data-theme="northern-lights"] [data-dashboard-theme] {
  --dashboard-font-display: 'Manrope', 'Inter', system-ui, sans-serif;
  --mc-display: 'Manrope', 'Inter', system-ui, sans-serif;
  --dashboard-font-body: 'Manrope', 'Inter', system-ui, sans-serif;
  --mc-sans: 'Manrope', 'Inter', system-ui, sans-serif;
  --radius: 1rem;
  --mt-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  --dashboard-shell-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.6);
  --dashboard-elevated-shadow: 0 18px 44px -24px rgba(0, 0, 0, 0.75);
  --dashboard-cta-shadow: 0 8px 22px -10px rgba(74, 222, 128, 0.6);
  --dashboard-hero-surface: #0e1530;
  --dashboard-dot-grid: none;
  --line: rgba(74, 222, 128, 0.22);
  --line-2: rgba(74, 222, 128, 0.4);
}
html[data-theme="northern-lights"]::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: #070b1a url('/frontend/img/themes/northern-lights.jpg?v=1') center / cover no-repeat;
}
html[data-theme="northern-lights"] body { background: transparent; }
html[data-theme="northern-lights"] .dashboard-shell-surface { background-color: transparent; background-image: none; }
html[data-theme="northern-lights"] .mammoth-theme { background: transparent; }
html[data-theme="northern-lights"] body.website-builder-page { background: transparent; }
html[data-theme="northern-lights"] :is(.mammoth-card, .mammoth-stat-card, .mammoth-featured, .mammoth-price-block, .mammoth-tabs-list, .dashboard-theme-panel, .bg-card), html[data-theme="northern-lights"] .bg-white, html[data-theme="northern-lights"] .mammoth-dashboard-streak {
  background: linear-gradient(180deg, rgba(14, 21, 48, .78), rgba(7, 11, 26, .88));
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
  backdrop-filter: blur(14px) saturate(1.25);
  border: 1px solid rgba(74, 222, 128, .25); box-shadow: 0 14px 40px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(134, 239, 172, .2);
}
html[data-theme="northern-lights"] :is(.bg-popover, .mt-switcher-menu) { background: linear-gradient(180deg, rgba(14, 21, 48, .78), rgba(7, 11, 26, .88)); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(74, 222, 128, .25); }
html[data-theme="northern-lights"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { font-weight: 700; letter-spacing: -.02em; background: linear-gradient(90deg, #86efac, #a78bfa); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
html[data-theme="northern-lights"] .mammoth-theme :is(h1, h2) { font-weight: 700; letter-spacing: -.02em; background: linear-gradient(90deg, #86efac, #a78bfa); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
html[data-theme="northern-lights"] :is(.bg-primary, .mammoth-btn:not(.mammoth-btn-outline), a.mammoth-btn:not(.mammoth-btn-outline)) { background: linear-gradient(135deg, #4ade80, #8b5cf6); color: #fff; box-shadow: 0 8px 24px rgba(74, 222, 128, .35); }
html[data-theme="northern-lights"] .mammoth-sidebar-shell { background: linear-gradient(180deg, rgba(10, 16, 38, .85), rgba(4, 7, 22, .92)); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-right: 1px solid rgba(134, 239, 172, .2); }
html[data-theme="northern-lights"] .mammoth-sidebar-mark { background: linear-gradient(135deg, #4ade80, #8b5cf6); color: #fff; border-radius: 50%; }


/* ==========================================================================
   Evergreen: Deep pine green, cream pages and mustard, built for generations.
   ========================================================================== */
html[data-theme="evergreen"],
html[data-theme="evergreen"] [data-dashboard-theme] {
  --dashboard-font-display: 'Playfair Display', Georgia, serif;
  --mc-display: 'Playfair Display', Georgia, serif;
  --radius: 0.25rem;
  --mt-shadow: 0 12px 32px rgba(28, 42, 34, 0.16);
  --dashboard-shell-shadow: 0 8px 20px -10px rgba(28, 42, 34, 0.2);
  --dashboard-elevated-shadow: 0 18px 44px -24px rgba(28, 42, 34, 0.35);
  --dashboard-cta-shadow: 0 8px 22px -10px rgba(212, 160, 23, 0.6);
  --dashboard-hero-surface: #1e3d2b;
  --dashboard-dot-grid: none;
  --line: rgba(28, 42, 34, 0.14);
  --line-2: rgba(28, 42, 34, 0.26);
}
html[data-theme="evergreen"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { font-family: 'Playfair Display', Georgia, serif; }
html[data-theme="evergreen"] .mammoth-theme :is(h1, h2) { font-family: 'Playfair Display', Georgia, serif; }
html[data-theme="evergreen"] :is(.mammoth-card, .mammoth-stat-card, .mammoth-featured, .mammoth-price-block, .mammoth-tabs-list, .dashboard-theme-panel, .bg-card), html[data-theme="evergreen"] :is(.bg-popover, .mt-switcher-menu) { border: 1px solid #ddd7c7; box-shadow: 0 10px 30px rgba(28, 42, 34, .08); border-top: 3px solid #1e3d2b; }
html[data-theme="evergreen"] :is(.mammoth-card, .mammoth-stat-card):hover { border-top-color: #d4a017; }
html[data-theme="evergreen"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { font-weight: 700; letter-spacing: -.01em; color: #1e3d2b; }
html[data-theme="evergreen"] .mammoth-theme :is(h1, h2) { font-weight: 700; letter-spacing: -.01em; color: #1e3d2b; }
html[data-theme="evergreen"] .mammoth-card-head-title { font-size: 19px; }
html[data-theme="evergreen"] :is(.bg-primary, .mammoth-btn:not(.mammoth-btn-outline), a.mammoth-btn:not(.mammoth-btn-outline)) { background: #1e3d2b; color: #fff; border-radius: 2px; box-shadow: none; }
html[data-theme="evergreen"] :is(.bg-primary, .mammoth-btn:not(.mammoth-btn-outline), a.mammoth-btn:not(.mammoth-btn-outline)):hover { background: #d4a017; color: #1c2a22; }
html[data-theme="evergreen"] .mammoth-btn-outline { border-color: #1e3d2b; color: #1e3d2b; border-radius: 2px; }
html[data-theme="evergreen"] .mammoth-sidebar-shell { background: linear-gradient(180deg, rgba(30, 61, 43, .88), rgba(20, 42, 30, .96)), url('/frontend/img/themes/evergreen.jpg?v=1') center / cover no-repeat; border-right: 1px solid rgba(255, 255, 255, .12); }
html[data-theme="evergreen"] .mammoth-sidebar-mark { background: #d4a017; color: #1c2a22; border-radius: 2px; }
html[data-theme="evergreen"] .dashboard-theme-panel-dark { background-image: linear-gradient(180deg, rgba(30, 61, 43, .85), rgba(20, 42, 30, .92)), url('/frontend/img/themes/evergreen.jpg?v=1'); background-size: cover; background-position: center; }
html[data-theme="evergreen"] .mammoth-chrome { background: linear-gradient(180deg, rgba(30, 61, 43, .9), rgba(20, 42, 30, .95)), url('/frontend/img/themes/evergreen.jpg?v=1') center / cover; }


/* ==========================================================================
   Sahara: Warm sand, terracotta and long desert shadows.
   ========================================================================== */
html[data-theme="sahara"],
html[data-theme="sahara"] [data-dashboard-theme] {
  --dashboard-font-display: 'Lora', Georgia, serif;
  --mc-display: 'Lora', Georgia, serif;
  --dashboard-font-body: 'Nunito', 'Inter', system-ui, sans-serif;
  --mc-sans: 'Nunito', 'Inter', system-ui, sans-serif;
  --radius: 1rem;
  --mt-shadow: 0 12px 32px rgba(61, 36, 18, 0.16);
  --dashboard-shell-shadow: 0 8px 20px -10px rgba(61, 36, 18, 0.2);
  --dashboard-elevated-shadow: 0 18px 44px -24px rgba(61, 36, 18, 0.35);
  --dashboard-cta-shadow: 0 8px 22px -10px rgba(185, 85, 43, 0.6);
  --dashboard-hero-surface: #7a3b1e;
  --dashboard-dot-grid: none;
  --line: rgba(61, 36, 18, 0.14);
  --line-2: rgba(61, 36, 18, 0.26);
}
html[data-theme="sahara"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { font-family: 'Lora', Georgia, serif; }
html[data-theme="sahara"] .mammoth-theme :is(h1, h2) { font-family: 'Lora', Georgia, serif; }
html[data-theme="sahara"]::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: #f3e3c3 url('/frontend/img/themes/sahara.jpg?v=1') center / cover no-repeat;
}
html[data-theme="sahara"] body { background: transparent; }
html[data-theme="sahara"] .dashboard-shell-surface { background-color: transparent; background-image: none; }
html[data-theme="sahara"] .mammoth-theme { background: transparent; }
html[data-theme="sahara"] body.website-builder-page { background: transparent; }
html[data-theme="sahara"] :is(.mammoth-card, .mammoth-stat-card, .mammoth-featured, .mammoth-price-block, .mammoth-tabs-list, .dashboard-theme-panel, .bg-card), html[data-theme="sahara"] .bg-white, html[data-theme="sahara"] .mammoth-dashboard-streak {
  background: rgba(251, 243, 227, .86);
  -webkit-backdrop-filter: blur(10px) saturate(1.25);
  backdrop-filter: blur(10px) saturate(1.25);
  border: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 12px 30px rgba(61, 36, 18, .18), inset 0 1px 0 #fff;
}
html[data-theme="sahara"] :is(.bg-popover, .mt-switcher-menu) { background: rgba(251, 243, 227, .86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .8); }
html[data-theme="sahara"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { font-weight: 600; color: #7a3b1e; }
html[data-theme="sahara"] .mammoth-theme :is(h1, h2) { font-weight: 600; color: #7a3b1e; }
html[data-theme="sahara"] :is(.bg-primary, .mammoth-btn:not(.mammoth-btn-outline), a.mammoth-btn:not(.mammoth-btn-outline)) { background: linear-gradient(180deg, #c9653a, #b9552b); color: #fff; border-radius: 999px; box-shadow: 0 6px 16px rgba(185, 85, 43, .35); }
html[data-theme="sahara"] .mammoth-sidebar-shell { background: linear-gradient(180deg, rgba(122, 59, 30, .9), rgba(90, 40, 18, .95)); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-right: 1px solid rgba(255, 255, 255, .15); }
html[data-theme="sahara"] .mammoth-sidebar-mark { background: #e3cb9c; color: #7a3b1e; border-radius: 50%; }


/* ==========================================================================
   Glacier: Ice blue, frosted white and a cold clear light.
   ========================================================================== */
html[data-theme="glacier"],
html[data-theme="glacier"] [data-dashboard-theme] {
  --dashboard-font-display: 'Manrope', 'Inter', system-ui, sans-serif;
  --mc-display: 'Manrope', 'Inter', system-ui, sans-serif;
  --dashboard-font-body: 'Manrope', 'Inter', system-ui, sans-serif;
  --mc-sans: 'Manrope', 'Inter', system-ui, sans-serif;
  --radius: 1.25rem;
  --mt-shadow: 0 12px 32px rgba(13, 59, 79, 0.16);
  --dashboard-shell-shadow: 0 8px 20px -10px rgba(13, 59, 79, 0.2);
  --dashboard-elevated-shadow: 0 18px 44px -24px rgba(13, 59, 79, 0.35);
  --dashboard-cta-shadow: 0 8px 22px -10px rgba(25, 181, 224, 0.6);
  --dashboard-hero-surface: #0d3b4f;
  --dashboard-dot-grid: none;
  --line: rgba(13, 59, 79, 0.14);
  --line-2: rgba(13, 59, 79, 0.26);
}
html[data-theme="glacier"]::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: #dff3fb url('/frontend/img/themes/glacier.jpg?v=1') center / cover no-repeat;
}
html[data-theme="glacier"] body { background: transparent; }
html[data-theme="glacier"] .dashboard-shell-surface { background-color: transparent; background-image: none; }
html[data-theme="glacier"] .mammoth-theme { background: transparent; }
html[data-theme="glacier"] body.website-builder-page { background: transparent; }
html[data-theme="glacier"] :is(.mammoth-card, .mammoth-stat-card, .mammoth-featured, .mammoth-price-block, .mammoth-tabs-list, .dashboard-theme-panel, .bg-card), html[data-theme="glacier"] .bg-white, html[data-theme="glacier"] .mammoth-dashboard-streak {
  background: rgba(255, 255, 255, .74);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  backdrop-filter: blur(16px) saturate(1.25);
  border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 14px 40px rgba(13, 59, 79, .18), inset 0 1px 0 #fff;
}
html[data-theme="glacier"] :is(.bg-popover, .mt-switcher-menu) { background: rgba(255, 255, 255, .74); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, .9); }
html[data-theme="glacier"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { font-weight: 800; letter-spacing: -.02em; color: #0d3b4f; }
html[data-theme="glacier"] .mammoth-theme :is(h1, h2) { font-weight: 800; letter-spacing: -.02em; color: #0d3b4f; }
html[data-theme="glacier"] :is(.bg-primary, .mammoth-btn:not(.mammoth-btn-outline), a.mammoth-btn:not(.mammoth-btn-outline)) { background: linear-gradient(180deg, #3ecbf0, #19b5e0 60%, #0f8fb3); color: #fff; border-radius: 999px; box-shadow: 0 8px 20px rgba(25, 181, 224, .4), inset 0 1px 0 rgba(255, 255, 255, .6); }
html[data-theme="glacier"] .mammoth-sidebar-shell { background: linear-gradient(180deg, rgba(13, 59, 79, .82), rgba(8, 40, 56, .92)); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-right: 1px solid rgba(255, 255, 255, .25); }
html[data-theme="glacier"] .mammoth-sidebar-mark { background: #fff; color: #0d3b4f; border-radius: 50%; }


/* ==========================================================================
   Abyss: The deep ocean, lit by bioluminescence.
   ========================================================================== */
html[data-theme="abyss"],
html[data-theme="abyss"] [data-dashboard-theme] {
  --dashboard-font-display: 'Outfit', 'Inter', system-ui, sans-serif;
  --mc-display: 'Outfit', 'Inter', system-ui, sans-serif;
  --dashboard-font-body: 'Outfit', 'Inter', system-ui, sans-serif;
  --mc-sans: 'Outfit', 'Inter', system-ui, sans-serif;
  --radius: 1rem;
  --mt-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  --dashboard-shell-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.6);
  --dashboard-elevated-shadow: 0 18px 44px -24px rgba(0, 0, 0, 0.75);
  --dashboard-cta-shadow: 0 8px 22px -10px rgba(34, 211, 238, 0.6);
  --dashboard-hero-surface: #06162e;
  --dashboard-dot-grid: none;
  --line: rgba(34, 211, 238, 0.22);
  --line-2: rgba(34, 211, 238, 0.4);
}
html[data-theme="abyss"]::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: #020b1a url('/frontend/img/themes/abyss.jpg?v=1') center / cover no-repeat;
}
html[data-theme="abyss"] body { background: transparent; }
html[data-theme="abyss"] .dashboard-shell-surface { background-color: transparent; background-image: none; }
html[data-theme="abyss"] .mammoth-theme { background: transparent; }
html[data-theme="abyss"] body.website-builder-page { background: transparent; }
html[data-theme="abyss"] :is(.mammoth-card, .mammoth-stat-card, .mammoth-featured, .mammoth-price-block, .mammoth-tabs-list, .dashboard-theme-panel, .bg-card), html[data-theme="abyss"] .bg-white, html[data-theme="abyss"] .mammoth-dashboard-streak {
  background: linear-gradient(180deg, rgba(6, 22, 46, .78), rgba(2, 11, 26, .9));
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
  backdrop-filter: blur(14px) saturate(1.25);
  border: 1px solid rgba(34, 211, 238, .3); box-shadow: 0 0 30px rgba(34, 211, 238, .12), 0 14px 40px rgba(0, 0, 0, .55);
}
html[data-theme="abyss"] :is(.bg-popover, .mt-switcher-menu) { background: linear-gradient(180deg, rgba(6, 22, 46, .78), rgba(2, 11, 26, .9)); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(34, 211, 238, .3); }
html[data-theme="abyss"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { font-weight: 600; text-shadow: 0 0 14px rgba(34, 211, 238, .5); }
html[data-theme="abyss"] .mammoth-theme :is(h1, h2) { font-weight: 600; text-shadow: 0 0 14px rgba(34, 211, 238, .5); }
html[data-theme="abyss"] :is(.bg-primary, .mammoth-btn:not(.mammoth-btn-outline), a.mammoth-btn:not(.mammoth-btn-outline)) { background: linear-gradient(135deg, #22d3ee, #f472b6); color: #031a24; box-shadow: 0 0 22px rgba(34, 211, 238, .45); }
html[data-theme="abyss"] .mammoth-sidebar-shell { background: linear-gradient(180deg, rgba(4, 16, 36, .82), rgba(1, 7, 20, .94)); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-right: 1px solid rgba(34, 211, 238, .25); }
html[data-theme="abyss"] .mammoth-sidebar-mark { background: linear-gradient(135deg, #22d3ee, #f472b6); color: #031a24; border-radius: 50%; }


/* ==========================================================================
   Sakura: Cherry blossom pink, Fuji blue and soft rounded type.
   ========================================================================== */
html[data-theme="sakura"],
html[data-theme="sakura"] [data-dashboard-theme] {
  --dashboard-font-display: 'M PLUS Rounded 1c', 'Nunito', sans-serif;
  --mc-display: 'M PLUS Rounded 1c', 'Nunito', sans-serif;
  --dashboard-font-body: 'Nunito', 'Inter', system-ui, sans-serif;
  --mc-sans: 'Nunito', 'Inter', system-ui, sans-serif;
  --radius: 1.25rem;
  --mt-shadow: 0 12px 32px rgba(63, 29, 46, 0.16);
  --dashboard-shell-shadow: 0 8px 20px -10px rgba(63, 29, 46, 0.2);
  --dashboard-elevated-shadow: 0 18px 44px -24px rgba(63, 29, 46, 0.35);
  --dashboard-cta-shadow: 0 8px 22px -10px rgba(244, 114, 182, 0.6);
  --dashboard-hero-surface: #4a1d3a;
  --dashboard-dot-grid: none;
  --line: rgba(63, 29, 46, 0.14);
  --line-2: rgba(63, 29, 46, 0.26);
}
html[data-theme="sakura"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { font-family: 'M PLUS Rounded 1c', 'Nunito', sans-serif; }
html[data-theme="sakura"] .mammoth-theme :is(h1, h2) { font-family: 'M PLUS Rounded 1c', 'Nunito', sans-serif; }
html[data-theme="sakura"]::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: #fff1f5 url('/frontend/img/themes/sakura.jpg?v=1') center / cover no-repeat;
}
html[data-theme="sakura"] body { background: transparent; }
html[data-theme="sakura"] .dashboard-shell-surface { background-color: transparent; background-image: none; }
html[data-theme="sakura"] .mammoth-theme { background: transparent; }
html[data-theme="sakura"] body.website-builder-page { background: transparent; }
html[data-theme="sakura"] :is(.mammoth-card, .mammoth-stat-card, .mammoth-featured, .mammoth-price-block, .mammoth-tabs-list, .dashboard-theme-panel, .bg-card), html[data-theme="sakura"] .bg-white, html[data-theme="sakura"] .mammoth-dashboard-streak {
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(12px) saturate(1.25);
  backdrop-filter: blur(12px) saturate(1.25);
  border: 1px solid rgba(255, 255, 255, .95); box-shadow: 0 12px 32px rgba(219, 39, 119, .14), inset 0 1px 0 #fff;
}
html[data-theme="sakura"] :is(.bg-popover, .mt-switcher-menu) { background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .95); }
html[data-theme="sakura"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { font-weight: 800; color: #4a1d3a; }
html[data-theme="sakura"] .mammoth-theme :is(h1, h2) { font-weight: 800; color: #4a1d3a; }
html[data-theme="sakura"] :is(.bg-primary, .mammoth-btn:not(.mammoth-btn-outline), a.mammoth-btn:not(.mammoth-btn-outline)) { background: linear-gradient(180deg, #f9a8d4, #f472b6 60%, #db2777); color: #fff; border-radius: 999px; box-shadow: 0 8px 20px rgba(244, 114, 182, .4); }
html[data-theme="sakura"] .mammoth-sidebar-shell { background: linear-gradient(180deg, rgba(74, 29, 58, .86), rgba(55, 18, 42, .94)); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-right: 1px solid rgba(255, 255, 255, .2); }
html[data-theme="sakura"] .mammoth-sidebar-mark { background: #f472b6; color: #fff; border-radius: 50%; }


/* ==========================================================================
   Adventurer's Guild: Dark wood, leather, iron and parchment: the RPG inventory screen.
   ========================================================================== */
html[data-theme="adventurers-guild"],
html[data-theme="adventurers-guild"] [data-dashboard-theme] {
  --dashboard-font-display: 'MedievalSharp', 'Lora', serif;
  --mc-display: 'MedievalSharp', 'Lora', serif;
  --dashboard-font-body: 'Lora', Georgia, serif;
  --mc-sans: 'Lora', Georgia, serif;
  --radius: 0.25rem;
  --mt-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  --dashboard-shell-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.6);
  --dashboard-elevated-shadow: 0 18px 44px -24px rgba(0, 0, 0, 0.75);
  --dashboard-cta-shadow: 0 8px 22px -10px rgba(201, 162, 39, 0.6);
  --dashboard-hero-surface: #2d1f14;
  --dashboard-dot-grid: none;
  --line: rgba(201, 162, 39, 0.22);
  --line-2: rgba(201, 162, 39, 0.4);
}
html[data-theme="adventurers-guild"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { font-family: 'MedievalSharp', 'Lora', serif; }
html[data-theme="adventurers-guild"] .mammoth-theme :is(h1, h2) { font-family: 'MedievalSharp', 'Lora', serif; }
html[data-theme="adventurers-guild"]::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: #1e140d url('/frontend/img/themes/guild.jpg?v=1') center / cover no-repeat;
}
html[data-theme="adventurers-guild"] body { background: transparent; }
html[data-theme="adventurers-guild"] .dashboard-shell-surface { background-color: transparent; background-image: none; }
html[data-theme="adventurers-guild"] .mammoth-theme { background: transparent; }
html[data-theme="adventurers-guild"] body.website-builder-page { background: transparent; }
html[data-theme="adventurers-guild"] :is(.mammoth-card, .mammoth-stat-card, .mammoth-featured, .mammoth-price-block, .mammoth-tabs-list, .dashboard-theme-panel, .bg-card), html[data-theme="adventurers-guild"] .bg-white, html[data-theme="adventurers-guild"] .mammoth-dashboard-streak {
  background: linear-gradient(180deg, rgba(45, 31, 20, .92), rgba(30, 20, 13, .95));
  -webkit-backdrop-filter: blur(8px) saturate(1.25);
  backdrop-filter: blur(8px) saturate(1.25);
  border: 1px solid #6b6b6b; box-shadow: inset 0 0 0 1px #2a2a2a, inset 0 0 0 3px #8a8a8a, inset 0 0 0 4px #3a3a3a, 0 10px 30px rgba(0, 0, 0, .6);
}
html[data-theme="adventurers-guild"] :is(.bg-popover, .mt-switcher-menu) { background: linear-gradient(180deg, rgba(45, 31, 20, .92), rgba(30, 20, 13, .95)); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid #6b6b6b; }
html[data-theme="adventurers-guild"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { font-weight: 400; color: #e3c155; letter-spacing: .02em; }
html[data-theme="adventurers-guild"] .mammoth-theme :is(h1, h2) { font-weight: 400; color: #e3c155; letter-spacing: .02em; }
html[data-theme="adventurers-guild"] .mammoth-card-head-title { font-size: 19px; }
html[data-theme="adventurers-guild"] .mammoth-card-head { border-bottom: 2px solid #6b6b6b; background: rgba(0, 0, 0, .25); }
html[data-theme="adventurers-guild"] :is(.bg-primary, .mammoth-btn:not(.mammoth-btn-outline), a.mammoth-btn:not(.mammoth-btn-outline)) { background: linear-gradient(180deg, #e3c155, #c9a227 55%, #8f6f12); color: #1a1405; border: 2px solid #5a4a1a; border-radius: 3px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 3px 0 #3a2a0a; }
html[data-theme="adventurers-guild"] .mammoth-sidebar-shell { background: linear-gradient(180deg, rgba(34, 22, 13, .92), rgba(21, 13, 8, .96)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-right: 4px solid #6b6b6b; box-shadow: inset -2px 0 0 #2a2a2a; }
html[data-theme="adventurers-guild"] .mammoth-sidebar-mark { background: #c9a227; color: #1a1405; border: 2px solid #6b6b6b; border-radius: 3px; }


/* ==========================================================================
   Olympus: White marble, gold and lapis, with columns and a Greek key.
   ========================================================================== */
html[data-theme="olympus"],
html[data-theme="olympus"] [data-dashboard-theme] {
  --dashboard-font-display: 'Cinzel', 'Lora', serif;
  --mc-display: 'Cinzel', 'Lora', serif;
  --dashboard-font-body: 'Lora', Georgia, serif;
  --mc-sans: 'Lora', Georgia, serif;
  --radius: 0.125rem;
  --mt-shadow: 0 12px 32px rgba(31, 36, 51, 0.16);
  --dashboard-shell-shadow: 0 8px 20px -10px rgba(31, 36, 51, 0.2);
  --dashboard-elevated-shadow: 0 18px 44px -24px rgba(31, 36, 51, 0.35);
  --dashboard-cta-shadow: 0 8px 22px -10px rgba(200, 162, 74, 0.6);
  --dashboard-hero-surface: #1e3a8a;
  --dashboard-dot-grid: none;
  --line: rgba(31, 36, 51, 0.14);
  --line-2: rgba(31, 36, 51, 0.26);
}
html[data-theme="olympus"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { font-family: 'Cinzel', 'Lora', serif; }
html[data-theme="olympus"] .mammoth-theme :is(h1, h2) { font-family: 'Cinzel', 'Lora', serif; }
html[data-theme="olympus"]::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: #f5f0e6 url('/frontend/img/themes/olympus.jpg?v=1') center / cover no-repeat;
}
html[data-theme="olympus"] body { background: transparent; }
html[data-theme="olympus"] .dashboard-shell-surface { background-color: transparent; background-image: none; }
html[data-theme="olympus"] .mammoth-theme { background: transparent; }
html[data-theme="olympus"] body.website-builder-page { background: transparent; }
html[data-theme="olympus"] :is(.mammoth-card, .mammoth-stat-card, .mammoth-featured, .mammoth-price-block, .mammoth-tabs-list, .dashboard-theme-panel, .bg-card), html[data-theme="olympus"] .bg-white, html[data-theme="olympus"] .mammoth-dashboard-streak {
  background: rgba(255, 253, 248, .9);
  -webkit-backdrop-filter: blur(10px) saturate(1.25);
  backdrop-filter: blur(10px) saturate(1.25);
  border: 1px solid #c8a24a; box-shadow: inset 0 0 0 4px rgba(255, 253, 248, .9), inset 0 0 0 5px rgba(200, 162, 74, .5), 0 12px 30px rgba(31, 36, 51, .15);
}
html[data-theme="olympus"] :is(.bg-popover, .mt-switcher-menu) { background: rgba(255, 253, 248, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid #c8a24a; }
html[data-theme="olympus"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { text-transform: uppercase; letter-spacing: .14em; }
html[data-theme="olympus"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { font-weight: 600; color: #1e3a8a; text-shadow: 0 1px 0 #fff, 0 0 14px rgba(255, 255, 255, .95), 0 0 28px rgba(255, 255, 255, .8); }
html[data-theme="olympus"] .mammoth-theme :is(h1, h2) { font-weight: 600; color: #1e3a8a; text-shadow: 0 1px 0 #fff, 0 0 14px rgba(255, 255, 255, .95), 0 0 28px rgba(255, 255, 255, .8); }
html[data-theme="olympus"] .mammoth-card-head { border-bottom: 2px solid #c8a24a; background: repeating-linear-gradient(90deg, #c8a24a 0 10px, transparent 10px 14px) 0 100% / 100% 2px no-repeat; }
html[data-theme="olympus"] :is(.bg-primary, .mammoth-btn:not(.mammoth-btn-outline), a.mammoth-btn:not(.mammoth-btn-outline)) { background: linear-gradient(180deg, #2f55b8, #1e3a8a); color: #fff; border: 1px solid #c8a24a; border-radius: 2px; text-transform: uppercase; letter-spacing: .12em; }
html[data-theme="olympus"] :is(.bg-primary, .mammoth-btn:not(.mammoth-btn-outline), a.mammoth-btn:not(.mammoth-btn-outline)):hover { background: linear-gradient(180deg, #e0c070, #c8a24a); color: #1f2433; }
html[data-theme="olympus"] .mammoth-sidebar-shell { background: linear-gradient(180deg, rgba(42, 74, 160, .9), rgba(30, 58, 138, .95)); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-right: 3px double #c8a24a; }
html[data-theme="olympus"] .mammoth-sidebar-mark { background: #c8a24a; color: #1e3a8a; border-radius: 0; }


/* ==========================================================================
   Clockwork: Brass, copper and teal: a steampunk engine room.
   ========================================================================== */
html[data-theme="clockwork"],
html[data-theme="clockwork"] [data-dashboard-theme] {
  --dashboard-font-display: 'Special Elite', 'Lora', serif;
  --mc-display: 'Special Elite', 'Lora', serif;
  --dashboard-font-body: 'Lora', Georgia, serif;
  --mc-sans: 'Lora', Georgia, serif;
  --radius: 0.5rem;
  --mt-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  --dashboard-shell-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.6);
  --dashboard-elevated-shadow: 0 18px 44px -24px rgba(0, 0, 0, 0.75);
  --dashboard-cta-shadow: 0 8px 22px -10px rgba(184, 134, 11, 0.6);
  --dashboard-hero-surface: #163f46;
  --dashboard-dot-grid: none;
  --line: rgba(184, 134, 11, 0.22);
  --line-2: rgba(184, 134, 11, 0.4);
}
html[data-theme="clockwork"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { font-family: 'Special Elite', 'Lora', serif; }
html[data-theme="clockwork"] .mammoth-theme :is(h1, h2) { font-family: 'Special Elite', 'Lora', serif; }
html[data-theme="clockwork"]::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: #10343a url('/frontend/img/themes/clockwork.jpg?v=1') center / cover no-repeat;
}
html[data-theme="clockwork"] body { background: transparent; }
html[data-theme="clockwork"] .dashboard-shell-surface { background-color: transparent; background-image: none; }
html[data-theme="clockwork"] .mammoth-theme { background: transparent; }
html[data-theme="clockwork"] body.website-builder-page { background: transparent; }
html[data-theme="clockwork"] :is(.mammoth-card, .mammoth-stat-card, .mammoth-featured, .mammoth-price-block, .mammoth-tabs-list, .dashboard-theme-panel, .bg-card), html[data-theme="clockwork"] .bg-white, html[data-theme="clockwork"] .mammoth-dashboard-streak {
  background: linear-gradient(180deg, rgba(22, 63, 70, .9), rgba(16, 52, 58, .94));
  -webkit-backdrop-filter: blur(8px) saturate(1.25);
  backdrop-filter: blur(8px) saturate(1.25);
  border: 1px solid #b8860b; box-shadow: inset 0 0 0 2px rgba(184, 134, 11, .25), inset 0 0 0 6px rgba(184, 115, 51, .15), 0 12px 30px rgba(0, 0, 0, .55);
}
html[data-theme="clockwork"] :is(.bg-popover, .mt-switcher-menu) { background: linear-gradient(180deg, rgba(22, 63, 70, .9), rgba(16, 52, 58, .94)); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid #b8860b; }
html[data-theme="clockwork"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { font-weight: 400; color: #d9a93a; }
html[data-theme="clockwork"] .mammoth-theme :is(h1, h2) { font-weight: 400; color: #d9a93a; }
html[data-theme="clockwork"] .mammoth-card-head { border-bottom: 2px solid #b87333; }
html[data-theme="clockwork"] .mammoth-card-head-title::before { content: '\2699  '; color: #b87333; }
html[data-theme="clockwork"] :is(.bg-primary, .mammoth-btn:not(.mammoth-btn-outline), a.mammoth-btn:not(.mammoth-btn-outline)) { background: linear-gradient(180deg, #d9a93a, #b8860b 55%, #8a6208); color: #1a1405; border: 2px solid #5a3f0a; border-radius: 6px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 3px 0 #3a2a05; }
html[data-theme="clockwork"] .mammoth-sidebar-shell { background: linear-gradient(180deg, rgba(15, 50, 56, .92), rgba(10, 35, 40, .96)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-right: 4px solid #b87333; box-shadow: inset -2px 0 0 #5a3f0a; }
html[data-theme="clockwork"] .mammoth-sidebar-mark { background: radial-gradient(circle, #d9a93a 0 35%, #b87333 36% 100%); color: #1a1405; border-radius: 50%; border: 2px solid #5a3f0a; }


/* ==========================================================================
   Valhalla: Cold iron, snow and ember light from the north.
   ========================================================================== */
html[data-theme="valhalla"],
html[data-theme="valhalla"] [data-dashboard-theme] {
  --dashboard-font-display: 'Uncial Antiqua', 'Cinzel', serif;
  --mc-display: 'Uncial Antiqua', 'Cinzel', serif;
  --dashboard-font-body: 'Inter', system-ui, sans-serif;
  --mc-sans: 'Inter', system-ui, sans-serif;
  --radius: 0.125rem;
  --mt-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  --dashboard-shell-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.6);
  --dashboard-elevated-shadow: 0 18px 44px -24px rgba(0, 0, 0, 0.75);
  --dashboard-cta-shadow: 0 8px 22px -10px rgba(127, 179, 213, 0.6);
  --dashboard-hero-surface: #1c2532;
  --dashboard-dot-grid: none;
  --line: rgba(127, 179, 213, 0.22);
  --line-2: rgba(127, 179, 213, 0.4);
}
html[data-theme="valhalla"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { font-family: 'Uncial Antiqua', 'Cinzel', serif; }
html[data-theme="valhalla"] .mammoth-theme :is(h1, h2) { font-family: 'Uncial Antiqua', 'Cinzel', serif; }
html[data-theme="valhalla"]::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: #141b26 url('/frontend/img/themes/valhalla.jpg?v=1') center / cover no-repeat;
}
html[data-theme="valhalla"] body { background: transparent; }
html[data-theme="valhalla"] .dashboard-shell-surface { background-color: transparent; background-image: none; }
html[data-theme="valhalla"] .mammoth-theme { background: transparent; }
html[data-theme="valhalla"] body.website-builder-page { background: transparent; }
html[data-theme="valhalla"] :is(.mammoth-card, .mammoth-stat-card, .mammoth-featured, .mammoth-price-block, .mammoth-tabs-list, .dashboard-theme-panel, .bg-card), html[data-theme="valhalla"] .bg-white, html[data-theme="valhalla"] .mammoth-dashboard-streak {
  background: linear-gradient(180deg, rgba(28, 37, 50, .88), rgba(20, 27, 38, .94));
  -webkit-backdrop-filter: blur(10px) saturate(1.25);
  backdrop-filter: blur(10px) saturate(1.25);
  border: 1px solid #4e5a6b; box-shadow: inset 0 0 0 1px #1a222c, inset 0 0 0 3px #6b7788, 0 12px 30px rgba(0, 0, 0, .6);
}
html[data-theme="valhalla"] :is(.bg-popover, .mt-switcher-menu) { background: linear-gradient(180deg, rgba(28, 37, 50, .88), rgba(20, 27, 38, .94)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid #4e5a6b; }
html[data-theme="valhalla"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { font-weight: 400; color: #e8edf3; letter-spacing: .03em; text-shadow: 0 2px 0 #0d121a; }
html[data-theme="valhalla"] .mammoth-theme :is(h1, h2) { font-weight: 400; color: #e8edf3; letter-spacing: .03em; text-shadow: 0 2px 0 #0d121a; }
html[data-theme="valhalla"] .mammoth-card-head-title { font-size: 18px; }
html[data-theme="valhalla"] .mammoth-card-head { border-bottom: 2px solid #6b7788; }
html[data-theme="valhalla"] .mammoth-card-head-title::before { content: '\16B1  '; color: #7fb3d5; }
html[data-theme="valhalla"] :is(.bg-primary, .mammoth-btn:not(.mammoth-btn-outline), a.mammoth-btn:not(.mammoth-btn-outline)) { background: linear-gradient(180deg, #e0a052, #d08b3c 55%, #a86a22); color: #0d121a; border: 2px solid #4e5a6b; border-radius: 2px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 3px 0 #0d121a; }
html[data-theme="valhalla"] .mammoth-sidebar-shell { background: linear-gradient(180deg, rgba(21, 29, 40, .92), rgba(13, 18, 26, .96)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-right: 3px solid #6b7788; box-shadow: inset -2px 0 0 #1a222c; }
html[data-theme="valhalla"] .mammoth-sidebar-mark { background: #6b7788; color: #e8edf3; border: 2px solid #bcc7d4; border-radius: 0; transform: rotate(45deg) scale(.8); }


/* ==========================================================================
   Arcane Academy: Violet magic, golden sparks and an open spellbook.
   ========================================================================== */
html[data-theme="arcane-academy"],
html[data-theme="arcane-academy"] [data-dashboard-theme] {
  --dashboard-font-display: 'Almendra', 'Cinzel', serif;
  --mc-display: 'Almendra', 'Cinzel', serif;
  --dashboard-font-body: 'Lora', Georgia, serif;
  --mc-sans: 'Lora', Georgia, serif;
  --radius: 0.5rem;
  --mt-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  --dashboard-shell-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.6);
  --dashboard-elevated-shadow: 0 18px 44px -24px rgba(0, 0, 0, 0.75);
  --dashboard-cta-shadow: 0 8px 22px -10px rgba(167, 139, 250, 0.6);
  --dashboard-hero-surface: #221244;
  --dashboard-dot-grid: none;
  --line: rgba(167, 139, 250, 0.22);
  --line-2: rgba(167, 139, 250, 0.4);
}
html[data-theme="arcane-academy"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { font-family: 'Almendra', 'Cinzel', serif; }
html[data-theme="arcane-academy"] .mammoth-theme :is(h1, h2) { font-family: 'Almendra', 'Cinzel', serif; }
html[data-theme="arcane-academy"]::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: #170b2e url('/frontend/img/themes/arcane.jpg?v=1') center / cover no-repeat;
}
html[data-theme="arcane-academy"] body { background: transparent; }
html[data-theme="arcane-academy"] .dashboard-shell-surface { background-color: transparent; background-image: none; }
html[data-theme="arcane-academy"] .mammoth-theme { background: transparent; }
html[data-theme="arcane-academy"] body.website-builder-page { background: transparent; }
html[data-theme="arcane-academy"] :is(.mammoth-card, .mammoth-stat-card, .mammoth-featured, .mammoth-price-block, .mammoth-tabs-list, .dashboard-theme-panel, .bg-card), html[data-theme="arcane-academy"] .bg-white, html[data-theme="arcane-academy"] .mammoth-dashboard-streak {
  background: linear-gradient(180deg, rgba(34, 18, 68, .85), rgba(23, 11, 46, .92));
  -webkit-backdrop-filter: blur(12px) saturate(1.25);
  backdrop-filter: blur(12px) saturate(1.25);
  border: 1px solid rgba(167, 139, 250, .45); box-shadow: 0 0 24px rgba(167, 139, 250, .2), inset 0 1px 0 rgba(251, 191, 36, .25), 0 14px 40px rgba(0, 0, 0, .55);
}
html[data-theme="arcane-academy"] :is(.bg-popover, .mt-switcher-menu) { background: linear-gradient(180deg, rgba(34, 18, 68, .85), rgba(23, 11, 46, .92)); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(167, 139, 250, .45); }
html[data-theme="arcane-academy"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { font-weight: 700; color: #fbbf24; text-shadow: 0 0 14px rgba(251, 191, 36, .45); }
html[data-theme="arcane-academy"] .mammoth-theme :is(h1, h2) { font-weight: 700; color: #fbbf24; text-shadow: 0 0 14px rgba(251, 191, 36, .45); }
html[data-theme="arcane-academy"] .mammoth-card-head-title { font-size: 19px; }
html[data-theme="arcane-academy"] .mammoth-card-head-title::before { content: '\2727  '; color: #a78bfa; }
html[data-theme="arcane-academy"] :is(.bg-primary, .mammoth-btn:not(.mammoth-btn-outline), a.mammoth-btn:not(.mammoth-btn-outline)) { background: linear-gradient(180deg, #fcd34d, #fbbf24 55%, #d97706); color: #2a1a05; border: 1px solid #a78bfa; box-shadow: 0 0 18px rgba(167, 139, 250, .45), inset 0 1px 0 rgba(255, 255, 255, .5); }
html[data-theme="arcane-academy"] .mammoth-sidebar-shell { background: linear-gradient(180deg, rgba(26, 14, 56, .9), rgba(16, 7, 36, .95)); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-right: 1px solid rgba(167, 139, 250, .4); }
html[data-theme="arcane-academy"] .mammoth-sidebar-mark { background: linear-gradient(135deg, #fbbf24, #a78bfa); color: #170b2e; border-radius: 50%; }


/* ==========================================================================
   Pharaoh: Sandstone, lapis and gold with hieroglyph borders.
   ========================================================================== */
html[data-theme="pharaoh"],
html[data-theme="pharaoh"] [data-dashboard-theme] {
  --dashboard-font-display: 'Cinzel Decorative', 'Cinzel', serif;
  --mc-display: 'Cinzel Decorative', 'Cinzel', serif;
  --dashboard-font-body: 'Lora', Georgia, serif;
  --mc-sans: 'Lora', Georgia, serif;
  --radius: 0.125rem;
  --mt-shadow: 0 12px 32px rgba(43, 31, 14, 0.16);
  --dashboard-shell-shadow: 0 8px 20px -10px rgba(43, 31, 14, 0.2);
  --dashboard-elevated-shadow: 0 18px 44px -24px rgba(43, 31, 14, 0.35);
  --dashboard-cta-shadow: 0 8px 22px -10px rgba(212, 160, 23, 0.6);
  --dashboard-hero-surface: #1d4e89;
  --dashboard-dot-grid: none;
  --line: rgba(43, 31, 14, 0.14);
  --line-2: rgba(43, 31, 14, 0.26);
}
html[data-theme="pharaoh"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { font-family: 'Cinzel Decorative', 'Cinzel', serif; }
html[data-theme="pharaoh"] .mammoth-theme :is(h1, h2) { font-family: 'Cinzel Decorative', 'Cinzel', serif; }
html[data-theme="pharaoh"]::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: #e9d9b4 url('/frontend/img/themes/pharaoh.jpg?v=1') center / cover no-repeat;
}
html[data-theme="pharaoh"] body { background: transparent; }
html[data-theme="pharaoh"] .dashboard-shell-surface { background-color: transparent; background-image: none; }
html[data-theme="pharaoh"] .mammoth-theme { background: transparent; }
html[data-theme="pharaoh"] body.website-builder-page { background: transparent; }
html[data-theme="pharaoh"] :is(.mammoth-card, .mammoth-stat-card, .mammoth-featured, .mammoth-price-block, .mammoth-tabs-list, .dashboard-theme-panel, .bg-card), html[data-theme="pharaoh"] .bg-white, html[data-theme="pharaoh"] .mammoth-dashboard-streak {
  background: rgba(247, 236, 210, .9);
  -webkit-backdrop-filter: blur(8px) saturate(1.25);
  backdrop-filter: blur(8px) saturate(1.25);
  border: 1px solid #d4a017; box-shadow: inset 0 0 0 3px rgba(247, 236, 210, .9), inset 0 0 0 5px #1d4e89, 0 12px 30px rgba(43, 31, 14, .2);
}
html[data-theme="pharaoh"] :is(.bg-popover, .mt-switcher-menu) { background: rgba(247, 236, 210, .9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid #d4a017; }
html[data-theme="pharaoh"] :is(h1, h2, h3, .dashboard-mammoth-title, .mammoth-card-head-title, .mammoth-featured-title, .mammoth-sidebar-brand) { font-weight: 700; color: #1d4e89; letter-spacing: .04em; text-shadow: 0 1px 0 #fff, 0 0 14px rgba(255, 255, 255, .95), 0 0 28px rgba(255, 255, 255, .8); }
html[data-theme="pharaoh"] .mammoth-theme :is(h1, h2) { font-weight: 700; color: #1d4e89; letter-spacing: .04em; text-shadow: 0 1px 0 #fff, 0 0 14px rgba(255, 255, 255, .95), 0 0 28px rgba(255, 255, 255, .8); }
html[data-theme="pharaoh"] .mammoth-card-head { border-bottom: 3px solid #d4a017; background: repeating-linear-gradient(90deg, #1d4e89 0 8px, #d4a017 8px 16px, #2ab7a9 16px 24px) 0 100% / 100% 3px no-repeat; }
html[data-theme="pharaoh"] :is(.bg-primary, .mammoth-btn:not(.mammoth-btn-outline), a.mammoth-btn:not(.mammoth-btn-outline)) { background: linear-gradient(180deg, #e8bd3a, #d4a017 55%, #a07a0a); color: #2b1f0e; border: 2px solid #1d4e89; border-radius: 2px; text-transform: uppercase; letter-spacing: .1em; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5); }
html[data-theme="pharaoh"] .mammoth-sidebar-shell { background: linear-gradient(180deg, #2a5f9e, #1d4e89); border-right: 4px solid #d4a017; color: #f5f5f5; }
html[data-theme="pharaoh"] .mammoth-sidebar-mark { background: #d4a017; color: #1d4e89; border-radius: 50% 50% 0 0; }

