:root {
     --bg-primary: #f8fafc;
     --bg-secondary: #ffffff;
     --bg-tertiary: #f1f5f9;
     --bg-glass: rgba(255, 255, 255, 0.8);
     --accent-secondary: #8b5cf6;
     --accent-glow: rgba(59, 130, 246, 0.5);
     --glass-blur: 10px;
     --border-color: rgba(148, 163, 184, 0.2);
     --text-primary: #0f172a;
     --text-secondary: #334155;
     --text-muted: #475569;
     --accent-primary: #3b82f6;
    --accent-aws: #f59e0b;
    --accent-azure: #0d9488;
    --accent-multi: #334155;
    --accent-success: #16a34a;
    --header-height: 70px;

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --sidebar-width: 240px;
    --container-width: 1200px;

     --gcp: #2563eb;
}

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

html {
     scroll-behavior: smooth;
     scroll-padding-top: 100px;
}

html,
body {
    min-height: 100%;
}

body {
    font-family: "Inter", "Noto Sans KR", sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background: var(--bg-primary);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
}

main {
    flex: 1;
}

img {
    display: block;
    max-width: 100%;
}

.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.16;
}

.glow-1 {
    top: -220px;
    left: -140px;
    background: radial-gradient(circle, var(--accent-primary), transparent);
}

.glow-2 {
    right: -190px;
    bottom: -240px;
    background: radial-gradient(circle, #8b5cf6, transparent);
}

/* Header */
.glass-header {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: var(--header-height);
     background: var(--bg-glass);
     backdrop-filter: saturate(180%) blur(var(--glass-blur));
     -webkit-backdrop-filter: saturate(180%) blur(var(--glass-blur));
     will-change: transform, backdrop-filter;
     border-bottom: 1px solid var(--border-color);
     z-index: 1000;
     display: flex;
     align-items: center;
     box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.header-container {
     width: 100%;
     max-width: 100%;
     display: flex;
     align-items: center;
     justify-content: space-between;
     padding: 0 24px;
}

.logo {
     display: flex;
     align-items: center;
     gap: 10px;
     font-weight: 700;
     font-size: 1.35rem;
     margin-right: 48px;
}

.logo-img {
     height: 28px;
     width: auto;
     display: block;
     filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.4));
}

.logo-text {
    background: linear-gradient(130deg, #1e293b, #64748b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-nav {
     flex: 1;
}

.nav-links {
     display: flex;
     list-style: none;
     gap: 8px;
}

.nav-links li {
     position: relative;
}

.nav-links a,
.nav-links button {
     color: var(--text-secondary);
     font-size: 0.95rem;
     font-weight: 500;
     padding: 8px 16px;
     border-radius: 8px;
     display: block;
     border: 0;
     background: transparent;
     font-family: inherit;
     cursor: pointer;
     position: relative;
     transition: all var(--transition-normal);
}

.nav-links a::before,
.nav-links button::before {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 6px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--accent-primary), #8b5cf6);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.nav-links a:hover,
.nav-links button:hover {
    color: var(--text-primary);
    background: rgba(59, 130, 246, 0.1);
}

.nav-links a:hover::before,
.nav-links button:hover::before {
    transform: scaleX(1);
}

.nav-active {
     font-weight: 700;
     color: var(--accent-primary) !important;
     background: rgba(59, 130, 246, 0.08);
     border-radius: 8px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.wiki-link {
     display: flex;
     align-items: center;
     gap: 8px;
     font-size: 0.9rem;
     padding: 8px 16px;
     border-radius: 50px;
     background: rgba(59, 130, 246, 0.05);
     border: 1px solid rgba(59, 130, 246, 0.25);
     color: var(--accent-primary);
     font-weight: 600;
     transition: all var(--transition-normal);
     white-space: nowrap;
}

.wiki-link:hover {
     background: var(--accent-primary);
     color: #fff;
     border-color: var(--accent-primary);
     transform: translateY(-2px);
     box-shadow: 0 4px 12px var(--accent-glow);
}

.vertical-divider {
     width: 1px;
     height: 24px;
     background: var(--border-color);
     margin: 0 4px;
}

.controls {
     display: flex;
     gap: 12px;
}

.controls button {
     background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
     border: 1px solid var(--border-color);
     color: var(--text-primary);
     border-radius: 6px;
     padding: 0 12px;
     height: 36px;
     font-weight: 600;
     cursor: pointer;
     font-size: 0.8rem;
     transition: all var(--transition-normal);
     position: relative;
     overflow: hidden;
     min-width: 44px;
     display: flex;
     align-items: center;
     justify-content: center;
}

.controls button::before {
     content: "";
     position: absolute;
     top: 0;
     left: -100%;
     width: 100%;
     height: 100%;
     background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
     transition: left 0.5s ease;
}

.controls button:hover::before {
     left: 100%;
}

.controls button:hover {
     background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
     border-color: var(--accent-primary);
     transform: translateY(-2px);
     box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.controls button:active {
     transform: translateY(0);
}

.custom-dropdown {
    position: relative;
}

.custom-dropdown .dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
     width: 140px;
     background: var(--bg-secondary);
     border: 1px solid var(--border-color);
     border-radius: 8px;
     padding: 4px;
     display: flex;
     flex-direction: column;
     gap: 2px;
     opacity: 0;
     visibility: hidden;
     transform: translateY(-10px);
     transition: all var(--transition-fast);
     box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
     z-index: 1001;
}

.custom-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-option {
     display: flex !important;
     align-items: center;
     justify-content: flex-start !important;
     gap: 8px;
     width: 100%;
     padding: 8px 12px !important;
     background: transparent !important;
     border: none !important;
     border-radius: 6px;
     color: var(--text-secondary);
     font-weight: 500 !important;
     font-size: 0.85rem !important;
     box-shadow: none !important;
     min-width: 0 !important;
     transform: none !important;
}

.dropdown-option:hover {
     background: rgba(59, 130, 246, 0.1);
     color: var(--text-primary);
     transform: none !important;
}

.dropdown-option.selected {
     background: rgba(59, 130, 246, 0.18);
     color: var(--accent-primary);
     font-weight: 600 !important;
}

.lang-text {
     font-size: 1.35em;
     line-height: 1;
     display: inline-flex;
     align-items: center;
     justify-content: center;
     height: 100%;
}

main {
    padding-top: var(--header-height);
}

/* page layout */
.data-layout {
     display: flex;
     min-height: calc(100vh - var(--header-height));
     flex: 1;
}

.data-sidebar {
     width: var(--sidebar-width);
     min-width: var(--sidebar-width);
     background: var(--bg-secondary);
     border-right: 1px solid var(--border-color);
     padding: 24px 0;
     position: sticky;
     top: var(--header-height);
     height: calc(100vh - var(--header-height));
     overflow-y: auto;
     transition: all var(--transition-normal);
     z-index: 20;
     flex-shrink: 0;
}

.data-sidebar.collapsed {
    width: 0;
    min-width: 0;
    padding: 0;
    overflow: hidden;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px 16px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 8px;
}

.sidebar-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.sidebar-toggle {
     border: 1px solid var(--border-color);
     border-radius: 6px;
     cursor: pointer;
     background: transparent;
     padding: 4px 8px;
     width: 30px;
     height: 30px;
     color: var(--text-secondary);
     font-size: 0.8rem;
     transition: all var(--transition-fast);
}

.sidebar-toggle:hover {
     background: var(--bg-tertiary);
     color: var(--text-primary);
}

.sidebar-section {
    padding: 8px 12px;
}

.sidebar-section-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 4px 0 8px;
    padding: 0 8px;
}

.sidebar-item {
     display: flex;
     align-items: center;
     gap: 10px;
     border-radius: 8px;
     padding: 10px 12px;
     margin-bottom: 2px;
     color: var(--text-secondary);
     font-size: 0.9rem;
     font-weight: 500;
     transition: all var(--transition-fast);
     cursor: pointer;
}

.sidebar-item:hover {
    background: rgba(59, 130, 246, 0.08);
    color: var(--text-primary);
}

.sidebar-item.active {
     color: var(--accent-primary);
     font-weight: 600;
     background: rgba(59, 130, 246, 0.12);
}

.sidebar-item .icon {
     font-size: 1rem;
     min-width: 24px;
     text-align: center;
}

.sidebar-item .badge {
     margin-left: auto;
     font-size: 0.74rem;
     color: var(--text-muted);
     background: var(--bg-tertiary);
     border-radius: 10px;
     padding: 2px 8px;
     font-weight: 600;
     white-space: nowrap;
     min-width: 3.2em;
     text-align: center;
     flex-shrink: 0;
}

.sidebar-expand {
     display: none;
     position: sticky;
     top: var(--header-height);
     height: calc(100vh - var(--header-height));
     width: 36px;
     min-width: 36px;
     border: 1px solid var(--border-color);
     background: var(--bg-secondary);
     border-right: 1px solid var(--border-color);
     color: var(--text-muted);
     cursor: pointer;
     font-size: 1.1rem;
     font-weight: 700;
     transition: all var(--transition-fast);
     flex-shrink: 0;
     align-self: flex-start;
}

.sidebar-expand:hover {
     background: rgba(59, 130, 246, 0.08);
     color: var(--accent-primary);
}

.data-sidebar.collapsed ~ .sidebar-expand {
     display: flex;
     align-items: center;
     justify-content: center;
}

.data-main {
    flex: 1;
    min-width: 0;
}

.context-bar {
     display: flex;
     flex-wrap: wrap;
     justify-content: space-between;
     align-items: center;
     gap: 16px;
     padding: 20px 32px;
     background: var(--bg-secondary);
     border-bottom: 1px solid var(--border-color);
     position: sticky;
     top: var(--header-height);
     z-index: 30;
}

.context-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.context-title-group {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.page-badge {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(59, 130, 246, 0.12);
    color: var(--accent-primary);
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.page-title {
     font-size: 1.5rem;
     font-weight: 800;
     line-height: 1.25;
     letter-spacing: -0.02em;
     background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
     -webkit-text-fill-color: transparent;
     -webkit-background-clip: text;
     background-clip: text;
}

.page-subtitle {
    color: var(--text-muted);
    font-size: 0.86rem;
}

.context-right {
     display: flex;
     align-items: center;
     gap: 12px;
     flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-label {
     font-size: 0.8rem;
     font-weight: 600;
     color: var(--text-muted);
     white-space: nowrap;
}

.content-area {
     padding: 24px 32px;
}

.overview-grid {
     display: grid;
     grid-template-columns: 1fr 360px;
     gap: 24px;
}

.map-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
}

.map-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-color);
}

.map-header-main {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    min-width: 0;
}

.map-title {
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.map-provider-filter {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.map-provider-filter .filter-label {
    margin-right: 2px;
}

.map-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.map-zoom-hint {
    font-size: 0.74rem;
    color: var(--text-muted);
    margin-left: 2px;
    white-space: nowrap;
}

.map-controls button {
     border: 1px solid var(--border-color);
     background: var(--bg-tertiary);
     border-radius: 6px;
     color: var(--text-secondary);
     font-size: 0.8rem;
     padding: 6px 12px;
     cursor: pointer;
     transition: all var(--transition-fast);
}

.map-controls button:hover {
     background: var(--accent-primary);
     color: #fff;
     border-color: var(--accent-primary);
}

.map-canvas-wrap {
    position: relative;
    width: 100%;
    min-height: 500px;
    background: linear-gradient(180deg, #e0e7ff, #eaf2ff);
    overflow: hidden;
    touch-action: none;
}

.map-stage {
    position: absolute;
    inset: 0;
    transform-origin: 0 0;
    will-change: transform;
}

.map-canvas-wrap.is-panning {
    cursor: grabbing;
}

.map-canvas-wrap canvas,
.map-canvas-wrap svg {
    position: absolute;
    inset: 0;
}

.map-tooltip {
    position: absolute;
    background: rgba(15, 23, 42, 0.94);
    color: #fff;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.45;
    pointer-events: none;
    opacity: 0;
    white-space: nowrap;
    z-index: 30;
    transition: opacity 0.2s ease;
    max-width: 280px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
}

.map-tooltip.visible {
    opacity: 1;
}

.tooltip-title {
    font-weight: 700;
    margin-bottom: 6px;
}

.tooltip-list {
    margin: 0;
    padding-left: 14px;
}

.map-legend {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 20;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 12px;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    max-width: calc(100% - 24px);
}

.map-status {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 20;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 10px;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.14);
    border: 1px solid var(--border-color);
    font-size: 11px;
    white-space: nowrap;
}

.legend-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.provider-btn {
     border: 1px solid var(--border-color);
     border-radius: 999px;
     background: var(--bg-secondary);
     padding: 8px 12px;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.8rem;
    transition: all var(--transition-normal);
}

.provider-btn.active {
     border-color: transparent;
     background: var(--text-primary);
     color: #fff;
}

.provider-btn:hover {
     border-color: rgba(59, 130, 246, 0.4);
}

.highlight-panel {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.panel-head h2 {
    font-size: 1rem;
}

.panel-head button {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-tertiary);
    padding: 5px 10px;
    font-size: 0.8rem;
}

.panel-body {
    min-height: 100px;
    overflow-y: auto;
}

.panel-placeholder {
    color: var(--text-muted);
}

.panel-item {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px;
    background: var(--bg-tertiary);
    margin-top: 8px;
}

.panel-item h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.panel-item p {
    color: var(--text-muted);
    font-size: 0.87rem;
    margin-bottom: 6px;
}

.provider-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 6px;
    margin-bottom: 6px;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    border: 1px solid transparent;
    background: #eef2ff;
    color: #1e293b;
}

.table-section {
     margin-top: 18px;
     background: var(--bg-secondary);
     border: 1px solid var(--border-color);
     border-radius: 16px;
     overflow: hidden;
}

.table-header {
     display: flex;
     align-items: center;
     justify-content: space-between;
     padding: 16px 20px;
     border-bottom: 1px solid var(--border-color);
}

.table-title {
     font-weight: 600;
     font-size: 0.95rem;
     display: flex;
     gap: 8px;
     align-items: center;
}

.table-info {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.data-table-wrapper {
    overflow-x: auto;
}

.data-table {
     width: 100%;
     border-collapse: collapse;
     font-size: 0.89rem;
}

.data-table thead {
     background: var(--bg-tertiary);
     position: sticky;
     top: 0;
}

.data-table th {
     padding: 12px 16px;
     text-align: left;
     font-weight: 600;
     color: var(--text-secondary);
     font-size: 0.8rem;
     text-transform: uppercase;
     letter-spacing: 0.3px;
     border-bottom: 2px solid var(--border-color);
     cursor: pointer;
     user-select: none;
     white-space: nowrap;
     transition: background var(--transition-fast);
}

.data-table th:hover {
     background: rgba(59, 130, 246, 0.08);
     color: var(--accent-primary);
}

.data-table td {
     border-bottom: 1px solid var(--border-color);
     padding: 12px 16px;
     text-align: left;
}

.data-table tbody tr {
     transition: background var(--transition-fast);
}

.data-table tbody tr:hover {
     background: rgba(59, 130, 246, 0.04);
}

.data-table .col-rank {
     width: 60px;
     text-align: center;
     font-weight: 700;
     color: var(--text-muted);
}

.data-table .col-provider {
    width: 140px;
}

.region-name {
    font-weight: 600;
    color: var(--text-primary);
}

.region-location {
    color: var(--text-muted);
    font-size: 0.83rem;
    margin-left: 6px;
}

.provider-cell {
    white-space: nowrap;
}

.provider-cell .provider-tag {
    margin: 0;
}

.region-row {
    cursor: pointer;
}

.region-row:nth-child(even) {
    background: rgba(241, 245, 249, 0.35);
}

.region-row:hover {
    background: rgba(59, 130, 246, 0.08);
}

.region-code {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.related-section {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.related-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
}

.related-card-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.related-link {
    display: block;
    color: var(--accent-primary);
    font-size: 0.9rem;
    margin: 8px 0;
}

footer {
    border-top: 1px solid var(--border-color);
    background: var(--bg-tertiary);
    padding: 60px 0 32px;
    margin-top: 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.company-info {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.company-info p {
    margin-bottom: 4px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 32px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.region-point {
    cursor: pointer;
}

.region-point .dot-box {
    transition: stroke 0.15s ease, stroke-width 0.15s ease;
}

.region-point:hover .dot-box {
    stroke: #0f172a;
    stroke-width: 1.2;
}

.region-point .label-bg {
    fill: rgba(15, 23, 42, 0.8);
    stroke: rgba(255, 255, 255, 0.72);
    stroke-width: 0.7;
    opacity: 0;
    transition: opacity 0.16s ease;
}

.region-point .label {
    font-size: 10px;
    fill: #f8fafc;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.16s ease;
}

.region-point:hover .label,
.region-point:hover .label-bg {
    opacity: 1;
}

.multi-badge-bg {
    fill: rgba(15, 23, 42, 0.84);
    stroke: rgba(255, 255, 255, 0.74);
    stroke-width: 0.7;
}

.multi-badge {
    font-size: 9px;
    fill: #fff;
    font-weight: 700;
}

.sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 998;
    backdrop-filter: blur(2px);
}

.sidebar-backdrop.active {
    display: block;
}

.mobile-sidebar-toggle {
    display: none;
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 1001;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    font-size: 1.2rem;
    color: #fff;
    background: var(--accent-primary);
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.45);
}

@media (max-width: 1200px) {
    .overview-grid {
        grid-template-columns: 1fr;
    }

    .related-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .data-sidebar {
        position: fixed;
        top: var(--header-height);
        left: 0;
        transform: translateX(-100%);
        transition: transform var(--transition-normal);
        z-index: 999;
    }

    .data-sidebar.mobile-open {
        transform: translateX(0);
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.18);
    }

    .data-sidebar.collapsed {
        width: var(--sidebar-width);
        min-width: var(--sidebar-width);
        padding: 24px 0;
    }

    .sidebar-expand,
    .data-sidebar:not(.collapsed) ~ .sidebar-expand {
        display: none;
    }

    .mobile-sidebar-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .context-bar {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
        gap: 12px;
    }

    .context-right {
        width: 100%;
    }

    .filter-group {
        flex-wrap: wrap;
    }

    .content-area {
        padding: 16px;
    }

    .map-canvas-wrap {
        min-height: 320px;
    }

    .map-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .map-header-main {
        width: 100%;
    }

    .map-provider-filter {
        width: 100%;
    }

    .map-provider-filter .filter-label {
        width: 100%;
    }

    .map-controls {
        width: 100%;
        justify-content: flex-end;
    }

    .map-legend {
        left: 8px;
        right: 8px;
        bottom: 8px;
        padding: 8px 9px;
    }

    .map-zoom-hint {
        display: none;
    }

    .legend-item {
        font-size: 10px;
        padding: 3px 7px;
    }

    .map-status {
        font-size: 0.75rem;
        padding: 6px 8px;
    }

    .header-right {
        display: none;
    }

    .nav-links {
        display: none;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
}
