        /* ── Reset ─────────────────────────────────── */
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        :root {
            --color-primary: #2563EB;
            --color-primary-dark: #1D4ED8;
            --color-primary-50: #EFF6FF;
            --color-primary-100: #DBEAFE;
            --color-primary-200: #BFDBFE;
            --color-primary-600: #2563EB;
            --color-primary-700: #1D4ED8;
            --gradient-primary: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);

            --color-white: #FFFFFF;
            --color-gray-50: #F8FAFC;
            --color-gray-100: #F1F5F9;
            --color-gray-200: #E2E8F0;
            --color-gray-300: #CBD5E1;
            --color-gray-400: #94A3B8;
            --color-gray-500: #64748B;
            --color-gray-600: #475569;
            --color-gray-700: #334155;
            --color-gray-800: #1E293B;
            --color-gray-900: #0F172A;

            --color-success: #10B981;
            --color-warning: #F59E0B;
            --color-error: #EF4444;

            --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            --radius-md: 0.5rem;
            --radius-lg: 0.75rem;
            --radius-xl: 1rem;
            --radius-2xl: 1.5rem;

            --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
            --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
            --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);

            --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
        }

        body {
            font-family: var(--font-sans);
            background: var(--color-gray-50);
            color: var(--color-gray-900);
            line-height: 1.5;
            -webkit-font-smoothing: antialiased;
        }

        /* ── Section Layout ────────────────────────── */
        .features {
            padding: 5rem 0;
            overflow: hidden;
            /* allow visual to bleed */
        }

        .features__inner {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1.5rem;
        }

        /* Header */
        .features__header {
            margin-bottom: 3.5rem;
        }

        .features__label {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.8125rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--color-primary);
            margin-bottom: 0.75rem;
        }

        .features__title {
            font-size: clamp(1.75rem, 4vw, 2.5rem);
            font-weight: 800;
            line-height: 1.15;
            letter-spacing: -0.025em;
            color: var(--color-gray-900);
            max-width: 560px;
        }

        .features__subtitle {
            margin-top: 1rem;
            font-size: 1.0625rem;
            color: var(--color-gray-500);
            max-width: 520px;
            line-height: 1.6;
        }

        /* ── Split Layout ──────────────────────────── */
        .features__split {
            display: flex;
            flex-direction: column-reverse;
            gap: 2.5rem;
            align-items: stretch;
        }

        @media (min-width: 1024px) {
            .features__split {
                display: grid;
                grid-template-columns: minmax(0, 480px) 1fr;
                gap: 3rem;
                align-items: start;
            }
        }

        /* ── Accordion Cards ───────────────────────── */
        .feat-card {
            border: 1px solid var(--color-gray-200);
            border-radius: var(--radius-xl);
            background: var(--color-white);
            transition: all 0.35s var(--ease-out);
            overflow: hidden;
        }

        .feat-card+.feat-card {
            margin-top: 0.75rem;
        }

        .feat-card.active {
            border-color: var(--color-primary-200);
            box-shadow: 0 0 0 1px var(--color-primary-100), var(--shadow-lg);
        }

        /* Header row */
        .feat-card__header {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1.125rem 1.25rem;
            cursor: pointer;
            -webkit-user-select: none;
            user-select: none;
            transition: background 0.2s;
        }

        .feat-card__header:hover {
            background: var(--color-gray-50);
        }

        .feat-card.active .feat-card__header {
            background: var(--color-primary-50);
        }

        /* Icon circle */
        .feat-card__icon {
            flex-shrink: 0;
            width: 44px;
            height: 44px;
            border-radius: var(--radius-lg);
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--color-gray-100);
            color: var(--color-gray-500);
            transition: all 0.35s var(--ease-out);
        }

        .feat-card.active .feat-card__icon {
            background: var(--gradient-primary);
            color: white;
        }

        .feat-card__text {
            flex: 1;
            min-width: 0;
        }

        .feat-card__name {
            font-size: 1rem;
            font-weight: 650;
            color: var(--color-gray-900);
            line-height: 1.3;
        }

        .feat-card__tagline {
            font-size: 0.8125rem;
            color: var(--color-gray-400);
            margin-top: 0.125rem;
            line-height: 1.4;
        }

        .feat-card.active .feat-card__tagline {
            color: var(--color-gray-500);
        }

        /* Chevron */
        .feat-card__chevron {
            flex-shrink: 0;
            width: 20px;
            height: 20px;
            color: var(--color-gray-400);
            transition: transform 0.35s var(--ease-out);
        }

        .feat-card.active .feat-card__chevron {
            transform: rotate(180deg);
            color: var(--color-primary);
        }

        /* Expandable body */
        .feat-card__body {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.45s var(--ease-out), opacity 0.3s;
            opacity: 0;
        }

        .feat-card.active .feat-card__body {
            max-height: 400px;
            opacity: 1;
        }

        .feat-card__content {
            padding: 0 1.25rem 1.25rem 1.25rem;
        }

        .feat-card__desc {
            font-size: 0.9375rem;
            color: var(--color-gray-600);
            line-height: 1.65;
            margin-bottom: 1rem;
        }

        /* Feature bullets */
        .feat-bullets {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .feat-bullets li {
            display: flex;
            align-items: flex-start;
            gap: 0.625rem;
            font-size: 0.875rem;
            color: var(--color-gray-700);
            line-height: 1.5;
        }

        .feat-bullets li svg {
            flex-shrink: 0;
            margin-top: 2px;
            color: var(--color-primary);
        }

        /* ── Visualization Panel ───────────────────── */
        .features__visual {
            position: relative;
            min-height: 420px;
            overflow: visible;
        }

        @media (min-width: 1024px) {
            .features__visual {
                /* Bleed right beyond grid */
                margin-right: -6vw;
            }
        }

        .feat-visual {
            position: absolute;
            inset: 0;
            opacity: 0;
            visibility: hidden;
            transform: translateY(12px);
            transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), visibility 0s 0.4s;
            pointer-events: none;
            overflow: visible;
        }

        .feat-visual.active {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
            pointer-events: auto;
            transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), visibility 0s 0s;
        }

        /* ── Layered Scene (Stripe-style) ────────────── */
        .vis-scene {
            position: relative;
            overflow: visible;
        }

        /* Desktop: scene uses dashboard's natural height */
        @media (min-width: 1024px) {
            .vis-scene {
                padding: 0 0 60px;
            }
        }

        /* Back layer — the main dashboard, now absolute */
        .vis-layer--back {
            position: relative;
            z-index: 1;
        }

        @media (min-width: 1024px) {
            .vis-layer--back {
                position: relative;
                z-index: 1;
                transform: scale(0.92);
                transform-origin: top center;
            }
        }

        /* Front floating card — overlaps back layer */
        .vis-layer--front {
            position: absolute;
            z-index: 2;
            border-radius: var(--radius-xl);
            background: #ffffff;
            box-shadow:
                0 20px 60px -10px rgba(0, 0, 0, 0.15),
                0 8px 24px -6px rgba(0, 0, 0, 0.1),
                0 0 0 1px rgba(0, 0, 0, 0.04);
            overflow: hidden;
        }

        /* Desktop: invoice peeks from bottom-right of dashboard */
        @media (min-width: 1024px) {
            .vis-layer--front {
                bottom: -60px;
                right: -30px;
                top: auto;
                transform: none;
                width: 42%;
                max-width: 260px;
            }
        }

        /* Mobile: front card becomes inline below */
        @media (max-width: 1023px) {
            .vis-layer--front {
                position: relative;
                margin-top: 12px;
                width: 100%;
                box-shadow:
                    0 8px 24px -6px rgba(0, 0, 0, 0.1),
                    0 0 0 1px rgba(0, 0, 0, 0.04);
            }
        }

        /* Accent — small floating notification pill */
        .vis-accent {
            position: absolute;
            z-index: 3;
            border-radius: 12px;
            background: #ffffff;
            box-shadow:
                0 12px 40px -8px rgba(0, 0, 0, 0.12),
                0 4px 12px -2px rgba(0, 0, 0, 0.08),
                0 0 0 1px rgba(0, 0, 0, 0.04);
            padding: 10px 16px;
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 0.75rem;
            font-weight: 600;
            color: var(--color-gray-800);
            white-space: nowrap;
        }

        /* Desktop: alert overlaps top-right corner of dashboard */
        @media (min-width: 1024px) {
            .vis-accent {
                top: 10px;
                right: -10px;
            }
        }

        /* Mobile: accent inline */
        @media (max-width: 1023px) {
            .vis-accent {
                position: relative;
                margin-top: 10px;
                top: auto;
                right: auto;
                width: fit-content;
            }
        }

        /* Accent icon circle */
        .vis-accent__icon {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .vis-accent__icon svg {
            width: 14px;
            height: 14px;
        }

        .vis-accent__icon--warning {
            background: #FEF3C7;
            color: #D97706;
        }

        .vis-accent__icon--success {
            background: #D1FAE5;
            color: #059669;
        }

        .vis-accent__icon--danger {
            background: #FEE2E2;
            color: #DC2626;
        }

        .vis-accent__icon--info {
            background: #DBEAFE;
            color: #2563EB;
        }

        .vis-accent__text {
            display: flex;
            flex-direction: column;
            gap: 1px;
        }

        .vis-accent__label {
            font-size: 0.5625rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            color: var(--color-gray-400);
            font-weight: 600;
        }

        .vis-accent__val {
            font-size: 0.8125rem;
            font-weight: 700;
            color: var(--color-gray-900);
        }

        /* ── Phone frame (mobile inventory mock) ─── */
        .vis-phone {
            position: absolute;
            z-index: 4;
            border-radius: 20px;
            background: #ffffff;
            box-shadow:
                0 24px 80px -12px rgba(0, 0, 0, 0.18),
                0 8px 24px -6px rgba(0, 0, 0, 0.1),
                0 0 0 1px rgba(0, 0, 0, 0.06),
                inset 0 0 0 1px rgba(255, 255, 255, 0.8);
            overflow: hidden;
            width: 200px;
        }

        .vis-phone__notch {
            width: 60px;
            height: 4px;
            border-radius: 4px;
            background: var(--color-gray-200);
            margin: 8px auto 0;
        }

        .vis-phone__header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 8px 12px 6px;
            border-bottom: 1px solid var(--color-gray-100);
        }

        .vis-phone__title {
            font-size: 0.6875rem;
            font-weight: 700;
            color: var(--color-gray-900);
        }

        .vis-phone__badge {
            font-size: 0.5625rem;
            font-weight: 700;
            color: #fff;
            background: var(--color-emerald);
            padding: 2px 8px;
            border-radius: 6px;
        }

        .vis-phone__row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 6px 12px;
            border-bottom: 1px solid var(--color-gray-50);
            font-size: 0.5625rem;
        }

        .vis-phone__row-name {
            font-weight: 600;
            color: var(--color-gray-800);
            flex: 1;
        }

        .vis-phone__row-unit {
            color: var(--color-gray-400);
            margin: 0 8px;
        }

        .vis-phone__row-input {
            width: 48px;
            padding: 2px 6px;
            border: 1px solid var(--color-gray-200);
            border-radius: 6px;
            font-size: 0.5625rem;
            color: var(--color-gray-600);
            text-align: center;
            background: var(--color-gray-50);
        }

        .vis-phone__footer {
            padding: 6px 12px 10px;
            font-size: 0.5rem;
            color: var(--color-gray-400);
            display: flex;
            align-items: center;
            gap: 4px;
        }

        /* Desktop: phone peeks from bottom-left of dashboard */
        @media (min-width: 1024px) {
            .vis-phone {
                bottom: -60px;
                left: -15px;
                top: auto;
                transform: none;
            }
        }

        /* Mobile: phone becomes inline */
        @media (max-width: 1023px) {
            .vis-phone {
                position: relative;
                margin-top: 12px;
                width: 100%;
                max-width: 240px;
                top: auto;
                left: auto;
                transform: none;
            }
        }

        /* Second accent pill — attached below phone block */
        .vis-accent--2 {
            top: auto;
            left: 20px;
        }

        @media (min-width: 1024px) {
            .vis-accent--2 {
                bottom: -100px;
                left: 30px;
                top: auto;
                right: auto;
            }
        }

        @media (max-width: 1023px) {
            .vis-accent--2 {
                position: relative;
                margin-top: 10px;
                top: auto;
                left: auto;
                right: auto;
                bottom: auto;
                width: fit-content;
            }
        }

        /* ── Staggered entrance animations ─────────── */
        .feat-visual.active .vis-layer--back {
            animation: visEnter 0.5s var(--ease-out) both;
            animation-delay: 0s;
        }

        .feat-visual.active .vis-layer--front {
            animation: visEnterFloat 0.55s var(--ease-out) both;
            animation-delay: 0.12s;
        }

        .feat-visual.active .vis-accent {
            animation: visEnterAccent 0.45s var(--ease-out) both;
            animation-delay: 0.25s;
        }

        .feat-visual.active .vis-phone {
            animation: visEnterFloat 0.5s var(--ease-out) both;
            animation-delay: 0.18s;
        }

        .feat-visual.active .vis-accent--2 {
            animation: visEnterAccent 0.45s var(--ease-out) both;
            animation-delay: 0.32s;
        }

        /* ── POS Panel scoped position overrides ──── */
        @media (min-width: 1024px) {
            [data-vis="operations"] .vis-accent:not(.vis-accent--2) {
                top: -20px;
                right: -20px;
            }

            [data-vis="operations"] .vis-layer--front {
                bottom: -80px;
                right: -40px;
            }

            [data-vis="operations"] .vis-phone {
                bottom: -80px;
                left: -25px;
            }

            [data-vis="operations"] .vis-accent--2 {
                top: auto;
                right: auto;
                bottom: -130px;
                left: 20px;
            }
        }

        @keyframes visEnter {
            from {
                opacity: 0;
                transform: translateY(16px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Mobile override — no scale */
        @media (max-width: 1023px) {
            @keyframes visEnter {
                from {
                    opacity: 0;
                    transform: translateY(12px);
                }

                to {
                    opacity: 1;
                    transform: translateY(0);
                }
            }
        }

        @keyframes visEnterFloat {
            from {
                opacity: 0;
                transform: translateY(24px) scale(0.96);
            }

            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        @keyframes visEnterAccent {
            from {
                opacity: 0;
                transform: translateY(-10px) scale(0.95);
            }

            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        /* ── ERP Mock UI (Light) ───────────────────── */
        .mock-erp {
            background: #ffffff;
            border-radius: var(--radius-2xl);
            box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0, 0, 0, 0.04);
            overflow: hidden;
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        /* ERP Mock Themes to prevent visual monotony */
        
        /* 1. Tinted (Inventory): subtle blue-gray wash */
        .mock-erp--tinted {
            background: #f8fafc;
            box-shadow: var(--shadow-xl), 0 0 0 1px rgba(15, 23, 42, 0.06);
        }
        .mock-erp--tinted .mock-erp__header {
            background: #ffffff;
        }

        /* 2. Minimal (Finance): flat with internal border, no shadow */
        .mock-erp--minimal {
            background: #ffffff;
            box-shadow: none;
            border: 1px solid var(--color-gray-200);
        }

        /* 3. Dark Mode (Team/HR): deep rich sober mode palette */
        .mock-erp--dark {
            background: #0f172a;
            box-shadow: 0 20px 40px -10px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
            color: #f1f5f9;
        }
        .mock-erp--dark .mock-erp__header {
            border-bottom: 1px solid rgba(255,255,255,0.08);
            background: #1e293b;
        }
        .mock-erp--dark .mock-erp__header-title {
            color: #f8fafc;
        }
        .mock-erp--dark .mock-erp__header-sub {
            color: #94a3b8;
        }
        .mock-erp--dark .mock-erp__btn {
            background: rgba(255,255,255,0.05);
            border-color: rgba(255,255,255,0.1);
            color: #e2e8f0;
        }
        .mock-erp--dark .m-stat {
            border-color: rgba(255,255,255,0.08);
            background: rgba(255,255,255,0.02);
        }
        .mock-erp--dark .m-stat__val,
        .mock-erp--dark .m-table td,
        .mock-erp--dark .m-staff-name {
            color: #f8fafc;
        }
        .mock-erp--dark .m-table td {
            border-top-color: rgba(255,255,255,0.06);
        }
        .mock-erp--dark .m-staff-row {
            border-bottom-color: rgba(255,255,255,0.06);
        }

        /* Page header bar — matches real HoreX ERP header */
        .mock-erp__header {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px 16px;
            border-bottom: 1px solid var(--color-gray-100);
        }

        .mock-erp__header-icon {
            width: 32px;
            height: 32px;
            border-radius: 8px;
            background: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .mock-erp__header-icon svg {
            width: 16px;
            height: 16px;
            color: white;
        }

        .mock-erp__header-title {
            font-size: 0.875rem;
            font-weight: 700;
            color: var(--color-gray-900);
            flex: 1;
            min-width: 0;
        }

        .mock-erp__header-sub {
            font-size: 0.6875rem;
            color: var(--color-gray-400);
            font-weight: 400;
            margin-left: 6px;
        }

        .mock-erp__header-actions {
            display: flex;
            gap: 6px;
            align-items: center;
        }

        .mock-erp__btn {
            font-size: 0.625rem;
            font-weight: 600;
            padding: 5px 12px;
            border-radius: 6px;
            border: 1px solid var(--color-gray-200);
            background: white;
            color: var(--color-gray-600);
            white-space: nowrap;
        }

        .mock-erp__btn--primary {
            background: linear-gradient(135deg, #2563EB, #1d4ed8);
            border-color: transparent;
            color: white;
        }

        /* Body */
        .mock-erp__body {
            flex: 1;
            padding: 14px 16px;
            overflow: hidden;
        }

        /* ── Reusable ERP components (light) ────────── */

        /* Stat cards row */
        .m-stats {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 8px;
            margin-bottom: 12px;
        }

        .m-stat {
            border: 1px solid var(--color-gray-100);
            border-radius: 10px;
            padding: 10px 12px;
        }

        .m-stat__label {
            font-size: 0.625rem;
            color: var(--color-gray-400);
            text-transform: uppercase;
            letter-spacing: 0.04em;
            font-weight: 600;
        }

        .m-stat__val {
            font-size: 1.125rem;
            font-weight: 700;
            color: var(--color-gray-900);
            margin-top: 2px;
        }

        .m-stat__val--green {
            color: #059669;
        }

        .m-stat__val--red {
            color: #dc2626;
        }

        .m-stat__val--blue {
            color: #2563EB;
        }

        /* Table */
        .m-table {
            width: 100%;
            font-size: 0.75rem;
            border-collapse: collapse;
        }

        .m-table th {
            text-align: left;
            font-weight: 600;
            color: var(--color-gray-400);
            padding: 0 4px 8px 0;
            font-size: 0.625rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .m-table th:last-child {
            text-align: right;
            padding-right: 0;
        }

        .m-table td {
            padding: 7px 4px 7px 0;
            border-top: 1px solid var(--color-gray-100);
            color: var(--color-gray-700);
        }

        .m-table td:last-child {
            text-align: right;
            padding-right: 0;
        }

        .m-table .m-amount {
            font-weight: 600;
            color: var(--color-primary);
        }

        .m-table .m-name--link {
            color: var(--color-primary);
            font-weight: 600;
        }

        /* Status badge */
        .m-badge {
            font-size: 0.5625rem;
            font-weight: 600;
            padding: 2px 8px;
            border-radius: 4px;
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }

        .m-badge--green {
            background: #D1FAE5;
            color: #065F46;
        }

        .m-badge--yellow {
            background: #FEF3C7;
            color: #92400E;
        }

        .m-badge--red {
            background: #FEE2E2;
            color: #991B1B;
        }

        .m-badge--blue {
            background: #DBEAFE;
            color: #1E40AF;
        }

        .m-badge--gray {
            background: var(--color-gray-100);
            color: var(--color-gray-500);
        }

        /* Status dot inline */
        .m-dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            display: inline-block;
            margin-right: 5px;
        }

        .m-dot--green {
            background: #10B981;
        }

        .m-dot--yellow {
            background: #F59E0B;
        }

        .m-dot--red {
            background: #EF4444;
        }

        .m-dot--gray {
            background: var(--color-gray-400);
        }

        /* Section card inside mock */
        .m-card {
            border: 1px solid var(--color-gray-100);
            border-radius: 10px;
            padding: 12px;
            margin-bottom: 8px;
        }

        .m-card__title {
            font-size: 0.6875rem;
            font-weight: 700;
            color: var(--color-gray-800);
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .m-card__title svg {
            width: 14px;
            height: 14px;
            color: var(--color-gray-400);
        }

        /* Alert card with red left border */
        .m-alert-card {
            border: 1px solid #FCA5A5;
            border-left: 3px solid #EF4444;
            border-radius: 10px;
            padding: 12px;
            background: #FEF2F2;
        }

        .m-alert-card__title {
            font-size: 0.6875rem;
            font-weight: 700;
            color: #991B1B;
            margin-bottom: 6px;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .m-alert-item {
            display: flex;
            justify-content: space-between;
            padding: 4px 0;
            font-size: 0.6875rem;
            color: #7F1D1D;
        }

        .m-alert-item span:last-child {
            font-weight: 700;
            color: #DC2626;
        }

        /* Two-column grid inside body */
        .m-grid-2 {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
        }

        /* Price change delta */
        .m-delta--up {
            color: #059669;
            font-weight: 600;
        }

        .m-delta--down {
            color: #DC2626;
            font-weight: 600;
        }

        /* Rank number */
        .m-rank {
            width: 16px;
            font-size: 0.625rem;
            color: var(--color-gray-400);
            font-weight: 600;
            text-align: center;
            flex-shrink: 0;
        }

        /* Bar progress (light) */
        .m-bar-wrap {
            height: 4px;
            background: var(--color-gray-100);
            border-radius: 2px;
            overflow: hidden;
            flex: 1;
        }

        .m-bar {
            height: 100%;
            border-radius: 2px;
        }

        .m-bar--blue {
            background: var(--color-primary);
        }

        .m-bar--green {
            background: #10B981;
        }

        .m-bar--orange {
            background: #F59E0B;
        }

        .m-bar--red {
            background: #EF4444;
        }

        /* P&L row */
        .m-pnl-row {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 5px 0;
        }

        .m-pnl-label {
            width: 70px;
            font-size: 0.6875rem;
            color: var(--color-gray-500);
            flex-shrink: 0;
        }

        .m-pnl-val {
            font-size: 0.75rem;
            font-weight: 600;
            color: var(--color-gray-800);
            width: 65px;
            text-align: right;
            flex-shrink: 0;
        }

        /* Avatar */
        .m-avatar {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: linear-gradient(135deg, #2563EB, #7C3AED);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 0.5625rem;
            font-weight: 700;
            flex-shrink: 0;
        }

        /* Staff row */
        .m-staff-row {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 6px 0;
            border-bottom: 1px solid var(--color-gray-100);
        }

        .m-staff-row:last-child {
            border-bottom: none;
        }

        .m-staff-name {
            font-size: 0.75rem;
            font-weight: 600;
            color: var(--color-gray-800);
        }

        .m-staff-role {
            font-size: 0.625rem;
            color: var(--color-gray-400);
        }

        /* Tags */
        .m-tag {
            display: inline-flex;
            font-size: 0.5625rem;
            font-weight: 600;
            padding: 3px 8px;
            border-radius: 4px;
            background: var(--color-gray-100);
            color: var(--color-gray-600);
            margin-right: 4px;
            margin-bottom: 4px;
        }

        /* Message preview */
        .m-msg {
            border: 1px solid var(--color-gray-100);
            border-radius: 8px;
            padding: 10px;
            margin-top: 8px;
            border-left: 3px solid #10B981;
        }

        .m-msg__from {
            font-size: 0.5625rem;
            color: var(--color-gray-400);
            margin-bottom: 3px;
        }

        .m-msg__text {
            font-size: 0.75rem;
            color: var(--color-gray-600);
            line-height: 1.5;
        }

        /* Order summary */
        .m-order {
            background: var(--color-gray-50);
            border: 1px solid var(--color-gray-100);
            border-radius: 8px;
            padding: 10px;
        }

        .m-order-row {
            display: flex;
            justify-content: space-between;
            font-size: 0.75rem;
            color: var(--color-gray-600);
            padding: 3px 0;
        }

        .m-order-row--total {
            font-weight: 700;
            color: var(--color-gray-900);
            border-top: 1px solid var(--color-gray-200);
            margin-top: 4px;
            padding-top: 6px;
        }

        /* POS grid */
        .m-pos-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 6px;
            margin-bottom: 10px;
        }

        .m-pos-item {
            background: var(--color-gray-50);
            border: 1px solid var(--color-gray-100);
            border-radius: 8px;
            padding: 10px 6px;
            text-align: center;
            font-size: 0.6875rem;
            font-weight: 500;
            color: var(--color-gray-700);
        }

        .m-pos-item--active {
            border-color: var(--color-primary);
            background: var(--color-primary-50);
            color: var(--color-primary-700);
        }

        .m-pos-price {
            font-size: 0.5625rem;
            color: var(--color-gray-400);
            margin-top: 2px;
        }

        /* Date range pill */
        .m-date-range {
            font-size: 0.625rem;
            color: var(--color-gray-500);
            border: 1px solid var(--color-gray-200);
            border-radius: 6px;
            padding: 4px 10px;
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }

        /* ── Expense breakdown rows (P&L card) ─────── */
        .m-expense-row {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 10px;
        }

        .m-expense-row__label {
            width: 80px;
            font-size: 0.6875rem;
            font-weight: 600;
            color: var(--color-gray-600);
            flex-shrink: 0;
        }

        .m-expense-row__track {
            flex: 1;
            height: 8px;
            background: var(--color-gray-100);
            border-radius: 4px;
            overflow: hidden;
        }

        .m-expense-row__track > div {
            border-radius: 4px;
        }

        .m-expense-row__value {
            width: 80px;
            text-align: right;
            font-size: 0.6875rem;
            font-weight: 700;
            color: var(--color-gray-800);
            flex-shrink: 0;
        }

        /* ── KPI strip (Marketing Analytics) ─────────── */
        .m-kpi-strip {
            display: flex;
            gap: 0;
            border-bottom: 1px solid var(--color-gray-100);
        }

        .m-kpi-cell {
            flex: 1;
            padding: 12px 14px;
            border-right: 1px solid var(--color-gray-100);
        }

        .m-kpi-cell:last-child {
            border-right: none;
        }

        .m-kpi-cell__label {
            font-size: 0.5625rem;
            font-weight: 600;
            color: var(--color-gray-400);
            text-transform: uppercase;
            letter-spacing: 0.04em;
            margin-bottom: 2px;
        }

        .m-kpi-cell__value {
            font-size: 1rem;
            font-weight: 800;
            color: var(--color-gray-900);
        }

        .m-kpi-cell__value--success {
            color: #059669;
        }

        .m-kpi-cell__sub {
            font-size: 0.5625rem;
            color: var(--color-gray-400);
            margin-top: 1px;
        }

        /* ── Bar rows (Orders by Channel chart) ──────── */
        .m-bar-row {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .m-bar-row__label {
            width: 60px;
            font-size: 0.6875rem;
            font-weight: 600;
            color: var(--color-gray-600);
            flex-shrink: 0;
        }

        .m-bar-row__track {
            flex: 1;
            height: 22px;
            background: var(--color-gray-100);
            border-radius: 4px;
            overflow: hidden;
        }

        .m-bar-row__fill {
            height: 100%;
            border-radius: 4px;
            background: linear-gradient(90deg, #1e3a8a, #3b82f6);
            display: flex;
            align-items: center;
            padding-left: 8px;
            min-width: fit-content;
        }

        .m-bar-row__fill-text {
            font-size: 0.625rem;
            font-weight: 700;
            color: #ffffff;
            white-space: nowrap;
        }

        .m-bar-row__value {
            width: 36px;
            text-align: right;
            font-size: 0.625rem;
            font-weight: 600;
            color: var(--color-gray-500);
            flex-shrink: 0;
        }

        /* ── Guest Profile Card (CRM) ────────────────── */
        .vis-accent--profile {
            position: absolute;
            z-index: 5;
            background: #ffffff;
            border-radius: 12px;
            box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
            overflow: hidden;
            width: 180px;
        }

        @media (min-width: 1024px) {
            .vis-accent--profile {
                bottom: -30px;
                left: -10px;
            }
        }

        @media (max-width: 1023px) {
            .vis-accent--profile {
                position: relative;
                margin-top: 12px;
                width: 100%;
                max-width: 200px;
            }
        }

        .m-guest-profile {
            padding: 12px;
        }

        .m-guest-profile__header {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .m-guest-profile__avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: linear-gradient(135deg, #1e3a5f, #2563eb);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #ffffff;
            font-size: 0.6875rem;
            font-weight: 700;
            flex-shrink: 0;
        }

        .m-guest-profile__name {
            font-size: 0.8125rem;
            font-weight: 700;
            color: #0f172a;
        }

        .m-guest-profile__since {
            font-size: 0.5rem;
            color: #64748b;
        }

        .m-guest-profile__stats {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 4px;
        }

        .m-guest-profile__stat-label {
            font-size: 0.4375rem;
            font-weight: 600;
            color: #64748b;
            text-transform: uppercase;
            letter-spacing: 0.04em;
        }

        .m-guest-profile__stat-value {
            font-size: 0.875rem;
            font-weight: 800;
            color: #0f172a;
        }

        /* ── Invoice accent variant ──────────────────── */

        @media (min-width: 1024px) {
            .vis-accent--invoice {
                top: -20px;
                right: -10px;
            }
        }

        /* ── Mobile Visual ─────────────────────────── */
        @media (max-width: 1023px) {
            .features__visual {
                min-height: 360px;
                margin-top: 0.5rem;
            }

            .feat-visual {
                position: relative;
                display: none;
            }

            .feat-visual.active {
                display: block;
            }

            .mock-window {
                height: auto;
            }
        }

        /* ── Phone-specific: simplify visuals ─────── */
        @media (max-width: 640px) {
            .features { padding: 3rem 0; }
            .features__header { margin-bottom: 2rem; }
            .features__visual { min-height: 280px; }
            
            /* Hide floating accent pills — too small to read */
            .vis-accent { display: none; }
            
            /* Hide phone mockup — secondary element */
            .vis-phone { display: none; }
            
            /* Tighter accordion spacing */
            .feat-card__header { padding: 1rem; gap: .75rem; }
            .feat-card__content { padding: 0 1rem 1rem; }
            .feat-card__icon { width: 38px; height: 38px; }
        }
