* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Cairo", system-ui, -apple-system, sans-serif;
    background: linear-gradient(135deg, #1a1f3a 0%, #2a2f52 50%, #1a1f3a 100%);
    color: #e8e8f2;
    overflow: hidden;
    position: relative;
    min-height: 100vh;
}

body[dir="ltr"] {
    font-family: "Nunito Sans", system-ui, -apple-system, sans-serif;
}

.background-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    pointer-events: none;
    background-image: linear-gradient(
            rgba(255, 255, 255, 0.1) 1px,
            transparent 1px
        ),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
}

.container {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: rgba(26, 29, 58, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(27, 131, 84, 0.3);
    z-index: 100;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.logo-section:hover,
.logo-section:focus {
    opacity: 0.85;
}

.logo {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border-radius: 0;
    position: relative;
}

.logo svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

h1 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.controls {
    display: flex;
    gap: 12px;
    align-items: center;
}

.lang-toggle {
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-toggle button {
    padding: 6px 14px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.lang-toggle button:hover {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
}

.lang-toggle button.active {
    background: linear-gradient(135deg, #1b8354 0%, #0f7346 100%);
    color: white;
}

.reset-btn {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.reset-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.radar-wrapper {
    flex: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#radar-svg {
    display: block;
    width: 100%;
    height: 100%;
}

.ring {
    fill: none;
    stroke: rgba(255, 255, 255, 0.12);
    stroke-width: 1.5;
}

.ring-dashed {
    fill: none;
    stroke: rgba(255, 255, 255, 0.06);
    stroke-width: 1;
    stroke-dasharray: 5, 5;
}

.sector-line {
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 1.5;
}

.ring-label {
    font-size: 11px;
    fill: rgba(255, 255, 255, 0.4);
    text-anchor: middle;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.sector-label {
    font-size: 14px;
    font-weight: 700;
    fill: #1b8354;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    opacity: 0.95;
}

.entity-group {
    cursor: pointer;
    transition: all 0.2s ease;
}

.entity-dot {
    transition: all 0.2s ease;
}

.entity-group:hover .entity-dot {
    filter: drop-shadow(0 0 8px currentColor);
}

.entity-group.selected .entity-dot {
    stroke-width: 3;
    filter: drop-shadow(0 0 12px currentColor);
}

.entity-group:focus {
    outline: none;
}

.entity-group:focus .entity-dot {
    stroke: #1b8354;
    stroke-width: 3;
    filter: drop-shadow(0 0 10px #1b8354);
}

.entity-label {
    font-size: 13px;
    fill: #ffffff;
    pointer-events: all;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 0.4px;
    paint-order: stroke fill;
    stroke: rgba(26, 31, 58, 0.9);
    stroke-width: 3px;
    stroke-linejoin: round;
    transition: all 0.2s ease;
}

body[dir="rtl"] .entity-label,
body[dir="rtl"] .sector-label,
body[dir="rtl"] .sector-label textPath,
body[dir="rtl"] .ring-label {
    letter-spacing: 0;
    font-variant-ligatures: contextual;
    unicode-bidi: isolate;
    direction: rtl;
    white-space: nowrap;
    font-feature-settings: "liga" 1, "rlig" 1, "kern" 1;
    text-transform: none;
}

.entity-label:hover {
    fill: #1b8354;
    font-size: 14px;
    stroke-width: 4px;
}

.entity-label.highlighted {
    fill: #1b8354;
    font-weight: 700;
    font-size: 14px;
    stroke: rgba(26, 31, 58, 1);
    stroke-width: 4px;
}

.entity-number-badge {
    font-size: 11px;
    font-weight: 700;
    fill: #1b8354;
    paint-order: stroke fill;
    stroke: rgba(26, 31, 58, 0.9);
    stroke-width: 2.5px;
    stroke-linejoin: round;
}

.center-logo {
    pointer-events: none;
}

.center-logo-bg {
    fill: rgba(27, 131, 84, 0.1);
}

.center-logo-icon {
    fill: #1b8354;
    opacity: 0.6;
}

.center-logo-button {
    position: absolute;
    border: none;
    background: transparent;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    cursor: pointer;
    /* transform: translate(-50%, -50%); */
    color: transparent;
}

.mobile-cluster-toggle {
    display: none;
}

.mobile-cluster-panel {
    display: none;
}

.mobile-cluster-scrim {
    display: none;
}

.mobile-stage-toggle,
.mobile-stage-panel,
.mobile-stage-scrim {
    display: none;
}

body.panel-open {
    overflow: hidden;
}

body.cluster-panel-open {
    overflow: hidden;
}

body.stage-panel-open {
    overflow: hidden;
}

.tooltip {
    position: absolute;
    background: rgba(15, 17, 35, 0.98);
    color: white;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 13px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 1000;
    max-width: 300px;
    border: 1.5px solid rgba(27, 131, 84, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
}

.tooltip.visible {
    opacity: 1;
}

.tooltip-title {
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 14px;
    color: #1b8354;
}

.tooltip-row {
    margin-top: 4px;
    font-size: 12px;
    opacity: 0.9;
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.tooltip-label {
    color: rgba(255, 255, 255, 0.6);
}

.tooltip-value {
    font-weight: 600;
    color: white;
}

.legend {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 28px;
    background: rgba(26, 29, 58, 0.95);
    padding: 14px 28px;
    border-radius: 14px;
    border: 1.5px solid rgba(27, 131, 84, 0.2);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.legend-item small {
    display: block;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.legend-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.legend-color {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.cluster-menu {
    position: absolute;
    top: 110px;
    left: 40px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 260px;
    z-index: 90;
}

body[dir="ltr"] .cluster-menu {
    left: auto;
    right: 40px;
}

.cluster-chip {
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(9, 42, 30, 0.65);
    color: #fff;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 12px;
    cursor: pointer;
    text-align: start;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.cluster-chip:hover,
.cluster-chip:focus {
    background: rgba(27, 131, 84, 0.2);
    border-color: rgba(27, 131, 84, 0.6);
    outline: none;
}

.cluster-chip.active {
    background: rgba(27, 131, 84, 0.35);
    border-color: rgba(27, 131, 84, 0.9);
    box-shadow: 0 0 12px rgba(27, 131, 84, 0.4);
}

.detail-panels {
    position: absolute;
    top: 90px;
    right: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 95;
}

body[dir="ltr"] .detail-panels {
    right: auto;
    left: 40px;
}

.detail-panel {
    width: 360px;
    max-height: calc(100vh - 140px);
    background: rgba(15, 17, 35, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(14px);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    overflow: hidden;
    pointer-events: auto;
}

.detail-panel[aria-hidden="true"] {
    pointer-events: none;
}

.detail-panel.visible {
    opacity: 1;
    transform: translateY(0);
    overflow: auto;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

.panel-close {
    border: none;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    transition: background 0.2s ease;
}

.panel-close:hover,
.panel-close:focus {
    background: rgba(27, 131, 84, 0.3);
    outline: none;
}

.panel-body {
    padding: 18px 20px 24px;
    overflow-y: auto;
    max-height: calc(100% - 60px);
}

.panel-hero {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 16px;
}

.panel-description {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 18px;
}

.panel-section {
    margin-top: 18px;
}

.panel-section h3 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1b8354;
}

.area-tech-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.area-tech-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
    display: flex;
    flex-direction: column;
    text-align: start;
}

.area-tech-card:hover,
.area-tech-card:focus {
    border-color: rgba(27, 131, 84, 0.6);
    background: rgba(27, 131, 84, 0.15);
    outline: none;
}

.area-tech-card-title {
    font-weight: 600;
    margin-bottom: 4px;
    color: #ffffff;
}

.panel-meta {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 4px;
}

.badge-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.badge,
.badge-sdg {
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 11px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
}

.badge-sdg {
    border-color: rgba(245, 189, 2, 0.4);
    background: rgba(245, 189, 2, 0.12);
}

.taxonomy-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.taxonomy-list span {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}

.detail-panel a {
    color: #26a86b;
    text-decoration: none;
}

.detail-panel a:hover,
.detail-panel a:focus {
    text-decoration: underline;
    outline: none;
}

#tech-panel-sources {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sector-arc {
    fill: rgba(255, 255, 255, 0.02);
    stroke: rgba(255, 255, 255, 0.02);
    cursor: pointer;
    transition: fill 0.2s ease, stroke 0.2s ease;
}

.sector-arc:hover,
.sector-arc:focus {
    fill: rgba(27, 131, 84, 0.12);
}

.sector-arc.active {
    fill: rgba(27, 131, 84, 0.25);
    stroke: rgba(27, 131, 84, 0.4);
}

.panel-empty {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.zoom-controls {
    position: absolute;
    top: 150px;
    right: 420px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: rgba(11, 15, 35, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 12px;
    z-index: 90;
}

body[dir="ltr"] .zoom-controls {
    right: auto;
    left: 420px;
}

.zoom-btn {
    border: none;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    width: 40px;
    height: 36px;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.zoom-btn:hover,
.zoom-btn:focus {
    background: rgba(27, 131, 84, 0.4);
    outline: none;
}

.zoom-level {
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.center-modal {
    position: fixed;
    inset: 0;
    background: rgba(5, 7, 18, 0.8);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 200;
}

.center-modal.visible {
    opacity: 1;
    pointer-events: auto;
}

.center-modal-content {
    background: rgba(14, 17, 35, 0.95);
    border-radius: 20px;
    padding: 28px;
    width: min(480px, 90vw);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
}

.center-modal-content h2 {
    margin-bottom: 12px;
    font-size: 20px;
}

.center-modal-body {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.center-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
}

.tech-modal {
    position: fixed;
    inset: 0;
    background: rgba(3, 6, 18, 0.78);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 210;
}

.tech-modal.visible {
    opacity: 1;
    pointer-events: auto;
}

.tech-modal-content {
    background: rgba(12, 16, 36, 0.96);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: min(900px, 92vw);
    max-height: 90vh;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.65);
    position: relative;
    overflow: hidden;
}

.tech-modal-scroll {
    padding: 32px 36px 40px;
    overflow-y: auto;
    max-height: 90vh;
}

.tech-modal-close {
    position: absolute;
    top: 18px;
    left: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.tech-modal-header {
    margin-top: 18px;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .tech-modal {
        display: none !important;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 1024px) {
    .detail-panels {
        right: 20px;
    }

    .zoom-controls {
        right: 20px;
    }

    body[dir="ltr"] .detail-panels {
        right: auto;
        left: 20px;
    }

    body[dir="ltr"] .zoom-controls {
        right: auto;
        left: 20px;
    }
}

@media (max-width: 768px) {
    body {
        overflow-y: auto;
        overflow-x: hidden;
        padding-bottom: 120px;
    }

    .container {
        height: auto;
        min-height: 100vh;
    }

    .header {
        padding: 10px 16px 6px;
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }

    h1 {
        font-size: 16px;
        line-height: 1.3;
    }

    #radar-desc {
        font-size: 12px;
    }

    .logo-section {
        flex-direction: column;
        gap: 6px;
    }

    .controls {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 6px;
    }

    .lang-toggle {
        width: 100%;
    }

    .lang-toggle button {
        flex: 1;
        padding: 6px 0;
        font-size: 12px;
    }

    .reset-btn {
        width: 100%;
        padding: 8px;
        font-size: 12px;
    }

    .radar-wrapper {
        display: block;
        padding: 0 8px;
        height: 80vh;
        min-height: 460px;
        margin-top: 6px;
    }

    #radar-svg {
        width: 100%;
        height: 100%;
        max-width: none;
    }

    .legend {
        display: none;
    }

    .entity-label {
        font-size: 10px;
    }

    .cluster-menu {
        display: none;
    }

    .mobile-stage-toggle,
    .mobile-cluster-toggle {
        display: block;
        text-align: center;
        min-height: 44px;
        width: calc(100% - 32px);
        margin: 8px auto 0;
        padding: 10px 14px;
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.15);
        background: rgba(10, 13, 30, 0.85);
        color: #fff;
        font-weight: 700;
        letter-spacing: 0.3px;
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-cluster-toggle {
        margin-top: 10px;
    }

    body.cluster-panel-open .mobile-cluster-toggle,
    body.panel-open .mobile-cluster-toggle,
    body.stage-panel-open .mobile-stage-toggle,
    body.panel-open .mobile-stage-toggle {
        opacity: 0;
        pointer-events: none;
    }

    .mobile-stage-panel,
    .mobile-cluster-panel {
        display: flex;
        flex-direction: column;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        height: min(520px, 75vh);
        background: rgba(9, 11, 27, 0.97);
        border-radius: 30px 30px 0 0;
        transform: translateY(100%);
        transition: transform 0.35s ease, opacity 0.35s ease;
        opacity: 0;
        pointer-events: none;
        z-index: 210;
    }

    .mobile-stage-panel.visible,
    .mobile-cluster-panel.visible {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-stage-panel-header,
    .mobile-cluster-panel-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 18px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        background: rgba(14, 17, 35, 0.95);
        border-radius: 30px 30px 0 0;
    }

    .mobile-stage-panel-header h2,
    .mobile-cluster-panel-header h2 {
        font-size: 17px;
        margin: 0;
    }

    .mobile-stage-close,
    .mobile-cluster-close {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        border: none;
        background: rgba(255, 255, 255, 0.08);
        color: #fff;
        font-size: 18px;
        cursor: pointer;
    }

    .mobile-stage-list,
    .mobile-cluster-list {
        padding: 16px 18px 120px;
        flex: 1;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .stage-card {
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 14px;
        padding: 12px 14px;
        background: rgba(255, 255, 255, 0.02);
        margin-bottom: 10px;
    }

    .stage-card h3 {
        margin-bottom: 6px;
        font-size: 15px;
    }

    .stage-card p {
        font-size: 12px;
        line-height: 1.5;
        color: rgba(255, 255, 255, 0.85);
    }

    .cluster-chip.mobile {
        width: 100%;
        font-size: 14px;
        text-align: center;
        padding: 12px;
    }

    .mobile-stage-scrim,
    .mobile-cluster-scrim {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(5, 7, 18, 0.6);
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
        z-index: 200;
    }

    .mobile-stage-scrim.visible,
    .mobile-cluster-scrim.visible {
        opacity: 1;
        pointer-events: auto;
    }

    .detail-panels {
        position: static;
    }

    .detail-panel {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        top: auto;
        width: 100%;
        max-width: 100%;
        height: min(520px, 82vh);
        border-radius: 26px 26px 0 0;
        z-index: 160;
        transform: translateY(100%);
        opacity: 0;
        pointer-events: none;
        box-shadow: 0 -10px 35px rgba(0, 0, 0, 0.5);
        display: flex;
        flex-direction: column;
        background: rgba(7, 9, 22, 0.98);
    }

    .detail-panel.visible {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .panel-header {
        padding: 14px 20px 10px;
    }

    .panel-body {
        padding: 16px 20px 24px;
        flex: 1;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    body.panel-open .radar-wrapper {
        filter: none;
        pointer-events: none;
    }

    body.cluster-panel-open .radar-wrapper,
    body.stage-panel-open .radar-wrapper {
        filter: none;
        pointer-events: auto;
    }

    body.panel-open .zoom-controls,
    body.panel-open .mobile-cluster-toggle,
    body.panel-open .mobile-stage-toggle,
    body.cluster-panel-open .zoom-controls,
    body.stage-panel-open .zoom-controls {
        opacity: 0;
        pointer-events: none;
    }

    .zoom-controls {
        position: fixed;
        top: auto;
        right: auto;
        bottom: 14px;
        left: 50%;
        transform: translateX(-50%);
        display: inline-flex;
        flex-direction: row;
        align-items: center;
        gap: 6px;
        padding: 6px 8px;
        border-radius: 999px;
        background: rgba(11, 14, 30, 0.92);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
        width: auto;
        min-width: 0;
    }

    body[dir="ltr"] .zoom-controls {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }

    .zoom-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .zoom-level {
        min-width: 64px;
        text-align: center;
        font-size: 11px;
        font-weight: 600;
    }

    .center-modal-content {
        width: calc(100% - 28px);
        max-height: 90vh;
        overflow-y: auto;
        padding: 22px;
    }

    .ring-label {
        font-size: 9px;
        letter-spacing: 0.3px;
    }

    .sector-label {
        font-size: 11px;
    }

    .entity-label {
        font-size: 9px;
    }

    .tooltip {
        position: fixed;
        left: 50%;
        right: auto;
        bottom: 110px;
        top: auto;
        transform: translateX(-50%);
        width: calc(100% - 40px);
        max-width: 360px;
        padding: 14px 18px;
        border-radius: 18px;
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
        border: 1px solid rgba(27, 131, 84, 0.35);
        text-align: start;
    }

    .tooltip-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }
}
