.home-single #main > footer { flex-wrap: wrap; }
.home-theme-switch {
  flex: 0 0 100%;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.home-theme-label { margin-right: 3px; color: inherit; font-size: 12px; }
.home-theme-switch button {
  min-height: 36px;
  padding: 4px 12px;
  border: 1px solid #ffffff50;
  border-radius: 999px;
  background: #ffffff0c;
  color: inherit;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.home-theme-switch button:hover { background: #ffffff20; }
.home-theme-switch button[aria-pressed="true"] {
  border-color: var(--home-soft);
  background: var(--home-soft);
  color: var(--home-ink);
  font-weight: 750;
}
.home-theme-switch button:focus-visible { outline-color: #fff; }

/* The original blue/violet palette uses the same page content and interaction. */
html[data-home-theme="classic"] { background: #eef1fb; }
[data-home-theme="classic"] body.home-single.cockpit-classic {
  --home-paper: #f0f2fb;
  --home-band: #eaf2ff;
  --home-soft: #e8edff;
  --home-border: #d9e1f4;
  --home-orange: #5368c1;
  --home-action: #4e57b6;
  --home-action-hover: #424ca9;
  --home-light-text: #65769e;
  --home-muted: #566990;
  --home-ink: #253965;
  --home-shadow: 0 8px 24px #5264a315;
  background: linear-gradient(145deg, #e7ecff, #f7f5ff 65%, #f1f4fc);
}
[data-home-theme="classic"] .cockpit-classic.home-single .personal-topbar {
  background: linear-gradient(110deg, #f8faff, #f0efff);
  box-shadow: 0 2px 8px #6275b012;
}
[data-home-theme="classic"] .cockpit-classic.home-single #overview {
  background: radial-gradient(ellipse at 78% 28%, #d3ddff, transparent 57%),
    linear-gradient(118deg, #f7f9ff, #e7edff 56%, #eee8ff);
}
[data-home-theme="classic"] .home-single .home-feature-badge { border-color: #c8d1f7; }
[data-home-theme="classic"] .home-single .home-feature-primary {
  background: linear-gradient(120deg, #6179d8, #5860ba);
  box-shadow: 0 6px 16px #4e57b640;
}
[data-home-theme="classic"] .home-single .home-feature-primary:hover { box-shadow: 0 8px 24px #4e57b65c; }
[data-home-theme="classic"] .home-single .home-office-controls button:hover { border-color: var(--home-border); }
[data-home-theme="classic"] .home-single .home-office-visual::before { background: #39416f22; }
[data-home-theme="classic"] .home-single .home-office-visual .scene-art { filter: drop-shadow(0 5px 7px #35447022); }
[data-home-theme="classic"] .home-single .home-statement-band { background: #354781; }
[data-home-theme="classic"] .home-single .statement-full-toggle { background: #4d5f99; }
[data-home-theme="classic"] .home-single .statement-full-toggle:hover { background: var(--home-action-hover); }
[data-home-theme="classic"] .home-single .statement-full-panel {
  background: linear-gradient(120deg, #fff, #f2f4ff);
  box-shadow: 0 12px 32px #35478129;
}
[data-home-theme="classic"] .home-single #works .product-category[data-category] {
  --category: #5368c1;
  --category-pale: #e4ecff;
  --category-button: #626dca;
  background: #edf3ff;
}
[data-home-theme="classic"] .home-single #works .product-category[data-category="system"] {
  --category: #6552a7;
  --category-pale: #eae3ff;
  background: #eeeaff;
}
[data-home-theme="classic"] .home-single #works .product-category[data-category="data"] {
  --category: #397a72;
  --category-pale: #ddf1eb;
  background: #e5f5ef;
}
[data-home-theme="classic"] .home-single #works .product-category[data-category="scripts"] {
  --category: #7152a6;
  --category-pale: #eee4ff;
  background: #f2ecfc;
}
[data-home-theme="classic"] .home-single #works .product-category[data-category="content"] {
  --category: #6552a7;
  --category-pale: #eee4ff;
  background: #f4edfa;
}
[data-home-theme="classic"] .home-single #works .product-card {
  background: linear-gradient(145deg, #fff, #f8f9ff);
}
[data-home-theme="classic"] .home-single #works .product-card:hover { border-color: #a7b7eb; }
[data-home-theme="classic"] .home-single #works :is(.category-source-stats small, .category-expand, .product-preview > span, .work-search, .filters button:not(.selected)) {
  background: #f9faff;
}
[data-home-theme="classic"] .cockpit-classic.home-single #management { --major-background: #eae6f8; }
[data-home-theme="classic"] .home-single :is(.management-preview h2, .management-preview p, .management-cover, .management-links a) { color: var(--home-ink); }
[data-home-theme="classic"] .home-single :is(.management-cover, .management-links a, .infographic-button, .personal-art-button, .infographic-open) {
  border-color: var(--home-border);
  background: #f9f9ff;
  color: var(--home-action);
}
[data-home-theme="classic"] .home-single :is(.management-cover, .management-links a):hover { background: var(--home-soft); border-color: #a7b7eb; }
[data-home-theme="classic"] .home-single .quiet-support :is(.journey-step, .right-summary, .right-case, .right-method, .cockpit-ability, .cockpit-related) { background: #f6f8ff; }
[data-home-theme="classic"] .home-single .quiet-support .journey-step.active { border-color: #b4c6f2; }
[data-home-theme="classic"] .home-single #main > footer { background: #354471; color: #f0f3ff; }
[data-home-theme="classic"] .home-single #main > footer a { color: #f0f3ff; }
[data-home-theme="classic"] .home-single #main > .home-footer a:hover { color: #d5ddff; }
[data-home-theme="classic"] .home-single #infographic-viewer :is(header, footer) { background: #f5f7ff; }
