:root {
    color-scheme: dark;
    --color-obsidian: #020604;
    --color-ink: #0a1510;
    --color-emerald: #00e475;
    --color-emerald-soft: #69ffae;
    --color-mist: #bdd8c8;
    --color-surface-text: #ffffff;
    --color-bg-top: #062515;
    --color-bg-mid: #030906;
    --color-bg-bottom: #020604;
    --color-bg-accent-a: rgba(0, 228, 117, 0.24);
    --color-bg-accent-b: rgba(0, 143, 83, 0.18);
    --color-grid-line: rgba(180, 255, 215, 0.045);
    --color-grid-mask: radial-gradient(circle at center, black 32%, transparent 100%);
    --color-ambient-a: #00e475;
    --color-ambient-b: #043b25;
    --color-glass-border: rgba(156, 255, 203, 0.11);
    --color-glass-top: rgba(20, 44, 31, 0.46);
    --color-glass-bottom: rgba(6, 16, 11, 0.82);
    --color-hero-shadow: rgba(0, 0, 0, 0.35);
    --color-pill-border: rgba(105, 255, 174, 0.34);
    --color-pill-bg: rgba(0, 228, 117, 0.11);
    --color-matrix-border: rgba(0, 228, 117, 0.16);
    --color-matrix-top: rgba(0, 228, 117, 0.06);
    --color-matrix-base: rgba(0, 0, 0, 0.32);
    --color-matrix-line: rgba(0, 228, 117, 0.65);
    --color-panel-card-border: rgba(156, 255, 203, 0.12);
    --color-panel-card-bg: rgba(9, 20, 14, 0.72);
    --color-faq-border: rgba(156, 255, 203, 0.13);
    --color-faq-bg: rgba(9, 20, 14, 0.70);
    --color-field-border: rgba(255, 255, 255, 0.1);
    --color-field-bg: rgba(245, 249, 247, 0.96);
    --color-field-text: #122019;
    --color-field-placeholder: rgba(92, 112, 102, 0.86);
    --color-field-focus-border: rgba(0, 228, 117, 0.44);
    --color-field-focus-ring: rgba(0, 228, 117, 0.12);
    --color-table-border: rgba(255, 255, 255, 0.08);
    --color-header-bg: rgba(2, 6, 4, 0.72);
    --color-footer-bg: rgba(2, 6, 4, 0.86);
    --shape-hero-bg: #020604;
    --shape-hero-glow: linear-gradient(135deg, rgba(0, 228, 117, 0.16), transparent 46%, rgba(0, 110, 67, 0.12));
    --shape-hero-vignette: linear-gradient(to top, #020604, transparent 48%, rgba(2, 6, 4, 0.82));
    --shape-hero-header-bg: linear-gradient(180deg, rgba(2, 6, 4, 0.94), rgba(2, 6, 4, 0.72));
    --shape-hero-header-border: rgba(0, 228, 117, 0.12);
    --shape-hero-header-glow: rgba(0, 228, 117, 0.10);
    --color-dark-panel-bg: rgba(8, 20, 13, 0.84);
    --color-dark-panel-border: rgba(156, 255, 203, 0.12);
    --color-glow-ring: rgba(0, 228, 117, 0.22);
    --color-glow-blur: rgba(0, 228, 117, 0.12);
    --color-on-primary: #000000;
    --color-white-surface: rgba(255, 255, 255, 0.045);
    --color-white-surface-hover: rgba(105, 255, 174, 0.09);
    --color-white-surface-border: rgba(156, 255, 203, 0.10);
    --feature-bg: #020604;
    --feature-image-bg:
        radial-gradient(circle at 18% 26%, rgba(0, 228, 117, 0.12), transparent 30%),
        radial-gradient(circle at 86% 38%, rgba(32, 108, 232, 0.10), transparent 28%),
        linear-gradient(180deg, rgba(1, 6, 4, 0.96), rgba(1, 8, 5, 0.98) 55%, rgba(1, 6, 4, 1));
    --feature-grid-line: rgba(255, 255, 255, 0.035);
    --feature-glow-green: rgba(0, 228, 117, 0.42);
    --feature-glow-blue: rgba(32, 108, 232, 0.36);
    --feature-card-border: rgba(255, 255, 255, 0.10);
    --feature-card-bg-top: rgba(255, 255, 255, 0.045);
    --feature-card-bg-bottom: rgba(255, 255, 255, 0.018);
    --feature-card-base: rgba(0, 0, 0, 0.30);
    --feature-card-hover-border: rgba(0, 228, 117, 0.34);
    --feature-card-hover-top: rgba(0, 228, 117, 0.055);
    --feature-card-hover-base: rgba(0, 0, 0, 0.32);
    --feature-card-hover-glow: rgba(0, 228, 117, 0.15);
    --feature-beam-accent: rgba(0, 228, 117, 0.24);
    --feature-spotlight: rgba(0, 228, 117, 0.16);
    --feature-chip-border: rgba(0, 228, 117, 0.16);
    --feature-chip-bg: rgba(0, 228, 117, 0.08);
    --feature-chip-text: rgba(183, 255, 215, 0.94);
    --feature-card-title: #ffffff;
    --feature-card-text: rgba(214, 232, 221, 0.84);
    --feature-particle-a: rgba(0, 228, 117, 0.46);
    --feature-particle-b: rgba(0, 228, 117, 0.34);
    --feature-particle-c: rgba(52, 211, 153, 0.42);
    --feature-particle-d: rgba(125, 211, 252, 0.24);
    --feature-particle-e: rgba(59, 130, 246, 0.28);
    --feature-particle-f: rgba(37, 99, 235, 0.34);
    --feature-particle-g: rgba(96, 165, 250, 0.36);
    --feature-particle-h: rgba(0, 228, 117, 0.24);
}

body[data-theme="theme-2"] {
    --color-obsidian: #0b1326;
    --color-ink: #131b2e;
    --color-emerald: #4edea3;
    --color-emerald-soft: #6ffbbe;
    --color-mist: #bbcabf;
    --color-surface-text: #dae2fd;
    --color-bg-top: #0b1326;
    --color-bg-mid: #0b1326;
    --color-bg-bottom: #060e20;
    --color-bg-accent-a: rgba(78, 222, 163, 0.13);
    --color-bg-accent-b: rgba(69, 223, 164, 0.1);
    --color-grid-line: rgba(218, 226, 253, 0.05);
    --color-ambient-a: #10b981;
    --color-ambient-b: #2d3449;
    --color-glass-border: rgba(134, 148, 138, 0.18);
    --color-glass-top: rgba(49, 57, 77, 0.48);
    --color-glass-bottom: rgba(23, 31, 51, 0.72);
    --color-hero-shadow: rgba(6, 14, 32, 0.55);
    --color-pill-border: rgba(78, 222, 163, 0.26);
    --color-pill-bg: rgba(78, 222, 163, 0.12);
    --color-matrix-border: rgba(78, 222, 163, 0.2);
    --color-matrix-top: rgba(78, 222, 163, 0.08);
    --color-matrix-base: rgba(11, 19, 38, 0.6);
    --color-matrix-line: rgba(111, 251, 190, 0.55);
    --color-panel-card-border: rgba(134, 148, 138, 0.16);
    --color-panel-card-bg: rgba(34, 42, 61, 0.65);
    --color-faq-border: rgba(134, 148, 138, 0.15);
    --color-faq-bg: rgba(23, 31, 51, 0.72);
    --color-field-border: rgba(134, 148, 138, 0.22);
    --color-field-bg: rgba(244, 248, 255, 0.96);
    --color-field-text: #122039;
    --color-field-placeholder: rgba(71, 84, 109, 0.82);
    --color-field-focus-border: rgba(78, 222, 163, 0.54);
    --color-field-focus-ring: rgba(78, 222, 163, 0.14);
    --color-table-border: rgba(134, 148, 138, 0.12);
    --color-header-bg: rgba(11, 19, 38, 0.78);
    --color-footer-bg: rgba(19, 27, 46, 0.78);
    --shape-hero-bg: #060e20;
    --shape-hero-glow: linear-gradient(135deg, rgba(78, 222, 163, 0.08), transparent 45%, rgba(69, 223, 164, 0.07));
    --shape-hero-vignette: linear-gradient(to top, #060e20, transparent 48%, rgba(6, 14, 32, 0.84));
    --shape-hero-header-bg: linear-gradient(180deg, rgba(6, 14, 32, 0.88), rgba(6, 14, 32, 0.66));
    --shape-hero-header-border: rgba(78, 222, 163, 0.16);
    --shape-hero-header-glow: rgba(78, 222, 163, 0.10);
    --color-dark-panel-bg: rgba(19, 27, 46, 0.92);
    --color-dark-panel-border: rgba(134, 148, 138, 0.18);
    --color-glow-ring: rgba(78, 222, 163, 0.18);
    --color-glow-blur: rgba(78, 222, 163, 0.14);
    --color-on-primary: #003824;
    --color-white-surface: rgba(255, 255, 255, 0.06);
    --color-white-surface-hover: rgba(255, 255, 255, 0.10);
    --color-white-surface-border: rgba(255, 255, 255, 0.10);
    --feature-bg: #071426;
    --feature-image-bg:
        radial-gradient(circle at 16% 22%, rgba(38, 84, 150, 0.14), transparent 34%),
        radial-gradient(circle at 86% 34%, rgba(64, 116, 194, 0.20), transparent 32%),
        radial-gradient(circle at 50% 112%, rgba(36, 78, 139, 0.24), transparent 38%),
        linear-gradient(180deg, rgba(8, 20, 39, 0.99), rgba(7, 17, 34, 0.995) 55%, rgba(5, 12, 26, 1));
    --feature-grid-line: rgba(220, 230, 255, 0.032);
    --feature-glow-green: rgba(48, 94, 170, 0.18);
    --feature-glow-blue: rgba(51, 111, 190, 0.34);
    --feature-card-border: rgba(144, 179, 202, 0.16);
    --feature-card-bg-top: rgba(54, 74, 108, 0.24);
    --feature-card-bg-bottom: rgba(15, 28, 52, 0.28);
    --feature-card-base: rgba(8, 15, 30, 0.50);
    --feature-card-hover-border: rgba(122, 181, 255, 0.34);
    --feature-card-hover-top: rgba(71, 136, 194, 0.09);
    --feature-card-hover-base: rgba(10, 25, 48, 0.54);
    --feature-card-hover-glow: rgba(80, 159, 224, 0.12);
    --feature-beam-accent: rgba(81, 170, 205, 0.20);
    --feature-spotlight: rgba(89, 178, 213, 0.13);
    --feature-chip-border: rgba(122, 181, 255, 0.24);
    --feature-chip-bg: rgba(122, 181, 255, 0.10);
    --feature-chip-text: rgba(205, 226, 255, 0.96);
    --feature-card-title: #f5f8ff;
    --feature-card-text: rgba(205, 218, 235, 0.84);
    --feature-particle-a: rgba(111, 169, 242, 0.24);
    --feature-particle-b: rgba(91, 145, 220, 0.22);
    --feature-particle-c: rgba(128, 190, 255, 0.24);
    --feature-particle-d: rgba(100, 180, 255, 0.22);
    --feature-particle-e: rgba(61, 125, 212, 0.26);
    --feature-particle-f: rgba(46, 105, 180, 0.30);
    --feature-particle-g: rgba(115, 190, 255, 0.30);
    --feature-particle-h: rgba(106, 166, 239, 0.20);
}

body[data-theme="ethereal"] {
    color-scheme: dark;
    --color-obsidian: #071426;
    --color-ink: #0b1a2d;
    --color-emerald: #53e1aa;
    --color-emerald-soft: #79ffd0;
    --color-mist: #b8c7d8;
    --color-surface-text: #dce6ff;
    --color-bg-top: #0b1a2d;
    --color-bg-mid: #081326;
    --color-bg-bottom: #061021;
    --color-bg-accent-a: rgba(28, 185, 163, 0.16);
    --color-bg-accent-b: rgba(46, 105, 180, 0.14);
    --color-grid-line: rgba(220, 230, 255, 0.05);
    --color-ambient-a: #1fb99b;
    --color-ambient-b: #163f64;
    --color-glass-border: rgba(144, 179, 202, 0.18);
    --color-glass-top: rgba(40, 55, 82, 0.58);
    --color-glass-bottom: rgba(15, 28, 51, 0.82);
    --color-hero-shadow: rgba(2, 8, 18, 0.58);
    --color-pill-border: rgba(83, 225, 170, 0.28);
    --color-pill-bg: rgba(83, 225, 170, 0.12);
    --color-matrix-border: rgba(83, 225, 170, 0.22);
    --color-matrix-top: rgba(83, 225, 170, 0.08);
    --color-matrix-base: rgba(9, 20, 39, 0.72);
    --color-matrix-line: rgba(121, 255, 208, 0.45);
    --color-panel-card-border: rgba(144, 179, 202, 0.18);
    --color-panel-card-bg: rgba(25, 39, 65, 0.78);
    --color-faq-border: rgba(144, 179, 202, 0.17);
    --color-faq-bg: rgba(18, 32, 56, 0.78);
    --color-field-border: rgba(144, 179, 202, 0.24);
    --color-field-bg: rgba(236, 244, 255, 0.96);
    --color-field-text: #071426;
    --color-field-placeholder: rgba(70, 89, 115, 0.82);
    --color-field-focus-border: rgba(83, 225, 170, 0.52);
    --color-field-focus-ring: rgba(83, 225, 170, 0.14);
    --color-table-border: rgba(144, 179, 202, 0.14);
    --color-header-bg: rgba(8, 19, 38, 0.88);
    --color-footer-bg: rgba(13, 25, 45, 0.92);
    --shape-hero-bg: #061021;
    --shape-hero-glow: linear-gradient(135deg, rgba(47, 92, 168, 0.12), transparent 43%, rgba(64, 124, 215, 0.14));
    --shape-hero-vignette: linear-gradient(to top, #061021, transparent 48%, rgba(6, 16, 33, 0.84));
    --shape-hero-header-bg: linear-gradient(180deg, rgba(8, 19, 38, 0.92), rgba(8, 19, 38, 0.72));
    --shape-hero-header-border: rgba(144, 179, 202, 0.18);
    --shape-hero-header-glow: rgba(122, 181, 255, 0.10);
    --color-dark-panel-bg: rgba(12, 25, 47, 0.90);
    --color-dark-panel-border: rgba(144, 179, 202, 0.20);
    --color-glow-ring: rgba(83, 225, 170, 0.18);
    --color-glow-blur: rgba(83, 225, 170, 0.12);
    --color-on-primary: #061421;
    --color-white-surface: rgba(255, 255, 255, 0.06);
    --color-white-surface-hover: rgba(255, 255, 255, 0.10);
    --color-white-surface-border: rgba(255, 255, 255, 0.10);
}

body[data-theme="dark-theme"] {
    --color-obsidian: #171c27;
    --color-ink: #202838;
    --color-emerald: #4968e6;
    --color-emerald-soft: #b09cff;
    --color-mist: #c5cad7;
    --color-surface-text: #f1f4fb;
    --color-bg-top: #30384e;
    --color-bg-mid: #272f41;
    --color-bg-bottom: #202837;
    --color-bg-accent-a: rgba(73, 104, 230, 0.22);
    --color-bg-accent-b: rgba(176, 156, 255, 0.12);
    --color-grid-line: rgba(235, 240, 255, 0.045);
    --color-ambient-a: #4968e6;
    --color-ambient-b: #38445f;
    --color-glass-border: rgba(170, 180, 210, 0.25);
    --color-glass-top: rgba(58, 68, 94, 0.56);
    --color-glass-bottom: rgba(32, 38, 53, 0.84);
    --color-hero-shadow: rgba(9, 12, 20, 0.48);
    --color-pill-border: rgba(176, 156, 255, 0.34);
    --color-pill-bg: rgba(176, 156, 255, 0.10);
    --color-matrix-border: rgba(104, 123, 224, 0.25);
    --color-matrix-top: rgba(104, 123, 224, 0.10);
    --color-matrix-base: rgba(18, 22, 31, 0.88);
    --color-matrix-line: rgba(176, 156, 255, 0.42);
    --color-panel-card-border: rgba(170, 180, 210, 0.23);
    --color-panel-card-bg: rgba(21, 25, 35, 0.88);
    --color-faq-border: rgba(170, 180, 210, 0.22);
    --color-faq-bg: rgba(19, 23, 32, 0.90);
    --color-field-border: rgba(170, 180, 210, 0.24);
    --color-field-bg: rgba(245, 247, 252, 0.96);
    --color-field-text: #151b28;
    --color-field-placeholder: rgba(84, 96, 118, 0.82);
    --color-field-focus-border: rgba(73, 104, 230, 0.50);
    --color-field-focus-ring: rgba(73, 104, 230, 0.14);
    --color-table-border: rgba(170, 180, 210, 0.16);
    --color-header-bg: rgba(23, 26, 34, 0.90);
    --color-footer-bg: rgba(18, 21, 29, 0.94);
    --shape-hero-bg: #202837;
    --shape-hero-glow: linear-gradient(135deg, rgba(73, 104, 230, 0.18), transparent 44%, rgba(176, 156, 255, 0.12));
    --shape-hero-vignette: linear-gradient(to top, #202837, transparent 48%, rgba(23, 28, 39, 0.82));
    --shape-hero-header-bg: linear-gradient(180deg, rgba(23, 26, 34, 0.94), rgba(23, 26, 34, 0.72));
    --shape-hero-header-border: rgba(176, 156, 255, 0.16);
    --shape-hero-header-glow: rgba(73, 104, 230, 0.12);
    --color-dark-panel-bg: rgba(18, 22, 31, 0.90);
    --color-dark-panel-border: rgba(170, 180, 210, 0.22);
    --color-glow-ring: rgba(73, 104, 230, 0.20);
    --color-glow-blur: rgba(73, 104, 230, 0.14);
    --color-on-primary: #ffffff;
    --color-white-surface: rgba(255, 255, 255, 0.05);
    --color-white-surface-hover: rgba(255, 255, 255, 0.10);
    --color-white-surface-border: rgba(255, 255, 255, 0.10);
    --feature-bg: #202837;
    --feature-image-bg:
        radial-gradient(circle at 16% 20%, rgba(73, 104, 230, 0.18), transparent 34%),
        radial-gradient(circle at 84% 30%, rgba(176, 156, 255, 0.12), transparent 32%),
        radial-gradient(circle at 50% 110%, rgba(73, 104, 230, 0.16), transparent 38%),
        linear-gradient(180deg, rgba(32, 40, 55, 0.99), rgba(27, 34, 48, 0.995) 55%, rgba(22, 27, 38, 1));
    --feature-grid-line: rgba(235, 240, 255, 0.035);
    --feature-glow-green: rgba(73, 104, 230, 0.26);
    --feature-glow-blue: rgba(176, 156, 255, 0.18);
    --feature-card-border: rgba(170, 180, 210, 0.18);
    --feature-card-bg-top: rgba(58, 68, 94, 0.24);
    --feature-card-bg-bottom: rgba(24, 30, 43, 0.30);
    --feature-card-base: rgba(18, 22, 31, 0.54);
    --feature-card-hover-border: rgba(176, 156, 255, 0.36);
    --feature-card-hover-top: rgba(73, 104, 230, 0.10);
    --feature-card-hover-base: rgba(23, 29, 42, 0.58);
    --feature-card-hover-glow: rgba(73, 104, 230, 0.14);
    --feature-beam-accent: rgba(176, 156, 255, 0.22);
    --feature-spotlight: rgba(176, 156, 255, 0.14);
    --feature-chip-border: rgba(176, 156, 255, 0.28);
    --feature-chip-bg: rgba(176, 156, 255, 0.10);
    --feature-chip-text: rgba(220, 214, 255, 0.96);
    --feature-card-title: #f3f5fb;
    --feature-card-text: rgba(211, 217, 230, 0.84);
    --feature-particle-a: rgba(176, 156, 255, 0.36);
    --feature-particle-b: rgba(73, 104, 230, 0.30);
    --feature-particle-c: rgba(148, 163, 255, 0.32);
    --feature-particle-d: rgba(196, 181, 253, 0.26);
    --feature-particle-e: rgba(96, 124, 255, 0.30);
    --feature-particle-f: rgba(73, 104, 230, 0.34);
    --feature-particle-g: rgba(188, 176, 255, 0.32);
    --feature-particle-h: rgba(118, 139, 238, 0.24);
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, var(--color-bg-accent-a), transparent 28%),
        radial-gradient(circle at 80% 10%, var(--color-bg-accent-b), transparent 22%),
        linear-gradient(180deg, var(--color-bg-top) 0%, var(--color-bg-mid) 48%, var(--color-bg-bottom) 100%);
    color: var(--color-surface-text);
}

.site-shell {
    position: relative;
    overflow: clip;
}

.site-header {
    background: var(--shape-hero-header-bg) !important;
    border-color: var(--shape-hero-header-border) !important;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.04) inset,
        0 18px 70px rgba(0, 0, 0, 0.28),
        0 0 90px var(--shape-hero-header-glow);
    isolation: isolate;
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 23% 0%, rgba(99, 102, 241, 0.14), transparent 34%),
        radial-gradient(circle at 78% 0%, rgba(244, 63, 94, 0.10), transparent 30%);
    opacity: 0.58;
}

.site-header > div {
    min-height: 4.35rem;
}

.site-header a:first-child > .brand-logo-mark {
    border-color: transparent !important;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.94);
    overflow: visible;
    padding: 0;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.site-header a:first-child > .brand-logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 18px rgba(0, 229, 117, 0.24));
}

.site-header a:first-child > span:last-child {
    letter-spacing: 0.36em;
    text-shadow: 0 0 22px rgba(255, 255, 255, 0.16);
}

.site-header .nav-link {
    color: rgba(255, 255, 255, 0.70);
}

.site-header .nav-link:hover {
    color: rgba(255, 255, 255, 0.96);
}

.site-header a.rounded-full,
.site-header button.rounded-full {
    border-color: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(16px);
}

.site-header a.bg-emerald,
.site-header button.bg-emerald,
.site-header .magnetic-button {
    background: linear-gradient(135deg, #ffffff, rgba(255, 255, 255, 0.82)) !important;
    color: #050505 !important;
    box-shadow: 0 18px 50px rgba(255, 255, 255, 0.12) !important;
}

.site-header a.bg-emerald:hover,
.site-header button.bg-emerald:hover,
.site-header .magnetic-button:hover {
    background: linear-gradient(135deg, #ffffff, #c7d2fe) !important;
}

body[data-theme="ethereal"] .site-header .nav-link,
body[data-theme="ethereal"] .site-header a:first-child {
    color: rgba(220, 230, 255, 0.82) !important;
}

body[data-theme="ethereal"] .site-header .nav-link:hover,
body[data-theme="ethereal"] .site-header a:first-child:hover {
    color: #ffffff !important;
}

body[data-theme="ethereal"] .site-header a:first-child > .brand-logo-mark {
    border-color: transparent !important;
    background: transparent !important;
    color: #79ffd0;
    box-shadow: none !important;
}

body[data-theme="ethereal"] .site-header a.rounded-full {
    color: rgba(220, 230, 255, 0.88) !important;
}

body[data-theme="ethereal"] .site-header a.bg-emerald,
body[data-theme="ethereal"] .site-header button.bg-emerald,
body[data-theme="ethereal"] .site-header .magnetic-button {
    background: linear-gradient(135deg, #79ffd0, #46d89f) !important;
    color: #061421 !important;
    box-shadow: 0 18px 48px rgba(83, 225, 170, 0.18) !important;
}

.site-footer {
    background: var(--color-footer-bg) !important;
}

.ambient {
    pointer-events: none;
    position: fixed;
    inset: auto;
    z-index: 0;
    height: 24rem;
    width: 24rem;
    border-radius: 9999px;
    filter: blur(90px);
    opacity: 0.22;
}

.ambient-a {
    top: 4rem;
    left: -6rem;
    background: var(--color-ambient-a);
}

.ambient-b {
    right: -4rem;
    bottom: 12rem;
    background: var(--color-ambient-b);
}

.grid-overlay {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(var(--color-grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--color-grid-line) 1px, transparent 1px);
    background-size: 4rem 4rem;
    mask-image: var(--color-grid-mask);
    opacity: 0.22;
}

.nav-link {
    transition: color 160ms ease, opacity 160ms ease;
}

.nav-link:hover {
    color: var(--color-emerald-soft);
}

.glass-card,
.pricing-card,
.feature-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--color-glass-border);
    background: linear-gradient(180deg, var(--color-glass-top), var(--color-glass-bottom));
    backdrop-filter: blur(16px);
    border-radius: 2rem;
    padding: 1.75rem;
}

.feature-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    border: 1px solid var(--color-pill-border);
    background: var(--color-pill-bg);
    padding: 0.7rem 1rem;
    color: var(--color-surface-text);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 9999px;
    border: 1px solid var(--color-pill-border);
    background: var(--color-pill-bg);
    padding: 0.55rem 0.9rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: var(--color-emerald-soft);
}

.matrix-frame {
    position: relative;
    margin-top: 1.5rem;
    overflow: hidden;
    border-radius: 1.75rem;
    border: 1px solid var(--color-matrix-border);
    background:
        linear-gradient(180deg, var(--color-matrix-top), transparent),
        var(--color-matrix-base);
    padding: 1.5rem;
}

.matrix-line {
    position: absolute;
    left: -20%;
    right: -20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-matrix-line), transparent);
    animation: sweep 6s linear infinite;
}

.matrix-line.delay {
    top: 50%;
    animation-delay: 1.5s;
}

.matrix-line.fast {
    top: 82%;
    animation-duration: 4s;
}

.metric-card,
.stat-chip {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    border-radius: 1.25rem;
    border: 1px solid var(--color-panel-card-border);
    background: var(--color-panel-card-bg);
    padding: 1rem;
}

.metric-card span,
.stat-chip {
    color: var(--color-mist);
    font-size: 0.85rem;
}

.metric-card strong,
.stat-chip strong {
    color: var(--color-surface-text);
    font-size: 1.15rem;
    font-weight: 700;
}

.feature-card h3,
.pricing-card h3 {
    margin-top: 1rem;
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--color-surface-text);
}

.feature-card p {
    margin-top: 1rem;
    color: var(--color-mist);
    line-height: 1.8;
}

.feature-motion-shell {
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 4.5rem);
    padding: clamp(3rem, 4.8vw, 5rem) 0;
    background: var(--feature-bg);
}

.feature-motion-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.feature-motion-image {
    position: absolute;
    inset: 0;
    background-image: var(--feature-image-bg);
    background-position: center;
    background-size: cover;
    opacity: 1;
}

.feature-motion-grid-layer {
    position: absolute;
    inset: -4rem 0;
    background-image:
        linear-gradient(var(--feature-grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--feature-grid-line) 1px, transparent 1px);
    background-size: 4rem 4rem;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.88), transparent 94%);
    opacity: 0.18;
    animation: featureGridPulse 8s ease-in-out infinite;
}

.feature-motion-glow {
    position: absolute;
    width: 22rem;
    height: 22rem;
    border-radius: 999px;
    filter: blur(72px);
    opacity: 0.28;
    animation: featureGlowPulse 5.8s ease-in-out infinite;
}

.feature-motion-glow-green {
    left: -5rem;
    bottom: -7rem;
    background: var(--feature-glow-green);
}

.feature-motion-glow-blue {
    right: -4rem;
    bottom: -7rem;
    background: var(--feature-glow-blue);
    animation-duration: 6.6s;
}

.feature-motion-particle {
    position: absolute;
    width: var(--feature-particle-size);
    height: var(--feature-particle-size);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 0.18rem;
    background: var(--feature-particle-color);
    box-shadow:
        0 0 18px var(--feature-particle-color),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    transform: rotate(8deg);
}

.feature-motion-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.feature-motion-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 11.85rem;
    border: 1px solid var(--feature-card-border);
    border-radius: 1.5rem;
    background:
        linear-gradient(180deg, var(--feature-card-bg-top), var(--feature-card-bg-bottom)),
        var(--feature-card-base);
    backdrop-filter: blur(18px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 20px 60px rgba(0, 0, 0, 0.23);
    transition:
        transform 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease,
        background 220ms ease;
}

.feature-motion-card:hover {
    transform: translateY(-4px);
    border-color: var(--feature-card-hover-border);
    background:
        linear-gradient(180deg, var(--feature-card-hover-top), var(--feature-card-bg-bottom)),
        var(--feature-card-hover-base);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 18px 60px rgba(0, 0, 0, 0.30),
        0 0 42px var(--feature-card-hover-glow);
}

.feature-motion-beam {
    position: absolute;
    inset: -55%;
    z-index: 0;
    border-radius: inherit;
    background:
        conic-gradient(
            from 0deg,
            transparent 0deg,
            transparent 210deg,
            rgba(255, 255, 255, 0.12) 242deg,
            var(--feature-beam-accent) 278deg,
            transparent 315deg,
            transparent 360deg
        );
    animation: featureBeamSpin 8s linear infinite;
    opacity: 0.42;
}

.feature-motion-spotlight {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 220ms ease;
    pointer-events: none;
}

.feature-motion-spotlight.is-active {
    opacity: 1;
}

.feature-motion-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 0.72rem;
    padding: 1.25rem;
}

.feature-motion-chip {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    border: 1px solid var(--feature-chip-border);
    border-radius: 999px;
    background: var(--feature-chip-bg);
    padding: 0.4rem 0.72rem;
    color: var(--feature-chip-text);
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
}

.feature-motion-inner h3 {
    font-size: clamp(1.22rem, 1.45vw, 1.5rem);
    font-weight: 700;
    line-height: 1.08;
    color: var(--feature-card-title);
}

.feature-motion-inner p {
    margin-top: auto;
    color: var(--feature-card-text);
    font-size: 0.9rem;
    line-height: 1.58;
}

body[data-theme="ethereal"] .feature-motion-shell {
    background:
        radial-gradient(circle at 12% 18%, rgba(46, 95, 170, 0.16), transparent 34%),
        radial-gradient(circle at 88% 24%, rgba(56, 109, 184, 0.16), transparent 30%),
        linear-gradient(180deg, #081427, #071225 58%, #050d1b);
}

body[data-theme="ethereal"] .feature-motion-image {
    background-image:
        radial-gradient(circle at 16% 20%, rgba(51, 101, 177, 0.16), transparent 34%),
        radial-gradient(circle at 84% 34%, rgba(61, 119, 204, 0.18), transparent 32%),
        linear-gradient(180deg, rgba(8, 20, 39, 0.98), rgba(7, 17, 34, 0.995) 56%, rgba(5, 12, 26, 1));
    opacity: 1;
}

body[data-theme="ethereal"] .feature-motion-glow-green {
    left: -7rem;
    background: rgba(55, 105, 190, 0.24);
    opacity: 0.24;
}

body[data-theme="ethereal"] .feature-motion-glow-blue {
    background: rgba(64, 124, 215, 0.34);
}

body[data-theme="ethereal"] .feature-motion-chip {
    border-color: rgba(127, 185, 255, 0.24);
    background: rgba(127, 185, 255, 0.10);
    color: rgba(214, 232, 255, 0.96);
}

body[data-theme="ethereal"] .feature-motion-card:hover {
    border-color: rgba(127, 185, 255, 0.34);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.055),
        0 18px 60px rgba(1, 7, 18, 0.32),
        0 0 42px rgba(76, 139, 224, 0.14);
}

body[data-theme="ethereal"] .feature-motion-card {
    background:
        linear-gradient(180deg, rgba(57, 78, 115, 0.24), rgba(17, 31, 57, 0.30)),
        rgba(7, 15, 31, 0.52);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.045),
        0 20px 60px rgba(1, 7, 18, 0.28);
}

@media (prefers-reduced-motion: reduce) {
    .feature-motion-beam,
    .feature-motion-grid-layer,
    .feature-motion-glow {
        animation: none;
    }
}

@media (max-width: 760px) {
    .client-table-wrap {
        overflow: visible;
    }

    .client-table-wrap .data-table {
        display: block;
        width: 100%;
        min-width: 0;
    }

    .client-table-wrap .data-table thead {
        display: none;
    }

    .client-table-wrap .data-table tbody {
        display: grid;
        gap: 10px;
    }

    .client-table-wrap .data-table tr {
        display: grid;
        padding: 7px 14px;
        border: 1px solid rgba(142, 159, 184, 0.13);
        border-radius: 6px;
        background: rgba(6, 10, 15, 0.24);
    }

    .is-customer-console .client-table-wrap .data-table td {
        display: grid;
        grid-template-columns: minmax(92px, 0.42fr) minmax(0, 1fr);
        gap: 12px;
        align-items: center;
        width: 100%;
        border-bottom: 1px solid rgba(142, 159, 184, 0.1);
        padding: 9px 0;
        text-align: right;
        overflow-wrap: anywhere;
    }

    .is-customer-console .client-table-wrap .data-table td:last-child {
        border-bottom: 0;
    }

    .client-table-wrap .data-table td[data-label]::before {
        color: var(--dash-faint);
        content: attr(data-label);
        font-size: 0.68rem;
        font-weight: 800;
        text-align: left;
        text-transform: uppercase;
    }

    .client-table-wrap .data-table td[colspan] {
        display: block;
        padding: 16px 0;
        text-align: center;
    }

    html:not([data-dashboard-theme="dark"]) .client-table-wrap .data-table tr,
    html[data-dashboard-theme="light"] .client-table-wrap .data-table tr {
        border-color: #dce5e1;
        background: #f8faf9;
    }
}

.service-detail-heading-actions,
.service-section-heading,
.service-action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.service-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--dash-muted);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: capitalize;
}

.service-status i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--dash-warning);
}

.service-status.is-active i {
    background: var(--dash-success);
    box-shadow: 0 0 0 5px color-mix(in srgb, var(--dash-success) 12%, transparent);
}
.service-live-react { display: grid; gap: 3px; justify-items: end; }
.service-live-react small { color: var(--dash-muted); font-size: 0.6rem; }
.service-live-react.is-stale small { color: var(--dash-warning); }
.service-live-react button { padding: 2px 5px; border: 1px solid var(--dash-warning); background: transparent; color: var(--dash-warning); font-size: 0.58rem; }

.dashboard-primary-action,
.service-action-row button {
    padding: 9px 12px;
    border: 1px solid var(--dash-accent);
    border-radius: var(--dash-radius-sm);
    background: var(--dash-accent);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: none;
}

.service-detail-hero {
    position: relative;
    display: grid;
    grid-template-columns: 1fr minmax(180px, 320px);
    align-items: end;
    gap: 24px;
    min-height: 180px;
    padding: 24px;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--dash-accent) 35%, var(--dash-line));
    border-radius: var(--dash-radius-md);
    background: var(--dash-nav);
    color: #eef3ef;
}

.service-detail-label,
.service-detail-sync {
    display: block;
    color: rgba(235, 241, 237, 0.58);
    font-size: 0.68rem;
}

.service-detail-identifier {
    display: block;
    margin: 8px 0 20px;
    font-family: "IBM Plex Mono", ui-monospace, monospace;
    font-size: clamp(1.3rem, 3vw, 2.1rem);
}

.service-detail-pulse {
    display: flex;
    align-items: end;
    gap: 7px;
    height: 74px;
}

.service-detail-pulse span {
    flex: 1;
    min-width: 8px;
    background: linear-gradient(to top, color-mix(in srgb, var(--dash-accent) 68%, #173128), color-mix(in srgb, var(--dash-accent) 88%, #fff));
    animation: serviceResourcePulse 2.8s ease-in-out infinite alternate;
}

.service-detail-pulse span:nth-child(2) { animation-delay: -0.4s; }
.service-detail-pulse span:nth-child(3) { animation-delay: -1.1s; }
.service-detail-pulse span:nth-child(4) { animation-delay: -0.7s; }
.service-detail-pulse span:nth-child(5) { animation-delay: -1.5s; }
.service-detail-pulse span:nth-child(6) { animation-delay: -0.2s; }

.service-detail-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 18px;
    border-top: 1px solid var(--dash-text);
    border-bottom: 1px solid var(--dash-line);
}

.service-detail-summary > div {
    padding: 16px;
    border-right: 1px solid var(--dash-line);
}

.service-detail-summary > div:last-child { border-right: 0; }
.service-detail-summary span { display: block; color: var(--dash-muted); font-size: 0.66rem; }
.service-detail-summary strong { display: block; margin-top: 7px; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 0.86rem; }
.service-detail-summary .is-positive { color: var(--dash-success); }
.service-detail-summary .is-negative { color: var(--dash-danger); }

.service-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 18px;
    margin-top: 22px;
}

.service-section-heading h2 { margin: 4px 0 0; font-size: 1.25rem; }
.service-section-heading > span { color: var(--dash-muted); font-size: 0.7rem; }
.service-action-list { margin-top: 18px; border-top: 1px solid var(--dash-line); }
.service-action-row { min-height: 76px; padding: 13px 0; border-bottom: 1px solid var(--dash-line); }
.service-action-row strong,
.service-action-row span { display: block; }
.service-action-row span { margin-top: 4px; color: var(--dash-muted); font-size: 0.72rem; }
.service-action-row button.is-enabled { background: var(--dash-success); }
.service-action-row button:disabled { border-color: var(--dash-line); background: var(--dash-line); color: var(--dash-faint); cursor: not-allowed; }

.service-timeline { margin-top: 18px; }
.service-timeline-item { position: relative; display: grid; grid-template-columns: 10px 1fr; gap: 10px; padding: 0 0 18px; }
.service-timeline-item i { width: 7px; height: 7px; margin-top: 5px; border-radius: 50%; background: var(--dash-warning); }
.service-timeline-item i.is-completed { background: var(--dash-success); }
.service-timeline-item i.is-failed { background: var(--dash-danger); }
.service-timeline-item strong,
.service-timeline-item span { display: block; }
.service-timeline-item span { margin-top: 3px; color: var(--dash-muted); font-size: 0.68rem; }
.service-support-link { display: inline-block; margin-top: 8px; color: var(--dash-accent); font-size: 0.75rem; font-weight: 700; }
.service-empty-state { color: var(--dash-muted); font-size: 0.75rem; }

@keyframes serviceResourcePulse {
    from { height: 26%; opacity: 0.58; }
    to { height: 92%; opacity: 1; }
}

@media (max-width: 900px) {
    .service-detail-hero,
    .service-detail-grid { grid-template-columns: 1fr; }
    .service-detail-pulse { display: none; }
    .service-detail-summary { grid-template-columns: repeat(2, 1fr); }
    .service-detail-summary > div:nth-child(2) { border-right: 0; }
    .service-detail-summary > div:nth-child(-n + 2) { border-bottom: 1px solid var(--dash-line); }
}

@media (max-width: 600px) {
    .service-detail-heading-actions { align-items: flex-start; flex-direction: column; }
    .service-detail-summary { grid-template-columns: 1fr; }
    .service-detail-summary > div { border-right: 0; border-bottom: 1px solid var(--dash-line); }
    .service-action-row { align-items: flex-start; flex-direction: column; }
}

.admin-operations-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 18px;
    margin-top: 24px;
}

.admin-queue-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--dash-text);
}

.admin-queue-heading h2 { margin: 4px 0 0; font-size: 1.25rem; }
.admin-queue-heading > a { color: var(--dash-accent); font-size: 0.72rem; font-weight: 700; }
.admin-queue-filters { display: flex; gap: 6px; }
.admin-queue-filters span { padding: 5px 7px; border: 1px solid var(--dash-line); color: var(--dash-muted); font-size: 0.64rem; }

.dashboard-queue-head,
.dashboard-queue-item {
    display: grid;
    grid-template-columns: 18px 68px minmax(190px, 1.3fr) minmax(100px, 0.8fr) 80px 100px 28px;
    gap: 10px;
    align-items: center;
}
.admin-work-queue-bulk-form { display: flex; justify-content: flex-end; margin: 10px 0; }
.admin-work-queue-bulk-form button { padding: 7px 9px; border: 1px solid var(--dash-accent); background: transparent; color: var(--dash-accent); font-size: 0.66rem; }
.admin-queue-filter-form,.admin-saved-view-form,.admin-saved-view-list { display: flex; gap: 7px; margin-top: 10px; flex-wrap: wrap; }
.admin-saved-view-list a { padding: 4px 7px; border: 1px solid var(--dash-line); color: var(--dash-accent); font-size: 0.62rem; }
.dashboard-action-drawer-backdrop { position: fixed; z-index: 139; inset: 0; border: 0; background: rgba(8, 12, 20, .48); backdrop-filter: blur(3px); cursor: default; }
.dashboard-action-drawer { position: fixed; z-index: 140; top: 0; right: 0; bottom: 0; width: min(440px, 94vw); overflow-y: auto; padding: 32px; background: var(--dash-surface); border-left: 1px solid var(--dash-line); box-shadow: -24px 0 70px rgba(0,0,0,.28); }
.dashboard-action-drawer h2 { margin: 18px 0 10px; font-size: 1.6rem; line-height: 1.2; }
.dashboard-action-drawer dl { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; margin: 28px 0; padding-block: 22px; border-block: 1px solid var(--dash-line); }
.dashboard-action-drawer dt { color: var(--dash-muted); }
.dashboard-action-drawer dd { margin: 0; overflow-wrap: anywhere; }
.dashboard-action-drawer a { color: var(--dash-accent); font-weight: 700; }
.dashboard-action-drawer-close { display: grid; width: 38px; height: 38px; margin-left: auto; place-items: center; border: 1px solid var(--dash-line); border-radius: 50%; background: transparent; color: var(--dash-text); }
.dashboard-action-drawer-description { max-width: 36ch; color: var(--dash-muted); line-height: 1.65; }

.dashboard-queue-head {
    min-height: 36px;
    border-bottom: 1px solid var(--dash-line);
    color: var(--dash-faint);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dashboard-queue-item {
    min-height: 54px;
    border-bottom: 1px solid var(--dash-line);
    color: var(--dash-muted);
    font-size: 0.7rem;
    text-decoration: none;
    transition: background-color 160ms ease, transform 160ms ease;
}

.dashboard-queue-item:hover { background: color-mix(in srgb, var(--dash-accent) 6%, transparent); transform: translateX(2px); }
.dashboard-queue-item strong { color: var(--dash-text); font-size: 0.76rem; }
.dashboard-queue-item strong small { display: block; margin-top: 3px; color: var(--dash-faint); font-family: "IBM Plex Mono", monospace; font-size: 0.58rem; font-weight: 400; }
.queue-priority,
.queue-status { width: max-content; padding: 3px 5px; border: 1px solid var(--dash-line); font-size: 0.58rem; text-transform: capitalize; }
.dashboard-queue-item.is-high .queue-priority { border-color: color-mix(in srgb, var(--dash-danger) 56%, var(--dash-line)); color: var(--dash-danger); }
.dashboard-queue-item.is-normal .queue-priority { border-color: color-mix(in srgb, var(--dash-warning) 54%, var(--dash-line)); color: var(--dash-warning); }

.admin-node-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--dash-line); }
.admin-node-row strong,
.admin-node-row span { display: block; }
.admin-node-row strong { font-size: 0.76rem; }
.admin-node-row span { margin-top: 4px; color: var(--dash-muted); font-size: 0.62rem; }
.admin-node-row > b { font-family: "IBM Plex Mono", monospace; font-size: 0.72rem; }
.admin-node-track { grid-column: 1 / -1; height: 4px; overflow: hidden; background: var(--dash-line); }
.admin-node-track i { display: block; height: 100%; background: var(--dash-accent); transition: width 420ms cubic-bezier(0.22, 1, 0.36, 1); }
.admin-audit-section { margin-top: 26px; }
.admin-audit-row { padding: 11px 0; border-bottom: 1px solid var(--dash-line); }
.admin-audit-row strong,
.admin-audit-row span,
.admin-audit-row small { display: block; }
.admin-audit-row strong { font-size: 0.72rem; }
.admin-audit-row span { margin-top: 3px; color: var(--dash-muted); font-size: 0.64rem; }
.admin-audit-row small { margin-top: 3px; color: var(--dash-faint); font-family: "IBM Plex Mono", monospace; font-size: 0.56rem; }
.notification-preference-grid { margin-top: 18px; border-top: 1px solid var(--dash-line); }
.notification-preference-row { display: grid; grid-template-columns: 1fr 100px 100px; gap: 12px; align-items: center; min-height: 48px; border-bottom: 1px solid var(--dash-line); font-size: 0.74rem; }
.notification-preference-row label { display: flex; align-items: center; gap: 7px; color: var(--dash-muted); }
.notification-preference-row input { width: 16px; height: 16px; }
@media (max-width: 600px) { .notification-preference-row { grid-template-columns: 1fr 1fr; padding: 10px 0; } .notification-preference-row strong { grid-column: 1 / -1; } }

@media (max-width: 1180px) {
    .admin-operations-grid { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
    .dashboard-queue-head { display: none; }
    .dashboard-queue-item { grid-template-columns: 64px 1fr 18px; padding: 10px 0; }
    .dashboard-queue-item > span:nth-child(3),
    .dashboard-queue-item > span:nth-child(4),
    .dashboard-queue-item > span:nth-child(5) { display: none; }
}

.pricing-showcase {
    min-height: 100vh;
    overflow: hidden;
    border-block: 1px solid rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(circle at 50% 36%, rgba(32, 108, 232, 0.34) 0%, rgba(32, 108, 232, 0) 42%),
        radial-gradient(circle at 50% -18%, rgba(49, 49, 245, 0.55) 0%, rgba(49, 49, 245, 0) 34%),
        linear-gradient(180deg, #050506 0%, #090a0f 44%, #000000 100%);
}

.pricing-sparkles {
    position: absolute;
    inset: 0 0 auto;
    height: 28rem;
    opacity: 0.48;
    pointer-events: none;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.72) 0 1px, transparent 1.5px),
        linear-gradient(to right, rgba(255, 255, 255, 0.17) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(58, 58, 58, 0.22) 1px, transparent 1px);
    background-position: 0 0, center top, center top;
    background-size: 3.5rem 3.5rem, 4.375rem 5rem, 4.375rem 5rem;
    mask-image: radial-gradient(circle at 50% 0%, black, transparent 72%);
}

.pricing-aurora {
    position: absolute;
    left: -34rem;
    right: -34rem;
    top: -9rem;
    height: 128rem;
    border-radius: 9999px;
    border: 12.5rem solid #3131f5;
    filter: blur(92px);
    opacity: 0.35;
    pointer-events: none;
}

.pricing-heading {
    padding-top: 2rem;
}

.pricing-eyebrow {
    color: #a99cff;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.32em;
    text-transform: uppercase;
}

.pricing-toggle {
    position: relative;
    z-index: 2;
    display: flex;
    width: fit-content;
    margin: 2rem auto 0;
    gap: 0.35rem;
    border: 1px solid #374151;
    border-radius: 9999px;
    background: #171717;
    padding: 0.35rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 45px rgba(0, 0, 0, 0.32);
}

.pricing-toggle-button {
    position: relative;
    min-width: 7rem;
    border: 0;
    border-radius: 9999px;
    background: transparent;
    padding: 0.75rem 1rem;
    color: var(--color-mist);
    font-weight: 800;
    cursor: pointer;
    transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.pricing-toggle-button.is-active {
    color: #ffffff;
    background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 0 0 4px #1d4ed8 inset, 0 10px 30px rgba(37, 99, 235, 0.55);
}

.pricing-grid {
    align-items: stretch;
}

.pricing-stage-card {
    isolation: isolate;
    background:
        linear-gradient(90deg, #0f1015 0%, #17181f 50%, #0f1015 100%);
    border-color: #262735;
    color: #ffffff;
    box-shadow: 0 22px 80px rgba(0, 0, 0, 0.55);
}

.pricing-stage-card h3 {
    margin-top: 0.75rem;
    font-size: 2.45rem;
    line-height: 1;
}

.pricing-stage-card.is-popular {
    transform: translateY(-0.55rem);
    border-color: rgba(71, 85, 255, 0.54);
    box-shadow:
        0 0 0 1px rgba(71, 85, 255, 0.42),
        0 -13px 300px 0 rgba(9, 0, 255, 0.62),
        0 30px 90px rgba(0, 0, 0, 0.7);
}

.pricing-popular-glow {
    position: absolute;
    inset: -18% -10% auto;
    z-index: -1;
    height: 14rem;
    background: radial-gradient(circle, rgba(49, 49, 245, 0.72), transparent 72%);
    filter: blur(22px);
    opacity: 0.9;
    pointer-events: none;
}

.pricing-description {
    color: #d1d5db;
}

.pricing-includes {
    border-top: 1px solid #374151;
    padding-top: 1rem;
}

.pricing-includes h4 {
    margin-bottom: 0.8rem;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
}

.pricing-includes ul {
    display: grid;
    gap: 0.68rem;
}

.pricing-includes li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: #d1d5db;
    font-size: 0.92rem;
}

.pricing-includes li::before {
    content: '';
    width: 0.62rem;
    height: 0.62rem;
    flex: 0 0 auto;
    border-radius: 9999px;
    background: #737373;
}

.pricing-dynamic-price {
    transition: opacity 160ms ease, transform 160ms ease;
}

.pricing-dynamic-price.is-changing {
    opacity: 0;
    transform: translateY(-0.35rem);
}

.pricing-action {
    border: 1px solid transparent;
}

.pricing-action-primary {
    color: #ffffff;
    border-color: #3b82f6;
    background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 16px 42px rgba(30, 64, 175, 0.65);
}

.pricing-action-secondary {
    color: #ffffff;
    border-color: #262626;
    background: linear-gradient(180deg, #525252 0%, #050505 100%);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.45);
}

.pricing-react-mount {
    position: relative;
    min-height: 100vh;
}

#afkland-auth-react,
#afkland-hero-react,
#afkland-features-react,
#afkland-faq-react {
    min-height: calc(100vh - 4.5rem);
}

.react-pricing-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    border-block: 1px solid rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(circle at 50% 36%, rgba(32, 108, 232, 0.34) 0%, rgba(32, 108, 232, 0) 42%),
        radial-gradient(circle at 50% -18%, rgba(49, 49, 245, 0.55) 0%, rgba(49, 49, 245, 0) 34%),
        linear-gradient(180deg, #050506 0%, #090a0f 44%, #000000 100%);
}

.react-pricing-loader {
    position: absolute;
    inset: 0;
    z-index: 30;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 50% 42%, rgba(49, 49, 245, 0.22), transparent 34%),
        rgba(0, 0, 0, 0.88);
    transition: opacity 260ms ease, visibility 260ms ease;
}

.react-pricing-section.is-ready .react-pricing-loader {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.react-pricing-loader-shell {
    display: grid;
    gap: 1rem;
    width: min(18rem, calc(100vw - 3rem));
    color: #ffffff;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.react-pricing-loader-shell > div {
    overflow: hidden;
    height: 0.55rem;
    border-radius: 9999px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(23, 23, 23, 0.9);
}

.react-pricing-loader-shell i {
    display: block;
    width: 42%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #60a5fa, #3131f5, #a78bfa);
    box-shadow: 0 0 30px rgba(49, 49, 245, 0.72);
    animation: pricingLoader 900ms ease-in-out infinite;
}

.react-pricing-sparkles-canvas,
.react-pricing-grid-bg,
.react-pricing-ring,
.react-pricing-orb {
    position: absolute;
    pointer-events: none;
}

.react-pricing-sparkles-canvas {
    inset: 0 0 auto;
    z-index: 2;
    width: 100%;
    height: 28rem;
    opacity: 0.72;
    mask-image: radial-gradient(circle at 50% 0%, black, transparent 76%);
}

.react-pricing-grid-bg {
    inset: 0 0 auto;
    z-index: 1;
    height: 28rem;
    opacity: 0.42;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.17) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(58, 58, 58, 0.22) 1px, transparent 1px);
    background-size: 4.375rem 5rem;
    mask-image: radial-gradient(circle at 50% 0%, black, transparent 72%);
}

.react-pricing-ring {
    left: -34rem;
    right: -34rem;
    top: -9rem;
    z-index: 0;
    height: 128rem;
    border-radius: 9999px;
    border: 12.5rem solid #3131f5;
    filter: blur(92px);
    opacity: 0.28;
}

.react-pricing-ring-b {
    top: -4rem;
    opacity: 0.16;
    transform: scale(0.92);
}

.react-pricing-orb {
    left: 10%;
    right: 10%;
    top: 12rem;
    z-index: 0;
    height: 42rem;
    border-radius: 9999px;
    background: radial-gradient(circle at center, rgba(32, 108, 232, 0.68) 0%, transparent 70%);
    opacity: 0.54;
    mix-blend-mode: screen;
    filter: blur(18px);
}

.react-pricing-content {
    position: relative;
    z-index: 5;
    width: min(100% - 3rem, 72rem);
    margin-inline: auto;
    padding: 8rem 0 5rem;
    transition: opacity 460ms ease, transform 460ms ease, filter 460ms ease;
}

.react-pricing-section.is-waiting .react-pricing-content,
.react-pricing-section.is-loading .react-pricing-content {
    opacity: 0;
    filter: blur(12px);
    transform: translateY(-1.2rem);
}

.react-pricing-heading {
    max-width: 48rem;
    margin-inline: auto;
    text-align: center;
    opacity: 0;
    filter: blur(10px);
    transform: translateY(-1.25rem);
}

.react-pricing-section.is-ready .react-pricing-heading {
    animation: pricingReveal 620ms ease both;
}

.react-pricing-heading p {
    color: #a99cff;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.32em;
    text-transform: uppercase;
}

.react-pricing-heading h2 {
    margin-top: 0.8rem;
    color: #ffffff;
    font-size: clamp(2.2rem, 5vw, 4.15rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.react-pricing-heading h2 .react-cut-word {
    display: inline-flex;
    overflow: hidden;
    margin-right: 0.28em;
    vertical-align: top;
}

.react-pricing-heading h2 .react-cut-word > span {
    display: inline-block;
    transform: translateY(112%);
}

.react-pricing-section.is-ready .react-pricing-heading h2 .react-cut-word > span {
    animation: verticalCutReveal 820ms cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: var(--word-delay);
}

.react-pricing-heading > span {
    display: block;
    margin-top: 1rem;
    color: #d1d5db;
    line-height: 1.75;
}

.react-pricing-switch {
    position: relative;
    display: flex;
    width: fit-content;
    margin: 2rem auto 0;
    gap: 0.35rem;
    border: 1px solid #374151;
    border-radius: 9999px;
    background: #171717;
    padding: 0.35rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 45px rgba(0, 0, 0, 0.32);
    opacity: 0;
    filter: blur(10px);
    transform: translateY(-1.25rem);
}

.react-pricing-section.is-ready .react-pricing-switch {
    animation: pricingReveal 620ms 120ms ease both;
}

.react-pricing-switch button {
    position: relative;
    min-width: 7rem;
    border: 0;
    border-radius: 9999px;
    background: transparent;
    padding: 0.75rem 1rem;
    color: #d1d5db;
    font-weight: 800;
    cursor: pointer;
    transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.react-pricing-switch button:hover {
    transform: translateY(-1px);
}

.react-pricing-switch button.is-active {
    color: #ffffff;
    background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 0 0 4px #1d4ed8 inset, 0 10px 30px rgba(37, 99, 235, 0.55);
}

.react-pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2.5rem;
}

.react-pricing-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 31rem;
    border: 1px solid #262735;
    border-radius: 1.45rem;
    background: linear-gradient(90deg, #0f1015 0%, #17181f 50%, #0f1015 100%);
    color: #ffffff;
    box-shadow: 0 22px 80px rgba(0, 0, 0, 0.55);
    opacity: 0;
    filter: blur(10px);
    transform: translateY(-1.25rem);
}

.react-pricing-card.is-popular {
    border-color: rgba(71, 85, 255, 0.54);
    box-shadow:
        0 0 0 1px rgba(71, 85, 255, 0.42),
        0 -13px 300px 0 rgba(9, 0, 255, 0.62),
        0 30px 90px rgba(0, 0, 0, 0.7);
}

.react-pricing-section.is-ready .react-pricing-card {
    animation: pricingCardReveal 680ms cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(540ms + var(--delay));
}

.react-pricing-card-glow {
    position: absolute;
    inset: -18% -10% auto;
    z-index: -1;
    height: 14rem;
    background: radial-gradient(circle, rgba(49, 49, 245, 0.72), transparent 72%);
    filter: blur(22px);
    opacity: 0.9;
}

.react-pricing-card-header,
.react-pricing-card-content {
    padding: 1.65rem;
}

.react-pricing-card-content {
    padding-top: 0;
}

.react-pricing-card-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.react-pricing-card-row h3 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.react-pricing-card-row span {
    border: 1px solid rgba(169, 156, 255, 0.44);
    border-radius: 9999px;
    padding: 0.35rem 0.75rem;
    color: #c4b5fd;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.react-pricing-price {
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
    margin-top: 1.2rem;
    animation: priceCut 260ms ease both;
}

.react-pricing-price strong {
    color: #ffffff;
    font-size: clamp(2.05rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.045em;
}

.react-pricing-price em {
    color: #d1d5db;
    font-size: 0.95rem;
    font-style: normal;
}

.react-pricing-card-header p {
    margin-top: 1.15rem;
    color: #d1d5db;
    font-size: 0.93rem;
    line-height: 1.8;
}

.react-pricing-card-content h4 {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
}

.react-pricing-card-content ul {
    display: grid;
    gap: 0.68rem;
    margin-top: 0.8rem;
}

.react-pricing-card-content li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: #d1d5db;
    font-size: 0.92rem;
}

.react-pricing-card-content li span {
    width: 0.62rem;
    height: 0.62rem;
    flex: 0 0 auto;
    border-radius: 9999px;
    background: #737373;
}

.react-pricing-card-content a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 1.6rem;
    border-radius: 0.9rem;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 800;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.react-pricing-card-content a:hover {
    transform: translateY(-2px);
}

.react-pricing-card-content a.primary {
    color: #ffffff;
    border: 1px solid #3b82f6;
    background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 16px 42px rgba(30, 64, 175, 0.65);
}

.react-pricing-card-content a.secondary {
    color: #ffffff;
    border: 1px solid #262626;
    background: linear-gradient(180deg, #525252 0%, #050505 100%);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.45);
}

body[data-theme="default"] .react-pricing-section {
    border-block-color: rgba(0, 228, 117, 0.16);
    background:
        radial-gradient(circle at 50% 24%, rgba(0, 228, 117, 0.22) 0%, rgba(0, 228, 117, 0) 38%),
        radial-gradient(circle at 16% 18%, rgba(0, 124, 76, 0.26) 0%, transparent 34%),
        radial-gradient(circle at 84% 72%, rgba(0, 228, 117, 0.13) 0%, transparent 36%),
        linear-gradient(180deg, #020604 0%, #04100a 48%, #020604 100%);
}

body[data-theme="default"] .react-pricing-loader {
    background:
        radial-gradient(circle at 50% 42%, rgba(0, 228, 117, 0.22), transparent 34%),
        rgba(2, 6, 4, 0.9);
}

body[data-theme="default"] .react-pricing-loader-shell i {
    background: linear-gradient(90deg, #69ffae, #00e475, #0c8f57);
    box-shadow: 0 0 30px rgba(0, 228, 117, 0.58);
}

body[data-theme="default"] .react-pricing-sparkles-canvas {
    opacity: 0.66;
    filter: saturate(1.16) hue-rotate(94deg);
}

body[data-theme="default"] .react-pricing-grid-bg {
    opacity: 0.40;
    background-image:
        linear-gradient(to right, rgba(156, 255, 203, 0.10) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(156, 255, 203, 0.065) 1px, transparent 1px);
}

body[data-theme="default"] .react-pricing-ring {
    border-color: #00e475;
    opacity: 0.20;
    filter: blur(104px);
}

body[data-theme="default"] .react-pricing-ring-b {
    border-color: #0c8f57;
    opacity: 0.16;
}

body[data-theme="default"] .react-pricing-orb {
    background: radial-gradient(circle at center, rgba(0, 228, 117, 0.48) 0%, rgba(0, 124, 76, 0.20) 42%, transparent 72%);
    opacity: 0.46;
}

body[data-theme="default"] .react-pricing-heading p,
body[data-theme="default"] .react-pricing-heading > span {
    color: rgba(105, 255, 174, 0.90);
}

body[data-theme="default"] .react-pricing-switch {
    border-color: rgba(105, 255, 174, 0.24);
    background: rgba(5, 13, 9, 0.88);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 18px 55px rgba(0, 228, 117, 0.12);
}

body[data-theme="default"] .react-pricing-switch button {
    color: rgba(189, 216, 200, 0.78);
}

body[data-theme="default"] .react-pricing-switch button.is-active {
    color: #00160b;
    background: linear-gradient(180deg, #69ffae 0%, #00e475 100%);
    box-shadow:
        0 0 0 4px rgba(0, 49, 27, 0.42) inset,
        0 14px 34px rgba(0, 228, 117, 0.28);
}

body[data-theme="default"] .react-pricing-card {
    border-color: rgba(156, 255, 203, 0.18);
    background:
        radial-gradient(circle at 18% 0%, rgba(0, 228, 117, 0.13) 0%, transparent 34%),
        linear-gradient(115deg, rgba(14, 29, 20, 0.94) 0%, rgba(9, 18, 13, 0.90) 54%, rgba(3, 8, 5, 0.98) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.045),
        0 28px 90px rgba(0, 0, 0, 0.34);
}

body[data-theme="default"] .react-pricing-card.is-popular {
    border-color: rgba(0, 228, 117, 0.62);
    box-shadow:
        0 0 0 1px rgba(0, 228, 117, 0.36),
        0 -16px 210px 0 rgba(0, 228, 117, 0.30),
        0 24px 70px rgba(0, 0, 0, 0.44);
}

body[data-theme="default"] .react-pricing-card-glow {
    background: radial-gradient(circle, rgba(0, 228, 117, 0.46), rgba(0, 124, 76, 0.24) 44%, transparent 72%);
    opacity: 0.84;
}

body[data-theme="default"] .react-pricing-card-row span {
    border-color: rgba(105, 255, 174, 0.42);
    color: #b7ffd7;
    background: rgba(0, 228, 117, 0.10);
}

body[data-theme="default"] .react-pricing-price em,
body[data-theme="default"] .react-pricing-card-header p,
body[data-theme="default"] .react-pricing-card-content li {
    color: rgba(214, 232, 221, 0.82);
}

body[data-theme="default"] .react-pricing-card-content h4 {
    border-top-color: rgba(156, 255, 203, 0.17);
}

body[data-theme="default"] .react-pricing-card-content li span {
    background: rgba(105, 255, 174, 0.64);
    box-shadow: 0 0 18px rgba(0, 228, 117, 0.22);
}

body[data-theme="default"] .react-pricing-card-content a.primary {
    color: #00160b;
    border-color: rgba(105, 255, 174, 0.70);
    background: linear-gradient(180deg, #69ffae 0%, #00d66d 100%);
    box-shadow: 0 18px 48px rgba(0, 228, 117, 0.30);
}

body[data-theme="default"] .react-pricing-card-content a.secondary {
    color: #eefaf2;
    border-color: rgba(156, 255, 203, 0.18);
    background: linear-gradient(180deg, rgba(22, 42, 30, 0.96) 0%, rgba(3, 8, 5, 0.98) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 16px 42px rgba(0, 0, 0, 0.42);
}

body[data-theme="ethereal"] .react-pricing-section {
    border-block-color: rgba(83, 225, 170, 0.18);
    background:
        radial-gradient(circle at 50% 28%, rgba(47, 132, 217, 0.36) 0%, rgba(47, 132, 217, 0) 42%),
        radial-gradient(circle at 50% -16%, rgba(83, 225, 170, 0.18) 0%, rgba(83, 225, 170, 0) 34%),
        radial-gradient(circle at 15% 16%, rgba(37, 196, 164, 0.20) 0%, rgba(37, 196, 164, 0) 34%),
        radial-gradient(circle at 86% 76%, rgba(60, 122, 219, 0.26) 0%, rgba(60, 122, 219, 0) 38%),
        linear-gradient(180deg, #071426 0%, #0a1931 46%, #050d1b 100%);
}

body[data-theme="ethereal"] .react-pricing-sparkles-canvas {
    opacity: 0.70;
    filter: saturate(1.08) hue-rotate(22deg);
}

body[data-theme="ethereal"] .react-pricing-grid-bg {
    opacity: 0.44;
    background-image:
        linear-gradient(to right, rgba(154, 232, 216, 0.13) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(122, 181, 255, 0.10) 1px, transparent 1px);
}

body[data-theme="ethereal"] .react-pricing-ring {
    border-color: #53e1aa;
    opacity: 0.22;
    filter: blur(98px);
}

body[data-theme="ethereal"] .react-pricing-ring-b {
    border-color: #3f7fe8;
    opacity: 0.24;
}

body[data-theme="ethereal"] .react-pricing-orb {
    background: radial-gradient(circle at center, rgba(83, 225, 170, 0.46) 0%, rgba(47, 132, 217, 0.28) 42%, transparent 72%);
    opacity: 0.58;
}

body[data-theme="ethereal"] .react-pricing-heading p {
    color: rgba(154, 198, 255, 0.92);
}

body[data-theme="ethereal"] .react-pricing-heading h2 {
    color: #f4f8ff;
}

body[data-theme="ethereal"] .react-pricing-heading > span {
    color: rgba(207, 220, 239, 0.78);
}

body[data-theme="ethereal"] .react-pricing-switch {
    border-color: rgba(83, 225, 170, 0.24);
    background: rgba(10, 21, 39, 0.84);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 18px 45px rgba(1, 7, 18, 0.40),
        0 0 48px rgba(83, 225, 170, 0.12);
}

body[data-theme="ethereal"] .react-pricing-switch button {
    color: rgba(207, 220, 239, 0.78);
}

body[data-theme="ethereal"] .react-pricing-switch button.is-active {
    color: #061421;
    background: linear-gradient(180deg, #79ffd0 0%, #39c99a 100%);
    box-shadow:
        0 0 0 4px rgba(7, 42, 37, 0.40) inset,
        0 14px 38px rgba(83, 225, 170, 0.30);
}

body[data-theme="ethereal"] .react-pricing-card {
    border-color: rgba(122, 181, 255, 0.20);
    background:
        radial-gradient(circle at 20% 0%, rgba(83, 225, 170, 0.12) 0%, rgba(83, 225, 170, 0) 34%),
        radial-gradient(circle at 84% 10%, rgba(60, 122, 219, 0.13) 0%, rgba(60, 122, 219, 0) 36%),
        linear-gradient(115deg, rgba(14, 27, 48, 0.96) 0%, rgba(18, 32, 56, 0.88) 52%, rgba(7, 15, 29, 0.98) 100%);
    color: #f5f8ff;
    box-shadow: 0 24px 85px rgba(1, 7, 18, 0.56);
}

body[data-theme="ethereal"] .react-pricing-card.is-popular {
    border-color: rgba(83, 225, 170, 0.58);
    box-shadow:
        0 0 0 1px rgba(83, 225, 170, 0.32),
        0 -18px 220px 0 rgba(47, 132, 217, 0.34),
        0 0 78px rgba(83, 225, 170, 0.14),
        0 30px 100px rgba(1, 7, 18, 0.70);
}

body[data-theme="ethereal"] .react-pricing-card-glow {
    background: radial-gradient(circle, rgba(83, 225, 170, 0.40), rgba(60, 122, 219, 0.26) 44%, transparent 72%);
    opacity: 0.88;
}

body[data-theme="ethereal"] .react-pricing-card-row h3,
body[data-theme="ethereal"] .react-pricing-price strong,
body[data-theme="ethereal"] .react-pricing-card-content h4 {
    color: #f6f9ff;
}

body[data-theme="ethereal"] .react-pricing-card-row span {
    border-color: rgba(83, 225, 170, 0.44);
    color: #baffdf;
    background: rgba(83, 225, 170, 0.10);
}

body[data-theme="ethereal"] .react-pricing-price em,
body[data-theme="ethereal"] .react-pricing-card-header p,
body[data-theme="ethereal"] .react-pricing-card-content li {
    color: rgba(207, 220, 239, 0.78);
}

body[data-theme="ethereal"] .react-pricing-card-content h4 {
    border-top-color: rgba(144, 179, 202, 0.18);
}

body[data-theme="ethereal"] .react-pricing-card-content li span {
    background: rgba(83, 225, 170, 0.68);
    box-shadow: 0 0 18px rgba(83, 225, 170, 0.24);
}

body[data-theme="ethereal"] .react-pricing-card-content a.primary {
    color: #061421;
    border-color: rgba(121, 255, 208, 0.72);
    background: linear-gradient(180deg, #79ffd0 0%, #39c99a 100%);
    box-shadow: 0 18px 48px rgba(83, 225, 170, 0.34);
}

body[data-theme="ethereal"] .react-pricing-card-content a.secondary {
    color: #eef5ff;
    border-color: rgba(122, 181, 255, 0.22);
    background: linear-gradient(180deg, rgba(23, 43, 72, 0.96) 0%, rgba(7, 15, 29, 0.98) 100%);
    box-shadow:
        0 16px 42px rgba(1, 7, 18, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

body[data-theme="dark-theme"] .react-pricing-section {
    border-block-color: rgba(170, 180, 210, 0.18);
    background:
        radial-gradient(circle at 50% 28%, rgba(73, 104, 230, 0.24) 0%, rgba(73, 104, 230, 0) 42%),
        radial-gradient(circle at 16% 10%, rgba(176, 156, 255, 0.12) 0%, rgba(176, 156, 255, 0) 34%),
        radial-gradient(circle at 88% 82%, rgba(73, 104, 230, 0.14) 0%, rgba(73, 104, 230, 0) 36%),
        linear-gradient(180deg, #252d3e 0%, #202837 48%, #181d29 100%);
}

body[data-theme="dark-theme"] .react-pricing-sparkles-canvas {
    opacity: 0.48;
    filter: saturate(0.86) hue-rotate(16deg);
}

body[data-theme="dark-theme"] .react-pricing-grid-bg {
    opacity: 0.32;
    background-image:
        linear-gradient(to right, rgba(235, 240, 255, 0.10) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(176, 156, 255, 0.075) 1px, transparent 1px);
}

body[data-theme="dark-theme"] .react-pricing-ring {
    border-color: #4968e6;
    opacity: 0.20;
    filter: blur(104px);
}

body[data-theme="dark-theme"] .react-pricing-ring-b {
    border-color: #b09cff;
    opacity: 0.12;
}

body[data-theme="dark-theme"] .react-pricing-orb {
    background: radial-gradient(circle at center, rgba(73, 104, 230, 0.42) 0%, rgba(176, 156, 255, 0.18) 42%, transparent 72%);
    opacity: 0.44;
}

body[data-theme="dark-theme"] .react-pricing-heading p,
body[data-theme="dark-theme"] .react-pricing-heading > span {
    color: rgba(176, 156, 255, 0.86);
}

body[data-theme="dark-theme"] .react-pricing-heading h2 {
    color: #f2f5fb;
}

body[data-theme="dark-theme"] .react-pricing-switch {
    border-color: rgba(176, 156, 255, 0.22);
    background: rgba(19, 23, 32, 0.84);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 18px 45px rgba(9, 12, 20, 0.36);
}

body[data-theme="dark-theme"] .react-pricing-switch button {
    color: rgba(216, 221, 236, 0.78);
}

body[data-theme="dark-theme"] .react-pricing-switch button.is-active {
    color: #ffffff;
    background: linear-gradient(180deg, #5f7cff 0%, #3f5bd8 100%);
    box-shadow:
        0 0 0 4px rgba(17, 24, 55, 0.48) inset,
        0 14px 38px rgba(73, 104, 230, 0.34);
}

body[data-theme="dark-theme"] .react-pricing-card {
    border-color: rgba(170, 180, 210, 0.22);
    background:
        radial-gradient(circle at 18% 0%, rgba(176, 156, 255, 0.10) 0%, rgba(176, 156, 255, 0) 34%),
        linear-gradient(115deg, rgba(42, 50, 70, 0.94) 0%, rgba(32, 39, 55, 0.88) 52%, rgba(18, 22, 31, 0.98) 100%);
    color: #f2f5fb;
    box-shadow: 0 24px 85px rgba(9, 12, 20, 0.42);
}

body[data-theme="dark-theme"] .react-pricing-card.is-popular {
    border-color: rgba(73, 104, 230, 0.62);
    box-shadow:
        0 0 0 1px rgba(73, 104, 230, 0.36),
        0 -16px 210px 0 rgba(73, 104, 230, 0.26),
        0 0 72px rgba(176, 156, 255, 0.10),
        0 30px 100px rgba(9, 12, 20, 0.52);
}

body[data-theme="dark-theme"] .react-pricing-card-glow {
    background: radial-gradient(circle, rgba(73, 104, 230, 0.42), rgba(176, 156, 255, 0.18) 44%, transparent 72%);
    opacity: 0.78;
}

body[data-theme="dark-theme"] .react-pricing-card-row h3,
body[data-theme="dark-theme"] .react-pricing-price strong,
body[data-theme="dark-theme"] .react-pricing-card-content h4 {
    color: #f5f7fb;
}

body[data-theme="dark-theme"] .react-pricing-card-row span {
    border-color: rgba(176, 156, 255, 0.42);
    color: #d9d0ff;
    background: rgba(176, 156, 255, 0.09);
}

body[data-theme="dark-theme"] .react-pricing-price em,
body[data-theme="dark-theme"] .react-pricing-card-header p,
body[data-theme="dark-theme"] .react-pricing-card-content li {
    color: rgba(215, 220, 235, 0.80);
}

body[data-theme="dark-theme"] .react-pricing-card-content h4 {
    border-top-color: rgba(170, 180, 210, 0.18);
}

body[data-theme="dark-theme"] .react-pricing-card-content li span {
    background: rgba(176, 156, 255, 0.58);
    box-shadow: 0 0 18px rgba(176, 156, 255, 0.18);
}

body[data-theme="dark-theme"] .react-pricing-card-content a.primary {
    color: #ffffff;
    border-color: rgba(95, 124, 255, 0.70);
    background: linear-gradient(180deg, #5f7cff 0%, #3f5bd8 100%);
    box-shadow: 0 18px 48px rgba(73, 104, 230, 0.34);
}

body[data-theme="dark-theme"] .react-pricing-card-content a.secondary {
    color: #eef2fb;
    border-color: rgba(170, 180, 210, 0.22);
    background: linear-gradient(180deg, rgba(55, 64, 88, 0.94) 0%, rgba(18, 22, 31, 0.98) 100%);
    box-shadow:
        0 16px 42px rgba(9, 12, 20, 0.36),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

@keyframes pricingReveal {
    from {
        opacity: 0;
        filter: blur(10px);
        transform: translateY(-1.25rem);
    }
    to {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
}

@keyframes pricingCardReveal {
    from {
        opacity: 0;
        filter: blur(10px);
        transform: translateY(-1.25rem);
    }
    to {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
}

@keyframes verticalCutReveal {
    from {
        transform: translateY(112%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes featureBeamSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes featureGridPulse {
    0%,
    100% {
        opacity: 0.14;
        transform: translateY(0);
    }
    50% {
        opacity: 0.26;
        transform: translateY(-8px);
    }
}

@keyframes featureGlowPulse {
    0%,
    100% {
        opacity: 0.22;
        transform: scale(1);
    }
    50% {
        opacity: 0.46;
        transform: scale(1.12);
    }
}

@keyframes pricingLoader {
    0% {
        transform: translateX(-120%);
    }
    55% {
        transform: translateX(80%);
    }
    100% {
        transform: translateX(250%);
    }
}

@keyframes priceCut {
    from {
        opacity: 0;
        clip-path: inset(0 0 100% 0);
        transform: translateY(-0.45rem);
    }
    to {
        opacity: 1;
        clip-path: inset(0 0 0 0);
        transform: translateY(0);
    }
}

.feature-index {
    color: var(--color-emerald-soft);
    font-size: 0.84rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.pricing-card-featured {
    border-color: var(--color-pill-border);
    box-shadow: 0 0 0 1px var(--color-glow-ring), 0 30px 70px var(--color-glow-blur);
}

.pricing-showcase .pricing-card-featured {
    border-color: rgba(71, 85, 255, 0.54);
    box-shadow:
        0 0 0 1px rgba(71, 85, 255, 0.42),
        0 -13px 300px 0 rgba(9, 0, 255, 0.62),
        0 30px 90px rgba(0, 0, 0, 0.7);
}

.faq-item {
    border-radius: 1.5rem;
    border: 1px solid var(--color-faq-border);
    background: var(--color-faq-bg);
    padding: 1.25rem 1.5rem;
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-surface-text);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    margin-top: 1rem;
    color: var(--color-mist);
    line-height: 1.8;
}

.legacy-faq-section-hidden {
    display: none !important;
}

.afk-faq-section {
    position: relative;
    overflow: hidden;
    padding: clamp(4.5rem, 9vw, 7.5rem) 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background:
        radial-gradient(circle at 50% 0%, rgba(0, 228, 117, 0.12), transparent 26rem),
        radial-gradient(circle at 50% 100%, rgba(70, 96, 255, 0.10), transparent 24rem),
        linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.42));
}

.afk-faq-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 96px 96px;
    mask-image: radial-gradient(circle at 50% 38%, black, transparent 68%);
    opacity: 0.24;
}

.afk-faq-noise {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 32%, rgba(0, 228, 117, 0.08), transparent 16rem),
        radial-gradient(circle at 82% 44%, rgba(125, 166, 255, 0.08), transparent 16rem);
    animation: faqAmbientFloat 8s ease-in-out infinite;
}

.afk-faq-container {
    position: relative;
    z-index: 1;
    width: min(100%, 48rem);
    margin-inline: auto;
}

.afk-faq-heading {
    margin-inline: auto;
    max-width: 42rem;
    text-align: center;
}

.afk-faq-heading p {
    color: var(--color-emerald-soft);
    font-size: 0.82rem;
    font-weight: 850;
    letter-spacing: 0.32em;
    text-transform: uppercase;
}

.afk-faq-heading h2 {
    margin-top: 0.8rem;
    color: var(--color-surface-text);
    font-size: clamp(2.05rem, 4vw, 3.2rem);
    font-weight: 760;
    line-height: 1.06;
    letter-spacing: -0.045em;
}

.afk-faq-heading span {
    display: block;
    margin-top: 0.85rem;
    color: var(--color-mist);
    font-size: 0.98rem;
    line-height: 1.75;
}

.afk-faq-list {
    display: grid;
    gap: 0.7rem;
    margin-top: clamp(2rem, 4vw, 3rem);
}

.afk-faq-item {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.85rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.018));
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
    transition: border-color 220ms ease, background 220ms ease, box-shadow 220ms ease, transform 220ms ease;
    backdrop-filter: blur(18px);
}

.afk-faq-item::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 50% 0%, rgba(0, 228, 117, 0.12), transparent 48%);
    opacity: 0;
    transition: opacity 220ms ease;
}

.afk-faq-item:hover,
.afk-faq-item.is-open,
.afk-faq-item[open] {
    border-color: rgba(0, 228, 117, 0.24);
    background: linear-gradient(180deg, rgba(0, 228, 117, 0.055), rgba(255, 255, 255, 0.022));
    box-shadow: 0 22px 74px rgba(0, 0, 0, 0.28), 0 0 46px rgba(0, 228, 117, 0.08);
}

.afk-faq-item:hover {
    transform: translateY(-1px);
}

.afk-faq-item:hover::before,
.afk-faq-item.is-open::before,
.afk-faq-item[open]::before {
    opacity: 1;
}

.afk-faq-question {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 0;
    background: transparent;
    padding: 1.15rem 1.45rem;
    color: var(--color-surface-text);
    text-align: left;
    font: inherit;
    cursor: pointer;
}

summary.afk-faq-question {
    list-style: none;
}

summary.afk-faq-question::-webkit-details-marker {
    display: none;
}

.afk-faq-question span:first-child {
    font-size: 1.02rem;
    font-weight: 720;
    letter-spacing: -0.01em;
}

.afk-faq-chevron {
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
    color: rgba(255, 255, 255, 0.62);
    transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.afk-faq-item.is-open .afk-faq-chevron,
.afk-faq-item[open] .afk-faq-chevron {
    border-color: rgba(0, 228, 117, 0.30);
    background: rgba(0, 228, 117, 0.10);
    color: var(--color-emerald-soft);
}

.afk-faq-item[open] .afk-faq-chevron {
    transform: rotate(180deg);
}

.afk-faq-answer-wrap {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.afk-faq-answer-wrap p {
    margin: 0;
    padding: 0 1.45rem 1.25rem;
    color: var(--color-mist);
    font-size: 0.95rem;
    line-height: 1.8;
}

.afk-faq-contact {
    display: grid;
    justify-items: center;
    gap: 0.45rem;
    margin: clamp(2.6rem, 5vw, 4.2rem) auto 0;
    max-width: 25rem;
    text-align: center;
}

.afk-faq-contact-icon {
    display: inline-grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 0.35rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
    color: var(--color-emerald-soft);
    background: rgba(255, 255, 255, 0.035);
}

.afk-faq-contact strong {
    color: var(--color-surface-text);
    font-size: 1rem;
}

.afk-faq-contact p {
    margin: 0;
    color: var(--color-mist);
    font-size: 0.92rem;
}

.afk-faq-contact a {
    margin-top: 0.75rem;
    border-radius: 0.8rem;
    background: linear-gradient(135deg, #ffffff, rgba(236, 253, 245, 0.86));
    padding: 0.82rem 1.15rem;
    color: #050505;
    font-size: 0.9rem;
    font-weight: 780;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.afk-faq-contact a:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 42px rgba(255, 255, 255, 0.10);
}

body[data-theme="default"] .afk-faq-section {
    border-top-color: rgba(156, 255, 203, 0.12);
    background:
        radial-gradient(circle at 50% 0%, rgba(0, 228, 117, 0.15), transparent 26rem),
        radial-gradient(circle at 12% 25%, rgba(0, 124, 76, 0.16), transparent 22rem),
        radial-gradient(circle at 88% 50%, rgba(0, 228, 117, 0.08), transparent 18rem),
        linear-gradient(180deg, rgba(2, 6, 4, 0.42), rgba(2, 6, 4, 0.76));
}

body[data-theme="default"] .afk-faq-section::before {
    background-image:
        linear-gradient(rgba(156, 255, 203, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(156, 255, 203, 0.045) 1px, transparent 1px);
    opacity: 0.22;
}

body[data-theme="default"] .afk-faq-noise {
    background:
        radial-gradient(circle at 18% 32%, rgba(0, 228, 117, 0.10), transparent 16rem),
        radial-gradient(circle at 82% 44%, rgba(0, 124, 76, 0.10), transparent 16rem);
}

body[data-theme="default"] .afk-faq-item {
    border-color: rgba(156, 255, 203, 0.13);
    background:
        linear-gradient(180deg, rgba(20, 44, 31, 0.28), rgba(6, 16, 11, 0.34)),
        rgba(2, 6, 4, 0.54);
}

body[data-theme="default"] .afk-faq-item:hover,
body[data-theme="default"] .afk-faq-item.is-open,
body[data-theme="default"] .afk-faq-item[open] {
    border-color: rgba(105, 255, 174, 0.30);
    background:
        linear-gradient(180deg, rgba(0, 228, 117, 0.10), rgba(255, 255, 255, 0.018)),
        rgba(6, 16, 11, 0.64);
    box-shadow: 0 20px 70px rgba(0, 228, 117, 0.10);
}

body[data-theme="default"] .afk-faq-chevron,
body[data-theme="default"] .afk-faq-contact-icon {
    border-color: rgba(156, 255, 203, 0.18);
    color: rgba(183, 255, 215, 0.90);
    background: rgba(0, 228, 117, 0.055);
}

body[data-theme="default"] .afk-faq-contact a {
    background: linear-gradient(180deg, #69ffae 0%, #00e475 100%);
    color: #00160b;
    box-shadow: 0 16px 42px rgba(0, 228, 117, 0.24);
}

body[data-theme="ethereal"] .afk-faq-section {
    border-top-color: rgba(122, 181, 255, 0.14);
    background:
        radial-gradient(circle at 50% 0%, rgba(79, 139, 224, 0.18), transparent 25rem),
        radial-gradient(circle at 12% 20%, rgba(48, 94, 170, 0.12), transparent 22rem),
        radial-gradient(circle at 84% 82%, rgba(42, 91, 164, 0.12), transparent 24rem),
        linear-gradient(180deg, #071326 0%, #071225 54%, #050d1b 100%);
}

body[data-theme="ethereal"] .afk-faq-section::before {
    background-image:
        linear-gradient(rgba(198, 219, 255, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(198, 219, 255, 0.055) 1px, transparent 1px);
    opacity: 0.18;
}

body[data-theme="ethereal"] .afk-faq-noise {
    background:
        radial-gradient(circle at 18% 32%, rgba(60, 118, 204, 0.11), transparent 16rem),
        radial-gradient(circle at 82% 44%, rgba(122, 181, 255, 0.10), transparent 16rem);
}

body[data-theme="ethereal"] .afk-faq-heading p {
    color: rgba(154, 198, 255, 0.96);
}

body[data-theme="ethereal"] .afk-faq-item {
    border-color: rgba(144, 179, 202, 0.16);
    background:
        linear-gradient(180deg, rgba(48, 68, 101, 0.24), rgba(16, 29, 54, 0.28)),
        rgba(7, 15, 31, 0.48);
    box-shadow: 0 18px 60px rgba(1, 7, 18, 0.22);
}

body[data-theme="ethereal"] .afk-faq-item::before {
    background: radial-gradient(circle at 50% 0%, rgba(122, 181, 255, 0.13), transparent 48%);
}

body[data-theme="ethereal"] .afk-faq-item:hover,
body[data-theme="ethereal"] .afk-faq-item.is-open,
body[data-theme="ethereal"] .afk-faq-item[open] {
    border-color: rgba(122, 181, 255, 0.30);
    background:
        linear-gradient(180deg, rgba(67, 111, 180, 0.16), rgba(255, 255, 255, 0.024)),
        rgba(8, 18, 36, 0.56);
    box-shadow:
        0 22px 74px rgba(1, 7, 18, 0.32),
        0 0 46px rgba(74, 137, 224, 0.10);
}

body[data-theme="ethereal"] .afk-faq-chevron {
    border-color: rgba(144, 179, 202, 0.18);
    color: rgba(207, 220, 239, 0.74);
}

body[data-theme="ethereal"] .afk-faq-item.is-open .afk-faq-chevron,
body[data-theme="ethereal"] .afk-faq-item[open] .afk-faq-chevron {
    border-color: rgba(122, 181, 255, 0.34);
    background: rgba(122, 181, 255, 0.10);
    color: #bcd8ff;
}

body[data-theme="ethereal"] .afk-faq-contact-icon {
    border-color: rgba(122, 181, 255, 0.20);
    color: #bcd8ff;
    background: rgba(122, 181, 255, 0.07);
}

body[data-theme="ethereal"] .afk-faq-contact a {
    background: linear-gradient(180deg, #8abfff 0%, #dceaff 100%);
    color: #061421;
    box-shadow: 0 16px 42px rgba(72, 137, 224, 0.20);
}

body[data-theme="ethereal"] .afk-faq-contact a:hover {
    box-shadow: 0 18px 42px rgba(72, 137, 224, 0.26);
}

body[data-theme="dark-theme"] .afk-faq-section {
    border-top-color: rgba(170, 180, 210, 0.15);
    background:
        radial-gradient(circle at 50% 0%, rgba(73, 104, 230, 0.16), transparent 25rem),
        radial-gradient(circle at 14% 18%, rgba(176, 156, 255, 0.10), transparent 22rem),
        radial-gradient(circle at 84% 82%, rgba(73, 104, 230, 0.10), transparent 24rem),
        linear-gradient(180deg, #252d3e 0%, #202837 54%, #181d29 100%);
}

body[data-theme="dark-theme"] .afk-faq-section::before {
    background-image:
        linear-gradient(rgba(235, 240, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(235, 240, 255, 0.045) 1px, transparent 1px);
    opacity: 0.20;
}

body[data-theme="dark-theme"] .afk-faq-noise {
    background:
        radial-gradient(circle at 18% 32%, rgba(176, 156, 255, 0.09), transparent 16rem),
        radial-gradient(circle at 82% 44%, rgba(73, 104, 230, 0.10), transparent 16rem);
}

body[data-theme="dark-theme"] .afk-faq-heading p {
    color: rgba(203, 193, 255, 0.94);
}

body[data-theme="dark-theme"] .afk-faq-item {
    border-color: rgba(170, 180, 210, 0.18);
    background:
        linear-gradient(180deg, rgba(58, 68, 94, 0.24), rgba(24, 30, 43, 0.30)),
        rgba(18, 22, 31, 0.52);
    box-shadow: 0 18px 60px rgba(9, 12, 20, 0.22);
}

body[data-theme="dark-theme"] .afk-faq-item::before {
    background: radial-gradient(circle at 50% 0%, rgba(176, 156, 255, 0.12), transparent 48%);
}

body[data-theme="dark-theme"] .afk-faq-item:hover,
body[data-theme="dark-theme"] .afk-faq-item.is-open,
body[data-theme="dark-theme"] .afk-faq-item[open] {
    border-color: rgba(176, 156, 255, 0.32);
    background:
        linear-gradient(180deg, rgba(73, 104, 230, 0.14), rgba(255, 255, 255, 0.024)),
        rgba(20, 25, 36, 0.60);
    box-shadow:
        0 22px 74px rgba(9, 12, 20, 0.30),
        0 0 46px rgba(73, 104, 230, 0.10);
}

body[data-theme="dark-theme"] .afk-faq-chevron {
    border-color: rgba(170, 180, 210, 0.18);
    color: rgba(215, 220, 235, 0.74);
}

body[data-theme="dark-theme"] .afk-faq-item.is-open .afk-faq-chevron,
body[data-theme="dark-theme"] .afk-faq-item[open] .afk-faq-chevron {
    border-color: rgba(176, 156, 255, 0.34);
    background: rgba(176, 156, 255, 0.10);
    color: #d9d0ff;
}

body[data-theme="dark-theme"] .afk-faq-contact-icon {
    border-color: rgba(176, 156, 255, 0.22);
    color: #d9d0ff;
    background: rgba(176, 156, 255, 0.07);
}

body[data-theme="dark-theme"] .afk-faq-contact a {
    background: linear-gradient(180deg, #f3f5fb 0%, #cfd7ff 100%);
    color: #151b28;
    box-shadow: 0 16px 42px rgba(73, 104, 230, 0.18);
}

body[data-theme="dark-theme"] .afk-faq-contact a:hover {
    box-shadow: 0 18px 42px rgba(73, 104, 230, 0.24);
}

@keyframes faqAmbientFloat {
    0%,
    100% {
        opacity: 0.65;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-10px);
    }
}

/* Authenticated dashboard shell */
.dashboard-body {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    background: #e0e5ec;
}

.dashboard-shell {
    --dash-bg: #e0e5ec;
    --dash-surface: #e0e5ec;
    --dash-highlight: #ffffff;
    --dash-shadow: #a3b1c6;
    --dash-text: #20283a;
    --dash-muted: #718096;
    --dash-faint: #94a3b8;
    --dash-indigo: #6366f1;
    --dash-violet: #a78bfa;
    --dash-mint: #34d399;
    --dash-rose: #fb7185;
    --dash-amber: #f59e0b;
    --dash-raised: -6px -6px 12px var(--dash-highlight), 6px 6px 12px var(--dash-shadow);
    --dash-raised-soft: -3px -3px 7px var(--dash-highlight), 3px 3px 7px var(--dash-shadow);
    --dash-inset: inset -4px -4px 8px var(--dash-highlight), inset 4px 4px 8px var(--dash-shadow);
    --dash-focus: 0 0 0 4px rgba(99, 102, 241, 0.18), var(--dash-inset);
    min-height: 100vh;
    background: var(--dash-bg);
    color: var(--dash-text);
    font-family: "Satoshi", "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
    transition: background 320ms ease, color 320ms ease;
}

.dashboard-shell[data-dashboard-theme="dark"],
html[data-dashboard-theme="dark"] .dashboard-shell {
    --dash-bg: var(--color-bg-mid);
    --dash-surface: var(--color-bg-mid);
    --dash-highlight: var(--color-bg-top);
    --dash-shadow: var(--color-bg-bottom);
    --dash-text: var(--color-surface-text);
    --dash-muted: var(--color-mist);
    --dash-faint: color-mix(in srgb, var(--color-mist) 64%, transparent);
    --dash-indigo: var(--color-emerald);
    --dash-violet: var(--color-emerald-soft);
    --dash-mint: var(--color-emerald-soft);
    --dash-rose: #fb8da0;
    --dash-amber: #fbbf24;
    background:
        radial-gradient(circle at 8% 0%, color-mix(in srgb, var(--color-ambient-a) 18%, transparent), transparent 30rem),
        radial-gradient(circle at 88% 8%, color-mix(in srgb, var(--color-ambient-b) 20%, transparent), transparent 28rem),
        linear-gradient(180deg, var(--color-bg-top), var(--color-bg-mid) 48%, var(--color-bg-bottom));
}

.dashboard-shell *,
.dashboard-shell *::before,
.dashboard-shell *::after {
    box-sizing: border-box;
}

.dashboard-shell h1,
.dashboard-shell h2,
.dashboard-shell h3,
.dashboard-shell h4,
.dashboard-shell strong {
    font-family: "General Sans", "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
    letter-spacing: -0.02em;
}

.nm-flat {
    background: var(--dash-surface);
    box-shadow: var(--dash-raised);
}

.nm-inset {
    background: var(--dash-surface);
    box-shadow: var(--dash-inset);
}

.dashboard-sidebar {
    position: fixed;
    inset: 18px auto 18px 18px;
    z-index: 80;
    display: flex;
    flex-direction: column;
    width: 288px;
    padding: 16px;
    overflow: hidden;
    border-radius: 28px;
    background: var(--dash-surface);
    box-shadow: var(--dash-raised);
    transition: transform 340ms cubic-bezier(0.34, 1.56, 0.64, 1), background 320ms ease;
}

.dashboard-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 62px;
    padding: 10px 12px;
    border-radius: 20px;
    color: var(--dash-text);
    text-decoration: none;
}

.dashboard-brand img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    filter: drop-shadow(0 8px 12px rgba(99, 102, 241, 0.22));
}

.dashboard-brand span {
    display: grid;
    gap: 2px;
}

.dashboard-brand strong {
    font-size: 0.86rem;
    letter-spacing: 0.18em;
}

.dashboard-brand small {
    color: var(--dash-faint);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.dashboard-navigation {
    flex: 1;
    margin: 18px -6px 14px;
    padding: 0 8px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--dash-shadow) transparent;
}

.dashboard-nav-group {
    display: block;
    margin: 18px 12px 7px;
    color: var(--dash-faint);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.dashboard-nav-link {
    position: relative;
    display: grid;
    grid-template-columns: 22px 1fr 16px;
    align-items: center;
    gap: 11px;
    min-height: 44px;
    margin: 4px 0;
    padding: 10px 12px;
    overflow: hidden;
    border-radius: 14px;
    color: var(--dash-muted);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 180ms ease, box-shadow 240ms ease, transform 240ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dashboard-nav-link::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.14), rgba(167, 139, 250, 0.03));
    transform: translateX(-105%);
    transition: transform 260ms cubic-bezier(0.4, 0, 0.2, 1);
}

.dashboard-nav-link:hover {
    color: var(--dash-indigo);
    transform: translateX(3px);
}

.dashboard-nav-link:hover::before {
    transform: translateX(0);
}

.dashboard-nav-link.is-active {
    color: var(--dash-indigo);
    box-shadow: var(--dash-inset);
}

.dashboard-nav-link.is-active::before {
    transform: translateX(0);
}

.dashboard-nav-icon {
    width: 19px;
    height: 19px;
    animation: floatBob 3s ease-in-out infinite;
}

.dashboard-nav-chevron {
    width: 14px;
    height: 14px;
    opacity: 0;
    transition: opacity 180ms ease, transform 180ms ease;
}

.dashboard-nav-link:hover .dashboard-nav-chevron,
.dashboard-nav-link.is-active .dashboard-nav-chevron {
    opacity: 0.72;
    transform: translateX(2px);
}

.dashboard-account {
    display: grid;
    grid-template-columns: 40px 1fr 38px;
    align-items: center;
    gap: 10px;
    padding: 11px;
    border-radius: 18px;
}

.dashboard-avatar,
.dashboard-header-avatar {
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--dash-indigo), var(--dash-violet));
    color: #fff;
    font-family: "General Sans", sans-serif;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(99, 102, 241, 0.28);
}

.dashboard-avatar {
    width: 40px;
    height: 40px;
}

.dashboard-account-copy {
    display: grid;
    min-width: 0;
}

.dashboard-account-copy strong,
.dashboard-account-copy span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-account-copy strong {
    color: var(--dash-text);
    font-size: 0.77rem;
}

.dashboard-account-copy span {
    color: var(--dash-faint);
    font-size: 0.66rem;
}

.dashboard-workspace {
    min-height: 100vh;
    margin-left: 324px;
    padding: 16px 24px 40px 0;
}

.dashboard-header {
    position: sticky;
    top: 16px;
    z-index: 60;
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(240px, 360px) minmax(180px, 1fr);
    align-items: center;
    gap: 20px;
    min-height: 72px;
    padding: 12px 18px;
    border-radius: 24px;
}

.dashboard-header-leading,
.dashboard-header-actions,
.dashboard-breadcrumbs {
    display: flex;
    align-items: center;
}

.dashboard-header-leading {
    min-width: 0;
}

.dashboard-breadcrumbs {
    gap: 9px;
    min-width: 0;
    color: var(--dash-faint);
    font-size: 0.78rem;
}

.dashboard-breadcrumbs a {
    color: var(--dash-faint);
    text-decoration: none;
}

.dashboard-breadcrumbs strong {
    overflow: hidden;
    color: var(--dash-text);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-breadcrumbs svg {
    width: 14px;
    height: 14px;
    animation: breadcrumbTurn 4s ease-in-out infinite;
}

.dashboard-command-search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    height: 44px;
    padding: 0 14px;
    border-radius: 16px;
    color: var(--dash-faint);
    box-shadow: var(--dash-inset);
}

.dashboard-command-search > svg {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
}

.dashboard-command-search input {
    width: 100%;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--dash-text) !important;
    -webkit-text-fill-color: var(--dash-text);
    font-size: 0.82rem;
}

.dashboard-command-search input::placeholder {
    color: var(--dash-faint);
}

.dashboard-search-results {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    display: grid;
    gap: 5px;
    max-height: 300px;
    padding: 10px;
    overflow-y: auto;
    border-radius: 18px;
}

.dashboard-search-results[hidden] {
    display: none;
}

.dashboard-search-result {
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--dash-muted);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
}

.dashboard-search-result:hover,
.dashboard-search-result.is-highlighted {
    color: var(--dash-indigo);
    box-shadow: var(--dash-inset);
}

.dashboard-header-actions {
    justify-content: flex-end;
    gap: 11px;
}

.dashboard-icon-button {
    position: relative;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 50%;
    outline: 0;
    background: var(--dash-surface);
    color: var(--dash-muted);
    box-shadow: var(--dash-raised-soft);
    cursor: pointer;
    transition: color 180ms ease, transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 180ms ease;
}

.dashboard-icon-button:hover {
    color: var(--dash-indigo);
    transform: translateY(-3px) scale(1.02);
}

.dashboard-icon-button:active {
    transform: scale(0.96);
    box-shadow: var(--dash-inset);
}

.dashboard-icon-button:focus-visible,
.dashboard-nav-link:focus-visible,
.dashboard-shell a:focus-visible,
.dashboard-shell button:focus-visible,
.dashboard-shell input:focus-visible {
    outline: 3px solid rgba(99, 102, 241, 0.36);
    outline-offset: 3px;
}

.dashboard-icon-button svg {
    width: 18px;
    height: 18px;
}

.dashboard-notification-button > span {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--dash-rose);
    box-shadow: 0 0 0 4px rgba(251, 113, 133, 0.12);
    animation: notificationPulse 2s ease-in-out infinite;
}

.dashboard-header-avatar {
    width: 42px;
    height: 42px;
}

.dashboard-drawer-toggle {
    display: none;
    margin-right: 12px;
}

.dashboard-sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: none;
    border: 0;
    background: rgba(31, 36, 55, 0.18);
    backdrop-filter: blur(5px);
}

.dashboard-main {
    padding-top: 26px;
}

.dashboard-main > section,
.dashboard-page {
    width: 100%;
    max-width: none !important;
    padding: 26px 8px 56px !important;
}

.dashboard-shell .glass-card,
.dashboard-surface,
.dashboard-stat-card,
.dashboard-widget {
    border: 0 !important;
    border-radius: 24px !important;
    background: var(--dash-surface) !important;
    color: var(--dash-text);
    box-shadow: var(--dash-raised) !important;
    transition: transform 280ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 220ms ease, background 320ms ease;
}

.dashboard-shell .glass-card:hover,
.dashboard-stat-card:hover,
.dashboard-widget:hover {
    transform: translateY(-4px) scale(1.005);
}

.dashboard-shell .glass-card {
    padding: clamp(1.2rem, 2vw, 1.8rem);
}

.dashboard-shell .text-white,
.dashboard-shell h1,
.dashboard-shell h2,
.dashboard-shell h3,
.dashboard-shell h4,
.dashboard-shell td,
.dashboard-shell th {
    color: var(--dash-text) !important;
}

.dashboard-shell .text-mist {
    color: var(--dash-muted) !important;
}

.dashboard-shell .text-emeraldsoft,
.dashboard-shell a.text-emeraldsoft {
    color: var(--dash-indigo) !important;
}

.dashboard-shell .border-white\/10,
.dashboard-shell .border-emerald\/30,
.dashboard-shell .border-rose-400\/30 {
    border-color: transparent !important;
}

.dashboard-shell .bg-black\/25,
.dashboard-shell .bg-emerald\/10,
.dashboard-shell .bg-rose-500\/10 {
    background: var(--dash-surface) !important;
    box-shadow: var(--dash-inset) !important;
}

.dashboard-shell .rounded-full,
.dashboard-shell button,
.dashboard-shell a {
    transition: transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1), color 180ms ease, box-shadow 180ms ease;
}

.dashboard-shell a.rounded-full,
.dashboard-shell button.rounded-full,
.dashboard-shell .bg-emerald {
    border: 0 !important;
    background: var(--dash-surface) !important;
    color: var(--dash-indigo) !important;
    box-shadow: var(--dash-raised-soft) !important;
}

.dashboard-shell a.rounded-full:hover,
.dashboard-shell button.rounded-full:hover,
.dashboard-shell .bg-emerald:hover {
    transform: translateY(-3px) scale(1.02);
}

.dashboard-shell .data-table {
    border-collapse: separate;
    border-spacing: 0 8px;
}

.dashboard-shell .data-table th {
    border: 0;
    color: var(--dash-faint) !important;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.dashboard-shell .data-table td {
    border: 0;
    background: var(--dash-surface);
    box-shadow: 0 3px 8px color-mix(in srgb, var(--dash-shadow) 48%, transparent);
}

.dashboard-shell .data-table td:first-child {
    border-radius: 13px 0 0 13px;
}

.dashboard-shell .data-table td:last-child {
    border-radius: 0 13px 13px 0;
}

.dashboard-shell input:not([type="hidden"]),
.dashboard-shell textarea,
.dashboard-shell select {
    border: 0 !important;
    border-radius: 14px !important;
    background: var(--dash-surface) !important;
    color: var(--dash-text) !important;
    -webkit-text-fill-color: var(--dash-text);
    box-shadow: var(--dash-inset) !important;
}

.dashboard-shell input:not([type="hidden"]):focus,
.dashboard-shell textarea:focus,
.dashboard-shell select:focus {
    outline: 0;
    box-shadow: var(--dash-focus) !important;
}

.dashboard-flash-stack {
    display: grid;
    gap: 10px;
    margin-top: 26px;
}

.dashboard-flash {
    padding: 14px 18px;
    border-radius: 16px;
    color: var(--dash-text);
    box-shadow: var(--dash-raised-soft);
}

.dashboard-flash.is-success {
    color: #0b8d64;
}

.dashboard-flash.is-error {
    color: #d9465f;
}

.dashboard-page-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.dashboard-page-heading h1 {
    margin: 8px 0 0;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.02;
}

.dashboard-eyebrow {
    color: var(--dash-indigo);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.dashboard-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 28px;
}

.dashboard-stat-card {
    position: relative;
    min-height: 184px;
    padding: 20px;
    overflow: hidden;
    animation: dashboardEnter 600ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
    animation-delay: var(--stagger-delay, 0ms);
}

.dashboard-stat-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    color: var(--dash-indigo);
    box-shadow: var(--dash-inset);
    animation: floatBob 3s ease-in-out infinite;
}

.dashboard-stat-icon svg {
    width: 21px;
    height: 21px;
}

.dashboard-stat-label {
    display: block;
    margin-top: 25px;
    color: var(--dash-muted);
    font-size: 0.75rem;
    font-weight: 700;
}

.dashboard-stat-value {
    display: block;
    margin-top: 5px;
    color: var(--dash-text);
    font-family: "General Sans", sans-serif;
    font-size: 1.9rem;
    font-weight: 600;
    letter-spacing: -0.04em;
}

.dashboard-stat-trend {
    position: absolute;
    right: 18px;
    bottom: 20px;
    color: var(--dash-mint);
    font-size: 0.68rem;
    font-weight: 800;
    transition: transform 240ms ease;
}

.dashboard-stat-card:hover .dashboard-stat-trend {
    transform: translateX(5px);
}

.dashboard-overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
    gap: 22px;
    margin-top: 28px;
}

.dashboard-widget {
    padding: 24px;
    animation: dashboardEnter 650ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.dashboard-progress-track {
    height: 10px;
    margin-top: 10px;
    overflow: hidden;
    border-radius: 999px;
    box-shadow: var(--dash-inset);
}

.dashboard-progress-fill {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--dash-indigo), var(--dash-violet));
    filter: drop-shadow(0 0 8px var(--dash-indigo));
    animation: glowPulse 2.6s ease-in-out infinite;
}

.dashboard-progress-fill::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 200%;
    background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.45) 45%, transparent 70%);
    animation: waveShimmer 2.3s linear infinite;
}

.dashboard-activity-item {
    animation: dashboardItemIn 520ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
    animation-delay: var(--stagger-delay, 0ms);
}

.dashboard-ripple {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(99,102,241,.34), rgba(167,139,250,.08) 58%, transparent 70%);
    transform: scale(0);
    animation: rippleWave 700ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.dashboard-shell [data-ripple] {
    position: relative;
    overflow: hidden;
}

.dashboard-drawer-locked {
    overflow: hidden;
}

@keyframes dashboardEnter {
    from { opacity: 0; transform: translateY(18px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes dashboardItemIn {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes floatBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes breadcrumbTurn {
    0%, 80%, 100% { transform: rotate(0); }
    90% { transform: rotate(90deg); }
}

@keyframes notificationPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .55; transform: scale(.78); }
}

@keyframes waveShimmer {
    from { transform: translateX(-55%); }
    to { transform: translateX(55%); }
}

@keyframes glowPulse {
    0%, 100% { filter: drop-shadow(0 0 5px var(--dash-indigo)); }
    50% { filter: drop-shadow(0 0 11px var(--dash-violet)); }
}

@keyframes rippleWave {
    0% { opacity: .5; transform: scale(0); }
    100% { opacity: 0; transform: scale(4); }
}

@media (max-width: 1280px) {
    .dashboard-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dashboard-overview-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1023px) {
    .dashboard-sidebar {
        transform: translateX(calc(-100% - 34px));
    }

    .dashboard-shell.is-sidebar-open .dashboard-sidebar {
        transform: translateX(0);
    }

    .dashboard-shell.is-sidebar-open .dashboard-sidebar-backdrop {
        display: block;
    }

    .dashboard-workspace {
        margin-left: 0;
        padding: 14px;
    }

    .dashboard-header {
        grid-template-columns: 1fr auto;
    }

    .dashboard-drawer-toggle {
        display: grid;
    }

    .dashboard-command-search {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}

@media (max-width: 640px) {
    .dashboard-sidebar {
        inset: 10px auto 10px 10px;
        width: min(288px, calc(100vw - 34px));
    }

    .dashboard-workspace {
        padding: 10px;
    }

    .dashboard-header {
        top: 10px;
        min-height: 64px;
        padding: 10px;
        border-radius: 20px;
    }

    .dashboard-breadcrumbs a,
    .dashboard-breadcrumbs svg {
        display: none;
    }

    .dashboard-header-actions {
        gap: 7px;
    }

    .dashboard-header-avatar {
        display: none;
    }

    .dashboard-main > section,
    .dashboard-page {
        padding: 20px 2px 42px !important;
    }

    .dashboard-page-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-stat-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-shell .glass-card {
        border-radius: 19px !important;
    }
}

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

.landing-hero {
    min-height: min(760px, calc(100vh - 76px));
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(137, 168, 255, 0.12);
    background:
        radial-gradient(circle at 50% 18%, rgba(52, 79, 255, 0.34), transparent 34rem),
        radial-gradient(circle at 8% 70%, rgba(0, 228, 117, 0.16), transparent 24rem),
        linear-gradient(180deg, #080b2d 0%, #07101f 58%, #020604 100%);
}

.landing-hero::before,
.landing-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.landing-hero::before {
    opacity: 0.18;
    background-image:
        linear-gradient(rgba(154, 179, 255, 0.28) 1px, transparent 1px),
        linear-gradient(90deg, rgba(154, 179, 255, 0.28) 1px, transparent 1px);
    background-size: 4rem 4rem;
    mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
}

.landing-hero::after {
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.36), transparent 28%, transparent 72%, rgba(0, 0, 0, 0.42)),
        linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.48) 100%);
}

.landing-hero > * {
    position: relative;
    z-index: 1;
}

.auth-page {
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 78px);
    padding: clamp(2rem, 5vw, 5rem) 1.25rem;
    background:
        radial-gradient(circle at 72% 18%, rgba(88, 118, 255, 0.34), transparent 26rem),
        radial-gradient(circle at 12% 78%, rgba(0, 228, 117, 0.14), transparent 24rem),
        linear-gradient(180deg, #080b2d 0%, #07101f 54%, #020604 100%);
}

.auth-page::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.16;
    background-image:
        linear-gradient(rgba(154, 179, 255, 0.28) 1px, transparent 1px),
        linear-gradient(90deg, rgba(154, 179, 255, 0.28) 1px, transparent 1px);
    background-size: 4rem 4rem;
}

.auth-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(24rem, 1.1fr);
    gap: clamp(1.25rem, 4vw, 3rem);
    width: min(100%, 78rem);
    margin-inline: auto;
    align-items: stretch;
}

.auth-panel,
.auth-visual {
    border: 1px solid rgba(214, 224, 255, 0.16);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.72), rgba(8, 13, 28, 0.88));
    border-radius: 2.2rem;
    box-shadow: 0 34px 120px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(22px);
}

.auth-panel {
    padding: clamp(1.5rem, 4vw, 3rem);
}

.auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.26em;
}

.auth-brand .auth-brand-mark {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border: 1px solid transparent;
    border-radius: 0;
    background: transparent;
    letter-spacing: 0;
    overflow: visible;
    padding: 0;
}

.auth-brand .auth-brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 12px 20px rgba(0, 229, 117, 0.22));
}

.auth-heading {
    margin-top: 2.75rem;
}

.auth-heading p,
.auth-visual-copy p {
    color: #a99cff;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.32em;
    text-transform: uppercase;
}

.auth-heading h1 {
    margin-top: 0.9rem;
    color: #ffffff;
    font-size: clamp(2.25rem, 5vw, 4.4rem);
    font-weight: 760;
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.auth-heading > span {
    display: block;
    margin-top: 1.1rem;
    max-width: 34rem;
    color: #c8d0e2;
    line-height: 1.75;
}

.auth-form {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.auth-field {
    display: grid;
    gap: 0.48rem;
}

.auth-field > span {
    color: #c8d0e2;
    font-size: 0.92rem;
    font-weight: 700;
}

.auth-input-shell {
    position: relative;
    border: 1px solid rgba(199, 210, 254, 0.16);
    border-radius: 1.25rem;
    background: rgba(8, 13, 28, 0.72);
    transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.auth-input-shell:focus-within {
    border-color: rgba(167, 139, 250, 0.72);
    background: rgba(18, 26, 50, 0.92);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.18), 0 18px 50px rgba(0, 0, 0, 0.28);
}

.auth-input-shell input {
    width: 100%;
    border: 0;
    background: transparent;
    color: #f8fbff;
    -webkit-text-fill-color: #f8fbff;
    caret-color: #a78bfa;
    padding: 1rem 3.25rem 1rem 1rem;
    outline: none;
    font-weight: 650;
}

.auth-input-shell input::placeholder {
    color: rgba(203, 213, 225, 0.58);
    opacity: 1;
}

.auth-input-shell input:-webkit-autofill,
.auth-input-shell input:-webkit-autofill:hover,
.auth-input-shell input:-webkit-autofill:focus {
    -webkit-text-fill-color: #f8fbff !important;
    -webkit-box-shadow: 0 0 0 1000px #121a32 inset !important;
    caret-color: #a78bfa;
}

.auth-password-toggle {
    position: absolute;
    top: 50%;
    right: 0.75rem;
    display: grid;
    place-items: center;
    width: 2.4rem;
    height: 2.4rem;
    border: 0;
    border-radius: 0.9rem;
    background: transparent;
    color: #cbd5e1;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 180ms ease, color 180ms ease;
}

.auth-password-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.auth-form-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
    color: #9ba8c7;
    font-size: 0.88rem;
}

.auth-form-row label,
.auth-form-note {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.auth-form-row input {
    accent-color: #6366f1;
}

.auth-form-note {
    border: 1px solid rgba(167, 139, 250, 0.18);
    border-radius: 1.15rem;
    background: rgba(167, 139, 250, 0.08);
    padding: 0.9rem 1rem;
    color: #dbe4ff;
    font-size: 0.9rem;
    line-height: 1.55;
}

.auth-submit {
    width: 100%;
    border: 0;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, #5b7cfa 0%, #3131f5 54%, #8b5cf6 100%);
    color: #ffffff;
    padding: 1rem 1.2rem;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 20px 70px rgba(49, 49, 245, 0.42);
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.auth-submit:hover {
    transform: translateY(-2px);
    filter: saturate(1.08);
    box-shadow: 0 24px 85px rgba(49, 49, 245, 0.52);
}

.auth-footer-link {
    margin-top: 1.35rem;
    color: #aeb8cf;
    text-align: center;
    font-size: 0.94rem;
}

.auth-footer-link a {
    color: #a99cff;
    font-weight: 800;
    text-decoration: none;
}

.auth-footer-link a:hover {
    text-decoration: underline;
}

.auth-visual {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 44rem;
    padding: clamp(1.25rem, 3vw, 2rem);
}

.auth-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 20%, rgba(167, 139, 250, 0.24), transparent 18rem),
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 40%);
    pointer-events: none;
}

.auth-visual > * {
    position: relative;
    z-index: 1;
}

.auth-visual-image {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 17rem;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 1.8rem;
    background:
        radial-gradient(circle at 50% 45%, rgba(49, 49, 245, 0.3), transparent 14rem),
        rgba(0, 0, 0, 0.22);
    overflow: hidden;
}

.auth-orbit {
    position: absolute;
    border: 1px solid rgba(167, 139, 250, 0.28);
    border-radius: 9999px;
    animation: authFloat 7s ease-in-out infinite;
}

.auth-orbit-a {
    width: 15rem;
    height: 15rem;
}

.auth-orbit-b {
    width: 9rem;
    height: 9rem;
    animation-delay: -2s;
}

.auth-terminal-card {
    width: min(82%, 24rem);
    border: 1px solid rgba(214, 224, 255, 0.16);
    border-radius: 1.35rem;
    background: rgba(5, 8, 18, 0.72);
    padding: 1rem;
    box-shadow: 0 25px 90px rgba(0, 0, 0, 0.42);
    animation: authCardIn 840ms 280ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.auth-terminal-top {
    display: flex;
    gap: 0.4rem;
}

.auth-terminal-top span {
    width: 0.58rem;
    height: 0.58rem;
    border-radius: 999px;
    background: #a99cff;
}

.auth-terminal-top span:nth-child(2) {
    background: #60a5fa;
}

.auth-terminal-top span:nth-child(3) {
    background: #00e475;
}

.auth-terminal-lines {
    display: grid;
    gap: 0.65rem;
    margin-top: 1.2rem;
}

.auth-terminal-lines i {
    display: block;
    height: 0.65rem;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(96, 165, 250, 0.9), rgba(167, 139, 250, 0.55), transparent);
}

.auth-terminal-lines i:nth-child(2) {
    width: 72%;
}

.auth-terminal-lines i:nth-child(3) {
    width: 52%;
}

.auth-pulse-badge {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid rgba(0, 228, 117, 0.18);
    border-radius: 999px;
    background: rgba(0, 228, 117, 0.1);
    padding: 0.55rem 0.8rem;
    color: #c9ffe4;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.06em;
}

.auth-visual-copy {
    margin-top: 1.6rem;
}

.auth-visual-copy h2 {
    margin-top: 0.75rem;
    color: #ffffff;
    font-size: clamp(1.85rem, 3vw, 3rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.auth-visual-copy > span {
    display: block;
    margin-top: 0.9rem;
    color: #c8d0e2;
    line-height: 1.75;
}

.auth-highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
    margin-top: 1.6rem;
}

.auth-highlight-grid article {
    border: 1px solid rgba(214, 224, 255, 0.12);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.055);
    padding: 1rem;
}

.auth-highlight-grid svg {
    color: #a99cff;
}

.auth-highlight-grid strong {
    display: block;
    margin-top: 0.8rem;
    color: #ffffff;
}

.auth-highlight-grid span {
    display: block;
    margin-top: 0.45rem;
    color: #aeb8cf;
    font-size: 0.82rem;
    line-height: 1.55;
}

.auth-testimonials {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.6rem;
}

.auth-testimonial-card {
    flex: 1;
    display: flex;
    gap: 0.75rem;
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.25rem;
    background: rgba(15, 23, 42, 0.62);
    padding: 0.95rem;
    opacity: 0;
    filter: blur(10px);
    transform: translateY(16px) scale(0.96);
    animation: authTestimonialIn 720ms cubic-bezier(0.22, 1, 0.36, 1) var(--auth-delay) both;
}

.auth-avatar {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.8rem;
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    color: #ffffff;
    font-weight: 900;
}

.auth-testimonial-card strong,
.auth-testimonial-card span,
.auth-testimonial-card p {
    display: block;
}

.auth-testimonial-card strong {
    color: #ffffff;
    font-size: 0.86rem;
}

.auth-testimonial-card span {
    color: #a99cff;
    font-size: 0.76rem;
    font-weight: 800;
}

.auth-testimonial-card p {
    margin-top: 0.25rem;
    color: #c8d0e2;
    font-size: 0.78rem;
    line-height: 1.45;
}

.animate-auth-item {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(18px);
    animation: authFadeSlideIn 760ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.animate-auth-item:nth-child(1) {
    animation-delay: 90ms;
}

.animate-auth-item:nth-child(2) {
    animation-delay: 160ms;
}

.animate-auth-item:nth-child(3) {
    animation-delay: 230ms;
}

.auth-form .animate-auth-item:nth-child(1) {
    animation-delay: 300ms;
}

.auth-form .animate-auth-item:nth-child(2) {
    animation-delay: 380ms;
}

.auth-form .animate-auth-item:nth-child(3) {
    animation-delay: 460ms;
}

.auth-form .animate-auth-item:nth-child(4) {
    animation-delay: 540ms;
}

.auth-form .animate-auth-item:nth-child(5) {
    animation-delay: 620ms;
}

.auth-form .animate-auth-item:nth-child(6) {
    animation-delay: 700ms;
}

.auth-form .animate-auth-item:nth-child(7) {
    animation-delay: 780ms;
}

.auth-form .animate-auth-item:nth-child(8) {
    animation-delay: 860ms;
}

@keyframes authFadeSlideIn {
    to {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
}

@keyframes authCardIn {
    from {
        opacity: 0;
        filter: blur(18px);
        transform: translateX(26px) scale(0.96);
    }
    to {
        opacity: 1;
        filter: blur(0);
        transform: translateX(0) scale(1);
    }
}

@keyframes authTestimonialIn {
    to {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0) scale(1);
    }
}

@keyframes authFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(8deg);
    }
}

.form-field,
input.form-field,
textarea.form-field,
select.form-field {
    width: 100%;
    border-radius: 1.25rem;
    border: 1px solid var(--color-field-border);
    background: var(--color-field-bg) !important;
    background-color: var(--color-field-bg) !important;
    padding: 0.95rem 1rem;
    color: var(--color-field-text, var(--color-surface-text)) !important;
    -webkit-text-fill-color: var(--color-field-text, var(--color-surface-text));
    caret-color: var(--color-emerald);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    font-weight: 500;
}

.form-field::placeholder,
input.form-field::placeholder,
textarea.form-field::placeholder {
    color: var(--color-field-placeholder, color-mix(in srgb, var(--color-mist) 72%, transparent));
    opacity: 1;
}

.form-field::selection,
input.form-field::selection,
textarea.form-field::selection,
.form-field *::selection {
    background: color-mix(in srgb, var(--color-emerald) 38%, #ffffff 0%);
    color: var(--color-on-primary);
}

.form-field::-moz-selection,
input.form-field::-moz-selection,
textarea.form-field::-moz-selection,
.form-field *::-moz-selection {
    background: color-mix(in srgb, var(--color-emerald) 38%, #ffffff 0%);
    color: var(--color-on-primary);
}

.form-field:disabled,
.form-field[disabled],
input.form-field:disabled,
textarea.form-field:disabled,
select.form-field:disabled {
    opacity: 0.9;
    cursor: not-allowed;
}

.form-field:-webkit-autofill,
.form-field:-webkit-autofill:hover,
.form-field:-webkit-autofill:focus,
.form-field:-webkit-autofill:active,
input.form-field:-webkit-autofill,
input.form-field:-webkit-autofill:hover,
input.form-field:-webkit-autofill:focus,
input.form-field:-webkit-autofill:active,
textarea.form-field:-webkit-autofill,
textarea.form-field:-webkit-autofill:hover,
textarea.form-field:-webkit-autofill:focus,
textarea.form-field:-webkit-autofill:active {
    -webkit-text-fill-color: var(--color-field-text, var(--color-surface-text)) !important;
    caret-color: var(--color-emerald);
    -webkit-box-shadow: 0 0 0 1000px var(--color-field-bg) inset !important;
    box-shadow: 0 0 0 1000px var(--color-field-bg) inset !important;
    transition: background-color 9999s ease-out 0s;
}

.form-field:focus,
input.form-field:focus,
textarea.form-field:focus,
select.form-field:focus {
    border-color: var(--color-field-focus-border);
    box-shadow: 0 0 0 3px var(--color-field-focus-ring);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    border-bottom: 1px solid var(--color-table-border);
    padding: 1rem;
    text-align: left;
    font-size: 0.92rem;
    vertical-align: top;
}

.data-table th {
    color: var(--color-emerald-soft);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.76rem;
}

.theme-option input[type="radio"] {
    accent-color: var(--color-emerald);
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.magnetic-button {
    transform: translate3d(0, 0, 0);
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
    will-change: transform;
}

.bg-black\/25 {
    background-color: var(--color-dark-panel-bg) !important;
}

.border-white\/10,
.border-white\/12,
.border-white\/8 {
    border-color: var(--color-dark-panel-border) !important;
}

.text-white,
.text-white\/90 {
    color: var(--color-surface-text) !important;
}

.bg-emerald {
    background-color: var(--color-emerald) !important;
}

.bg-emerald.text-black,
button.bg-emerald,
a.bg-emerald {
    color: var(--color-on-primary) !important;
}

.hover\:bg-emeraldsoft:hover {
    background-color: var(--color-emerald-soft) !important;
    color: var(--color-on-primary) !important;
}

.bg-white {
    background-color: var(--color-white-surface) !important;
    border-color: var(--color-white-surface-border) !important;
}

.hover\:bg-emeraldsoft.bg-white:hover,
.bg-white:hover {
    background-color: var(--color-white-surface-hover) !important;
}

@keyframes sweep {
    0% {
        top: 8%;
        opacity: 0;
    }
    20%,
    70% {
        opacity: 1;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .landing-hero {
        min-height: auto;
    }

    .auth-page {
        padding: 1rem;
    }

    .auth-shell {
        grid-template-columns: 1fr;
    }

    .auth-panel,
    .auth-visual {
        border-radius: 1.6rem;
    }

    .auth-visual {
        min-height: auto;
    }

    .auth-highlight-grid {
        grid-template-columns: 1fr;
    }

    .auth-testimonials {
        flex-direction: column;
    }

    .glass-card,
    .pricing-card,
    .feature-card {
        padding: 1.25rem;
        border-radius: 1.5rem;
    }

    .pricing-showcase {
        min-height: auto;
    }

    .pricing-toggle {
        width: 100%;
    }

    .pricing-toggle-button {
        min-width: 0;
        flex: 1;
    }

    .pricing-stage-card.is-popular {
        transform: none;
    }

    .pricing-react-mount,
    .react-pricing-section {
        min-height: auto;
    }

    .react-pricing-content {
        width: min(100% - 2rem, 72rem);
        padding: 5rem 0 4rem;
    }

    .react-pricing-switch {
        width: 100%;
    }

    .react-pricing-switch button {
        min-width: 0;
        flex: 1;
    }

    .react-pricing-cards {
        grid-template-columns: 1fr;
    }

    .react-pricing-card,
    .react-pricing-card.is-popular {
        min-height: auto;
        transform: none;
    }

    .grid-overlay {
        background-size: 3rem 3rem;
    }
}

/* React auth component: mirrors the supplied SignInPage structure. */
.signin-page {
    display: flex;
    min-height: 100dvh;
    width: 100%;
    overflow: hidden;
    background: #050505;
    color: #f8fafc;
    font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
}

.signin-form-column {
    flex: 1 1 48%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(2rem, 5vw, 5rem);
}

.signin-form-wrap {
    width: min(100%, 28rem);
}

.signin-home-nav {
    position: fixed;
    top: max(0.9rem, env(safe-area-inset-top));
    left: max(0.9rem, env(safe-area-inset-left));
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.signin-home-link,
.signin-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 2rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
}

.signin-home-link {
    min-height: 2.4rem;
    border: 1px solid rgba(56, 213, 132, 0.2);
    border-radius: 0.72rem;
    background: rgba(255, 255, 255, 0.045);
    padding: 0.35rem 0.75rem;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), 0 10px 24px rgba(0, 0, 0, 0.14);
    backdrop-filter: blur(15px);
    transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.signin-home-link:hover {
    border-color: rgba(56, 213, 132, 0.46);
    background: rgba(37, 184, 108, 0.11);
    color: #ffffff;
}

.signin-home-link-icon {
    display: inline-flex;
}

.signin-brand {
    min-height: 2.4rem;
    border: 1px solid transparent;
    border-radius: 0.72rem;
    background: transparent;
    padding: 0.35rem 0.55rem;
    letter-spacing: 0.08em;
    transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.signin-brand:hover {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: #ffffff;
}

.signin-home-link:focus-visible,
.signin-brand:focus-visible {
    outline: 2px solid rgba(56, 213, 132, 0.72);
    outline-offset: 3px;
}

.signin-brand img {
    width: 1.7rem;
    height: 1.7rem;
    object-fit: contain;
    filter: drop-shadow(0 8px 14px rgba(0, 229, 117, 0.26));
    transition: transform 180ms ease, filter 180ms ease;
}

.signin-brand:hover img {
    transform: scale(1.06) rotate(-3deg);
    filter: drop-shadow(0 8px 18px rgba(0, 229, 117, 0.42));
}

@media (prefers-reduced-motion: reduce) {
    .signin-home-link,
    .signin-brand,
    .signin-brand img {
        transition: none;
    }
}

.signin-heading {
    margin-bottom: 2rem;
}

.signin-heading h1 {
    color: #ffffff;
    font-size: clamp(2.55rem, 5vw, 3.3rem);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.055em;
}

.signin-heading p {
    margin-top: 1.35rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
}

.signin-form {
    display: grid;
    gap: 1.25rem;
}

.signin-field {
    display: grid;
    gap: 0.55rem;
}

.signin-field > span {
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.9rem;
}

.signin-input-shell {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.012);
    transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.signin-input-shell:focus-within {
    border-color: rgba(167, 139, 250, 0.48);
    background: rgba(255, 255, 255, 0.035);
    box-shadow: 0 0 0 4px rgba(167, 139, 250, 0.08);
}

.signin-input-shell input {
    width: 100%;
    border: 0;
    background: transparent;
    color: #f8fafc;
    -webkit-text-fill-color: #f8fafc;
    caret-color: #a78bfa;
    outline: none;
    padding: 1.05rem 3.25rem 1.05rem 1rem;
    font-weight: 500;
}

.signin-input-shell input::placeholder {
    color: rgba(255, 255, 255, 0.44);
    opacity: 1;
}

.signin-input-shell input:-webkit-autofill,
.signin-input-shell input:-webkit-autofill:hover,
.signin-input-shell input:-webkit-autofill:focus {
    -webkit-text-fill-color: #f8fafc !important;
    -webkit-box-shadow: 0 0 0 1000px #080808 inset !important;
    caret-color: #a78bfa;
}

.signin-password-toggle {
    position: absolute;
    top: 50%;
    right: 0.8rem;
    display: grid;
    place-items: center;
    width: 2.2rem;
    height: 2.2rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: rgba(255, 255, 255, 0.62);
    cursor: pointer;
    transform: translateY(-50%);
    transition: color 180ms ease, background 180ms ease;
}

.signin-password-toggle:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.signin-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
}

.signin-row label {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.signin-row input {
    width: 1.15rem;
    height: 1.15rem;
    accent-color: #a78bfa;
}

.signin-row a,
.signin-footer a {
    color: #a78bfa;
    text-decoration: none;
}

.signin-row a:hover,
.signin-footer a:hover {
    text-decoration: underline;
}

.signin-submit,
.signin-google {
    width: 100%;
    border-radius: 1rem;
    padding: 1.05rem 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.signin-submit {
    border: 0;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.signin-submit:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.22);
}

.signin-divider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.35rem 0 1.55rem;
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.88rem;
}

.signin-divider span {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.signin-divider em {
    position: absolute;
    background: #050505;
    padding: 0 1rem;
    font-style: normal;
}

.signin-google {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: transparent;
    color: #ffffff;
    text-decoration: none;
}

.signin-google:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.04);
}

.signin-google.is-disabled,
.signin-google:disabled {
    cursor: not-allowed;
    opacity: 0.5;
    transform: none;
}

.auth-google-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.signin-footer {
    margin-top: 1.55rem;
    color: rgba(255, 255, 255, 0.52);
    text-align: center;
    font-size: 0.9rem;
}

.signin-visual-column {
    position: relative;
    flex: 1 1 52%;
    min-height: 100dvh;
    padding: 0.8rem 0.8rem 0.8rem 0;
}

.signin-hero-image {
    width: 100%;
    height: 100%;
    min-height: calc(100dvh - 1.6rem);
    border-radius: 1.35rem;
    background:
        linear-gradient(135deg, rgba(16, 18, 40, 0.1), rgba(14, 14, 18, 0.18)),
        url("https://images.unsplash.com/photo-1642615835477-d303d7dc9ee9?w=2160&q=85") center / cover;
    animation: signinSlideRight 900ms 260ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.signin-testimonial-row {
    position: absolute;
    right: clamp(2rem, 5vw, 3rem);
    bottom: 1.6rem;
    left: clamp(2rem, 5vw, 3.5rem);
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.signin-testimonial-card {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    width: min(15.8rem, 32%);
    min-height: 10rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.4rem;
    background: rgba(20, 22, 32, 0.46);
    backdrop-filter: blur(18px);
    padding: 1.25rem;
    color: #ffffff;
    opacity: 0;
    filter: blur(10px);
    transform: translateY(18px) scale(0.96);
    animation: signinTestimonialIn 760ms cubic-bezier(0.22, 1, 0.36, 1) var(--signin-delay) both;
}

.signin-testimonial-card img {
    width: 2.5rem;
    height: 2.5rem;
    flex: 0 0 auto;
    border-radius: 999px;
    object-fit: cover;
}

.signin-testimonial-card strong,
.signin-testimonial-card span,
.signin-testimonial-card p {
    display: block;
}

.signin-testimonial-card strong {
    font-size: 0.9rem;
}

.signin-testimonial-card span {
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.82rem;
}

.signin-testimonial-card p {
    margin-top: 0.45rem;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.86rem;
    line-height: 1.45;
}

.animate-signin-item {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(18px);
    animation: signinFadeSlideIn 760ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.signin-form .animate-signin-item:nth-child(1),
.signin-heading .animate-signin-item:nth-child(1) {
    animation-delay: 120ms;
}

.signin-form .animate-signin-item:nth-child(2),
.signin-heading .animate-signin-item:nth-child(2) {
    animation-delay: 220ms;
}

.signin-form .animate-signin-item:nth-child(3),
.signin-heading .animate-signin-item:nth-child(3) {
    animation-delay: 320ms;
}

.signin-form .animate-signin-item:nth-child(4) {
    animation-delay: 420ms;
}

.signin-form .animate-signin-item:nth-child(5) {
    animation-delay: 520ms;
}

.signin-form .animate-signin-item:nth-child(6) {
    animation-delay: 620ms;
}

.signin-form .animate-signin-item:nth-child(7) {
    animation-delay: 720ms;
}

@keyframes signinFadeSlideIn {
    to {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
}

@keyframes signinSlideRight {
    from {
        opacity: 0;
        filter: blur(18px);
        transform: translateX(34px);
    }
    to {
        opacity: 1;
        filter: blur(0);
        transform: translateX(0);
    }
}

@keyframes signinTestimonialIn {
    to {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0) scale(1);
    }
}

/* React geometric homepage hero based on the supplied HeroGeometric component. */
.shape-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 74px);
    width: 100%;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.34) 58%, rgba(0, 0, 0, 0.78)),
        linear-gradient(90deg, rgba(0, 42, 24, 0.18), rgba(0, 0, 0, 0.04) 43%, rgba(0, 38, 84, 0.18)),
        url('/assets/hero-bg.png') center / cover no-repeat,
        var(--shape-hero-bg);
}

.shape-hero-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 16% 82%, rgba(0, 228, 117, 0.18), transparent 30%),
        radial-gradient(circle at 84% 80%, rgba(32, 108, 232, 0.18), transparent 30%),
        var(--shape-hero-glow);
    filter: blur(42px);
}

.shape-hero-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.shape-hero-orb {
    position: absolute;
    width: 24rem;
    height: 24rem;
    border-radius: 999px;
    filter: blur(76px);
    opacity: 0.2;
}

.shape-hero-orb-green {
    left: -5rem;
    bottom: -6rem;
    background: rgba(0, 228, 117, 0.38);
}

.shape-hero-orb-blue {
    right: -4rem;
    bottom: -6rem;
    background: rgba(32, 108, 232, 0.34);
}

.shape-hero-grid-motion {
    position: absolute;
    inset: -4rem 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 4.25rem 4.25rem;
    mask-image: linear-gradient(180deg, transparent 6%, rgba(0, 0, 0, 0.82) 50%, transparent 96%);
    opacity: 0.12;
}

.shape-hero-voxel {
    position: absolute;
    width: var(--hero-voxel-size);
    height: var(--hero-voxel-size);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 0.18rem;
    background: var(--hero-voxel-color);
    box-shadow:
        0 0 20px var(--hero-voxel-color),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
    transform: rotate(10deg);
}

.shape-hero-blob {
    position: absolute;
}

.shape-left-wide {
    left: -10%;
    top: 15%;
}

.shape-right-wide {
    right: -5%;
    top: 70%;
}

.shape-left-small {
    left: 5%;
    bottom: 5%;
}

.shape-right-small {
    right: 15%;
    top: 10%;
}

.shape-top-small {
    left: 20%;
    top: 5%;
}

.shape-hero-blob-inner {
    position: relative;
}

.shape-hero-pill {
    position: absolute;
    inset: 0;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 9999px;
    background: linear-gradient(90deg, var(--shape-color), transparent);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(2px);
}

.shape-hero-pill::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.2), transparent 70%);
}

.shape-indigo {
    --shape-color: rgba(99, 102, 241, 0.15);
}

.shape-rose {
    --shape-color: rgba(244, 63, 94, 0.15);
}

.shape-violet {
    --shape-color: rgba(139, 92, 246, 0.15);
}

.shape-amber {
    --shape-color: rgba(245, 158, 11, 0.15);
}

.shape-cyan {
    --shape-color: rgba(6, 182, 212, 0.15);
}

.shape-hero-content {
    position: relative;
    z-index: 10;
    width: min(100% - 2rem, 64rem);
    margin-inline: auto;
    text-align: center;
}

.shape-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.35rem 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.shape-hero-dot {
    color: rgba(244, 63, 94, 0.8);
    fill: rgba(244, 63, 94, 0.8);
}

.shape-hero-title {
    margin-top: clamp(2rem, 5vw, 3rem);
    color: #ffffff;
    font-size: clamp(3.5rem, 9vw, 8rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.07em;
}

.shape-hero-title span {
    background: linear-gradient(180deg, #ffffff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.shape-hero-title strong {
    background: linear-gradient(90deg, #c7d2fe, rgba(255, 255, 255, 0.92), #fecdd3);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: inherit;
}

.shape-hero-description {
    width: min(100%, 42rem);
    margin: 1.4rem auto 0;
    color: rgba(255, 255, 255, 0.42);
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    line-height: 1.75;
    letter-spacing: 0.02em;
}

.shape-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.2rem;
}

.shape-hero-primary,
.shape-hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.25rem;
    border-radius: 999px;
    padding: 0 1.45rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.shape-hero-primary {
    background: rgba(255, 255, 255, 0.92);
    color: #050505;
}

.shape-hero-secondary {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.82);
}

.shape-hero-primary:hover,
.shape-hero-secondary:hover {
    transform: translateY(-2px);
}

body[data-theme="ethereal"] .shape-hero-badge {
    border-color: rgba(83, 225, 170, 0.22);
    background: rgba(83, 225, 170, 0.08);
    color: rgba(220, 255, 242, 0.72);
}

body[data-theme="ethereal"] .shape-hero-orb-green {
    background: rgba(58, 113, 198, 0.26);
    opacity: 0.18;
}

body[data-theme="ethereal"] .shape-hero-orb-blue {
    background: rgba(70, 133, 224, 0.34);
    opacity: 0.24;
}

body[data-theme="ethereal"] .shape-cyan,
body[data-theme="ethereal"] .shape-indigo {
    --shape-color: rgba(91, 145, 220, 0.14);
}

body[data-theme="ethereal"] .shape-rose,
body[data-theme="ethereal"] .shape-violet,
body[data-theme="ethereal"] .shape-amber {
    --shape-color: rgba(78, 116, 184, 0.10);
}

body[data-theme="ethereal"] .shape-hero-title span {
    background: linear-gradient(180deg, #f6f9ff, rgba(218, 228, 255, 0.84));
    -webkit-background-clip: text;
    background-clip: text;
}

body[data-theme="ethereal"] .shape-hero-title strong {
    background: linear-gradient(90deg, #dce6ff, rgba(246, 249, 255, 0.94), #79ffd0);
    -webkit-background-clip: text;
    background-clip: text;
}

body[data-theme="ethereal"] .shape-hero-description {
    color: rgba(220, 230, 255, 0.56);
}

body[data-theme="ethereal"] .shape-hero-primary {
    background: linear-gradient(135deg, #79ffd0, #46d89f);
    color: #061421;
}

body[data-theme="ethereal"] .shape-hero-secondary {
    border-color: rgba(144, 179, 202, 0.20);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(220, 230, 255, 0.86);
}

@media (prefers-reduced-motion: reduce) {
    .shape-hero-orb,
    .shape-hero-grid-motion,
    .shape-hero-voxel {
        animation: none;
    }
}

.shape-hero-vignette {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: var(--shape-hero-vignette);
}

@media (max-width: 900px) {
    .signin-page {
        display: block;
        min-height: 100dvh;
    }

    .signin-form-column {
        min-height: auto;
        padding: 5.5rem 1.25rem 2rem;
    }

    .signin-home-link {
        width: 2.4rem;
        justify-content: center;
        padding: 0;
    }

    .signin-home-link > span:last-child {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .signin-visual-column {
        min-height: auto;
        padding: 0 1rem 1rem;
    }

    .signin-hero-image {
        min-height: 26rem;
    }

    .signin-testimonial-row {
        position: static;
        flex-direction: column;
        margin-top: 1rem;
    }

    .signin-testimonial-card {
        width: 100%;
        min-height: auto;
    }

    .shape-left-wide {
        left: -35%;
        top: 16%;
    }

    .shape-right-wide {
        right: -35%;
        top: 74%;
    }

    .shape-hero-title {
        font-size: clamp(3rem, 16vw, 5.8rem);
    }
}

@media (min-width: 768px) {
    .feature-motion-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .feature-motion-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Dashboard foundation v2 */
.dashboard-shell {
    --dash-bg: #f6f6f3;
    --dash-surface: #ffffff;
    --dash-nav: #1e2320;
    --dash-nav-active: #29302b;
    --dash-text: #1b1e22;
    --dash-muted: #737980;
    --dash-faint: #92969c;
    --dash-line: #d9dcd9;
    --dash-accent: #2f6754;
    --dash-success: #39715a;
    --dash-warning: #8a6c32;
    --dash-danger: #984940;
    --dash-radius-sm: 2px;
    --dash-radius-md: 6px;
    --dash-panel-width: 224px;
    min-height: 100vh;
    background: var(--dash-bg);
    color: var(--dash-text);
    font-family: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
}

.dashboard-shell[data-dashboard-theme="dark"],
html[data-dashboard-theme="dark"] .dashboard-shell {
    --dash-bg: var(--color-bg-mid);
    --dash-surface: color-mix(in srgb, var(--color-bg-top) 72%, var(--color-bg-mid));
    --dash-nav: color-mix(in srgb, var(--color-bg-bottom) 82%, #101512);
    --dash-nav-active: color-mix(in srgb, var(--color-emerald) 13%, var(--dash-nav));
    --dash-text: var(--color-surface-text);
    --dash-muted: var(--color-mist);
    --dash-faint: color-mix(in srgb, var(--color-mist) 64%, transparent);
    --dash-line: color-mix(in srgb, var(--color-mist) 18%, transparent);
    --dash-accent: var(--color-emerald);
    --dash-success: var(--color-emerald-soft);
    background: linear-gradient(180deg, var(--color-bg-top), var(--color-bg-mid) 48%, var(--color-bg-bottom));
}

.dashboard-body {
    background: var(--dash-bg, #f6f6f3);
}

.dashboard-shell h1,
.dashboard-shell h2,
.dashboard-shell h3,
.dashboard-shell h4,
.dashboard-shell strong {
    font-family: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
    letter-spacing: -0.025em;
}

.dashboard-shell [data-dashboard-counter],
.dashboard-shell .dashboard-stat-value,
.dashboard-shell code,
.dashboard-shell .font-mono {
    font-family: "IBM Plex Mono", ui-monospace, monospace;
}

.dashboard-shell .nm-flat,
.dashboard-shell .nm-inset {
    box-shadow: none;
}

.dashboard-sidebar {
    inset: 0 auto 0 0;
    width: var(--dash-panel-width);
    padding: 20px 12px 14px;
    border: 0;
    border-radius: 0;
    background: var(--dash-nav);
    box-shadow: none;
    transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.dashboard-brand {
    min-height: 54px;
    padding: 0 8px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 0;
    color: #f3f5f2;
    box-shadow: none;
}

.dashboard-brand img {
    width: 30px;
    height: 30px;
    border-radius: var(--dash-radius-sm);
}

.dashboard-brand strong {
    color: #f3f5f2;
    font-size: 0.75rem;
}

.dashboard-brand small {
    color: rgba(226, 232, 227, 0.48);
    font-size: 0.53rem;
}

.dashboard-navigation {
    margin: 8px -2px 12px;
    padding: 0 2px;
}

.dashboard-nav-group {
    margin: 20px 10px 6px;
    color: rgba(219, 226, 221, 0.4);
    font-size: 0.56rem;
    letter-spacing: 0.16em;
}

.dashboard-nav-link {
    grid-template-columns: 18px 1fr 12px;
    min-height: 36px;
    margin: 1px 0;
    padding: 8px 9px;
    border-left: 2px solid transparent;
    border-radius: 0;
    color: rgba(226, 232, 227, 0.7);
    font-size: 0.76rem;
    transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.dashboard-nav-link::before {
    display: none;
}

.dashboard-nav-link:hover {
    background: rgba(255, 255, 255, 0.045);
    color: #ffffff;
    transform: none;
}

.dashboard-nav-link.is-active {
    border-left-color: color-mix(in srgb, var(--dash-accent) 82%, #ffffff);
    background: var(--dash-nav-active);
    color: #ffffff;
    box-shadow: none;
}

.dashboard-nav-icon {
    width: 16px;
    height: 16px;
    animation: none;
}

.dashboard-nav-chevron {
    width: 11px;
    height: 11px;
}

.dashboard-account {
    grid-template-columns: 32px 1fr 34px;
    padding: 12px 8px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 0;
    box-shadow: none;
}

.dashboard-avatar {
    width: 30px;
    height: 30px;
    border-radius: var(--dash-radius-sm);
    background: #e8ebe7;
    color: #242925;
    box-shadow: none;
}

.dashboard-account-copy strong {
    color: #edf0ed;
}

.dashboard-account-copy span {
    color: rgba(226, 232, 227, 0.48);
}

.dashboard-account .dashboard-icon-button {
    background: transparent;
    color: rgba(226, 232, 227, 0.58);
}

.dashboard-workspace {
    margin-left: var(--dash-panel-width);
    padding: 0 24px 42px;
}

.dashboard-header {
    top: 0;
    grid-template-columns: minmax(170px, 1fr) minmax(230px, 360px) minmax(150px, 1fr);
    min-height: 62px;
    padding: 9px 0;
    border-bottom: 1px solid var(--dash-line);
    border-radius: 0;
    background: color-mix(in srgb, var(--dash-bg) 94%, transparent);
    box-shadow: none;
    backdrop-filter: blur(12px);
}

.dashboard-breadcrumbs {
    font-size: 0.72rem;
}

.dashboard-breadcrumbs svg {
    animation: none;
}

.dashboard-command-search,
.dashboard-command-trigger {
    height: 36px;
    padding: 0 11px;
    border: 1px solid var(--dash-line);
    border-radius: var(--dash-radius-sm);
    background: var(--dash-surface);
    box-shadow: none;
}

.dashboard-command-search input {
    font-size: 0.76rem;
}

.dashboard-react-mount {
    display: none;
}

.dashboard-shell.is-react-enhanced .dashboard-fallback-search {
    display: none;
}

.dashboard-shell.is-react-enhanced .dashboard-react-mount {
    display: block;
}

.dashboard-command-trigger {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    color: var(--dash-muted);
    cursor: pointer;
}

.dashboard-command-trigger span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.dashboard-command-trigger kbd {
    padding: 2px 5px;
    border: 1px solid var(--dash-line);
    border-radius: var(--dash-radius-sm);
    color: var(--dash-faint);
    font-family: "IBM Plex Mono", ui-monospace, monospace;
    font-size: 0.62rem;
}

.dashboard-header-actions {
    gap: 8px;
}

.dashboard-icon-button {
    width: 36px;
    height: 36px;
    border: 1px solid var(--dash-line);
    border-radius: var(--dash-radius-sm);
    background: var(--dash-surface);
    box-shadow: none;
    transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.dashboard-icon-button:hover {
    border-color: color-mix(in srgb, var(--dash-accent) 52%, var(--dash-line));
    color: var(--dash-accent);
    transform: none;
}

.dashboard-notification-button > span {
    top: 7px;
    right: 7px;
    width: 6px;
    height: 6px;
    background: var(--dash-danger);
    box-shadow: none;
    animation: none;
}

.dashboard-header-avatar {
    width: 36px;
    height: 36px;
    border-radius: var(--dash-radius-sm);
    background: var(--dash-nav);
    box-shadow: none;
}

.dashboard-main {
    padding-top: 0;
}

.dashboard-main > section,
.dashboard-page {
    padding: 34px 0 56px !important;
    animation: dashboardFoundationEnter 220ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.dashboard-page-heading {
    align-items: flex-end;
    margin-bottom: 26px;
}

.dashboard-page-heading h1 {
    margin-top: 5px;
    font-size: clamp(1.9rem, 3vw, 2.75rem);
    line-height: 1.06;
}

.dashboard-eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.14em;
}

.dashboard-shell .glass-card,
.dashboard-surface,
.dashboard-stat-card,
.dashboard-widget {
    border: 1px solid var(--dash-line) !important;
    border-radius: var(--dash-radius-md) !important;
    background: var(--dash-surface) !important;
    box-shadow: none !important;
    transition: border-color 160ms ease, background-color 200ms ease;
}

.dashboard-shell .glass-card:hover,
.dashboard-stat-card:hover,
.dashboard-widget:hover {
    border-color: color-mix(in srgb, var(--dash-accent) 30%, var(--dash-line)) !important;
    transform: none;
}

.dashboard-stat-grid {
    gap: 0;
    border-top: 1px solid var(--dash-text);
    border-bottom: 1px solid var(--dash-line);
}

.dashboard-stat-card {
    min-height: 142px;
    padding: 17px 18px;
    border: 0 !important;
    border-right: 1px solid var(--dash-line) !important;
    border-radius: 0 !important;
    animation: none;
}

.dashboard-stat-card:last-child {
    border-right: 0 !important;
}

.dashboard-stat-icon {
    width: 32px;
    height: 32px;
    border: 1px solid var(--dash-line);
    border-radius: var(--dash-radius-sm);
    box-shadow: none;
    animation: none;
}

.dashboard-stat-icon svg {
    width: 16px;
    height: 16px;
}

.dashboard-stat-label {
    margin-top: 16px;
    font-size: 0.68rem;
}

.dashboard-stat-value {
    margin-top: 4px;
    font-size: 1.55rem;
    letter-spacing: -0.04em;
}

.dashboard-stat-trend {
    right: 16px;
    bottom: 14px;
    font-size: 0.6rem;
}

.dashboard-overview-grid {
    gap: 18px;
    margin-top: 24px;
}

.dashboard-widget,
.dashboard-shell .glass-card {
    padding: 20px;
    animation: none;
}

.dashboard-shell a.rounded-full,
.dashboard-shell button.rounded-full,
.dashboard-shell .bg-emerald {
    border: 1px solid var(--dash-line) !important;
    border-radius: var(--dash-radius-sm) !important;
    background: var(--dash-surface) !important;
    color: var(--dash-accent) !important;
    box-shadow: none !important;
}

.dashboard-shell a.rounded-full:hover,
.dashboard-shell button.rounded-full:hover,
.dashboard-shell .bg-emerald:hover {
    border-color: var(--dash-accent) !important;
    transform: none;
}

.dashboard-shell .data-table {
    border-collapse: collapse;
    border-spacing: 0;
}

.dashboard-shell .data-table th {
    border-bottom: 1px solid var(--dash-text);
    font-size: 0.62rem;
}

.dashboard-shell .data-table td {
    border-bottom: 1px solid var(--dash-line);
    background: transparent;
    box-shadow: none;
}

.dashboard-shell .data-table td:first-child,
.dashboard-shell .data-table td:last-child {
    border-radius: 0;
}

.dashboard-shell input:not([type="hidden"]),
.dashboard-shell textarea,
.dashboard-shell select {
    border: 1px solid var(--dash-line) !important;
    border-radius: var(--dash-radius-sm) !important;
    background: var(--dash-surface) !important;
    box-shadow: none !important;
}

.dashboard-shell input:not([type="hidden"]):focus,
.dashboard-shell textarea:focus,
.dashboard-shell select:focus {
    border-color: var(--dash-accent) !important;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--dash-accent) 14%, transparent) !important;
}

.dashboard-command-overlay {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: start center;
    padding: min(16vh, 120px) 20px 20px;
    background: rgba(14, 18, 16, 0.54);
    backdrop-filter: blur(7px);
}

.dashboard-command-dialog {
    width: min(620px, 100%);
    overflow: hidden;
    border: 1px solid var(--dash-line);
    border-radius: var(--dash-radius-md);
    background: var(--dash-surface);
    box-shadow: 0 24px 80px rgba(12, 16, 14, 0.24);
}

.dashboard-command-input {
    width: 100%;
    min-height: 52px;
    padding: 0 16px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--dash-line) !important;
    border-radius: 0 !important;
    font-size: 0.9rem;
}

.dashboard-command-input-row {
    display: grid;
    grid-template-columns: 20px 1fr 36px;
    align-items: center;
    padding-left: 16px;
    border-bottom: 1px solid var(--dash-line);
    color: var(--dash-faint);
}

.dashboard-command-input-row .dashboard-command-input {
    border-bottom: 0 !important;
}

.dashboard-command-close {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: var(--dash-radius-sm);
    background: transparent;
    color: var(--dash-muted);
    cursor: pointer;
}

.dashboard-command-close:hover {
    background: color-mix(in srgb, var(--dash-accent) 9%, transparent);
    color: var(--dash-accent);
}

.dashboard-command-groups {
    max-height: min(58vh, 460px);
    padding: 8px;
    overflow-y: auto;
}

.dashboard-command-group-label {
    display: block;
    padding: 10px 10px 5px;
    color: var(--dash-faint);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.dashboard-command-item {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    min-height: 40px;
    padding: 9px 10px;
    border: 0;
    border-radius: var(--dash-radius-sm);
    background: transparent;
    color: var(--dash-text);
    text-align: left;
    cursor: pointer;
}

.dashboard-command-item.is-active,
.dashboard-command-item:hover {
    background: color-mix(in srgb, var(--dash-accent) 9%, transparent);
    color: var(--dash-accent);
}

.dashboard-command-item small {
    color: var(--dash-faint);
}

.dashboard-command-empty {
    padding: 28px 16px;
    color: var(--dash-muted);
    text-align: center;
}

@keyframes dashboardFoundationEnter {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1280px) {
    .dashboard-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-stat-card:nth-child(2) {
        border-right: 0 !important;
    }

    .dashboard-stat-card:nth-child(-n + 2) {
        border-bottom: 1px solid var(--dash-line) !important;
    }
}

@media (max-width: 1023px) {
    .dashboard-sidebar {
        inset: 0 auto 0 0;
        width: min(var(--dash-panel-width), calc(100vw - 42px));
    }

    .dashboard-workspace {
        margin-left: 0;
        padding: 0 18px 36px;
    }

    .dashboard-header {
        grid-template-columns: 1fr minmax(210px, 320px) auto;
    }

    .dashboard-drawer-toggle {
        display: grid;
        margin-right: 10px;
    }
}

@media (max-width: 700px) {
    .dashboard-workspace {
        padding: 0 12px 30px;
    }

    .dashboard-header {
        grid-template-columns: 1fr auto;
        min-height: 58px;
    }

    .dashboard-command-search,
    .dashboard-react-mount {
        grid-column: 1 / -1;
        grid-row: 2;
        margin-bottom: 8px;
    }

    .dashboard-main > section,
    .dashboard-page {
        padding: 26px 0 42px !important;
    }

    .dashboard-stat-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-stat-card,
    .dashboard-stat-card:nth-child(2) {
        border-right: 0 !important;
        border-bottom: 1px solid var(--dash-line) !important;
    }

    .dashboard-stat-card:last-child {
        border-bottom: 0 !important;
    }
}

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

/* Customer top navigation shell */
.is-customer-console {
    --customer-topbar-bg: rgba(5, 8, 11, 0.94);
    --customer-topbar-border: rgba(156, 177, 205, 0.12);
    --customer-topbar-height: 109px;
    padding-top: var(--customer-topbar-height);
}

.is-customer-console .dashboard-sidebar,
.is-customer-console .dashboard-sidebar-backdrop,
.is-customer-console .dashboard-header {
    display: none;
}

.is-customer-console .dashboard-workspace {
    margin-left: 0;
    padding: 0 0 64px;
    background:
        radial-gradient(circle at 23% 0%, rgba(49, 231, 154, 0.08), transparent 32rem),
        linear-gradient(180deg, rgba(7, 16, 13, 0.68), rgba(5, 8, 11, 0) 260px);
}

.is-customer-console .dashboard-main {
    width: min(100% - 2rem, 1180px);
    margin: 0 auto;
}

.is-customer-console .dashboard-flash-stack {
    width: min(100% - 2rem, 1180px);
    margin: 18px auto 0;
}

.is-customer-console .customer-dashboard-page {
    width: 100%;
    margin-inline: auto;
}

.customer-topbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 100;
    border-bottom: 1px solid var(--customer-topbar-border);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 42%),
        var(--customer-topbar-bg);
    color: #ffffff;
    box-shadow: 0 10px 28px rgba(2, 8, 6, 0.08);
    backdrop-filter: blur(14px);
}

.customer-topbar-utility {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    width: min(100% - 2rem, 1180px);
    min-height: 58px;
    margin: 0 auto;
    gap: 16px;
}

.customer-topbar-logo {
    grid-column: 1;
    justify-self: start;
    display: inline-grid;
    grid-template-columns: 36px auto;
    align-items: center;
    gap: 9px;
    color: #ffffff;
    text-decoration: none;
}

.customer-topbar-logo img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.customer-topbar-logo strong,
.customer-topbar-user strong {
    display: block;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.1;
}

.customer-topbar-logo small {
    display: block;
    margin-top: 3px;
    color: rgba(191, 255, 220, 0.72);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.customer-topbar-actions {
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 9px;
}

.customer-topbar-actions > a,
.customer-topbar-actions form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 34px;
    border: 1px solid rgba(156, 177, 205, 0.16);
    border-radius: 5px;
    background: rgba(13, 21, 30, 0.72);
    padding: 0 10px;
    color: rgba(236, 245, 241, 0.82);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
}

.customer-topbar-actions svg {
    width: 16px;
    height: 16px;
}

.customer-topbar-actions .dashboard-icon-button {
    width: 34px;
    height: 34px;
    border-radius: 5px;
    background: rgba(13, 21, 30, 0.72);
    color: rgba(236, 245, 241, 0.82);
}

.customer-topbar-user {
    display: inline-grid;
    grid-template-columns: 30px auto;
    align-items: center;
    gap: 8px;
}

.customer-topbar-user > span {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 5px;
    background: #f4f8f6;
    color: #14211b;
    font-weight: 800;
}

.customer-topbar-user strong {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.customer-topbar-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 2.7vw, 40px);
    width: min(100% - 2rem, 1180px);
    min-height: 50px;
    margin: 0 auto;
}

.customer-topbar-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    color: rgba(236, 245, 241, 0.84);
    font-size: 0.86rem;
    font-weight: 800;
    text-decoration: none;
    transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.customer-nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 50px;
}

.customer-nav-more {
    display: none;
}

.customer-nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 36px;
    border: 0;
    background: transparent;
    padding: 0;
    color: rgba(236, 245, 241, 0.84);
    font: inherit;
    font-size: 0.86rem;
    font-weight: 800;
    cursor: pointer;
    transition: color 160ms ease;
}

.customer-nav-dropdown-trigger > svg {
    width: 13px;
    height: 13px;
    transition: transform 160ms ease;
}

.customer-nav-dropdown-menu {
    position: absolute;
    top: calc(100% - 2px);
    left: -14px;
    z-index: 120;
    display: grid;
    width: 240px;
    padding: 7px;
    visibility: hidden;
    border: 1px solid rgba(156, 177, 205, 0.16);
    border-radius: 6px;
    background: #101720;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
}

.customer-nav-dropdown:hover .customer-nav-dropdown-menu,
.customer-nav-dropdown:focus-within .customer-nav-dropdown-menu,
.customer-nav-dropdown.is-open .customer-nav-dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.customer-nav-dropdown:hover .customer-nav-dropdown-trigger,
.customer-nav-dropdown:focus-within .customer-nav-dropdown-trigger,
.customer-nav-dropdown-trigger.is-active {
    color: #31e79a;
}

.customer-nav-dropdown:hover .customer-nav-dropdown-trigger > svg,
.customer-nav-dropdown:focus-within .customer-nav-dropdown-trigger > svg,
.customer-nav-dropdown.is-open .customer-nav-dropdown-trigger > svg {
    transform: rotate(180deg);
}

.customer-nav-dropdown-menu a {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    min-height: 0;
    padding: 10px;
    border-radius: 4px;
    color: rgba(236, 245, 241, 0.78);
}

.customer-nav-dropdown-menu a:hover,
.customer-nav-dropdown-menu a:focus-visible {
    background: rgba(49, 231, 154, 0.1);
    color: #ffffff;
}

.customer-nav-dropdown-menu a > svg {
    width: 17px;
    height: 17px;
    margin-top: 2px;
    color: #31e79a;
}

.customer-nav-dropdown-menu strong,
.customer-nav-dropdown-menu small {
    display: block;
}

.customer-nav-dropdown-menu strong {
    color: inherit;
    font-size: 0.79rem;
    line-height: 1.2;
}

.customer-nav-dropdown-menu small {
    margin-top: 3px;
    color: rgba(181, 194, 207, 0.62);
    font-size: 0.66rem;
    font-weight: 500;
    line-height: 1.25;
}

.customer-topbar-nav a:hover,
.customer-topbar-nav a.is-active {
    color: #31e79a;
}

.customer-topbar-nav .customer-topbar-cta {
    border: 1px solid rgba(49, 231, 154, 0.28);
    border-radius: 5px;
    background: rgba(49, 231, 154, 0.16);
    padding: 0 14px;
    color: #baffdd;
}

.customer-topbar-nav .customer-topbar-cta:hover {
    background: rgba(49, 231, 154, 0.24);
    color: #ffffff;
}

html:not([data-dashboard-theme="dark"]) .customer-topbar,
html[data-dashboard-theme="light"] .customer-topbar {
    --customer-topbar-bg: rgba(255, 255, 255, 0.92);
    --customer-topbar-border: rgba(83, 99, 93, 0.15);
    color: #15201b;
}

html:not([data-dashboard-theme="dark"]) .customer-topbar-logo strong,
html[data-dashboard-theme="light"] .customer-topbar-logo strong,
html:not([data-dashboard-theme="dark"]) .customer-topbar-user strong,
html[data-dashboard-theme="light"] .customer-topbar-user strong {
    color: #15201b;
}

html:not([data-dashboard-theme="dark"]) .customer-topbar-logo small,
html[data-dashboard-theme="light"] .customer-topbar-logo small {
    color: #0d9f66;
}

html:not([data-dashboard-theme="dark"]) .customer-topbar-actions > a,
html[data-dashboard-theme="light"] .customer-topbar-actions > a,
html:not([data-dashboard-theme="dark"]) .customer-topbar-actions form button,
html[data-dashboard-theme="light"] .customer-topbar-actions form button,
html:not([data-dashboard-theme="dark"]) .customer-topbar-actions .dashboard-icon-button,
html[data-dashboard-theme="light"] .customer-topbar-actions .dashboard-icon-button {
    border-color: #d6dfdc;
    background: #ffffff;
    color: #15201b;
}

html:not([data-dashboard-theme="dark"]) .customer-topbar-nav a,
html[data-dashboard-theme="light"] .customer-topbar-nav a {
    color: #25322d;
}

html:not([data-dashboard-theme="dark"]) .customer-nav-dropdown-trigger,
html[data-dashboard-theme="light"] .customer-nav-dropdown-trigger {
    color: #25322d;
}

html:not([data-dashboard-theme="dark"]) .customer-nav-dropdown-menu,
html[data-dashboard-theme="light"] .customer-nav-dropdown-menu {
    border-color: #d6dfdc;
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(31, 50, 42, 0.15);
}

html:not([data-dashboard-theme="dark"]) .customer-nav-dropdown-menu a,
html[data-dashboard-theme="light"] .customer-nav-dropdown-menu a {
    color: #25322d;
}

html:not([data-dashboard-theme="dark"]) .customer-nav-dropdown-menu a:hover,
html:not([data-dashboard-theme="dark"]) .customer-nav-dropdown-menu a:focus-visible,
html[data-dashboard-theme="light"] .customer-nav-dropdown-menu a:hover,
html[data-dashboard-theme="light"] .customer-nav-dropdown-menu a:focus-visible {
    background: #edf8f3;
    color: #0b6f49;
}

html:not([data-dashboard-theme="dark"]) .customer-nav-dropdown-menu small,
html[data-dashboard-theme="light"] .customer-nav-dropdown-menu small {
    color: #708079;
}

html:not([data-dashboard-theme="dark"]) .customer-topbar-nav a:hover,
html[data-dashboard-theme="light"] .customer-topbar-nav a:hover,
html:not([data-dashboard-theme="dark"]) .customer-topbar-nav a.is-active,
html[data-dashboard-theme="light"] .customer-topbar-nav a.is-active {
    color: #0d9f66;
}

html:not([data-dashboard-theme="dark"]) .customer-topbar-nav .customer-topbar-cta,
html[data-dashboard-theme="light"] .customer-topbar-nav .customer-topbar-cta {
    border-color: #0d9f66;
    background: #0d9f66;
    color: #ffffff;
}

@media (max-width: 900px) {
    .is-customer-console {
        --customer-topbar-height: 105px;
    }

    .customer-topbar-utility {
        grid-template-columns: 1fr auto;
        min-height: auto;
        padding: 12px 0 8px;
    }

    .customer-topbar-logo {
        grid-column: 1;
        justify-self: start;
    }

    .customer-topbar-actions {
        grid-column: 2;
    }

    .customer-topbar-actions > a span,
    .customer-topbar-user strong {
        display: none;
    }

    .customer-topbar-nav {
        justify-content: space-between;
        gap: 8px;
        overflow: visible;
        padding-bottom: 10px;
    }

    .customer-topbar-nav .customer-nav-collapsible {
        display: none;
    }

    .customer-topbar-nav .customer-nav-more {
        display: flex;
    }

    .customer-topbar-nav a {
        flex: 0 0 auto;
        min-height: 34px;
        border: 1px solid rgba(156, 177, 205, 0.14);
        border-radius: 5px;
        padding: 0 11px;
        background: rgba(13, 21, 30, 0.28);
    }

    .customer-nav-dropdown {
        position: static;
        flex: 0 0 auto;
        min-height: 34px;
    }

    .customer-nav-dropdown-trigger {
        min-height: 34px;
        border: 1px solid rgba(156, 177, 205, 0.14);
        border-radius: 5px;
        padding: 0 11px;
        background: rgba(13, 21, 30, 0.28);
    }

    .customer-nav-dropdown-menu {
        position: fixed;
        top: var(--customer-topbar-height);
        right: 8px;
        left: 8px;
        width: auto;
        max-height: calc(100vh - var(--customer-topbar-height) - 12px);
        overflow-y: auto;
    }

    .is-customer-console .dashboard-main {
        width: min(100% - 1rem, 1180px);
    }
}

@media (max-width: 520px) {
    .customer-topbar-nav .customer-nav-panel,
    .customer-topbar-nav .customer-nav-direct-credit {
        display: none;
    }

    .customer-topbar-nav {
        justify-content: start;
        gap: 6px;
    }

    .customer-topbar-nav .customer-nav-dropdown-trigger {
        padding-inline: 9px;
    }
}

/* Customer light theme */
html:not([data-dashboard-theme="dark"]) body.customer-console-body,
html[data-dashboard-theme="light"] body.customer-console-body {
    background: #f3f6f5;
}

html:not([data-dashboard-theme="dark"]) .dashboard-shell.is-customer-console,
html[data-dashboard-theme="light"] .dashboard-shell.is-customer-console,
.dashboard-shell.is-customer-console[data-dashboard-theme="light"] {
    --dash-bg: #f3f6f5;
    --dash-surface: #ffffff;
    --dash-nav: #0c141d;
    --dash-nav-active: rgba(49, 231, 154, 0.16);
    --dash-text: #15201b;
    --dash-muted: #53635d;
    --dash-faint: #7b8984;
    --dash-line: #d6dfdc;
    --dash-accent: #0d9f66;
    --dash-success: #087a4f;
    background:
        linear-gradient(90deg, #0c141d 0, #0c141d var(--dash-panel-width), #f3f6f5 var(--dash-panel-width)),
        linear-gradient(180deg, #eef5f1 0%, #f8faf9 42%, #f3f6f5 100%);
    color: var(--dash-text);
}

html:not([data-dashboard-theme="dark"]) .is-customer-console .dashboard-workspace,
html[data-dashboard-theme="light"] .is-customer-console .dashboard-workspace {
    background:
        linear-gradient(90deg, rgba(12, 20, 29, 0.16), rgba(243, 246, 245, 0) 46px),
        linear-gradient(180deg, rgba(223, 241, 232, 0.86), rgba(243, 246, 245, 0) 240px);
}

html:not([data-dashboard-theme="dark"]) .is-customer-console .dashboard-header,
html[data-dashboard-theme="light"] .is-customer-console .dashboard-header {
    border-color: rgba(83, 99, 93, 0.16);
}

html:not([data-dashboard-theme="dark"]) .is-customer-console .dashboard-command-trigger,
html[data-dashboard-theme="light"] .is-customer-console .dashboard-command-trigger,
html:not([data-dashboard-theme="dark"]) .is-customer-console .dashboard-icon-button,
html[data-dashboard-theme="light"] .is-customer-console .dashboard-icon-button {
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(83, 99, 93, 0.18);
    color: #25322d;
}

html:not([data-dashboard-theme="dark"]) .is-customer-console .dashboard-header-avatar,
html[data-dashboard-theme="light"] .is-customer-console .dashboard-header-avatar {
    background: #15201b;
    color: #ffffff;
}

html:not([data-dashboard-theme="dark"]) .is-customer-console .dashboard-brand,
html[data-dashboard-theme="light"] .is-customer-console .dashboard-brand,
html:not([data-dashboard-theme="dark"]) .is-customer-console .dashboard-account,
html[data-dashboard-theme="light"] .is-customer-console .dashboard-account {
    background: transparent;
    color: #eef7f2;
}

html:not([data-dashboard-theme="dark"]) .is-customer-console .dashboard-brand strong,
html[data-dashboard-theme="light"] .is-customer-console .dashboard-brand strong,
html:not([data-dashboard-theme="dark"]) .is-customer-console .dashboard-account-copy strong,
html[data-dashboard-theme="light"] .is-customer-console .dashboard-account-copy strong {
    color: #ffffff;
}

html:not([data-dashboard-theme="dark"]) .is-customer-console .dashboard-brand small,
html[data-dashboard-theme="light"] .is-customer-console .dashboard-brand small,
html:not([data-dashboard-theme="dark"]) .is-customer-console .dashboard-account-copy span,
html[data-dashboard-theme="light"] .is-customer-console .dashboard-account-copy span {
    color: rgba(225, 233, 244, 0.62);
}

html:not([data-dashboard-theme="dark"]) .customer-dashboard-page,
html[data-dashboard-theme="light"] .customer-dashboard-page {
    color: #15201b;
}

html:not([data-dashboard-theme="dark"]) .client-dashboard-heading h1,
html[data-dashboard-theme="light"] .client-dashboard-heading h1,
html:not([data-dashboard-theme="dark"]) .client-profile-card h2,
html[data-dashboard-theme="light"] .client-profile-card h2,
html:not([data-dashboard-theme="dark"]) .client-side-panel h3,
html[data-dashboard-theme="light"] .client-side-panel h3,
html:not([data-dashboard-theme="dark"]) .client-section-heading h2,
html[data-dashboard-theme="light"] .client-section-heading h2,
html:not([data-dashboard-theme="dark"]) .client-service-row h3,
html[data-dashboard-theme="light"] .client-service-row h3,
html:not([data-dashboard-theme="dark"]) .client-feed-list strong,
html[data-dashboard-theme="light"] .client-feed-list strong,
html:not([data-dashboard-theme="dark"]) .client-credit-box strong,
html[data-dashboard-theme="light"] .client-credit-box strong,
html:not([data-dashboard-theme="dark"]) .client-stat-strip strong,
html[data-dashboard-theme="light"] .client-stat-strip strong {
    color: #15201b;
}

html:not([data-dashboard-theme="dark"]) .client-dashboard-subtitle,
html[data-dashboard-theme="light"] .client-dashboard-subtitle,
html:not([data-dashboard-theme="dark"]) .client-profile-card p,
html[data-dashboard-theme="light"] .client-profile-card p,
html:not([data-dashboard-theme="dark"]) .client-service-row p,
html[data-dashboard-theme="light"] .client-service-row p,
html:not([data-dashboard-theme="dark"]) .client-feed-list p,
html[data-dashboard-theme="light"] .client-feed-list p,
html:not([data-dashboard-theme="dark"]) .client-side-panel a,
html[data-dashboard-theme="light"] .client-side-panel a {
    color: #53635d;
}

html:not([data-dashboard-theme="dark"]) .client-profile-card,
html[data-dashboard-theme="light"] .client-profile-card,
html:not([data-dashboard-theme="dark"]) .client-side-panel,
html[data-dashboard-theme="light"] .client-side-panel,
html:not([data-dashboard-theme="dark"]) .client-section-card,
html[data-dashboard-theme="light"] .client-section-card {
    border-color: #d6dfdc;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(246, 249, 248, 0.96)),
        #ffffff;
    box-shadow: 0 18px 50px rgba(15, 26, 22, 0.08);
}

html:not([data-dashboard-theme="dark"]) .client-stat-strip,
html[data-dashboard-theme="light"] .client-stat-strip {
    border-color: #d6dfdc;
    background: rgba(255, 255, 255, 0.88);
}

html:not([data-dashboard-theme="dark"]) .client-stat-strip article,
html[data-dashboard-theme="light"] .client-stat-strip article,
html:not([data-dashboard-theme="dark"]) .client-credit-box,
html[data-dashboard-theme="light"] .client-credit-box,
html:not([data-dashboard-theme="dark"]) .client-side-panel a,
html[data-dashboard-theme="light"] .client-side-panel a,
html:not([data-dashboard-theme="dark"]) .client-service-row,
html[data-dashboard-theme="light"] .client-service-row,
html:not([data-dashboard-theme="dark"]) .client-feed-list > p,
html[data-dashboard-theme="light"] .client-feed-list > p,
html:not([data-dashboard-theme="dark"]) .client-feed-list article,
html[data-dashboard-theme="light"] .client-feed-list article {
    border-color: #d6dfdc;
}

html:not([data-dashboard-theme="dark"]) .client-feed-list > p,
html[data-dashboard-theme="light"] .client-feed-list > p,
html:not([data-dashboard-theme="dark"]) .client-feed-list article,
html[data-dashboard-theme="light"] .client-feed-list article {
    background: rgba(247, 250, 249, 0.9);
}

html:not([data-dashboard-theme="dark"]) .is-customer-console .dashboard-flash,
html[data-dashboard-theme="light"] .is-customer-console .dashboard-flash {
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(13, 159, 102, 0.22);
    color: #087a4f;
}

html:not([data-dashboard-theme="dark"]) .client-dashboard-actions a,
html[data-dashboard-theme="light"] .client-dashboard-actions a,
html:not([data-dashboard-theme="dark"]) .client-profile-actions a,
html[data-dashboard-theme="light"] .client-profile-actions a,
html:not([data-dashboard-theme="dark"]) .client-service-actions a,
html[data-dashboard-theme="light"] .client-service-actions a,
html:not([data-dashboard-theme="dark"]) .client-service-actions button,
html[data-dashboard-theme="light"] .client-service-actions button {
    background: #ffffff;
    border-color: #cbd7d3;
    color: #087a4f;
}

html:not([data-dashboard-theme="dark"]) .client-dashboard-actions a:first-child,
html[data-dashboard-theme="light"] .client-dashboard-actions a:first-child {
    background: #0d9f66;
    border-color: #0d9f66;
    color: #ffffff;
}

html:not([data-dashboard-theme="dark"]) .client-dashboard-actions a:hover,
html[data-dashboard-theme="light"] .client-dashboard-actions a:hover,
html:not([data-dashboard-theme="dark"]) .client-profile-actions a:hover,
html[data-dashboard-theme="light"] .client-profile-actions a:hover,
html:not([data-dashboard-theme="dark"]) .client-service-actions a:hover,
html[data-dashboard-theme="light"] .client-service-actions a:hover,
html:not([data-dashboard-theme="dark"]) .client-service-actions button:hover,
html[data-dashboard-theme="light"] .client-service-actions button:hover {
    background: #eef8f3;
    border-color: #0d9f66;
    color: #066d49;
}

/* Admin white/black themes */
.dashboard-shell.is-admin-console {
    --dash-bg: #f7f8fa;
    --dash-surface: #ffffff;
    --dash-nav: #ffffff;
    --dash-nav-active: #f0f3f6;
    --dash-text: #111827;
    --dash-muted: #5f6977;
    --dash-faint: #8b95a3;
    --dash-line: #dfe4ea;
    --dash-accent: #111827;
    --dash-success: #087a4f;
    --dash-warning: #9a6507;
    --dash-danger: #b42318;
    background: #f7f8fa;
}

html[data-dashboard-theme="dark"] .dashboard-shell.is-admin-console,
.dashboard-shell.is-admin-console[data-dashboard-theme="dark"] {
    --dash-bg: #050505;
    --dash-surface: #101010;
    --dash-nav: #000000;
    --dash-nav-active: #171717;
    --dash-text: #f7f7f7;
    --dash-muted: #b5b5b5;
    --dash-faint: #737373;
    --dash-line: #272727;
    --dash-accent: #ffffff;
    --dash-success: #46d891;
    --dash-warning: #f5b84b;
    --dash-danger: #ff6b6b;
    background: #050505;
}

body.admin-console-body {
    background: #f7f8fa;
}

html[data-dashboard-theme="dark"] body.admin-console-body {
    background: #050505;
}

.is-admin-console .dashboard-sidebar {
    background: var(--dash-nav);
    border-right: 1px solid var(--dash-line);
}

.is-admin-console .dashboard-brand,
.is-admin-console .dashboard-account {
    border-color: var(--dash-line);
    color: var(--dash-text);
}

.is-admin-console .dashboard-brand strong,
.is-admin-console .dashboard-account-copy strong {
    color: var(--dash-text);
}

.is-admin-console .dashboard-brand small,
.is-admin-console .dashboard-account-copy span,
.is-admin-console .dashboard-nav-group {
    color: var(--dash-faint);
}

.is-admin-console .dashboard-nav-link {
    color: var(--dash-muted);
}

.is-admin-console .dashboard-nav-link:hover,
.is-admin-console .dashboard-nav-link.is-active {
    background: var(--dash-nav-active);
    color: var(--dash-text);
}

.is-admin-console .dashboard-nav-link.is-active {
    border-left-color: var(--dash-accent);
}

.is-admin-console .dashboard-header {
    background: color-mix(in srgb, var(--dash-bg) 92%, transparent);
    border-bottom-color: var(--dash-line);
}

.is-admin-console .dashboard-header-avatar,
.is-admin-console .dashboard-avatar {
    background: var(--dash-text);
    color: var(--dash-bg);
}

/* Customer console refresh */
.dashboard-shell.is-customer-console {
    --dash-bg: #05080b;
    --dash-surface: rgba(16, 22, 30, 0.9);
    --dash-nav: #0c141d;
    --dash-nav-active: rgba(49, 231, 154, 0.12);
    --dash-text: #f4f7fb;
    --dash-muted: #a8b4c4;
    --dash-faint: #748196;
    --dash-line: rgba(142, 159, 184, 0.18);
    --dash-accent: #31e79a;
    --dash-success: #70ffc0;
    --dash-radius-sm: 4px;
    --dash-radius-md: 7px;
    background:
        linear-gradient(90deg, #0c141d 0, #0c141d var(--dash-panel-width), #05080b var(--dash-panel-width)),
        radial-gradient(circle at 34% 0%, rgba(49, 231, 154, 0.07), transparent 31rem),
        linear-gradient(180deg, #07100d 0%, #05080b 34%, #030609 100%);
}

html[data-dashboard-theme="dark"] .dashboard-shell.is-customer-console,
.dashboard-shell.is-customer-console[data-dashboard-theme="dark"] {
    --dash-bg: #05080b;
    --dash-surface: rgba(16, 22, 30, 0.9);
    --dash-nav: #0c141d;
    --dash-nav-active: rgba(49, 231, 154, 0.12);
    --dash-text: #f4f7fb;
    --dash-muted: #a8b4c4;
    --dash-faint: #748196;
    --dash-line: rgba(142, 159, 184, 0.18);
    --dash-accent: #31e79a;
    --dash-success: #70ffc0;
    background:
        linear-gradient(90deg, #0c141d 0, #0c141d var(--dash-panel-width), #05080b var(--dash-panel-width)),
        radial-gradient(circle at 34% 0%, rgba(49, 231, 154, 0.07), transparent 31rem),
        linear-gradient(180deg, #07100d 0%, #05080b 34%, #030609 100%);
}

body.customer-console-body {
    background: #05080b;
}

.is-customer-console .dashboard-sidebar {
    background: #0c141d;
    border-right: 1px solid rgba(156, 177, 205, 0.12);
}

.is-customer-console .dashboard-brand,
.is-customer-console .dashboard-account {
    border-color: rgba(156, 177, 205, 0.12);
}

.is-customer-console .dashboard-nav-link {
    color: rgba(225, 233, 244, 0.72);
}

.is-customer-console .dashboard-nav-link.is-active {
    border-left-color: var(--dash-accent);
    background: rgba(49, 231, 154, 0.11);
}

.is-customer-console .dashboard-workspace {
    padding-inline: clamp(22px, 2.6vw, 44px);
    background:
        linear-gradient(90deg, rgba(12, 20, 29, 0.9), rgba(5, 8, 11, 0) 42px),
        linear-gradient(180deg, rgba(7, 16, 13, 0.52), rgba(5, 8, 11, 0) 210px);
}

.is-customer-console .dashboard-header {
    background: transparent;
    border-color: rgba(156, 177, 205, 0.13);
    backdrop-filter: none;
}

.is-customer-console .dashboard-main {
    max-width: none;
    margin: 0;
}

.customer-dashboard-page {
    width: min(100%, 1380px);
    margin-right: auto;
    color: var(--dash-text);
}

.client-dashboard-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.client-dashboard-heading h1 {
    margin-top: 8px;
    color: #ffffff;
    font-size: clamp(2.35rem, 4vw, 4.1rem);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: 0;
}

.client-dashboard-subtitle {
    max-width: 42rem;
    margin-top: 14px;
    color: var(--dash-muted);
    font-size: 0.96rem;
    line-height: 1.75;
}

.is-customer-console .dashboard-eyebrow {
    color: var(--dash-accent);
}

.is-customer-console .dashboard-flash-stack {
    width: min(100%, 1380px);
    margin: 22px auto 0 0;
}

.is-customer-console .dashboard-flash {
    border: 1px solid rgba(49, 231, 154, 0.24);
    border-radius: 7px;
    background: rgba(9, 18, 24, 0.88);
    box-shadow: none;
    color: #baffdd;
}

.is-customer-console a.text-emeraldsoft,
.is-customer-console .text-emeraldsoft {
    color: var(--dash-accent) !important;
}

.client-dashboard-actions,
.client-profile-actions,
.client-service-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.client-dashboard-actions a,
.client-profile-actions a,
.client-service-actions a,
.client-service-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border: 1px solid rgba(142, 159, 184, 0.22);
    border-radius: var(--dash-radius-sm);
    background: rgba(16, 23, 32, 0.72);
    padding: 0 16px;
    color: var(--dash-accent);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.client-dashboard-actions a:first-child {
    background: rgba(49, 231, 154, 0.13);
    border-color: rgba(49, 231, 154, 0.34);
    color: #baffdd;
}

.client-dashboard-actions a:hover,
.client-profile-actions a:hover,
.client-service-actions a:hover,
.client-service-actions button:hover {
    border-color: rgba(49, 231, 154, 0.55);
    background: rgba(49, 231, 154, 0.10);
    color: #d7ffeb;
}

.client-console-layout {
    display: grid;
    grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.client-profile-panel {
    display: grid;
    gap: 18px;
}

.client-profile-card,
.client-side-panel,
.client-section-card {
    border: 1px solid rgba(142, 159, 184, 0.18);
    border-radius: 7px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)),
        rgba(13, 19, 27, 0.88);
    box-shadow: 0 18px 70px rgba(0, 0, 0, 0.18);
}

.client-profile-card {
    padding: 22px;
}

.client-profile-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--dash-faint);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.client-avatar {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: var(--dash-radius-sm);
    background: rgba(49, 231, 154, 0.12);
    color: #baffdd;
    font-size: 1rem;
}

.client-profile-card h2 {
    margin-top: 20px;
    color: #ffffff;
    font-size: 1.45rem;
    font-weight: 600;
}

.client-profile-card p {
    margin-top: 6px;
    overflow-wrap: anywhere;
    color: var(--dash-muted);
    font-size: 0.84rem;
}

.client-credit-box {
    margin-top: 22px;
    border-top: 1px solid rgba(142, 159, 184, 0.14);
    border-bottom: 1px solid rgba(142, 159, 184, 0.14);
    padding: 18px 0;
}

.client-credit-box span,
.client-stat-strip span,
.client-section-heading span,
.client-service-row small {
    color: var(--dash-faint);
    font-size: 0.72rem;
    font-weight: 800;
}

.client-credit-box strong {
    display: block;
    margin-top: 6px;
    color: #ffffff;
    font-family: "IBM Plex Mono", ui-monospace, monospace;
    font-size: 1.5rem;
    letter-spacing: 0;
}

.client-profile-actions {
    margin-top: 18px;
}

.client-side-panel {
    padding: 18px;
}

.client-side-panel h3 {
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 800;
}

.client-side-panel a {
    display: block;
    margin-top: 12px;
    border-top: 1px solid rgba(142, 159, 184, 0.11);
    padding-top: 12px;
    color: rgba(225, 233, 244, 0.74);
    font-size: 0.84rem;
    text-decoration: none;
}

.client-side-panel a:hover {
    color: var(--dash-accent);
}

.client-main-panel {
    min-width: 0;
}

.client-stat-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid rgba(142, 159, 184, 0.18);
    border-radius: 7px;
    background: rgba(12, 18, 26, 0.72);
}

.client-stat-strip article {
    min-height: 138px;
    padding: 22px;
    border-right: 1px solid rgba(142, 159, 184, 0.14);
}

.client-stat-strip article:last-child {
    border-right: 0;
}

.client-stat-strip strong {
    display: block;
    margin-top: 12px;
    color: #ffffff;
    font-family: "IBM Plex Mono", ui-monospace, monospace;
    font-size: 2.2rem;
    font-weight: 500;
}

.client-stat-strip a {
    display: inline-block;
    margin-top: 10px;
    color: var(--dash-accent);
    font-size: 0.72rem;
    font-weight: 800;
    text-decoration: none;
}

.client-section-card {
    min-width: 0;
    padding: 22px;
}

.client-services-card {
    margin-top: 22px;
    min-height: 0;
}

.client-section-heading {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.client-section-heading h2 {
    color: #ffffff;
    font-size: clamp(1.25rem, 2vw, 1.62rem);
    font-weight: 700;
    line-height: 1.15;
}

.client-section-heading a {
    color: var(--dash-accent);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.client-empty-state {
    display: grid;
    min-height: 210px;
    place-items: center;
    align-content: center;
    gap: 9px;
    color: var(--dash-muted);
    text-align: center;
}

.client-empty-state strong {
    color: #ffffff;
    font-size: 0.88rem;
}

.client-empty-state a {
    color: var(--dash-accent);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
}

.client-cube-mark {
    width: 34px;
    height: 34px;
    border: 1px dashed rgba(210, 224, 243, 0.6);
    border-radius: 6px;
    background:
        linear-gradient(135deg, rgba(49, 231, 154, 0.94) 0 50%, rgba(31, 177, 103, 0.94) 50%),
        #31e79a;
    box-shadow: 0 0 0 8px rgba(49, 231, 154, 0.045);
    transform: rotate(45deg);
}

.client-service-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    border-top: 1px solid rgba(142, 159, 184, 0.13);
    padding: 20px 0 4px;
}

.client-service-row h3 {
    margin-top: 8px;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 800;
}

.client-service-row p {
    margin-top: 6px;
    color: var(--dash-muted);
    font-size: 0.82rem;
}

.client-service-row small {
    grid-column: 1 / -1;
    margin-top: -10px;
}

.client-status-pill {
    display: inline-flex;
    border: 1px solid rgba(49, 231, 154, 0.26);
    border-radius: 999px;
    background: rgba(49, 231, 154, 0.09);
    padding: 3px 9px;
    color: #baffdd;
    font-size: 0.68rem;
    font-weight: 800;
}

.client-status-pill.is-suspended {
    border-color: rgba(255, 197, 92, 0.32);
    background: rgba(255, 197, 92, 0.10);
    color: #ffd996;
}

.client-table-wrap {
    overflow-x: auto;
}

.client-table-wrap .data-table {
    min-width: 560px;
}

.is-customer-console .client-section-card .data-table th {
    border-bottom-color: rgba(226, 235, 248, 0.8);
    color: var(--dash-faint);
}

.is-customer-console .client-section-card .data-table td {
    border-bottom-color: rgba(142, 159, 184, 0.13);
    color: rgba(244, 247, 251, 0.88);
}

.client-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 22px;
}

.client-card-grid > #client-orders {
    grid-column: 1 / -1;
}

.react-pricing-old-price {
    margin-top: 1.2rem;
    color: rgba(226, 232, 240, 0.66);
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: line-through;
    text-decoration-color: #ff6b7d;
    text-decoration-thickness: 2px;
}

.react-pricing-popular-badge {
    position: absolute;
    z-index: 3;
    top: 0;
    left: 50%;
    padding: .42rem 1.1rem;
    border-radius: 0 0 .8rem .8rem;
    background: #19dc83;
    color: #032416;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .1em;
    line-height: 1;
    text-transform: uppercase;
    transform: translateX(-50%);
}

.react-pricing-card.is-popular .react-pricing-card-header {
    padding-top: 2.55rem;
}

.react-pricing-card-row .react-pricing-discount {
    position: relative;
    overflow: hidden;
    border-color: rgba(150, 121, 255, 0.88);
    background: linear-gradient(135deg, rgba(104, 75, 222, 0.42), rgba(66, 211, 255, 0.2));
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-shadow: 0 1px 10px rgba(255, 255, 255, 0.28);
    animation: discountBadgePulse 2.4s ease-in-out infinite;
}

.react-pricing-card-row .react-pricing-discount::after {
    position: absolute;
    inset: -100% auto -100% -35%;
    width: 22%;
    background: rgba(255, 255, 255, 0.48);
    content: "";
    transform: rotate(18deg);
    animation: discountBadgeSweep 3.1s ease-in-out infinite;
}

@keyframes discountBadgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(126, 96, 255, 0), 0 8px 22px rgba(69, 46, 171, 0.18); }
    50% { box-shadow: 0 0 0 4px rgba(126, 96, 255, 0.14), 0 8px 30px rgba(69, 46, 171, 0.34); }
}

@keyframes discountBadgeSweep {
    0%, 55% { left: -35%; opacity: 0; }
    70% { opacity: .8; }
    100% { left: 125%; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .react-pricing-card-row .react-pricing-discount,
    .react-pricing-card-row .react-pricing-discount::after {
        animation: none;
    }
}

.client-feed-list {
    display: grid;
    gap: 12px;
}

.client-feed-list > p,
.client-feed-list article {
    border: 1px solid rgba(142, 159, 184, 0.11);
    border-radius: 6px;
    background: rgba(6, 10, 15, 0.28);
    padding: 14px 16px;
    color: var(--dash-muted);
    font-size: 0.86rem;
}

.client-feed-list article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 5px 14px;
}

.client-feed-list strong {
    color: #ffffff;
    font-size: 0.92rem;
}

.client-feed-list span {
    color: var(--dash-accent);
    font-size: 0.78rem;
}

.client-feed-list p {
    grid-column: 1 / -1;
    color: var(--dash-muted);
    font-size: 0.82rem;
    line-height: 1.55;
}

@media (max-width: 1180px) {
    .client-console-layout,
    .client-card-grid {
        grid-template-columns: 1fr;
    }

    .client-profile-panel {
        grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.9fr);
    }
}

@media (max-width: 760px) {
    .client-dashboard-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .client-dashboard-actions a {
        flex: 1 1 150px;
    }

    .client-profile-panel,
    .client-stat-strip {
        grid-template-columns: 1fr;
    }

    .client-stat-strip article,
    .client-stat-strip article:last-child {
        border-right: 0;
        border-bottom: 1px solid rgba(142, 159, 184, 0.14);
    }

    .client-stat-strip article:last-child {
        border-bottom: 0;
    }

    .client-service-row {
        grid-template-columns: 1fr;
    }

    .client-service-actions {
        width: 100%;
    }

    .client-service-actions form,
    .client-service-actions a,
    .client-service-actions button {
        width: 100%;
    }
}

/* Customer topbar final overrides */
.is-customer-console .dashboard-sidebar,
.is-customer-console .dashboard-sidebar-backdrop,
.is-customer-console .dashboard-header {
    display: none !important;
}

.dashboard-shell.is-customer-console,
html[data-dashboard-theme="dark"] .dashboard-shell.is-customer-console,
.dashboard-shell.is-customer-console[data-dashboard-theme="dark"] {
    background:
        radial-gradient(circle at 23% 0%, rgba(49, 231, 154, 0.08), transparent 32rem),
        linear-gradient(180deg, #07100d 0%, #05080b 34%, #030609 100%) !important;
}

.is-customer-console .dashboard-workspace {
    margin-left: 0 !important;
    padding: 0 0 64px !important;
    background:
        radial-gradient(circle at 23% 0%, rgba(49, 231, 154, 0.08), transparent 32rem),
        linear-gradient(180deg, rgba(7, 16, 13, 0.68), rgba(5, 8, 11, 0) 260px) !important;
}

.is-customer-console .dashboard-main,
.is-customer-console .dashboard-flash-stack {
    width: min(100% - 2rem, 1180px) !important;
    margin-inline: auto !important;
}

.is-customer-console .customer-dashboard-page {
    width: 100% !important;
}

/* Customer motion system */
.customer-motion-root {
    position: fixed;
    top: var(--customer-topbar-height);
    right: 0;
    left: 0;
    z-index: 0;
    height: 430px;
    overflow: hidden;
    pointer-events: none;
}

.customer-motion-stage,
.customer-motion-grid {
    position: absolute;
    inset: 0;
}

.customer-motion-stage {
    overflow: hidden;
    opacity: 0.78;
    mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.72) 58%, transparent 100%);
}

.customer-motion-grid {
    background-image:
        linear-gradient(rgba(49, 231, 154, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(49, 231, 154, 0.045) 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: 0.42;
}

.customer-packet-lane {
    position: absolute;
    left: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    width: clamp(110px, 15vw, 190px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(49, 231, 154, 0.58), transparent);
    color: rgba(113, 255, 193, 0.62);
}

.customer-packet-lane i {
    width: 5px;
    height: 5px;
    border: 1px solid rgba(113, 255, 193, 0.82);
    background: #13271f;
    box-shadow: 0 0 12px rgba(49, 231, 154, 0.48);
    transform: rotate(45deg);
}

.customer-packet-lane b {
    font-family: "IBM Plex Mono", ui-monospace, monospace;
    font-size: 0.52rem;
    font-weight: 500;
    letter-spacing: 0.08em;
}

.is-customer-console .dashboard-workspace {
    position: relative;
    z-index: 1;
}

.is-customer-motion-enhanced .client-profile-card,
.is-customer-motion-enhanced .client-section-card {
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.is-customer-motion-enhanced .client-profile-card.is-motion-tilting,
.is-customer-motion-enhanced .client-section-card.is-motion-tilting {
    border-color: rgba(49, 231, 154, 0.28);
    box-shadow: 0 22px 74px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(49, 231, 154, 0.05);
    transform: perspective(1100px) rotateX(var(--motion-rotate-x, 0deg)) rotateY(var(--motion-rotate-y, 0deg)) translateY(-2px);
}

.is-customer-motion-enhanced .client-stat-strip article {
    position: relative;
    transition: background-color 180ms ease;
}

.is-customer-motion-enhanced .client-stat-strip article::after {
    position: absolute;
    right: 22px;
    bottom: 18px;
    width: 18px;
    height: 2px;
    background: var(--dash-accent);
    content: "";
    opacity: 0.38;
    transform: scaleX(0.35);
    transform-origin: right;
    transition: opacity 180ms ease, transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.is-customer-motion-enhanced .client-stat-strip article:hover {
    background: rgba(49, 231, 154, 0.035);
}

.is-customer-motion-enhanced .client-stat-strip article:hover::after {
    opacity: 0.9;
    transform: scaleX(1);
}

.is-customer-motion-enhanced .client-status-pill.is-active {
    animation: customerStatusPulse 2.8s ease-in-out infinite;
}

html:not([data-dashboard-theme="dark"]) .customer-motion-grid,
html[data-dashboard-theme="light"] .customer-motion-grid {
    background-image:
        linear-gradient(rgba(13, 159, 102, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 159, 102, 0.06) 1px, transparent 1px);
    opacity: 0.58;
}

html:not([data-dashboard-theme="dark"]) .customer-packet-lane,
html[data-dashboard-theme="light"] .customer-packet-lane {
    background: linear-gradient(90deg, transparent, rgba(13, 159, 102, 0.42), transparent);
    color: rgba(9, 111, 71, 0.64);
}

html:not([data-dashboard-theme="dark"]) .customer-packet-lane i,
html[data-dashboard-theme="light"] .customer-packet-lane i {
    border-color: rgba(13, 159, 102, 0.72);
    background: #f3faf7;
    box-shadow: 0 0 10px rgba(13, 159, 102, 0.24);
}

@keyframes customerStatusPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(49, 231, 154, 0); }
    50% { box-shadow: 0 0 0 4px rgba(49, 231, 154, 0.07); }
}

@media (prefers-reduced-motion: reduce) {
    .customer-motion-stage {
        opacity: 0.34;
    }

    .customer-motion-grid,
    .customer-packet-lane,
    .is-customer-motion-enhanced .client-status-pill.is-active {
        animation: none !important;
    }

    .is-customer-motion-enhanced .client-profile-card,
    .is-customer-motion-enhanced .client-section-card {
        transform: none !important;
        transition: none !important;
    }
}

html:not([data-dashboard-theme="dark"]) .is-customer-console .dashboard-workspace,
html[data-dashboard-theme="light"] .is-customer-console .dashboard-workspace {
    background:
        radial-gradient(circle at 23% 0%, rgba(13, 159, 102, 0.12), transparent 32rem),
        linear-gradient(180deg, rgba(223, 241, 232, 0.86), rgba(243, 246, 245, 0) 260px) !important;
}

html:not([data-dashboard-theme="dark"]) .dashboard-shell.is-customer-console,
html[data-dashboard-theme="light"] .dashboard-shell.is-customer-console,
.dashboard-shell.is-customer-console[data-dashboard-theme="light"] {
    background:
        radial-gradient(circle at 23% 0%, rgba(13, 159, 102, 0.12), transparent 32rem),
        linear-gradient(180deg, #eef5f1 0%, #f8faf9 42%, #f3f6f5 100%) !important;
}

.customer-topbar-nav {
    scrollbar-width: none;
}

.customer-topbar-nav::-webkit-scrollbar {
    display: none;
}

.admin-business-metrics {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    margin: 22px 0;
    border-block: 1px solid var(--dash-line);
}

.admin-business-metrics article {
    min-width: 0;
    padding: 18px;
    border-right: 1px solid var(--dash-line);
}

.admin-business-metrics article:last-child { border-right: 0; }
.admin-business-metrics span,
.admin-business-metrics small { display: block; color: var(--dash-faint); font-size: 0.68rem; font-weight: 700; }
.admin-business-metrics strong { display: block; margin: 9px 0 6px; color: var(--dash-text); font-family: "IBM Plex Mono", monospace; font-size: 1.12rem; }

.admin-credit-adjuster { display: grid; grid-template-columns: auto minmax(120px, .75fr) minmax(160px, 1fr) auto; gap: 8px; min-width: 590px; }
.admin-credit-mode { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border: 1px solid var(--dash-line); }
.admin-credit-mode label { cursor: pointer; }
.admin-credit-mode input { position: absolute; opacity: 0; pointer-events: none; }
.admin-credit-mode span { display: grid; place-items: center; min-height: 42px; padding: 0 12px; color: var(--dash-muted); font-size: .78rem; font-weight: 700; }
.admin-credit-mode input:checked + span { background: var(--dash-nav); color: var(--dash-success); }
.admin-credit-adjuster > button { min-height: 42px; border: 1px solid var(--dash-accent); padding: 0 15px; color: var(--dash-accent); font-size: .78rem; font-weight: 700; }

@media (max-width: 1180px) {
    .admin-business-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .admin-business-metrics article:nth-child(3) { border-right: 0; }
    .admin-business-metrics article:nth-child(-n+3) { border-bottom: 1px solid var(--dash-line); }
}

@media (max-width: 640px) {
    .admin-business-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-business-metrics article:nth-child(3) { border-right: 1px solid var(--dash-line); }
    .admin-business-metrics article:nth-child(even) { border-right: 0; }
}

@media (max-width: 760px) {
    .is-customer-console .client-table-wrap {
        overflow: visible !important;
    }

    .is-customer-console .client-table-wrap .data-table {
        width: 100% !important;
        min-width: 0 !important;
    }
}

.admin-security-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.85fr);
    gap: 20px;
    align-items: start;
}

.admin-security-filter-form,
.admin-security-review-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-security-filter-form {
    margin-top: 16px;
    margin-bottom: 18px;
}

.admin-security-filter-form select,
.admin-security-review-form select,
.admin-security-review-form input {
    min-height: 40px;
    border: 1px solid var(--dash-line);
    background: var(--dash-card);
    padding: 0 12px;
    color: var(--dash-text);
}

.admin-security-filter-form button,
.admin-security-review-form button {
    min-height: 40px;
    border: 1px solid var(--dash-accent);
    padding: 0 14px;
    color: var(--dash-accent);
    font-size: 0.78rem;
    font-weight: 700;
}

.admin-security-event-list,
.admin-security-cluster-list {
    display: grid;
    gap: 12px;
}

.admin-security-event,
.admin-security-cluster {
    border: 1px solid var(--dash-line);
    background: rgba(255, 255, 255, 0.02);
    padding: 16px;
}

.admin-security-event {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
}

.admin-security-event.is-warning,
.admin-security-cluster {
    border-color: rgba(245, 181, 54, 0.22);
}

.admin-security-event.is-high {
    border-color: rgba(255, 123, 123, 0.32);
}

.admin-security-event.is-critical {
    border-color: rgba(255, 91, 91, 0.48);
}

.admin-security-event-heading,
.admin-security-meta,
.admin-security-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.admin-security-meta {
    margin-top: 8px;
    color: var(--dash-faint);
    font-size: 0.78rem;
}

.admin-security-tags {
    margin-top: 12px;
}

.admin-security-title-group {
    display: grid;
    gap: 2px;
}

.admin-security-title-group small {
    color: var(--dash-faint);
    font-size: 0.72rem;
    font-family: "IBM Plex Mono", monospace;
}

.admin-security-tags span,
.admin-security-pill {
    border: 1px solid var(--dash-line);
    padding: 4px 8px;
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.68rem;
}

.admin-security-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.admin-security-pill-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 12px;
    font-weight: 700;
}

.admin-security-pill.is-warning {
    color: #f5b536;
}

.admin-security-pill.is-info {
    color: var(--dash-indigo);
}

.admin-security-pill.is-high,
.admin-security-pill.is-critical {
    color: #ff8a8a;
}

.admin-security-pill.is-muted {
    color: var(--dash-faint);
}

.admin-security-cluster {
    display: grid;
    gap: 6px;
}

.admin-security-cluster span,
.admin-security-cluster small {
    color: var(--dash-faint);
}

.admin-security-cluster b {
    color: var(--dash-text);
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.75rem;
}

@media (max-width: 1080px) {
    .admin-security-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .admin-security-event {
        grid-template-columns: 1fr;
    }
}
