        :root {
            --bg-dark: #090d16;
            --card-dark: #0f172a;
            --border-dark: rgba(56, 189, 248, 0.22);
            --primary-cyan: #38bdf8;
            --primary-blue: #0284c7;
            --text-main: #f8fafc;
            --text-muted: #94a3b8;
        }
        * { box-sizing: border-box; margin:0; padding:0; }
        body { font-family: 'Inter', -apple-system, sans-serif; background: var(--bg-dark); color: var(--text-main); }
        .map-container { width: 100%; height: calc(100vh - 72px); min-height: 600px; position: relative; }
        #fullMap { width: 100%; height: 100%; background: #070d1a; }
        /* =========================================================
           REFINED DARK PRO TOOL - COCKPIT & CONTROLS
           ========================================================= */
        .floating-cockpit {
            position: absolute;
            top: 16px;
            left: 16px;
            z-index: 1000;
            background: rgba(17, 24, 39, 0.94);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid var(--border-default, #334155);
            border-radius: var(--radius-lg, 12px);
            padding: 16px;
            max-width: 430px;
            width: calc(100% - 32px);
            box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.05);
            transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .floating-cockpit.is-collapsed {
            max-width: 190px;
            padding: 8px 12px;
        }
        .floating-cockpit.is-collapsed .cockpit-collapsible-body {
            display: none !important;
        }
        .cockpit-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
        }
        .cockpit-collapse-btn {
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: #94a3b8;
            font-size: 11px;
            font-weight: 600;
            padding: 3px 8px;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.15s;
        }
        .cockpit-collapse-btn:hover {
            background: rgba(255, 255, 255, 0.12);
            color: #fff;
        }
        .hud-telemetry {
            position: absolute;
            bottom: 20px;
            left: 20px;
            z-index: 999;
            background: rgba(17, 24, 39, 0.92);
            backdrop-filter: blur(10px);
            border: 1px solid #334155;
            border-radius: 10px;
            padding: 10px 16px;
            font-size: 12px;
            color: #cbd5e1;
            box-shadow: 0 8px 24px rgba(0,0,0,0.5);
            line-height: 1.5;
        }
        .btn-action-primary {
            background: var(--brand-500, #3B82F6);
            color: #fff;
            border: none;
            padding: 10px 16px;
            border-radius: 8px;
            font-size: 13px;
            font-weight: 700;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            transition: all 0.15s;
            box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
        }
        .btn-action-primary:hover {
            background: var(--brand-600, #2563EB);
            box-shadow: 0 4px 14px rgba(59, 130, 246, 0.45);
            transform: translateY(-1px);
        }
        .gis-tool-btn {
            background: #1e293b;
            color: #f1f5f9;
            border: 1px solid #334155;
            padding: 6px 10px;
            border-radius: 6px;
            font-size: 11.5px;
            font-weight: 600;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            transition: all 0.15s;
            text-decoration: none;
        }
        .gis-tool-btn:hover, .gis-tool-btn.active {
            background: var(--brand-500, #3B82F6);
            border-color: var(--brand-400, #60A5FA);
            color: #ffffff;
            box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
        }
        .cockpit-drag-handle {
            display: none;
        }

        /* Leaflet Dark Popup Override */
        .leaflet-popup.custom-ds-popup .leaflet-popup-content-wrapper {
            background: transparent !important;
            box-shadow: none !important;
            padding: 0 !important;
            border-radius: 12px !important;
        }
        .leaflet-popup.custom-ds-popup .leaflet-popup-content {
            margin: 0 !important;
            line-height: inherit !important;
        }
        .leaflet-popup.custom-ds-popup .leaflet-popup-tip-container {
            display: none !important;
        }
        .leaflet-popup.custom-ds-popup a.leaflet-popup-close-button {
            display: none !important;
        }

        @media (max-width: 768px) {
            .floating-cockpit {
                top: auto;
                bottom: 0;
                left: 0;
                right: 0;
                width: 100%;
                max-width: 100%;
                border-radius: 20px 20px 0 0;
                border-bottom: none;
                border-left: none;
                border-right: none;
                box-shadow: 0 -10px 35px rgba(0,0,0,0.7);
                padding: 10px 16px 20px;
                max-height: 80vh;
                overflow-y: auto;
                z-index: 1001;
            }
            .floating-cockpit.mobile-sheet-minimized {
                transform: translateY(calc(100% - 50px));
            }
            .cockpit-drag-handle {
                display: block;
                width: 44px;
                height: 5px;
                background: #475569;
                border-radius: 99px;
                margin: 0 auto 8px;
                cursor: pointer;
            }
            .hud-telemetry {
                bottom: 64px;
                left: 8px;
                right: 8px;
                font-size: 11px;
                padding: 8px 12px;
            }
            #fm-terrain-hud, .terrain-hud-card {
                bottom: 70px !important;
                right: 8px !important;
                left: 8px !important;
                max-width: calc(100% - 16px) !important;
            }
            .map-container {
                height: calc(100vh - 60px);
            }
            input {
                font-size: 15px !important;
            }
        }
    
        /* SAHIBINDEN.COM UYDU HARITASI SARI PIN VE POPUP STILLERI */
        .ps-listing-pin {
            background: transparent !important;
            border: none !important;
        }
        .ps-pin-bubble {
            background: #ffe800 !important;
            color: #111827 !important;
            border: 2px solid #111827 !important;
            border-radius: 20px;
            padding: 4px 10px;
            box-shadow: 0 4px 14px rgba(0,0,0,0.6), 0 0 14px rgba(255, 232, 0, 0.55);
            display: flex;
            flex-direction: column;
            align-items: center;
            white-space: nowrap;
            cursor: pointer;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }
        .ps-pin-bubble:hover {
            transform: scale(1.1) translateY(-3px);
            box-shadow: 0 6px 20px rgba(0,0,0,0.8), 0 0 20px rgba(255, 232, 0, 0.9);
        }
        .ps-pin-source {
            font-size: 11px;
            font-weight: 800;
            color: #0f172a;
            display: flex;
            align-items: center;
            gap: 3px;
            line-height: 1.1;
        }
        .ps-pin-price {
            font-size: 13px;
            font-weight: 900;
            color: #000000;
            letter-spacing: -0.3px;
        }
        .ps-pin-type {
            font-size: 11px;
            font-weight: 700;
            color: #334155;
        }
        .ps-pin-arrow {
            width: 0;
            height: 0;
            border-left: 6px solid transparent;
            border-right: 6px solid transparent;
            border-top: 6px solid #111827;
            margin-top: -1px;
        }
        .ps-listing-popup .leaflet-popup-content-wrapper {
            background: #0f172a;
            color: #f8fafc;
            border: 2px solid #ffe800;
            border-radius: 14px;
            padding: 8px;
            box-shadow: 0 12px 35px rgba(0,0,0,0.85);
        }
        .ps-listing-popup .leaflet-popup-tip {
            background: #0f172a;
        }
        .ps-listing-popup-body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            padding: 4px;
            min-width: 240px;
        }
        .ps-listing-popup-title {
            font-size: 13.5px;
            font-weight: 700;
            color: #ffffff;
            margin-bottom: 4px;
            line-height: 1.35;
        }
        .ps-listing-popup-price {
            font-size: 18px;
            font-weight: 900;
            color: #ffe800;
            margin-bottom: 6px;
        }
        .ps-listing-popup-meta {
            background: rgba(255,255,255,0.05);
            padding: 8px;
            border-radius: 8px;
            margin-bottom: 10px;
            font-size: 12px;
            line-height: 1.5;
            color: #cbd5e1;
        }
        .ps-btn-sahibinden {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            background: #ffe800;
            color: #111827 !important;
            padding: 8px 12px;
            border-radius: 6px;
            font-size: 12px;
            font-weight: 800;
            text-decoration: none;
            transition: background 0.2s, transform 0.1s;
        }
        .ps-btn-sahibinden:hover {
            background: #facc15;
            transform: translateY(-1px);
        }
        .ps-btn-wa-listing {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            background: #22c55e;
            color: #ffffff !important;
            padding: 7px 12px;
            border-radius: 6px;
            font-size: 12px;
            font-weight: 700;
            text-decoration: none;
            transition: background 0.2s;
            margin-top: 6px;
        }
        .ps-btn-wa-listing:hover {
            background: #16a34a;
        }

        /* =========================================================
           GIS CLOUD 3-PANEL LAYOUT - SAĞ PARSEL BİLGİ KARTI
           ========================================================= */
        .gis-right-panel {
            position: absolute;
            top: 16px;
            right: 16px;
            width: 350px;
            max-width: calc(100vw - 32px);
            max-height: calc(100vh - 220px);
            overflow-y: auto;
            z-index: 1000;
            background: rgba(7, 11, 20, 0.94);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1.5px solid rgba(56, 189, 248, 0.35);
            border-radius: 14px;
            padding: 16px 18px;
            box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
            color: #f8fafc;
            display: block;
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .gis-right-panel-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            padding-bottom: 10px;
            margin-bottom: 12px;
        }
        .grp-info-table {
            display: flex;
            flex-direction: column;
            gap: 2px;
            margin-bottom: 12px;
        }
        .grp-info-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 6px 4px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            font-size: 13px;
        }
        .grp-info-key {
            color: #94a3b8;
            font-weight: 600;
        }
        .grp-info-val {
            color: #f8fafc;
            font-weight: 700;
            text-align: right;
        }
        .grp-mono {
            font-family: var(--font-mono, 'JetBrains Mono', monospace);
        }
        .grp-highlight {
            color: #10b981;
            font-weight: 800;
        }
        .grp-badge-zoning {
            background: rgba(16, 185, 129, 0.18);
            color: #34d399;
            border: 1px solid rgba(16, 185, 129, 0.4);
            padding: 2px 10px;
            border-radius: 12px;
            font-weight: 700;
            font-size: 11.5px;
        }
        .grp-btn-cyan {
            background: linear-gradient(135deg, #0284c7 0%, #00f2fe 100%);
            color: #02131d;
            font-weight: 800;
            border: none;
            padding: 9px 12px;
            border-radius: 8px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            font-size: 12.5px;
            transition: all 0.2s;
            text-decoration: none;
        }
        .grp-btn-cyan:hover {
            filter: brightness(1.1);
            transform: translateY(-1px);
        }
        .grp-btn-dark {
            background: #0f172a;
            border: 1px solid #334155;
            color: #f8fafc;
            font-weight: 700;
            padding: 9px 12px;
            border-radius: 8px;
            text-decoration: none;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            font-size: 12.5px;
            transition: all 0.2s;
        }
        .grp-btn-dark:hover {
            border-color: #38bdf8;
            color: #38bdf8;
        }
        .grp-actions-section {
            margin-top: 10px;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            padding-top: 10px;
        }
        .grp-actions-title {
            font-size: 12px;
            font-weight: 800;
            color: #94a3b8;
            margin-bottom: 8px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .grp-actions-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 6px;
        }
        .grp-action-card {
            background: rgba(15, 23, 42, 0.8);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 8px;
            padding: 8px 4px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 4px;
            cursor: pointer;
            color: #cbd5e1;
            font-size: 11px;
            font-weight: 600;
            transition: all 0.2s;
        }
        .grp-action-card:hover {
            background: rgba(56, 189, 248, 0.12);
            border-color: rgba(56, 189, 248, 0.35);
            color: #38bdf8;
            transform: translateY(-1px);
        }
        .grp-action-icon {
            font-size: 16px;
        }
        .grp-stat-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
            margin: 10px 0;
        }
        .grp-stat-box {
            background: rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 8px;
            padding: 7px 9px;
        }
        .grp-stat-label {
            font-size: 10px;
            color: #94a3b8;
            font-weight: 700;
            text-transform: uppercase;
        }
        .grp-stat-val {
            font-size: 12.5px;
            font-weight: 800;
            color: #fff;
            margin-top: 2px;
        }
        .grp-action-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            padding: 8px 10px;
            border-radius: 8px;
            font-size: 11.5px;
            font-weight: 800;
            text-decoration: none;
            cursor: pointer;
            border: none;
            transition: all 0.2s;
        }
        .grp-action-btn:hover {
            transform: translateY(-1px);
            filter: brightness(1.1);
        }
        /* Map Type Switcher (Top Right on Map) */
        .gis-map-type-switcher {
            position: absolute;
            top: 16px;
            right: 390px;
            z-index: 999;
            display: flex;
            background: rgba(7, 11, 20, 0.88);
            backdrop-filter: blur(8px);
            border: 1px solid rgba(56, 189, 248, 0.3);
            border-radius: 30px;
            padding: 4px;
            gap: 4px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.5);
        }
        .gis-type-btn {
            background: transparent;
            border: none;
            color: #94a3b8;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 700;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 5px;
            transition: all 0.2s;
        }
        .gis-type-btn.active, .gis-type-btn:hover {
            background: #0284c7;
            color: #fff;
        }
        /* Left Map Toolstack */
        #psLayerPanel {
            left: 508px !important;
            top: 70px !important;
            z-index: 1000;
        }
        #psLayerBody input[type="radio"], #psLayerBody input[type="checkbox"] {
            width: 16px !important; height: 16px !important; min-width: 16px !important; max-width: 16px !important;
            margin: 0 !important; padding: 0 !important; flex: 0 0 16px !important;
            -webkit-appearance: auto !important; appearance: auto !important;
            border: 0 !important; box-shadow: none !important; transform: none !important;
        }
        #psLayerBody label, #psLayerBody label span { line-height: 1.35; }
        .gis-left-toolstack {
            position: absolute;
            top: 70px;
            left: 460px;
            z-index: 999;
            display: flex;
            flex-direction: column;
            gap: 6px;
        }
        #ilya-toggle-btn, #btn-ai-cockpit-float, #ps-ai-assistant-wrapper, #ps-ai-assistant-btn {
            display: none !important;
        }
        .gis-ctrl-btn {
            width: 36px;
            height: 36px;
            background: rgba(7, 11, 20, 0.9);
            backdrop-filter: blur(8px);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 8px;
            color: #f8fafc;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(0,0,0,0.4);
            transition: all 0.2s;
        }
        .gis-ctrl-btn:hover {
            background: #0284c7;
            border-color: #38bdf8;
            color: #fff;
            transform: scale(1.05);
        }
        /* Bottom Bar Inside Map */
        .gis-map-bottom-bar {
            position: absolute;
            bottom: 16px;
            left: 460px;
            right: 380px;
            z-index: 999;
            display: flex;
            justify-content: space-between;
            align-items: center;
            pointer-events: none;
        }
        .gis-bottom-badge {
            background: rgba(7, 11, 20, 0.88);
            backdrop-filter: blur(8px);
            border: 1px solid rgba(255, 255, 255, 0.12);
            color: #f8fafc;
            font-size: 11.5px;
            font-weight: 700;
            padding: 5px 12px;
            border-radius: 20px;
            display: flex;
            align-items: center;
            gap: 6px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.5);
            pointer-events: auto;
        }
        .gis-download-pill {
            background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
            border: 1px solid rgba(56, 189, 248, 0.4);
            color: #38bdf8;
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 800;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 6px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.5);
            pointer-events: auto;
            transition: all 0.2s;
        }
        .gis-download-pill:hover {
            background: #0284c7;
            color: #fff;
        }
        /* Red Pin Marker Label */
        .gis-parcel-pin-icon {
            background: transparent;
            border: none;
        }
        .gis-pin-marker {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }
        .gis-pin-marker i {
            color: #ef4444;
            font-size: 24px;
            filter: drop-shadow(0 2px 4px rgba(0,0,0,0.8));
        }
        .gis-pin-label {
            background: #ef4444;
            color: #fff;
            font-weight: 800;
            font-size: 11px;
            padding: 2px 6px;
            border-radius: 4px;
            white-space: nowrap;
            box-shadow: 0 2px 6px rgba(0,0,0,0.6);
            margin-top: -3px;
        }
        /* Cockpit Tab Switcher */
        .cockpit-tabs {
            display: flex;
            background: rgba(0, 0, 0, 0.35);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 8px;
            padding: 3px;
            gap: 3px;
            margin-bottom: 12px;
        }
        .cockpit-tab {
            flex: 1;
            background: transparent;
            border: none;
            color: #94a3b8;
            font-size: 11.5px;
            font-weight: 700;
            padding: 6px 4px;
            border-radius: 6px;
            cursor: pointer;
            text-align: center;
            transition: all 0.2s;
        }
        .cockpit-tab.active {
            background: #0284c7;
            color: #fff;
            box-shadow: 0 2px 6px rgba(2, 132, 199, 0.4);
        }
        /* 6 Quick Access Grid (Hızlı Erişim) */
        .cockpit-quick-access {
            margin-top: 12px;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            padding-top: 10px;
        }
        .cockpit-quick-title {
            font-size: 11.5px;
            font-weight: 800;
            color: #94a3b8;
            margin-bottom: 8px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .cockpit-quick-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 6px;
        }
        .cockpit-quick-btn {
            background: rgba(15, 23, 42, 0.7);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 8px;
            padding: 8px 4px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 4px;
            color: #cbd5e1;
            font-size: 10.5px;
            font-weight: 600;
            text-decoration: none;
            cursor: pointer;
            transition: all 0.2s;
        }
        .cockpit-quick-btn:hover {
            background: rgba(56, 189, 248, 0.12);
            border-color: rgba(56, 189, 248, 0.35);
            color: #38bdf8;
            transform: translateY(-1px);
        }
        .cockpit-quick-btn i {
            font-size: 15px;
        }
        #fullMap .leaflet-control-zoom,
        #fullMap .leaflet-control-layers {
            display: none !important;
        }
        /* 5 Feature Badges (Birebir Mockup Alt Barı) */
        .gis-feature-badges-container {
            max-width: 1360px;
            margin: 24px auto 30px auto;
            padding: 0 16px;
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 12px;
        }
        .gis-feature-card {
            background: rgba(11, 19, 41, 0.9);
            backdrop-filter: blur(8px);
            border: 1px solid rgba(56, 189, 248, 0.25);
            border-radius: 12px;
            padding: 16px 12px;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            position: relative;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
            transition: all 0.25s ease;
        }
        .gis-feature-card:hover {
            border-color: #38bdf8;
            transform: translateY(-3px);
            box-shadow: 0 12px 30px rgba(56, 189, 248, 0.2);
        }
        .gis-feature-icon {
            font-size: 26px;
            margin-bottom: 8px;
        }
        .gis-feature-card h4 {
            font-size: 14px;
            font-weight: 800;
            color: #fff;
            margin: 0 0 4px 0;
        }
        .gis-feature-card p {
            font-size: 11px;
            color: #94a3b8;
            margin: 0;
            line-height: 1.4;
        }
        .gis-feature-check {
            color: #10b981;
            font-size: 13px;
            margin-top: 8px;
        }
        @media (max-width: 900px) {
            .map-container {
                height: auto !important;
                min-height: 0 !important;
                display: flex;
                flex-direction: column;
            }
            #fullMap {
                height: 420px !important;
                min-height: 380px !important;
                flex: 0 0 420px;
            }
            .gis-map-type-switcher {
                top: 10px !important;
                left: 50% !important;
                transform: translateX(-50%) !important;
                right: auto !important;
                white-space: nowrap;
            }
            .gis-left-toolstack {
                left: 10px !important;
                top: 56px !important;
                gap: 4px;
            }
            #psLayerPanel {
                left: 50px !important;
                top: 56px !important;
                width: auto !important;
                right: 10px;
            }
            .gis-ctrl-btn {
                width: 32px;
                height: 32px;
                font-size: 13px;
            }
            .gis-map-bottom-bar {
                top: 372px !important;
                bottom: auto !important;
                left: 10px !important;
                right: 10px !important;
            }
            .hud-telemetry {
                display: none !important;
            }
            .floating-cockpit,
            .floating-cockpit.mobile-sheet-minimized {
                position: static !important;
                width: calc(100% - 20px) !important;
                max-width: none !important;
                max-height: none !important;
                margin: 12px auto 0 auto !important;
                border-radius: 14px !important;
                transform: none !important;
                padding: 14px !important;
            }
            .cockpit-drag-handle {
                display: none !important;
            }
            .gis-right-panel {
                position: static !important;
                width: calc(100% - 20px) !important;
                max-width: none !important;
                max-height: none !important;
                margin: 12px auto 0 auto !important;
            }
            .gis-feature-badges-container { grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 600px) {
            .gis-feature-badges-container { grid-template-columns: 1fr; }
        }
