﻿        :root {
            --bg-body: #f8fafc;
            --bg-panel: #ffffff;
            --text-main: #334155;
            --text-light: #64748b;
            --text-heading: #0f172a;
            --primary: #0f766e; /* FAO green/teal */
            --primary-hover: #115e59;
            --border: #e2e8f0;
            --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
            --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
            --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        
        body {
            font-family: 'Inter', sans-serif;
            background: var(--bg-body);
            color: var(--text-main);
            height: 100vh;
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }

        /* --- TOP NAV --- */
        .top-nav {
            height: 64px;
            background: var(--bg-panel);
            border-bottom: 1px solid var(--border);
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 24px;
            z-index: 100;
        }

        .logo-area {
            display: flex;
            align-items: center;
            gap: 12px;
            width: 250px;
        }

        .logo-icon {
            width: 32px; height: 32px;
            background: var(--primary);
            border-radius: 8px;
            display: flex; align-items: center; justify-content: center;
            color: white; font-size: 20px;
        }

        .logo-text {
            font-family: 'Outfit', sans-serif;
            font-size: 18px; font-weight: 700; color: var(--text-heading);
            line-height: 1.2;
        }
        .logo-sub { font-size: 9px; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; }

        .stepper {
            display: flex;
            align-items: center;
            flex: 1;
            justify-content: center;
            gap: 0;
            padding: 0 20px;
        }

        .step-item {
            display: flex; align-items: center; gap: 8px;
            opacity: 0.5; transition: all 0.3s;
            cursor: pointer;
            position: relative;
        }
        .step-item.active { opacity: 1; }
        .step-item.completed { opacity: 0.8; }
        
        .step-num {
            width: 24px; height: 24px;
            border-radius: 50%;
            background: #cbd5e1;
            color: white;
            display: flex; align-items: center; justify-content: center;
            font-size: 11px; font-weight: 700;
            transition: all 0.3s;
        }
        .step-item.active .step-num { background: var(--primary); }
        .step-item.completed .step-num { background: var(--primary); }

        .step-label {
            font-size: 12px; font-weight: 600; color: var(--text-heading);
            text-align: left;
        }
        .step-label span { display: block; font-size: 10px; font-weight: 500; color: var(--text-light); }
        
        .step-line {
            width: 40px; height: 2px;
            background: var(--border);
            margin: 0 12px;
        }

        .nav-actions {
            display: flex; align-items: center; gap: 12px; width: 250px; justify-content: flex-end;
        }
        .btn-ghost {
            display: flex; align-items: center; gap: 6px;
            padding: 6px 12px; border-radius: 6px;
            background: transparent; border: 1px solid transparent;
            color: var(--text-light); font-size: 12px; font-weight: 500;
            cursor: pointer; transition: all 0.2s;
        }
        .btn-ghost:hover { background: #f1f5f9; color: var(--text-heading); }
        .btn-outline {
            display: flex; align-items: center; gap: 6px;
            padding: 6px 12px; border-radius: 6px;
            background: transparent; border: 1px solid var(--border);
            color: var(--primary); font-size: 12px; font-weight: 600;
            cursor: pointer; transition: all 0.2s;
        }
        .btn-outline:hover { background: #f0fdf4; border-color: #bbf7d0; }

        /* --- MAIN CONTAINER --- */
        .main-container {
            display: flex;
            flex: 1;
            position: relative;
            height: calc(100vh - 64px - 60px); /* Minus nav and footer */
        }

        /* --- SIDEBARS --- */
        .sidebar {
            width: 320px;
            background: var(--bg-panel);
            display: flex; flex-direction: column;
            box-shadow: var(--shadow-sm);
            z-index: 10;
            overflow-y: auto;
        }
        .sidebar-left { border-right: 1px solid var(--border); }
        .sidebar-right { border-left: 1px solid var(--border); width: 280px; }

        .panel-section {
            padding: 20px;
            border-bottom: 1px solid var(--border);
        }
        .panel-section:last-child { border-bottom: none; }

        .step-tag { font-size: 10px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
        .panel-title { font-size: 18px; font-weight: 700; color: var(--text-heading); margin-bottom: 8px; }
        .panel-desc { font-size: 12px; color: var(--text-light); line-height: 1.5; margin-bottom: 20px; }

        .input-group { margin-bottom: 16px; }
        .input-label { font-size: 11px; font-weight: 700; color: var(--text-heading); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }

        .checkbox-card {
            display: flex; align-items: flex-start; gap: 12px;
            padding: 12px; border: 1px solid var(--border); border-radius: 8px;
            margin-bottom: 8px; cursor: pointer; transition: all 0.2s;
            background: #fff;
        }
        .checkbox-card:hover { border-color: #cbd5e1; }
        .checkbox-card.active { border-color: var(--primary); background: #f0fdf4; }
        .checkbox-icon { font-size: 20px; color: var(--primary); margin-top: 2px; }
        .checkbox-title { font-size: 13px; font-weight: 600; color: var(--text-heading); margin-bottom: 2px; }
        .checkbox-desc { font-size: 11px; color: var(--text-light); line-height: 1.3; }
        .custom-checkbox { width: 16px; height: 16px; margin-top: 4px; accent-color: var(--primary); cursor: pointer; }

        .btn-primary {
            width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px;
            padding: 12px; border-radius: 8px;
            background: var(--primary); color: white;
            font-size: 13px; font-weight: 600; border: none;
            cursor: pointer; transition: all 0.2s;
            box-shadow: var(--shadow-sm);
        }
        .btn-primary:hover { background: var(--primary-hover); }
        
        .map-layer-item {
            display: flex; align-items: center; justify-content: space-between;
            padding: 8px 0; font-size: 12px; color: var(--text-main);
        }
        .map-layer-item span { display: flex; align-items: center; gap: 8px; }

        /* Custom Area Selection Tools */
        .custom-tools-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
        .tool-btn {
            display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
            padding: 12px 8px; border: 1px dashed var(--border); border-radius: 8px;
            background: #fff; cursor: pointer; transition: all 0.2s;
            color: var(--text-main);
        }
        .tool-btn i { font-size: 20px; color: var(--text-light); }
        .tool-btn span { font-size: 11px; font-weight: 500; }
        .tool-btn:hover { border-color: var(--primary); color: var(--primary); background: #f0fdf4; }
        .tool-btn:hover i { color: var(--primary); }

        /* Geographic & Investment Tabs */
        .approach-tabs { display: flex; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; margin-bottom: 12px; }
        .approach-tab {
            flex: 1; border: none; background: #f8fafc; padding: 8px;
            font-size: 11px; font-weight: 600; color: var(--text-light);
            cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px;
        }
        .approach-tab.active { background: white; color: var(--primary); font-weight: 700; border-bottom: 2px solid var(--primary); }

        .invest-panel { background: #f0fdfa; border: 1px solid #99f6e4; border-radius: 10px; padding: 14px; margin-bottom: 12px; }
        .invest-input-row { display: flex; align-items: center; gap: 6px; background: white; border: 1px solid var(--border); border-radius: 8px; padding: 6px 10px; margin-top: 6px; }
        .invest-input { border: none; outline: none; font-size: 16px; font-weight: 700; width: 100%; color: var(--text-heading); }
        .invest-analyze-btn {
            background: linear-gradient(135deg, #0f766e, #115e59); color: white; border: none; border-radius: 8px;
            padding: 8px 12px; font-size: 12px; font-weight: 700; cursor: pointer; width: 100%; margin-top: 10px;
            box-shadow: 0 4px 10px rgba(15,118,110,0.2);
        }
        
        .invest-summary-card { background: #f8fafc; border: 1px solid var(--border); border-radius: 10px; padding: 12px; margin-bottom: 10px; }
        .invest-summary-row { display: flex; justify-content: space-between; font-size: 11px; margin-bottom: 4px; }
        .invest-summary-row .label { color: var(--text-light); }
        .invest-summary-row .val { font-weight: 700; color: var(--text-heading); }
        .invest-alloc-card { border: 1px solid var(--border); border-left: 4px solid var(--primary); border-radius: 8px; padding: 8px 12px; margin-bottom: 8px; cursor: pointer; background: white; transition: all 0.2s; }
        .invest-alloc-card:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
        .invest-alloc-header { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; color: var(--text-heading); margin-bottom: 4px; }
        .invest-alloc-details { display: flex; gap: 8px; font-size: 10px; color: var(--text-light); }
        .invest-big-roi { text-align: center; padding: 14px; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 10px; margin-top: 12px; }
        .invest-big-roi .val { font-size: 24px; font-weight: 800; color: #16a34a; }
        .invest-big-roi .label { font-size: 10px; color: var(--text-light); font-weight: 600; margin-top: 2px; }

        .aoi-card { background: white; border: 1px solid var(--border); border-radius: 8px; padding: 8px 12px; margin-bottom: 8px; font-size: 11px; }

        /* RIGHT PANEL: Legend & Stats */
        .legend-section { margin-bottom: 24px; }
        .legend-title { font-size: 11px; font-weight: 700; color: var(--text-heading); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }
        .legend-item { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 12px; color: var(--text-main); font-weight: 500;}
        .legend-color { width: 16px; height: 16px; border-radius: 4px; flex-shrink: 0; }

        .stats-section {}
        .chart-container { position: relative; width: 80px; height: 80px; margin-bottom: 16px; }
        .chart-total { position: absolute; top: 50%; left: 100px; transform: translateY(-50%); width: 120px; }
        .chart-total span { display: block; font-size: 10px; color: var(--text-light); }
        .chart-total strong { font-size: 14px; color: var(--text-heading); font-weight: 700; }

        .stat-table { width: 100%; border-collapse: collapse; font-size: 11px; }
        .stat-table th { text-align: right; padding: 6px 0; color: var(--text-light); font-weight: 500; border-bottom: 1px solid var(--border); }
        .stat-table th:first-child { text-align: left; }
        .stat-table td { text-align: right; padding: 8px 0; border-bottom: 1px solid #f1f5f9; color: var(--text-heading); font-weight: 500;}
        .stat-table td:first-child { text-align: left; display: flex; align-items: center; gap: 6px; }
        .stat-dot { width: 8px; height: 8px; border-radius: 50%; }

        /* --- MAP AREA --- */
        .map-wrapper {
            flex: 1;
            position: relative;
            background: #e2e8f0;
            overflow: hidden;
        }
        #map, #cesiumContainer { width: 100%; height: 100%; position: absolute; top: 0; left: 0; }
        #cesiumContainer { z-index: 2; pointer-events: none; opacity: 0; }
        #cesiumContainer.active { pointer-events: auto; opacity: 1; }

        .map-controls-top {
            position: absolute; top: 20px; right: 20px; z-index: 400;
            display: flex; gap: 8px;
        }
        .map-btn {
            background: white; border: 1px solid var(--border); border-radius: 8px;
            padding: 8px 12px; display: flex; align-items: center; gap: 6px;
            font-size: 12px; font-weight: 600; color: var(--text-main);
            cursor: pointer; box-shadow: var(--shadow-sm); transition: all 0.2s;
        }
        .map-btn:hover { background: #f8fafc; }
        .map-btn.active { background: var(--text-heading); color: white; border-color: var(--text-heading); }

        /* --- FOOTER NAV --- */
        .bottom-nav {
            height: 60px;
            background: white;
            border-top: 1px solid var(--border);
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 24px;
            z-index: 100;
        }
        .next-hint {
            display: flex; flex-direction: column;
        }
        .next-hint strong { font-size: 12px; color: var(--text-heading); font-weight: 700; margin-bottom: 2px;}
        .next-hint span { font-size: 11px; color: var(--text-light); }

        .btn-next {
            background: var(--primary); color: white;
            border: none; border-radius: 8px;
            padding: 10px 20px; font-size: 13px; font-weight: 600;
            display: flex; align-items: center; gap: 8px;
            cursor: pointer; transition: all 0.2s;
        }
        .btn-next:hover { background: var(--primary-hover); transform: translateX(2px); }

        /* --- MODALS --- */
        .modal { display: none;
            display: none; position: fixed; inset: 0;
            background: rgba(0, 0, 0, 0.4); z-index: 2000;
            justify-content: center; align-items: center;
            backdrop-filter: blur(4px);
        }
        .modal-content {
            background: white; border-radius: 16px;
            box-shadow: var(--shadow-lg); overflow: hidden;
            display: flex; flex-direction: column;
            animation: modalIn 0.2s ease;
        }

        /* --- RICH SPLASH SCREEN & TUTORIAL MODALS --- */
        .splash-modal-content {
            width: 960px;
            height: 600px;
            max-height: 90vh;
            flex-direction: row !important;
            border-radius: 20px;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.2);
            position: relative;
        }

        .splash-hero {
            width: 400px;
            position: relative;
            background: linear-gradient(135deg, #115e59, #0f766e, #0d9488);
            color: white;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding: 40px;
            overflow: hidden;
        }
        
        .splash-hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background-image: url('https://images.unsplash.com/photo-1500937386664-56d1dfef3854?auto=format&fit=crop&w=600&q=80'); /* Beautiful farm/landscape pattern */
            background-size: cover;
            background-position: center;
            opacity: 0.15;
            mix-blend-mode: overlay;
        }

        .splash-hero-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(13, 148, 136, 0.85) 0%, rgba(17, 94, 95, 0.4) 100%);
            pointer-events: none;
        }

        .splash-hero-content {
            position: relative;
            z-index: 2;
        }

        .splash-logo {
            font-family: 'Outfit', sans-serif;
            font-size: 24px;
            font-weight: 800;
            background: rgba(255, 255, 255, 0.2);
            padding: 4px 12px;
            border-radius: 8px;
            display: inline-block;
            margin-bottom: 24px;
            backdrop-filter: blur(4px);
            border: 1px solid rgba(255, 255, 255, 0.3);
        }

        .splash-title {
            font-family: 'Outfit', sans-serif;
            font-size: 36px;
            font-weight: 800;
            line-height: 1.15;
            margin-bottom: 12px;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
        }

        .splash-subtitle {
            font-size: 14px;
            opacity: 0.9;
            font-weight: 500;
            margin-bottom: 20px;
            letter-spacing: 0.5px;
        }

        .splash-framework-tag {
            font-size: 11px;
            text-transform: uppercase;
            font-weight: 700;
            background: rgba(255, 255, 255, 0.15);
            padding: 6px 12px;
            border-radius: 20px;
            display: inline-block;
            letter-spacing: 0.8px;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .splash-slides-container {
            flex: 1;
            padding: 48px;
            background: #ffffff;
            display: flex;
            flex-direction: column;
            position: relative;
        }

        .splash-close {
            position: absolute;
            top: 24px;
            right: 24px;
            background: #f1f5f9;
            border: none;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            font-size: 20px;
            color: #64748b;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
            z-index: 10;
        }
        .splash-close:hover {
            background: #e2e8f0;
            color: #0f172a;
            transform: scale(1.05);
        }

        .splash-slides {
            flex: 1;
            position: relative;
        }

        .splash-slide {
            display: none;
            animation: slideFadeIn 0.4s ease forwards;
            height: 100%;
        }

        .splash-slide.active {
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

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

        .slide-header {
            font-family: 'Outfit', sans-serif;
            font-size: 26px;
            font-weight: 800;
            color: #0f766e;
            margin-bottom: 16px;
        }

        .slide-text {
            font-size: 14px;
            color: #475569;
            line-height: 1.6;
            margin-bottom: 24px;
        }

        .feature-bullets {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .bullet-item {
            display: flex;
            gap: 16px;
            align-items: flex-start;
        }

        .bullet-item i {
            font-size: 24px;
            color: #0f766e;
            background: #f0fdfa;
            padding: 10px;
            border-radius: 10px;
            border: 1px solid #ccfbf1;
        }

        .bullet-item div strong {
            display: block;
            font-size: 15px;
            color: #0f172a;
            margin-bottom: 3px;
        }

        .bullet-item div span {
            font-size: 13px;
            color: #64748b;
            line-height: 1.4;
            display: block;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 16px;
        }

        .feature-card {
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            padding: 20px;
            transition: all 0.2s;
        }
        .feature-card:hover {
            border-color: #99f6e4;
            background: #f0fdfa;
            transform: translateY(-2px);
        }

        .feature-card i {
            font-size: 24px;
            color: #0f766e;
            margin-bottom: 10px;
            display: block;
        }

        .feature-card strong {
            display: block;
            font-size: 14px;
            color: #0f172a;
            margin-bottom: 4px;
        }

        .feature-card span {
            font-size: 12px;
            color: #64748b;
            line-height: 1.4;
            display: block;
        }

        .logic-timeline {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .timeline-step {
            display: flex;
            align-items: center;
            gap: 16px;
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            padding: 12px 18px;
            border-radius: 10px;
        }

        .timeline-step .step-num {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: #0f766e;
            color: white;
            font-weight: 700;
            font-size: 13px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .timeline-step .step-desc {
            font-size: 13px;
            color: #64748b;
        }

        .timeline-step .step-desc strong {
            display: block;
            color: #0f172a;
            font-size: 14px;
            margin-bottom: 2px;
        }

        .methodology-list {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .method-item {
            display: flex;
            gap: 16px;
            align-items: flex-start;
        }

        .method-item i {
            font-size: 20px;
            color: #0f766e;
            background: #f0fdfa;
            padding: 8px;
            border-radius: 8px;
            border: 1px solid #ccfbf1;
            flex-shrink: 0;
        }

        .method-item div strong {
            display: block;
            font-size: 14px;
            color: #0f172a;
            margin-bottom: 3px;
        }

        .method-item div span {
            font-size: 12px;
            color: #64748b;
            line-height: 1.4;
            display: block;
        }

        .splash-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-top: 1px solid #e2e8f0;
            padding-top: 24px;
            margin-top: 16px;
        }

        .slide-dots {
            display: flex;
            gap: 8px;
        }

        .slide-dots .dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #cbd5e1;
            cursor: pointer;
            transition: all 0.2s;
        }

        .slide-dots .dot.active {
            width: 24px;
            border-radius: 4px;
            background: #0f766e;
        }

        .btn-splash-nav {
            background: transparent;
            border: 1px solid #cbd5e1;
            color: #475569;
            padding: 8px 18px;
            border-radius: 8px;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
        }
        .btn-splash-nav:hover {
            background: #f1f5f9;
            border-color: #94a3b8;
            color: #0f172a;
        }

        .btn-splash-primary {
            background: linear-gradient(135deg, #0f766e, #0d9488);
            color: white;
            border: none;
            box-shadow: 0 4px 6px -1px rgba(13, 148, 136, 0.2);
            margin-left: 8px;
        }
        .btn-splash-primary:hover {
            background: linear-gradient(135deg, #115e59, #0f766e);
            color: white;
            transform: translateY(-1px);
            box-shadow: 0 6px 8px -1px rgba(13, 148, 136, 0.3);
        }

        /* --- TUTORIAL MODAL SPECIFIC --- */
        .tutorial-modal-content {
            width: 720px;
            height: 480px;
            max-height: 85vh;
            border-radius: 16px;
            overflow: hidden;
            position: relative;
        }

        .tutorial-header {
            background: linear-gradient(135deg, #0f766e, #115e59);
            color: white;
            padding: 20px 28px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .tutorial-header h2 {
            font-family: 'Outfit', sans-serif;
            font-size: 18px;
            font-weight: 800;
        }

        .tutorial-body {
            flex: 1;
            padding: 32px 40px;
            background: #ffffff;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .tutorial-slide {
            display: none;
            animation: slideFadeIn 0.3s ease forwards;
        }

        .tutorial-slide.active {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .tutorial-icon {
            font-size: 32px;
            color: #0f766e;
            background: #f0fdfa;
            padding: 12px;
            border-radius: 12px;
            display: inline-block;
            align-self: flex-start;
            border: 1px solid #ccfbf1;
            margin-bottom: 8px;
        }

        .tutorial-title {
            font-family: 'Outfit', sans-serif;
            font-size: 20px;
            font-weight: 700;
            color: #0f172a;
        }

        .tutorial-text {
            font-size: 13px;
            color: #475569;
            line-height: 1.6;
        }

        /* Animation class for minimizing splash */
        @keyframes minimizeToCorner {
            0% {
                opacity: 1;
                transform: scale(1);
            }
            100% {
                opacity: 0;
                transform: translate(35vw, -35vh) scale(0.05);
            }
        }
        .modal.minimizing .modal-content {
            animation: minimizeToCorner 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
        }
        }

        /* --- BASEMAP TOGGLE, STEPPER LOCKS, TOAST NOTIFICATION --- */
        .basemap-toggle-container {
            position: absolute;
            bottom: 20px;
            left: 20px;
            z-index: 1000;
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(8px);
            border: 1px solid var(--border);
            padding: 4px;
            border-radius: 10px;
            display: flex;
            gap: 4px;
            box-shadow: var(--shadow-md);
        }
        .basemap-toggle-btn {
            background: transparent;
            border: none;
            padding: 6px 12px;
            font-size: 11px;
            font-weight: 700;
            color: var(--text-light);
            cursor: pointer;
            border-radius: 6px;
            transition: all 0.2s;
        }
        .basemap-toggle-btn.active {
            background: var(--primary);
            color: white;
            box-shadow: var(--shadow-sm);
        }
        .basemap-toggle-btn:hover:not(.active) {
            background: #f1f5f9;
            color: var(--text-heading);
        }

        .step-item.locked {
            opacity: 0.35 !important;
            cursor: not-allowed !important;
        }
        .step-item.locked .step-num {
            background: #cbd5e1 !important;
            border-color: #e2e8f0 !important;
            color: #94a3b8 !important;
        }

        .litt-toast {
            position: fixed;
            top: 24px;
            left: 50%;
            transform: translateX(-50%) translateY(-20px);
            background: rgba(15, 23, 42, 0.9);
            backdrop-filter: blur(8px);
            color: white;
            padding: 12px 24px;
            border-radius: 12px;
            z-index: 9999;
            box-shadow: var(--shadow-lg);
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 13px;
            font-weight: 600;
            opacity: 0;
            transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
            pointer-events: none;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        .litt-toast.show {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }
        .litt-toast i {
            font-size: 18px;
            color: #f59e0b;
        }

        /* --- UTILITIES --- */
        .hidden { display: none !important; }
        select, input[type="text"] {
            width: 100%; padding: 10px; border: 1px solid var(--border); border-radius: 8px;
            font-family: inherit; font-size: 12px; color: var(--text-main); margin-bottom: 12px;
            background: #f8fafc;
        }
        select:focus, input:focus { outline: none; border-color: var(--primary); background: #fff; }

        @keyframes modalIn {
            from { transform: scale(0.95); opacity: 0; }
            to { transform: scale(1); opacity: 1; }
        }
        
        /* Drawer for RoI details */
        .roi-drawer {
            position: absolute; top: 0; right: -360px; bottom: 0; width: 340px;
            background: white; border-left: 1px solid var(--border); z-index: 500;
            box-shadow: var(--shadow-lg); transition: right 0.3s ease-in-out;
            padding: 24px; overflow-y: auto; display: flex; flex-direction: column;
        }
        .roi-drawer.open { right: 0; }
        .roi-drawer-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; border-bottom: 1px solid var(--border); padding-bottom: 12px; }
        .roi-drawer-title { font-size: 16px; font-weight: 700; color: var(--text-heading); }
        .roi-desc { font-size: 12px; color: var(--text-light); line-height: 1.5; margin-bottom: 16px; }
        .roi-section-title { font-size: 11px; font-weight: 700; color: var(--text-heading); text-transform: uppercase; letter-spacing: 0.5px; margin: 16px 0 8px; }
        .roi-metric-row { display: flex; justify-content: space-between; font-size: 12px; padding: 6px 0; border-bottom: 1px dashed #f1f5f9; }
        .roi-metric-label { color: var(--text-light); }
        .roi-metric-val { font-weight: 600; color: var(--text-heading); }

