[data-bs-theme="dark"] {
  --surface-0: hsl(var(--neutral-h), 14%, 10%);
  --surface-1: hsl(var(--neutral-h), 12%, 14%);
  --surface-2: hsl(var(--neutral-h), 10%, 19%);
  --surface-3: hsl(var(--neutral-h), 9%, 28%);
  --surface-4: hsl(var(--neutral-h), 8%, 40%);
  --surface-tint: color-mix(in srgb, var(--primary-900) 8%, var(--surface-1));
  --surface-panel:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--surface-1) 96%, var(--tone-clear)) 0%,
      color-mix(in srgb, var(--surface-tint) 4%, var(--surface-1)) 54%,
      color-mix(in srgb, var(--surface-2) 88%, var(--surface-1)) 100%
    );
  --surface-panel-strong:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--surface-1) 96%, var(--tone-clear)) 0%,
      color-mix(in srgb, var(--primary-900) 4%, var(--surface-1)) 48%,
      color-mix(in srgb, var(--surface-2) 88%, var(--surface-1)) 100%
    );
  --surface-glass: color-mix(in srgb, var(--surface-1) 82%, var(--tone-clear));

  --border-color: color-mix(in srgb, var(--surface-3) 88%, var(--surface-1));
  --border-soft: color-mix(in srgb, var(--surface-3) 72%, var(--surface-1));
  --border-accent: color-mix(in srgb, var(--primary-300) 38%, var(--border-color));

  --text-strong: hsl(var(--neutral-h), 12%, 96%);
  --text-normal: hsl(var(--neutral-h), 10%, 89%);
  --text-muted: hsl(var(--neutral-h), 8%, 70%);
  --text-disabled: hsl(var(--neutral-h), 6%, 50%);
  --text-inverse: var(--tone-white);
  --enterprise-caption-glass-bg: linear-gradient(
    180deg,
    color-mix(in srgb, var(--surface-0) 8%, var(--tone-clear)) 0%,
    color-mix(in srgb, var(--surface-1) 24%, var(--tone-clear)) 30%,
    color-mix(in srgb, var(--surface-1) 58%, var(--surface-0)) 64%,
    color-mix(in srgb, var(--surface-2) 66%, var(--surface-1)) 100%
  );
  --enterprise-caption-glass-border: color-mix(in srgb, var(--primary-300) 8%, var(--surface-3));
  --enterprise-caption-glass-text: color-mix(in srgb, var(--text-normal) 84%, var(--text-muted));
  --enterprise-caption-glass-shadow: none;
  --enterprise-caption-glass-highlight: none;
  --enterprise-caption-dark-bg:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--enterprise-dark-inner-solid-bg) 92%, var(--surface-1)) 0%,
      color-mix(in srgb, var(--enterprise-dark-inner-solid-bg) 96%, var(--enterprise-dark-solid-bg)) 40%,
      color-mix(in srgb, var(--enterprise-dark-solid-bg-strong) 88%, var(--tone-black)) 100%
    );
  --enterprise-caption-dark-border:
    color-mix(in srgb, var(--tone-white) 14%, var(--enterprise-ce-dark-inner-border));
  --enterprise-caption-dark-text: var(--enterprise-ce-dark-block-text);
  --enterprise-caption-dark-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--tone-white) 10%, var(--tone-clear));
  --enterprise-home-hero-overlay: none;
  --enterprise-block-hero-overlay: none;
  --enterprise-hero-panel-bg:
    linear-gradient(
      160deg,
      color-mix(in srgb, var(--surface-0) 28%, var(--tone-clear)) 0%,
      color-mix(in srgb, var(--surface-1) 48%, var(--tone-clear)) 32%,
      color-mix(in srgb, var(--surface-0) 76%, color-mix(in srgb, var(--primary-700) 8%, var(--tone-clear))) 100%
    );
  --enterprise-hero-panel-border: color-mix(in srgb, var(--tone-white) 32%, var(--tone-clear));
  --enterprise-hero-panel-shadow:
    0 28px 62px hsla(0, 0%, 0%, 0.44),
    inset 0 1px 0 color-mix(in srgb, var(--tone-white) 18%, var(--tone-clear)),
    0 0 0 1px color-mix(in srgb, var(--tone-white) 8%, var(--tone-clear));
  --enterprise-hero-panel-ornament-bg: transparent;
  --enterprise-hero-panel-ornament-border: transparent;
  --enterprise-hero-panel-ornament-shadow: none;
  --enterprise-hero-panel-text: color-mix(in srgb, var(--tone-white) 98%, var(--primary-50));
  --enterprise-hero-panel-heading: color-mix(in srgb, var(--tone-white) 99%, var(--primary-50));
  --enterprise-hero-panel-muted: color-mix(in srgb, var(--tone-white) 93%, var(--primary-100));
  --enterprise-hero-panel-backdrop: blur(24px) saturate(168%);
  --enterprise-hero-kicker-bg:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--primary-900) 96%, var(--tone-black)) 0%,
      color-mix(in srgb, var(--surface-0) 78%, var(--primary-900)) 100%
    );
  --enterprise-hero-kicker-border: color-mix(in srgb, var(--tone-white) 18%, var(--primary-300));
  --enterprise-hero-kicker-text: color-mix(in srgb, var(--tone-white) 92%, var(--primary-100));
  --enterprise-light-solid-bg:
    color-mix(in srgb, var(--surface-2) 82%, var(--surface-1));
  --enterprise-light-solid-bg-strong:
    color-mix(in srgb, var(--surface-2) 66%, var(--surface-1));
  --enterprise-light-solid-border:
    color-mix(in srgb, var(--primary-300) 18%, var(--surface-3));
  --enterprise-dark-solid-bg:
    color-mix(in srgb, var(--surface-0) 78%, var(--primary-900));
  --enterprise-dark-solid-bg-strong:
    color-mix(in srgb, var(--surface-0) 86%, var(--primary-900));
  --enterprise-dark-solid-border:
    color-mix(in srgb, var(--primary-200) 12%, var(--enterprise-dark-solid-bg));
  --enterprise-dark-solid-heading:
    color-mix(in srgb, var(--tone-white) 94%, var(--primary-100));
  --enterprise-dark-solid-text:
    color-mix(in srgb, var(--tone-white) 90%, var(--primary-100));
  --enterprise-dark-solid-muted:
    color-mix(in srgb, var(--tone-white) 78%, var(--primary-100));
  --enterprise-dark-inner-solid-bg:
    color-mix(in srgb, var(--enterprise-dark-solid-bg) 86%, var(--surface-2));
  --enterprise-dark-inner-solid-border:
    color-mix(in srgb, var(--primary-200) 10%, var(--enterprise-dark-inner-solid-bg));
  --enterprise-ce-light-block-bg:
    linear-gradient(
      160deg,
      color-mix(in srgb, var(--enterprise-light-solid-bg) 88%, var(--tone-clear)) 0%,
      var(--enterprise-light-solid-bg) 54%,
      color-mix(in srgb, var(--enterprise-light-solid-bg-strong) 88%, var(--surface-1)) 100%
    );
  --enterprise-ce-light-block-border:
    var(--enterprise-light-solid-border);
  --enterprise-ce-dark-block-bg:
    linear-gradient(
      165deg,
      color-mix(in srgb, var(--enterprise-dark-solid-bg) 90%, var(--surface-1)) 0%,
      var(--enterprise-dark-solid-bg) 48%,
      color-mix(in srgb, var(--enterprise-dark-solid-bg-strong) 90%, var(--tone-black)) 100%
    );
  --enterprise-ce-dark-block-border:
    var(--enterprise-dark-solid-border);
  --enterprise-ce-dark-block-heading:
    var(--enterprise-dark-solid-heading);
  --enterprise-ce-dark-block-text:
    var(--enterprise-dark-solid-text);
  --enterprise-ce-dark-block-muted:
    var(--enterprise-dark-solid-muted);
  --enterprise-ce-dark-inner-bg:
    linear-gradient(
      160deg,
      color-mix(in srgb, var(--enterprise-dark-inner-solid-bg) 94%, var(--surface-2)) 0%,
      color-mix(in srgb, var(--enterprise-dark-inner-solid-bg) 86%, var(--surface-1)) 100%
    );
  --enterprise-ce-dark-inner-border:
    var(--enterprise-dark-inner-solid-border);

  --primary-100: hsl(var(--brand-h), 26%, 22%);
  --primary-500: hsl(var(--brand-h), 62%, 58%);
  --primary-600: hsl(var(--brand-h), 58%, 52%);
  --primary-700: hsl(var(--brand-h), 52%, 46%);
  --primary-800: hsl(var(--brand-h), 42%, 40%);

  --secondary-100:
    hsl(var(--secondary-h), clamp(16%, calc(var(--brand-s) - 48%), 100%), 20%);
  --secondary-500:
    hsl(var(--secondary-h), clamp(22%, calc(var(--brand-s) - 24%), 100%), 46%);
  --secondary-700:
    hsl(var(--secondary-h), clamp(26%, calc(var(--brand-s) - 18%), 100%), 78%);

  --color-primary: var(--primary-600);
  --color-primary-hover: var(--primary-500);
  --color-primary-soft: color-mix(in srgb, var(--primary-100) 74%, var(--surface-1));
  --color-primary-strong: hsl(var(--brand-h), 64%, 82%);

  --color-secondary: var(--secondary-500);
  --color-secondary-hover:
    hsl(var(--secondary-h), clamp(22%, calc(var(--brand-s) - 20%), 100%), 42%);
  --color-secondary-soft: var(--secondary-100);
  --color-secondary-strong: var(--secondary-700);
  --color-secondary-contrast: var(--text-inverse);

  --color-success-contrast: var(--tone-black);
  --color-warning-contrast: var(--tone-black);
  --color-danger-contrast: var(--tone-black);
  --color-info-contrast: var(--tone-black);
  --color-light: var(--enterprise-light-solid-bg);
  --color-light-contrast: var(--text-strong);
  --color-dark: var(--enterprise-dark-solid-bg);
  --color-dark-contrast: var(--enterprise-dark-solid-heading);
  --enterprise-card-light-surface-bg:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--enterprise-light-solid-bg) 88%, var(--tone-white)) 0%,
      color-mix(in srgb, var(--enterprise-light-solid-bg-strong) 84%, var(--enterprise-light-solid-bg)) 100%
    );
  --enterprise-card-light-border:
    color-mix(in srgb, var(--primary-300) 32%, var(--enterprise-light-solid-border));
  --enterprise-card-light-heading: hsl(var(--neutral-h), 22%, 15%);
  --enterprise-card-light-text: hsl(var(--neutral-h), 16%, 21%);
  --enterprise-card-light-muted: hsl(var(--neutral-h), 10%, 42%);
  --enterprise-card-light-link: var(--primary-500);
  --enterprise-card-light-link-hover:
    color-mix(in srgb, var(--primary-600) 88%, var(--tone-black));
  --enterprise-card-light-button-bg:
    color-mix(in srgb, var(--tone-white) 88%, var(--primary-100));
  --enterprise-card-light-button-border:
    color-mix(in srgb, var(--primary-300) 38%, var(--enterprise-light-solid-border));
  --enterprise-card-light-button-text: var(--primary-800);
  --enterprise-card-light-button-hover-bg:
    color-mix(in srgb, var(--enterprise-card-light-button-bg) 82%, var(--primary-100));
  --enterprise-card-light-button-hover-border:
    color-mix(in srgb, var(--primary-400) 36%, var(--enterprise-light-solid-border));
  --enterprise-card-feature-primary-bg:
    linear-gradient(
      160deg,
      color-mix(in srgb, var(--primary-700) 90%, var(--surface-1)) 0%,
      color-mix(in srgb, var(--primary-900) 92%, var(--tone-black)) 100%
    );
  --enterprise-card-feature-secondary-bg:
    linear-gradient(
      160deg,
      color-mix(in srgb, var(--color-secondary) 78%, var(--surface-2)) 0%,
      color-mix(in srgb, var(--color-secondary-hover) 88%, var(--primary-900)) 100%
    );
  --enterprise-card-feature-border:
    color-mix(in srgb, var(--tone-white) 20%, var(--primary-700));
  --enterprise-card-feature-border-strong:
    color-mix(in srgb, var(--tone-white) 14%, var(--color-secondary));
  --enterprise-card-feature-text:
    color-mix(in srgb, var(--tone-white) 94%, var(--primary-100));
  --enterprise-card-feature-muted:
    color-mix(in srgb, var(--tone-white) 78%, var(--primary-200));
  --enterprise-card-feature-link: var(--tone-white);
  --enterprise-card-feature-link-hover:
    color-mix(in srgb, var(--tone-white) 88%, var(--primary-100));
  --enterprise-ce-secondary-block-bg:
    linear-gradient(
      160deg,
      color-mix(in srgb, var(--color-secondary) 42%, var(--surface-1)) 0%,
      color-mix(in srgb, var(--color-secondary) 54%, var(--primary-900)) 54%,
      color-mix(in srgb, var(--color-secondary-hover) 64%, var(--tone-black)) 100%
    );
  --enterprise-ce-secondary-block-border:
    color-mix(in srgb, var(--tone-white) 12%, color-mix(in srgb, var(--color-secondary) 62%, var(--surface-3)));
  --enterprise-ce-secondary-block-heading:
    var(--enterprise-card-feature-text);
  --enterprise-ce-secondary-block-text:
    color-mix(in srgb, var(--tone-white) 90%, var(--primary-100));
  --enterprise-ce-secondary-block-muted:
    color-mix(in srgb, var(--tone-white) 76%, var(--primary-200));
  --enterprise-block-shadow-soft:
    0 14px 26px hsla(var(--shadow-h), 44%, 2%, 0.3),
    0 3px 8px hsla(var(--shadow-h), 36%, 2%, 0.22);
  --enterprise-variant-light-block-bg: var(--enterprise-reference-panel-bg-strong);
  --enterprise-variant-light-block-border: var(--enterprise-reference-panel-border);
  --enterprise-variant-light-block-heading: var(--enterprise-card-light-heading);
  --enterprise-variant-light-block-text: var(--enterprise-card-light-text);
  --enterprise-variant-light-block-muted: var(--enterprise-card-light-muted);
  --enterprise-variant-info-block-bg:
    linear-gradient(
      160deg,
      color-mix(in srgb, var(--info-500) 18%, var(--surface-1)) 0%,
      color-mix(in srgb, var(--info-100) 44%, var(--surface-1)) 44%,
      color-mix(in srgb, var(--surface-2) 88%, var(--info-100)) 100%
    );
  --enterprise-variant-info-block-border:
    color-mix(in srgb, var(--color-info) 32%, var(--surface-3));
  --enterprise-variant-info-block-heading:
    color-mix(in srgb, var(--tone-white) 92%, var(--info-100));
  --enterprise-variant-info-block-text:
    color-mix(in srgb, var(--tone-white) 86%, var(--info-100));
  --enterprise-variant-info-block-muted:
    color-mix(in srgb, var(--tone-white) 70%, var(--info-100));
  --enterprise-variant-warning-block-bg:
    linear-gradient(
      160deg,
      color-mix(in srgb, var(--warning-500) 20%, var(--surface-1)) 0%,
      color-mix(in srgb, var(--warning-100) 46%, var(--surface-1)) 44%,
      color-mix(in srgb, var(--surface-2) 88%, var(--warning-100)) 100%
    );
  --enterprise-variant-warning-block-border:
    color-mix(in srgb, var(--color-warning) 34%, var(--surface-3));
  --enterprise-variant-warning-block-heading:
    color-mix(in srgb, var(--tone-white) 92%, var(--warning-100));
  --enterprise-variant-warning-block-text:
    color-mix(in srgb, var(--tone-white) 86%, var(--warning-100));
  --enterprise-variant-warning-block-muted:
    color-mix(in srgb, var(--tone-white) 70%, var(--warning-100));
  --enterprise-variant-light-surface-bg: var(--enterprise-reference-panel-bg);
  --enterprise-variant-light-surface-border: var(--enterprise-reference-panel-border);
  --enterprise-variant-light-surface-heading: var(--enterprise-card-light-heading);
  --enterprise-variant-light-surface-text: var(--enterprise-card-light-text);
  --enterprise-variant-light-surface-muted: var(--enterprise-card-light-muted);
  --enterprise-variant-light-surface-link: var(--enterprise-reference-panel-link);
  --enterprise-variant-light-surface-link-hover: var(--enterprise-reference-panel-link-hover);
  --enterprise-variant-light-surface-accent: var(--enterprise-reference-panel-highlight);
  --enterprise-variant-info-surface-bg:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--info-500) 14%, var(--surface-1)) 0%,
      color-mix(in srgb, var(--info-100) 54%, var(--surface-1)) 52%,
      color-mix(in srgb, var(--surface-2) 90%, var(--info-100)) 100%
    );
  --enterprise-variant-info-surface-border:
    color-mix(in srgb, var(--color-info) 28%, var(--surface-3));
  --enterprise-variant-info-surface-heading:
    color-mix(in srgb, var(--tone-white) 92%, var(--info-100));
  --enterprise-variant-info-surface-text:
    color-mix(in srgb, var(--tone-white) 86%, var(--info-100));
  --enterprise-variant-info-surface-muted:
    color-mix(in srgb, var(--tone-white) 70%, var(--info-100));
  --enterprise-variant-info-surface-link:
    color-mix(in srgb, var(--tone-white) 94%, var(--info-100));
  --enterprise-variant-info-surface-link-hover: var(--tone-white);
  --enterprise-variant-info-surface-accent: var(--info-500);
  --enterprise-variant-warning-surface-bg:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--warning-500) 16%, var(--surface-1)) 0%,
      color-mix(in srgb, var(--warning-100) 56%, var(--surface-1)) 52%,
      color-mix(in srgb, var(--surface-2) 90%, var(--warning-100)) 100%
    );
  --enterprise-variant-warning-surface-border:
    color-mix(in srgb, var(--color-warning) 30%, var(--surface-3));
  --enterprise-variant-warning-surface-heading:
    color-mix(in srgb, var(--tone-white) 92%, var(--warning-100));
  --enterprise-variant-warning-surface-text:
    color-mix(in srgb, var(--tone-white) 86%, var(--warning-100));
  --enterprise-variant-warning-surface-muted:
    color-mix(in srgb, var(--tone-white) 70%, var(--warning-100));
  --enterprise-variant-warning-surface-link:
    color-mix(in srgb, var(--tone-white) 94%, var(--warning-100));
  --enterprise-variant-warning-surface-link-hover: var(--tone-white);
  --enterprise-variant-warning-surface-accent: var(--warning-500);
  --enterprise-variant-light-cta-bg:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--tone-white) 18%, var(--enterprise-light-solid-bg)) 0%,
      color-mix(in srgb, var(--enterprise-light-solid-bg-strong) 88%, var(--surface-1)) 100%
    );
  --enterprise-variant-light-cta-border:
    color-mix(in srgb, var(--primary-300) 30%, var(--surface-3));
  --enterprise-variant-light-cta-underlay:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--tone-white) 14%, var(--enterprise-light-solid-bg)) 0%,
      color-mix(in srgb, var(--enterprise-light-solid-bg-strong) 84%, var(--surface-1)) 100%
    );
  --enterprise-variant-info-cta-bg:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--info-500) 16%, var(--surface-1)) 0%,
      color-mix(in srgb, var(--surface-2) 86%, var(--info-100)) 100%
    );
  --enterprise-variant-info-cta-border:
    color-mix(in srgb, var(--color-info) 28%, var(--surface-3));
  --enterprise-variant-info-cta-underlay:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--info-500) 12%, var(--surface-1)) 0%,
      color-mix(in srgb, var(--surface-2) 82%, var(--info-100)) 100%
    );
  --enterprise-variant-warning-cta-bg:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--warning-500) 18%, var(--surface-1)) 0%,
      color-mix(in srgb, var(--surface-2) 86%, var(--warning-100)) 100%
    );
  --enterprise-variant-warning-cta-border:
    color-mix(in srgb, var(--color-warning) 30%, var(--surface-3));
  --enterprise-variant-warning-cta-underlay:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--warning-500) 14%, var(--surface-1)) 0%,
      color-mix(in srgb, var(--surface-2) 82%, var(--warning-100)) 100%
    );

  --success-100: color-mix(in srgb, var(--success-500) 20%, var(--tone-black));
  --warning-100: color-mix(in srgb, var(--warning-500) 24%, var(--tone-black));
  --danger-100: color-mix(in srgb, var(--danger-500) 20%, var(--tone-black));
  --info-100: color-mix(in srgb, var(--info-500) 20%, var(--tone-black));

  --success-700: color-mix(in srgb, var(--success-500) 62%, var(--tone-white));
  --warning-700: color-mix(in srgb, var(--warning-500) 64%, var(--tone-white));
  --danger-700: color-mix(in srgb, var(--danger-500) 62%, var(--tone-white));
  --info-700: color-mix(in srgb, var(--info-500) 64%, var(--tone-white));

  --bs-body-bg: var(--surface-0);
  --bs-body-color: var(--text-normal);
  --bs-emphasis-color: var(--text-strong);
  --bs-secondary-color: var(--text-muted);
  --bs-border-color: var(--border-color);
  --bs-tertiary-bg: color-mix(in srgb, var(--surface-2) 82%, var(--surface-1));
  --bs-secondary: var(--color-secondary);
  --bs-light: var(--color-light);
  --bs-dark: var(--color-dark);
  --bs-primary-text-emphasis: var(--color-primary-strong);
  --bs-secondary-text-emphasis: var(--color-secondary-strong);
  --bs-success-text-emphasis: var(--success-700);
  --bs-info-text-emphasis: var(--info-700);
  --bs-warning-text-emphasis: var(--warning-700);
  --bs-danger-text-emphasis: var(--danger-700);
  --bs-light-text-emphasis: var(--color-light-contrast);
  --bs-dark-text-emphasis: var(--color-dark-contrast);
  --bs-light-bg-subtle: var(--color-light);
  --bs-dark-bg-subtle: var(--color-dark);
  --bs-light-border-subtle: var(--enterprise-light-solid-border);
  --bs-dark-border-subtle: var(--enterprise-dark-solid-border);
  --bs-link-color: color-mix(in srgb, var(--color-primary-strong) 88%, var(--tone-white));
  --bs-link-hover-color: var(--tone-white);
  --bs-focus-ring-color: color-mix(in srgb, var(--color-primary) 42%, var(--tone-clear));
  --elevation-1: 0 2px 6px hsla(var(--shadow-h), 32%, 2%, 0.22);
  --elevation-2: 0 8px 24px hsla(var(--shadow-h), 36%, 2%, 0.28);
  --elevation-3: 0 20px 40px hsla(var(--shadow-h), 40%, 2%, 0.34);
}

[data-bs-theme="dark"] .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}

/* ================= QUIET PREMIUM DARK MODE ================= */

[data-bs-theme="dark"] body {
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--primary-900) 30%, var(--tone-clear)) 0%, transparent 30%),
    linear-gradient(
      180deg,
      var(--surface-0) 0%,
      color-mix(in srgb, var(--surface-0) 86%, var(--surface-1)) 52%,
      color-mix(in srgb, var(--surface-1) 88%, var(--tone-black)) 100%
    );
}

[data-bs-theme="dark"] .enterprise-content-shell {
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--surface-0) 92%, var(--surface-1)) 0%,
      color-mix(in srgb, var(--surface-0) 88%, var(--surface-1)) 38%,
      color-mix(in srgb, var(--surface-1) 90%, var(--tone-black)) 100%
    );
}

[data-bs-theme="dark"] #floatingNav .container {
  background: color-mix(in srgb, var(--surface-1) 76%, var(--tone-clear));
  border-color: color-mix(in srgb, var(--primary-300) 16%, var(--border-soft));
  box-shadow:
    0 14px 30px hsla(0, 0%, 0%, 0.28),
    0 1px 3px hsla(0, 0%, 0%, 0.18);
}

@media (min-width: 1200px) {
  [data-bs-theme="dark"] #floatingNav:not(.scrolled) .container {
    background: var(--enterprise-nav-surface-bg-floating);
  }

  [data-bs-theme="dark"] #floatingNav.scrolled .container {
    background: var(--enterprise-nav-surface-bg-sticky);
  }
}

@media (max-width: 1199.98px) {
  [data-bs-theme="dark"] #floatingNav .container {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
  }
}

[data-bs-theme="dark"] .hero::after {
  display: none;
  background: none;
}

[data-bs-theme="dark"] body.enterprise-site .ce-content-scope .ce-block-hero__overlay {
  display: none;
  background: none;
}

[data-bs-theme="dark"] .enterprise-site-footer {
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--surface-1) 90%, var(--tone-clear)) 0%,
      color-mix(in srgb, var(--surface-0) 92%, var(--surface-1)) 100%
    );
  /* border-top-color: color-mix(in srgb, var(--primary-200) 18%, var(--border-soft)); */
}

[data-bs-theme="dark"] .enterprise-site-footer hr {
  border-top-color: color-mix(in srgb, var(--primary-200) 14%, var(--border-soft));
}

[data-bs-theme="dark"] .hero-panel,
[data-bs-theme="dark"] body.enterprise-site .ce-content-scope .ce-block-hero__panel {
  background: var(--enterprise-hero-panel-bg);
  border-color: var(--enterprise-hero-panel-border);
  box-shadow: var(--enterprise-hero-panel-shadow);
  color: var(--enterprise-hero-panel-text);
  backdrop-filter: var(--enterprise-hero-panel-backdrop);
  -webkit-backdrop-filter: var(--enterprise-hero-panel-backdrop);
}

[data-bs-theme="dark"] body.enterprise-site .ce-content-scope .ce-block-copy-surface,
[data-bs-theme="dark"] body.enterprise-site .ce-content-scope .ce-block-image-text__copy,
[data-bs-theme="dark"] body.enterprise-site .ce-content-scope .ce-block-richtext,
[data-bs-theme="dark"] body.enterprise-site .ce-content-scope .ce-block-contact-form__panel,
[data-bs-theme="dark"] body.enterprise-site .ce-content-scope .ce-block-contact-card,
[data-bs-theme="dark"] body.enterprise-site .ce-content-scope .ce-block-surface,
[data-bs-theme="dark"] body.enterprise-site .ce-content-scope .ce-block-section--announcements .card,
[data-bs-theme="dark"] body.enterprise-site .ce-content-scope .ce-plugin-block--faq .accordion,
[data-bs-theme="dark"] body.enterprise-site .ce-content-scope .ce-plugin-block--blog .ce-blog-overview-panel,
[data-bs-theme="dark"] body.enterprise-site .ce-content-scope .ce-plugin-block--blog .ce-blog-view-article,
[data-bs-theme="dark"] body.enterprise-site .ce-content-scope .ce-plugin-block--newsletter .ce-block-copy-surface {
  background:
    linear-gradient(
      160deg,
      color-mix(in srgb, var(--enterprise-light-solid-bg) 90%, var(--tone-clear)) 0%,
      var(--enterprise-light-solid-bg) 54%,
      color-mix(in srgb, var(--enterprise-light-solid-bg-strong) 86%, var(--surface-1)) 100%
    );
  border-color: var(--enterprise-light-solid-border);
}

[data-bs-theme="dark"] body.enterprise-site .ce-content-scope .ce-block-section.bg-dark .ce-block-copy-surface,
[data-bs-theme="dark"] body.enterprise-site .ce-content-scope .ce-block-section.bg-dark .ce-block-image-text__copy,
[data-bs-theme="dark"] body.enterprise-site .ce-content-scope .ce-block-section.bg-dark .ce-block-richtext,
[data-bs-theme="dark"] body.enterprise-site .ce-content-scope .ce-block-section.bg-dark .ce-block-contact-form__panel,
[data-bs-theme="dark"] body.enterprise-site .ce-content-scope .ce-block-section.bg-dark .ce-block-contact-card,
[data-bs-theme="dark"] body.enterprise-site .ce-content-scope .ce-block-section.bg-dark .ce-block-surface,
[data-bs-theme="dark"] body.enterprise-site .ce-content-scope .ce-block-section.bg-dark .ce-block-card,
[data-bs-theme="dark"] body.enterprise-site .ce-content-scope .ce-plugin-block.bg-dark .ce-block-copy-surface,
[data-bs-theme="dark"] body.enterprise-site .ce-content-scope .ce-plugin-block.bg-dark .ce-block-image-text__copy,
[data-bs-theme="dark"] body.enterprise-site .ce-content-scope .ce-plugin-block.bg-dark .ce-block-richtext,
[data-bs-theme="dark"] body.enterprise-site .ce-content-scope .ce-plugin-block.bg-dark .ce-block-contact-form__panel,
[data-bs-theme="dark"] body.enterprise-site .ce-content-scope .ce-plugin-block.bg-dark .ce-block-contact-card,
[data-bs-theme="dark"] body.enterprise-site .ce-content-scope .ce-plugin-block.bg-dark .ce-block-surface,
[data-bs-theme="dark"] body.enterprise-site .ce-content-scope .ce-plugin-block.bg-dark .ce-block-card {
  background: var(--enterprise-ce-dark-inner-bg);
  border-color: var(--enterprise-ce-dark-inner-border) !important;
}

[data-bs-theme="dark"] body.enterprise-site .ce-content-scope .ce-block-cta {
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--primary-900) 14%, var(--surface-1)) 0%,
      color-mix(in srgb, var(--surface-1) 94%, var(--surface-2)) 100%
    );
}

[data-bs-theme="dark"] body.enterprise-site .ce-content-scope .ce-block-cta::before {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--primary-900) 10%, var(--surface-1)) 0%, color-mix(in srgb, var(--surface-1) 92%, var(--surface-2)) 100%);
}

[data-bs-theme="dark"] body.enterprise-site .ce-content-scope .ce-plugin-block--blog .ce-blog-card,
[data-bs-theme="dark"] body.enterprise-site .ce-content-scope .enterprise-cards-card,
[data-bs-theme="dark"] body.enterprise-site .ce-content-scope .ce-plugin-block--hostel-summary .ce-block-card,
[data-bs-theme="dark"] body.enterprise-site .ce-content-scope .ce-plugin-block--hostel-location .ce-block-card,
[data-bs-theme="dark"] body.enterprise-site .ce-content-scope .ce-plugin-block--hostel-poi .ce-block-card,
[data-bs-theme="dark"] body.enterprise-site .ce-content-scope .ce-plugin-block--hostel-details .ce-block-card,
[data-bs-theme="dark"] body.enterprise-site .ce-content-scope .ce-plugin-block--hostel-facilities .ce-block-card {
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--surface-1) 94%, var(--tone-clear)) 0%,
      color-mix(in srgb, var(--primary-900) 8%, var(--surface-1)) 100%
    );
  border-color: var(--border-soft);
}

[data-bs-theme="dark"] body.enterprise-site .ce-content-scope .enterprise-cards-card.bg-light,
[data-bs-theme="dark"] body.enterprise-site .ce-content-scope .enterprise-cards-card.bg-transparent {
  background: var(--enterprise-card-light-surface-bg) !important;
  border-color: var(--enterprise-card-light-border) !important;
  color: var(--enterprise-card-light-text) !important;
}

[data-bs-theme="dark"] body.enterprise-site .ce-content-scope .enterprise-cards-card.bg-primary {
  background: var(--enterprise-card-feature-primary-bg) !important;
  border-color: var(--enterprise-card-feature-border) !important;
  color: var(--enterprise-card-feature-text) !important;
}

[data-bs-theme="dark"] body.enterprise-site .ce-content-scope .enterprise-cards-card.bg-secondary {
  background: var(--enterprise-card-feature-secondary-bg) !important;
  border-color: var(--enterprise-card-feature-border-strong) !important;
  color: var(--enterprise-card-feature-text) !important;
}

[data-bs-theme="dark"] body.enterprise-site .ce-content-scope .ce-plugin-block--newsletter .ce-block-copy-surface {
  background: var(--surface-panel-strong);
  border-color: color-mix(in srgb, var(--primary-300) 16%, var(--border-soft));
}

/* Keep utility text classes readable on card families that switch to dark surfaces in dark mode. */
[data-bs-theme="dark"] body.enterprise-site .ce-content-scope :is(
  .ce-block-section--announcements .card,
  .ce-plugin-block--blog .ce-blog-card,
  .ce-plugin-block--blog .ce-blog-overview-panel,
  .ce-plugin-block--blog .ce-blog-view-article,
  .ce-plugin-block--hostel-summary .ce-block-card,
  .ce-plugin-block--hostel-location .ce-block-card,
  .ce-plugin-block--hostel-poi .ce-block-card,
  .ce-plugin-block--hostel-details .ce-block-card,
  .ce-plugin-block--hostel-facilities .ce-block-card
) {
  color: var(--text-normal);
}

[data-bs-theme="dark"] body.enterprise-site .ce-content-scope :is(
  .ce-block-section--announcements .card,
  .ce-plugin-block--blog .ce-blog-card,
  .ce-plugin-block--blog .ce-blog-overview-panel,
  .ce-plugin-block--blog .ce-blog-view-article,
  .ce-plugin-block--hostel-summary .ce-block-card,
  .ce-plugin-block--hostel-location .ce-block-card,
  .ce-plugin-block--hostel-poi .ce-block-card,
  .ce-plugin-block--hostel-details .ce-block-card,
  .ce-plugin-block--hostel-facilities .ce-block-card
) :is(.card-title, h3, .enterprise-cards-card__title),
[data-bs-theme="dark"] body.enterprise-site .ce-content-scope :is(
  .ce-block-section--announcements .card,
  .ce-plugin-block--blog .ce-blog-card,
  .ce-plugin-block--blog .ce-blog-overview-panel,
  .ce-plugin-block--blog .ce-blog-view-article,
  .ce-plugin-block--hostel-summary .ce-block-card,
  .ce-plugin-block--hostel-location .ce-block-card,
  .ce-plugin-block--hostel-poi .ce-block-card,
  .ce-plugin-block--hostel-details .ce-block-card,
  .ce-plugin-block--hostel-facilities .ce-block-card
) :is(.card-title, h3, .enterprise-cards-card__title).text-white,
[data-bs-theme="dark"] body.enterprise-site .ce-content-scope :is(
  .ce-block-section--announcements .card,
  .ce-plugin-block--blog .ce-blog-card,
  .ce-plugin-block--blog .ce-blog-overview-panel,
  .ce-plugin-block--blog .ce-blog-view-article,
  .ce-plugin-block--hostel-summary .ce-block-card,
  .ce-plugin-block--hostel-location .ce-block-card,
  .ce-plugin-block--hostel-poi .ce-block-card,
  .ce-plugin-block--hostel-details .ce-block-card,
  .ce-plugin-block--hostel-facilities .ce-block-card
) :is(.card-title, h3, .enterprise-cards-card__title).text-light {
  color: var(--text-strong) !important;
}

[data-bs-theme="dark"] body.enterprise-site .ce-content-scope :is(
  .ce-block-section--announcements .card,
  .ce-plugin-block--blog .ce-blog-card,
  .ce-plugin-block--blog .ce-blog-overview-panel,
  .ce-plugin-block--blog .ce-blog-view-article,
  .ce-plugin-block--hostel-summary .ce-block-card,
  .ce-plugin-block--hostel-location .ce-block-card,
  .ce-plugin-block--hostel-poi .ce-block-card,
  .ce-plugin-block--hostel-details .ce-block-card,
  .ce-plugin-block--hostel-facilities .ce-block-card
) :is(.ce-block-copy, .card-text, .enterprise-cards-card__copy) {
  color: inherit;
}

[data-bs-theme="dark"] body.enterprise-site .ce-content-scope :is(
  .ce-block-section--announcements .card,
  .ce-plugin-block--blog .ce-blog-card,
  .ce-plugin-block--blog .ce-blog-overview-panel,
  .ce-plugin-block--blog .ce-blog-view-article,
  .ce-plugin-block--hostel-summary .ce-block-card,
  .ce-plugin-block--hostel-location .ce-block-card,
  .ce-plugin-block--hostel-poi .ce-block-card,
  .ce-plugin-block--hostel-details .ce-block-card,
  .ce-plugin-block--hostel-facilities .ce-block-card
) :is(p, li, ul, ol) {
  color: inherit !important;
}

[data-bs-theme="dark"] body.enterprise-site .ce-content-scope :is(
  .ce-block-section--announcements .card,
  .ce-plugin-block--blog .ce-blog-card,
  .ce-plugin-block--blog .ce-blog-overview-panel,
  .ce-plugin-block--blog .ce-blog-view-article,
  .ce-plugin-block--hostel-summary .ce-block-card,
  .ce-plugin-block--hostel-location .ce-block-card,
  .ce-plugin-block--hostel-poi .ce-block-card,
  .ce-plugin-block--hostel-details .ce-block-card,
  .ce-plugin-block--hostel-facilities .ce-block-card
) :is(strong, em) {
  color: var(--text-strong) !important;
}

[data-bs-theme="dark"] body.enterprise-site .ce-content-scope :is(
  .ce-block-section--announcements .card,
  .ce-plugin-block--blog .ce-blog-card,
  .ce-plugin-block--blog .ce-blog-overview-panel,
  .ce-plugin-block--blog .ce-blog-view-article,
  .ce-plugin-block--hostel-summary .ce-block-card,
  .ce-plugin-block--hostel-location .ce-block-card,
  .ce-plugin-block--hostel-poi .ce-block-card,
  .ce-plugin-block--hostel-details .ce-block-card,
  .ce-plugin-block--hostel-facilities .ce-block-card
) a:not(.btn):not([class*="btn-"]) {
  color: var(--bs-link-color) !important;
}

[data-bs-theme="dark"] body.enterprise-site .ce-content-scope :is(
  .ce-block-section--announcements .card,
  .ce-plugin-block--blog .ce-blog-card,
  .ce-plugin-block--blog .ce-blog-overview-panel,
  .ce-plugin-block--blog .ce-blog-view-article,
  .ce-plugin-block--hostel-summary .ce-block-card,
  .ce-plugin-block--hostel-location .ce-block-card,
  .ce-plugin-block--hostel-poi .ce-block-card,
  .ce-plugin-block--hostel-details .ce-block-card,
  .ce-plugin-block--hostel-facilities .ce-block-card
) a:not(.btn):not([class*="btn-"]):hover,
[data-bs-theme="dark"] body.enterprise-site .ce-content-scope :is(
  .ce-block-section--announcements .card,
  .ce-plugin-block--blog .ce-blog-card,
  .ce-plugin-block--blog .ce-blog-overview-panel,
  .ce-plugin-block--blog .ce-blog-view-article,
  .ce-plugin-block--hostel-summary .ce-block-card,
  .ce-plugin-block--hostel-location .ce-block-card,
  .ce-plugin-block--hostel-poi .ce-block-card,
  .ce-plugin-block--hostel-details .ce-block-card,
  .ce-plugin-block--hostel-facilities .ce-block-card
) a:not(.btn):not([class*="btn-"]):focus-visible {
  color: var(--bs-link-hover-color) !important;
}

[data-bs-theme="dark"] body.enterprise-site .ce-content-scope :is(
  .ce-block-section--announcements .card,
  .ce-plugin-block--blog .ce-blog-card,
  .ce-plugin-block--blog .ce-blog-overview-panel,
  .ce-plugin-block--blog .ce-blog-view-article,
  .ce-plugin-block--hostel-summary .ce-block-card,
  .ce-plugin-block--hostel-location .ce-block-card,
  .ce-plugin-block--hostel-poi .ce-block-card,
  .ce-plugin-block--hostel-details .ce-block-card,
  .ce-plugin-block--hostel-facilities .ce-block-card
) :is(.text-white, .text-light) {
  color: inherit !important;
}

[data-bs-theme="dark"] body.enterprise-site .ce-content-scope :is(
  .ce-block-section--announcements .card,
  .ce-plugin-block--blog .ce-blog-card,
  .ce-plugin-block--blog .ce-blog-overview-panel,
  .ce-plugin-block--blog .ce-blog-view-article,
  .ce-plugin-block--hostel-summary .ce-block-card,
  .ce-plugin-block--hostel-location .ce-block-card,
  .ce-plugin-block--hostel-poi .ce-block-card,
  .ce-plugin-block--hostel-details .ce-block-card,
  .ce-plugin-block--hostel-facilities .ce-block-card
) .link-light {
  color: var(--bs-link-color) !important;
}

[data-bs-theme="dark"] body.enterprise-site .ce-content-scope :is(
  .ce-block-section--announcements .card,
  .ce-plugin-block--blog .ce-blog-card,
  .ce-plugin-block--blog .ce-blog-overview-panel,
  .ce-plugin-block--blog .ce-blog-view-article,
  .ce-plugin-block--hostel-summary .ce-block-card,
  .ce-plugin-block--hostel-location .ce-block-card,
  .ce-plugin-block--hostel-poi .ce-block-card,
  .ce-plugin-block--hostel-details .ce-block-card,
  .ce-plugin-block--hostel-facilities .ce-block-card
) .link-light:hover,
[data-bs-theme="dark"] body.enterprise-site .ce-content-scope :is(
  .ce-block-section--announcements .card,
  .ce-plugin-block--blog .ce-blog-card,
  .ce-plugin-block--blog .ce-blog-overview-panel,
  .ce-plugin-block--blog .ce-blog-view-article,
  .ce-plugin-block--hostel-summary .ce-block-card,
  .ce-plugin-block--hostel-location .ce-block-card,
  .ce-plugin-block--hostel-poi .ce-block-card,
  .ce-plugin-block--hostel-details .ce-block-card,
  .ce-plugin-block--hostel-facilities .ce-block-card
) .link-light:focus-visible {
  color: var(--bs-link-hover-color) !important;
}

[data-bs-theme="dark"] body.enterprise-site .ce-content-scope :is(
  .ce-block-section--announcements .card,
  .ce-plugin-block--blog .ce-blog-card,
  .ce-plugin-block--blog .ce-blog-overview-panel,
  .ce-plugin-block--blog .ce-blog-view-article,
  .ce-plugin-block--hostel-summary .ce-block-card,
  .ce-plugin-block--hostel-location .ce-block-card,
  .ce-plugin-block--hostel-poi .ce-block-card,
  .ce-plugin-block--hostel-details .ce-block-card,
  .ce-plugin-block--hostel-facilities .ce-block-card
) :is(.text-muted, .text-white-50, .ce-block-muted-text, .text-body-secondary) {
  color: var(--text-muted) !important;
}

[data-bs-theme="dark"] body.enterprise-site .enterprise-nav-menu .nav-link:hover,
[data-bs-theme="dark"] body.enterprise-site .enterprise-nav-menu .nav-link:focus-visible,
[data-bs-theme="dark"] body.enterprise-site .enterprise-nav-menu .enterprise-nav-toggle:hover,
[data-bs-theme="dark"] body.enterprise-site .enterprise-nav-menu .enterprise-nav-toggle:focus-visible,
[data-bs-theme="dark"] body.enterprise-site .enterprise-nav-menu .enterprise-dropdown-item:hover,
[data-bs-theme="dark"] body.enterprise-site .enterprise-nav-menu .enterprise-dropdown-item:focus-visible {
  background: color-mix(in srgb, var(--primary-100) 46%, var(--surface-1));
  color: var(--color-primary-strong);
}

[data-bs-theme="dark"] body.enterprise-site .enterprise-nav-menu .nav-link.active,
[data-bs-theme="dark"] body.enterprise-site .enterprise-nav-menu .enterprise-nav-toggle.active,
[data-bs-theme="dark"] body.enterprise-site .enterprise-nav-menu > .enterprise-mode-item.show > .enterprise-mode-toggle,
[data-bs-theme="dark"] body.enterprise-site .enterprise-nav-menu > .enterprise-nav-dropdown.show > .enterprise-nav-toggle {
  background: color-mix(in srgb, var(--primary-100) 42%, var(--surface-1));
  border-color: color-mix(in srgb, var(--primary-300) 26%, var(--border-soft));
  color: var(--color-primary-strong);
}

[data-bs-theme="dark"] body.enterprise-site .ce-content-scope .ce-plugin-block--hostel-location .ce-block-card h3,
[data-bs-theme="dark"] body.enterprise-site .ce-content-scope .ce-plugin-block--hostel-location .ce-block-card .bi,
[data-bs-theme="dark"] body.enterprise-site .ce-content-scope .ce-plugin-block--blog .ce-blog-card__meta i,
[data-bs-theme="dark"] body.enterprise-site .ce-content-scope .ce-plugin-block--blog .ce-blog-view-article .text-muted i {
  color: var(--color-primary-strong) !important;
}

[data-bs-theme="dark"] body.enterprise-site .ce-content-scope :is(
  .ce-block-card-grid .ce-block-card:not(.bg-transparent),
  .enterprise-cards-card:not(.bg-transparent)
) {
  background: var(--enterprise-card-surface-bg) !important;
  border-color: var(--enterprise-card-surface-border) !important;
  color: var(--enterprise-card-surface-text) !important;
  box-shadow: var(--enterprise-block-shadow-soft);
}

[data-bs-theme="dark"] body.enterprise-site .ce-content-scope :is(
  .ce-block-card-grid .ce-block-card:not(.bg-transparent),
  .enterprise-cards-card:not(.bg-transparent)
)::before {
  background:
    linear-gradient(
      90deg,
      color-mix(in srgb, var(--enterprise-card-surface-accent) 58%, var(--tone-white)) 0%,
      color-mix(in srgb, var(--enterprise-card-surface-accent) 18%, var(--tone-white)) 58%,
      var(--tone-clear) 100%
    );
}

[data-bs-theme="dark"] body.enterprise-site .ce-content-scope :is(
  .ce-block-card-grid .ce-block-card:not(.bg-transparent),
  .enterprise-cards-card:not(.bg-transparent)
):hover,
[data-bs-theme="dark"] body.enterprise-site .ce-content-scope :is(
  .ce-block-card-grid .ce-block-card:not(.bg-transparent),
  .enterprise-cards-card:not(.bg-transparent)
):focus-within {
  border-color:
    color-mix(in srgb, var(--enterprise-card-surface-accent) 42%, var(--enterprise-card-surface-border)) !important;
  box-shadow: var(--enterprise-block-shadow-soft);
}

[data-bs-theme="dark"] body.enterprise-site .ce-content-scope :is(
  .ce-block-card-grid .ce-block-card:not(.bg-transparent),
  .enterprise-cards-card:not(.bg-transparent)
) :is(.card-title, h3, .enterprise-cards-card__title) {
  color: var(--enterprise-card-surface-heading) !important;
}

[data-bs-theme="dark"] body.enterprise-site .ce-content-scope :is(
  .ce-block-card-grid .ce-block-card:not(.bg-transparent),
  .enterprise-cards-card:not(.bg-transparent)
) :is(.ce-block-copy, .card-text, .enterprise-cards-card__copy) {
  color: var(--enterprise-card-surface-text) !important;
}

[data-bs-theme="dark"] body.enterprise-site .ce-content-scope :is(
  .ce-block-card-grid .ce-block-card:not(.bg-transparent),
  .enterprise-cards-card:not(.bg-transparent)
) a:not(.btn):not([class*="btn-"]) {
  color: var(--enterprise-card-surface-link) !important;
}

[data-bs-theme="dark"] body.enterprise-site .ce-content-scope :is(
  .ce-block-card-grid .ce-block-card:not(.bg-transparent),
  .enterprise-cards-card:not(.bg-transparent)
) a:not(.btn):not([class*="btn-"]):hover,
[data-bs-theme="dark"] body.enterprise-site .ce-content-scope :is(
  .ce-block-card-grid .ce-block-card:not(.bg-transparent),
  .enterprise-cards-card:not(.bg-transparent)
) a:not(.btn):not([class*="btn-"]):focus-visible {
  color: var(--enterprise-card-surface-link-hover) !important;
}

[data-bs-theme="dark"] body.enterprise-site .ce-content-scope :is(
  .ce-block-card-grid .ce-block-card:not(.bg-transparent),
  .enterprise-cards-card:not(.bg-transparent)
) :is(.text-white, .text-light) {
  color: var(--enterprise-card-surface-text) !important;
}

[data-bs-theme="dark"] body.enterprise-site .ce-content-scope :is(
  .ce-block-card-grid .ce-block-card:not(.bg-transparent),
  .enterprise-cards-card:not(.bg-transparent)
) :is(.text-muted, .text-white-50, .ce-block-muted-text, .text-body-secondary) {
  color: var(--enterprise-card-surface-muted) !important;
}

[data-bs-theme="dark"] body.enterprise-site .ce-content-scope :is(
  .ce-block-card-grid .ce-block-card.bg-light,
  .enterprise-cards-card.bg-light,
  .ce-block-card-grid .ce-block-card.bg-info,
  .enterprise-cards-card.bg-info,
  .ce-block-card-grid .ce-block-card.bg-warning,
  .enterprise-cards-card.bg-warning
) :is(.ce-block-actions, .enterprise-cards-card__actions) :is(.btn-outline-dark, .btn-light) {
  background:
    color-mix(in srgb, var(--tone-white) 18%, var(--enterprise-card-surface-accent)) !important;
  border-color:
    color-mix(in srgb, var(--enterprise-card-surface-accent) 34%, var(--enterprise-card-surface-border)) !important;
  color: var(--enterprise-card-surface-heading) !important;
}

[data-bs-theme="dark"] body.enterprise-site .ce-content-scope :is(
  .ce-block-card-grid .ce-block-card.bg-light,
  .enterprise-cards-card.bg-light,
  .ce-block-card-grid .ce-block-card.bg-info,
  .enterprise-cards-card.bg-info,
  .ce-block-card-grid .ce-block-card.bg-warning,
  .enterprise-cards-card.bg-warning
) :is(.ce-block-actions, .enterprise-cards-card__actions) :is(.btn-outline-dark, .btn-light):hover,
[data-bs-theme="dark"] body.enterprise-site .ce-content-scope :is(
  .ce-block-card-grid .ce-block-card.bg-light,
  .enterprise-cards-card.bg-light,
  .ce-block-card-grid .ce-block-card.bg-info,
  .enterprise-cards-card.bg-info,
  .ce-block-card-grid .ce-block-card.bg-warning,
  .enterprise-cards-card.bg-warning
) :is(.ce-block-actions, .enterprise-cards-card__actions) :is(.btn-outline-dark, .btn-light):focus-visible {
  background:
    color-mix(in srgb, var(--tone-white) 24%, var(--enterprise-card-surface-accent)) !important;
  border-color:
    color-mix(in srgb, var(--enterprise-card-surface-accent) 42%, var(--enterprise-card-surface-border)) !important;
  color: var(--enterprise-card-surface-heading) !important;
}

[data-bs-theme="dark"] body.enterprise-site .ce-content-scope .ce-block-cta:is(.bg-primary, .bg-secondary, .bg-success, .bg-info, .bg-warning, .bg-danger, .bg-light, .bg-dark) {
  background: var(--enterprise-cta-surface-bg);
  border-color: var(--enterprise-cta-surface-border);
  box-shadow: var(--enterprise-block-shadow-soft);
}

[data-bs-theme="dark"] body.enterprise-site .ce-content-scope .ce-block-cta:is(.bg-primary, .bg-secondary, .bg-success, .bg-info, .bg-warning, .bg-danger, .bg-light, .bg-dark):not(.ce-block-cta--has-background-image)::before {
  background: var(--enterprise-cta-surface-underlay);
}

[data-bs-theme="dark"] .dropdown-menu,
[data-bs-theme="dark"] .popover,
[data-bs-theme="dark"] .modal-content,
[data-bs-theme="dark"] .card {
  background: var(--enterprise-reference-panel-bg);
  border-color: var(--enterprise-reference-panel-border);
  box-shadow: var(--enterprise-reference-panel-shadow);
}

[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-select,
[data-bs-theme="dark"] .input-group-text,
[data-bs-theme="dark"] .navbar-toggler {
  background: var(--surface-1);
  border-color: var(--enterprise-reference-panel-border);
}

[data-bs-theme="dark"] body.enterprise-site .ce-content-scope :is(
  .ce-block-section,
  .ce-plugin-block,
  .ce-block-hero,
  .ce-block-spacer
):is(.bg-light, .bg-info, .bg-warning) {
  background: var(--enterprise-reference-panel-bg-strong);
  border-color: var(--enterprise-reference-panel-border) !important;
  color: var(--enterprise-reference-panel-text);
}

[data-bs-theme="dark"] body.enterprise-site .ce-content-scope :is(
  .ce-block-section,
  .ce-plugin-block,
  .ce-block-hero,
  .ce-block-spacer
):is(.bg-primary, .bg-secondary, .bg-success, .bg-danger, .bg-dark) {
  background: var(--enterprise-reference-dark-bg);
  border-color: var(--enterprise-reference-dark-border) !important;
  color: var(--enterprise-reference-dark-text);
}

[data-bs-theme="dark"] body.enterprise-site .ce-content-scope :is(
  .ce-block-copy-surface,
  .ce-block-image-text__copy,
  .ce-block-richtext,
  .ce-block-contact-form__panel,
  .ce-block-contact-card,
  .ce-block-surface,
  .ce-block-section--announcements .card,
  .ce-plugin-block--blog .ce-blog-card,
  .ce-plugin-block--blog .ce-blog-overview-panel,
  .ce-plugin-block--blog .ce-blog-view-article,
  .ce-plugin-block--newsletter .ce-block-copy-surface,
  .ce-plugin-block--hostel-summary .ce-block-card,
  .ce-plugin-block--hostel-location .ce-block-card,
  .ce-plugin-block--hostel-poi .ce-block-card,
  .ce-plugin-block--hostel-details .ce-block-card,
  .ce-plugin-block--hostel-facilities .ce-block-card,
  .ce-block-card:not(.bg-primary):not(.bg-secondary):not(.bg-success):not(.bg-info):not(.bg-warning):not(.bg-danger):not(.bg-dark),
  .enterprise-cards-card:not(.bg-primary):not(.bg-secondary):not(.bg-success):not(.bg-info):not(.bg-warning):not(.bg-danger):not(.bg-dark)
) {
  background: var(--enterprise-reference-panel-bg) !important;
  border-color: var(--enterprise-reference-panel-border) !important;
  color: var(--enterprise-reference-panel-text);
}

[data-bs-theme="dark"] body.enterprise-site .ce-content-scope :is(
  .ce-block-copy-surface,
  .ce-block-image-text__copy,
  .ce-block-richtext,
  .ce-block-contact-form__panel,
  .ce-block-contact-card,
  .ce-block-surface,
  .ce-block-section--announcements .card,
  .ce-plugin-block--blog .ce-blog-card,
  .ce-plugin-block--blog .ce-blog-overview-panel,
  .ce-plugin-block--blog .ce-blog-view-article,
  .ce-plugin-block--newsletter .ce-block-copy-surface,
  .ce-plugin-block--hostel-summary .ce-block-card,
  .ce-plugin-block--hostel-location .ce-block-card,
  .ce-plugin-block--hostel-poi .ce-block-card,
  .ce-plugin-block--hostel-details .ce-block-card,
  .ce-plugin-block--hostel-facilities .ce-block-card,
  .ce-block-card:not(.bg-primary):not(.bg-secondary):not(.bg-success):not(.bg-info):not(.bg-warning):not(.bg-danger):not(.bg-dark),
  .enterprise-cards-card:not(.bg-primary):not(.bg-secondary):not(.bg-success):not(.bg-info):not(.bg-warning):not(.bg-danger):not(.bg-dark)
) :is(
  .ce-block-section__header :is(.display-4, .display-5, .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6),
  .card-title,
  h3,
  .enterprise-cards-card__title,
  .ce-blog-card__title
) {
  color: var(--enterprise-reference-panel-heading) !important;
}

[data-bs-theme="dark"] body.enterprise-site .ce-content-scope :is(
  .ce-block-copy-surface,
  .ce-block-image-text__copy,
  .ce-block-richtext,
  .ce-block-contact-form__panel,
  .ce-block-contact-card,
  .ce-block-surface,
  .ce-block-section--announcements .card,
  .ce-plugin-block--blog .ce-blog-card,
  .ce-plugin-block--blog .ce-blog-overview-panel,
  .ce-plugin-block--blog .ce-blog-view-article,
  .ce-plugin-block--newsletter .ce-block-copy-surface,
  .ce-plugin-block--hostel-summary .ce-block-card,
  .ce-plugin-block--hostel-location .ce-block-card,
  .ce-plugin-block--hostel-poi .ce-block-card,
  .ce-plugin-block--hostel-details .ce-block-card,
  .ce-plugin-block--hostel-facilities .ce-block-card,
  .ce-block-card:not(.bg-primary):not(.bg-secondary):not(.bg-success):not(.bg-info):not(.bg-warning):not(.bg-danger):not(.bg-dark),
  .enterprise-cards-card:not(.bg-primary):not(.bg-secondary):not(.bg-success):not(.bg-info):not(.bg-warning):not(.bg-danger):not(.bg-dark)
) :is(
  .ce-block-section__header :is(.text-white, .text-light),
  .card-title.text-white,
  .card-title.text-light,
  h3.text-white,
  h3.text-light,
  .enterprise-cards-card__title.text-white,
  .enterprise-cards-card__title.text-light,
  .ce-blog-card__title.text-white,
  .ce-blog-card__title.text-light
) {
  color: var(--enterprise-reference-panel-heading) !important;
}

[data-bs-theme="dark"] body.enterprise-site .ce-content-scope :is(
  .ce-block-copy-surface,
  .ce-block-image-text__copy,
  .ce-block-richtext,
  .ce-block-contact-form__panel,
  .ce-block-contact-card,
  .ce-block-surface,
  .ce-block-section--announcements .card,
  .ce-plugin-block--blog .ce-blog-card,
  .ce-plugin-block--blog .ce-blog-overview-panel,
  .ce-plugin-block--blog .ce-blog-view-article,
  .ce-plugin-block--newsletter .ce-block-copy-surface,
  .ce-plugin-block--hostel-summary .ce-block-card,
  .ce-plugin-block--hostel-location .ce-block-card,
  .ce-plugin-block--hostel-poi .ce-block-card,
  .ce-plugin-block--hostel-details .ce-block-card,
  .ce-plugin-block--hostel-facilities .ce-block-card,
  .ce-block-card:not(.bg-primary):not(.bg-secondary):not(.bg-success):not(.bg-info):not(.bg-warning):not(.bg-danger):not(.bg-dark),
  .enterprise-cards-card:not(.bg-primary):not(.bg-secondary):not(.bg-success):not(.bg-info):not(.bg-warning):not(.bg-danger):not(.bg-dark)
) :is(.ce-block-copy, .card-text, .enterprise-cards-card__copy, .ce-blog-card__preview, .blog-entry-content) {
  color: var(--enterprise-reference-panel-text) !important;
}

[data-bs-theme="dark"] body.enterprise-site .ce-content-scope :is(
  .ce-block-copy-surface,
  .ce-block-image-text__copy,
  .ce-block-richtext,
  .ce-block-contact-form__panel,
  .ce-block-contact-card,
  .ce-block-surface,
  .ce-block-section--announcements .card,
  .ce-plugin-block--blog .ce-blog-card,
  .ce-plugin-block--blog .ce-blog-overview-panel,
  .ce-plugin-block--blog .ce-blog-view-article,
  .ce-plugin-block--newsletter .ce-block-copy-surface,
  .ce-plugin-block--hostel-summary .ce-block-card,
  .ce-plugin-block--hostel-location .ce-block-card,
  .ce-plugin-block--hostel-poi .ce-block-card,
  .ce-plugin-block--hostel-details .ce-block-card,
  .ce-plugin-block--hostel-facilities .ce-block-card,
  .ce-block-card:not(.bg-primary):not(.bg-secondary):not(.bg-success):not(.bg-info):not(.bg-warning):not(.bg-danger):not(.bg-dark),
  .enterprise-cards-card:not(.bg-primary):not(.bg-secondary):not(.bg-success):not(.bg-info):not(.bg-warning):not(.bg-danger):not(.bg-dark)
) :is(.text-muted, .text-white-50, .ce-block-muted-text, .text-body-secondary, .ce-blog-card__meta, .small:not(a)) {
  color: var(--enterprise-reference-panel-muted) !important;
}

[data-bs-theme="dark"] body.enterprise-site .ce-content-scope :is(
  .ce-block-copy-surface,
  .ce-block-image-text__copy,
  .ce-block-richtext,
  .ce-block-contact-form__panel,
  .ce-block-contact-card,
  .ce-block-surface,
  .ce-block-section--announcements .card,
  .ce-plugin-block--blog .ce-blog-card,
  .ce-plugin-block--blog .ce-blog-overview-panel,
  .ce-plugin-block--blog .ce-blog-view-article,
  .ce-plugin-block--newsletter .ce-block-copy-surface,
  .ce-plugin-block--hostel-summary .ce-block-card,
  .ce-plugin-block--hostel-location .ce-block-card,
  .ce-plugin-block--hostel-poi .ce-block-card,
  .ce-plugin-block--hostel-details .ce-block-card,
  .ce-plugin-block--hostel-facilities .ce-block-card,
  .ce-block-card:not(.bg-primary):not(.bg-secondary):not(.bg-success):not(.bg-info):not(.bg-warning):not(.bg-danger):not(.bg-dark),
  .enterprise-cards-card:not(.bg-primary):not(.bg-secondary):not(.bg-success):not(.bg-info):not(.bg-warning):not(.bg-danger):not(.bg-dark)
) :is(.text-white, .text-light) {
  color: var(--enterprise-reference-panel-text) !important;
}

[data-bs-theme="dark"] body.enterprise-site .ce-content-scope :is(
  .ce-block-copy-surface,
  .ce-block-image-text__copy,
  .ce-block-richtext,
  .ce-block-contact-form__panel,
  .ce-block-contact-card,
  .ce-block-surface,
  .ce-block-section--announcements .card,
  .ce-plugin-block--blog .ce-blog-card,
  .ce-plugin-block--blog .ce-blog-overview-panel,
  .ce-plugin-block--blog .ce-blog-view-article,
  .ce-plugin-block--newsletter .ce-block-copy-surface,
  .ce-plugin-block--hostel-summary .ce-block-card,
  .ce-plugin-block--hostel-location .ce-block-card,
  .ce-plugin-block--hostel-poi .ce-block-card,
  .ce-plugin-block--hostel-details .ce-block-card,
  .ce-plugin-block--hostel-facilities .ce-block-card,
  .ce-block-card:not(.bg-primary):not(.bg-secondary):not(.bg-success):not(.bg-info):not(.bg-warning):not(.bg-danger):not(.bg-dark),
  .enterprise-cards-card:not(.bg-primary):not(.bg-secondary):not(.bg-success):not(.bg-info):not(.bg-warning):not(.bg-danger):not(.bg-dark)
) a:not(.btn):not([class*="btn-"]) {
  color: var(--enterprise-reference-panel-link) !important;
}

[data-bs-theme="dark"] body.enterprise-site .ce-content-scope :is(
  .ce-block-copy-surface,
  .ce-block-image-text__copy,
  .ce-block-richtext,
  .ce-block-contact-form__panel,
  .ce-block-contact-card,
  .ce-block-surface,
  .ce-block-section--announcements .card,
  .ce-plugin-block--blog .ce-blog-card,
  .ce-plugin-block--blog .ce-blog-overview-panel,
  .ce-plugin-block--blog .ce-blog-view-article,
  .ce-plugin-block--newsletter .ce-block-copy-surface,
  .ce-plugin-block--hostel-summary .ce-block-card,
  .ce-plugin-block--hostel-location .ce-block-card,
  .ce-plugin-block--hostel-poi .ce-block-card,
  .ce-plugin-block--hostel-details .ce-block-card,
  .ce-plugin-block--hostel-facilities .ce-block-card,
  .ce-block-card:not(.bg-primary):not(.bg-secondary):not(.bg-success):not(.bg-info):not(.bg-warning):not(.bg-danger):not(.bg-dark),
  .enterprise-cards-card:not(.bg-primary):not(.bg-secondary):not(.bg-success):not(.bg-info):not(.bg-warning):not(.bg-danger):not(.bg-dark)
) .link-light {
  color: var(--enterprise-reference-panel-link) !important;
}

[data-bs-theme="dark"] body.enterprise-site .ce-content-scope :is(
  .ce-block-copy-surface,
  .ce-block-image-text__copy,
  .ce-block-richtext,
  .ce-block-contact-form__panel,
  .ce-block-contact-card,
  .ce-block-surface,
  .ce-block-section--announcements .card,
  .ce-plugin-block--blog .ce-blog-card,
  .ce-plugin-block--blog .ce-blog-overview-panel,
  .ce-plugin-block--blog .ce-blog-view-article,
  .ce-plugin-block--newsletter .ce-block-copy-surface,
  .ce-plugin-block--hostel-summary .ce-block-card,
  .ce-plugin-block--hostel-location .ce-block-card,
  .ce-plugin-block--hostel-poi .ce-block-card,
  .ce-plugin-block--hostel-details .ce-block-card,
  .ce-plugin-block--hostel-facilities .ce-block-card,
  .ce-block-card:not(.bg-primary):not(.bg-secondary):not(.bg-success):not(.bg-info):not(.bg-warning):not(.bg-danger):not(.bg-dark),
  .enterprise-cards-card:not(.bg-primary):not(.bg-secondary):not(.bg-success):not(.bg-info):not(.bg-warning):not(.bg-danger):not(.bg-dark)
) a:not(.btn):not([class*="btn-"]):hover,
[data-bs-theme="dark"] body.enterprise-site .ce-content-scope :is(
  .ce-block-copy-surface,
  .ce-block-image-text__copy,
  .ce-block-richtext,
  .ce-block-contact-form__panel,
  .ce-block-contact-card,
  .ce-block-surface,
  .ce-block-section--announcements .card,
  .ce-plugin-block--blog .ce-blog-card,
  .ce-plugin-block--blog .ce-blog-overview-panel,
  .ce-plugin-block--blog .ce-blog-view-article,
  .ce-plugin-block--newsletter .ce-block-copy-surface,
  .ce-plugin-block--hostel-summary .ce-block-card,
  .ce-plugin-block--hostel-location .ce-block-card,
  .ce-plugin-block--hostel-poi .ce-block-card,
  .ce-plugin-block--hostel-details .ce-block-card,
  .ce-plugin-block--hostel-facilities .ce-block-card,
  .ce-block-card:not(.bg-primary):not(.bg-secondary):not(.bg-success):not(.bg-info):not(.bg-warning):not(.bg-danger):not(.bg-dark),
  .enterprise-cards-card:not(.bg-primary):not(.bg-secondary):not(.bg-success):not(.bg-info):not(.bg-warning):not(.bg-danger):not(.bg-dark)
) a:not(.btn):not([class*="btn-"]):focus-visible {
  color: var(--enterprise-reference-panel-link-hover) !important;
}

[data-bs-theme="dark"] body.enterprise-site .ce-content-scope :is(
  .ce-block-copy-surface,
  .ce-block-image-text__copy,
  .ce-block-richtext,
  .ce-block-contact-form__panel,
  .ce-block-contact-card,
  .ce-block-surface,
  .ce-block-section--announcements .card,
  .ce-plugin-block--blog .ce-blog-card,
  .ce-plugin-block--blog .ce-blog-overview-panel,
  .ce-plugin-block--blog .ce-blog-view-article,
  .ce-plugin-block--newsletter .ce-block-copy-surface,
  .ce-plugin-block--hostel-summary .ce-block-card,
  .ce-plugin-block--hostel-location .ce-block-card,
  .ce-plugin-block--hostel-poi .ce-block-card,
  .ce-plugin-block--hostel-details .ce-block-card,
  .ce-plugin-block--hostel-facilities .ce-block-card,
  .ce-block-card:not(.bg-primary):not(.bg-secondary):not(.bg-success):not(.bg-info):not(.bg-warning):not(.bg-danger):not(.bg-dark),
  .enterprise-cards-card:not(.bg-primary):not(.bg-secondary):not(.bg-success):not(.bg-info):not(.bg-warning):not(.bg-danger):not(.bg-dark)
) .link-light:hover,
[data-bs-theme="dark"] body.enterprise-site .ce-content-scope :is(
  .ce-block-copy-surface,
  .ce-block-image-text__copy,
  .ce-block-richtext,
  .ce-block-contact-form__panel,
  .ce-block-contact-card,
  .ce-block-surface,
  .ce-block-section--announcements .card,
  .ce-plugin-block--blog .ce-blog-card,
  .ce-plugin-block--blog .ce-blog-overview-panel,
  .ce-plugin-block--blog .ce-blog-view-article,
  .ce-plugin-block--newsletter .ce-block-copy-surface,
  .ce-plugin-block--hostel-summary .ce-block-card,
  .ce-plugin-block--hostel-location .ce-block-card,
  .ce-plugin-block--hostel-poi .ce-block-card,
  .ce-plugin-block--hostel-details .ce-block-card,
  .ce-plugin-block--hostel-facilities .ce-block-card,
  .ce-block-card:not(.bg-primary):not(.bg-secondary):not(.bg-success):not(.bg-info):not(.bg-warning):not(.bg-danger):not(.bg-dark),
  .enterprise-cards-card:not(.bg-primary):not(.bg-secondary):not(.bg-success):not(.bg-info):not(.bg-warning):not(.bg-danger):not(.bg-dark)
) .link-light:focus-visible {
  color: var(--enterprise-reference-panel-link-hover) !important;
}

[data-bs-theme="dark"] body.enterprise-site .ce-content-scope :is(
  .ce-block-card.bg-primary,
  .enterprise-cards-card.bg-primary,
  .ce-block-card.bg-secondary,
  .enterprise-cards-card.bg-secondary,
  .ce-block-card.bg-success,
  .enterprise-cards-card.bg-success,
  .ce-block-card.bg-danger,
  .enterprise-cards-card.bg-danger,
  .ce-block-card.bg-dark,
  .enterprise-cards-card.bg-dark
) {
  background: var(--enterprise-reference-dark-bg) !important;
  border-color: var(--enterprise-reference-dark-border) !important;
  color: var(--enterprise-reference-dark-text) !important;
}

[data-bs-theme="dark"] body.enterprise-site .ce-content-scope :is(
  .ce-block-card.bg-info,
  .enterprise-cards-card.bg-info,
  .ce-block-card.bg-warning,
  .enterprise-cards-card.bg-warning,
  .ce-block-card.bg-light,
  .enterprise-cards-card.bg-light
) {
  background: var(--enterprise-reference-panel-bg-strong) !important;
  border-color: var(--enterprise-reference-panel-border) !important;
  color: var(--enterprise-reference-panel-text) !important;
}

[data-bs-theme="dark"] body.enterprise-site .ce-content-scope .ce-block-cta {
  background: var(--enterprise-reference-cta-bg);
  border-color: var(--enterprise-reference-cta-border);
  box-shadow: var(--enterprise-reference-panel-shadow);
  color: var(--enterprise-reference-cta-text);
}

[data-bs-theme="dark"] body.enterprise-site .ce-content-scope .ce-block-cta:not(.ce-block-cta--has-background-image)::before {
  background: var(--enterprise-reference-cta-underlay);
}

[data-bs-theme="dark"] .enterprise-site-footer {
  background: transparent;
}

[data-bs-theme="dark"] .enterprise-site-footer hr {
  border-color: var(--enterprise-reference-panel-border);
  opacity: 1;
}
