/* Base */
:root{
  --bg0:#f6f7fb;
  --text:#101828;
  --muted:rgba(16,24,40,.72);
  --card:rgba(255,255,255,.82);
  --card2:rgba(255,255,255,.68);
  --stroke:rgba(16,24,40,.10);
  --stroke2:rgba(16,24,40,.14);
  --shadow:0 16px 40px rgba(16,24,40,.08);
  --blue:#155eef;
  --green:#16a34a;
  --danger:#ef4444;
  --dark:#0b1d3a;
  --radius:18px;
}

*{ box-sizing:border-box; font-family:ui-sans-serif, system-ui, -apple-system, Segoe UI, Inter, Arial, sans-serif; }
html,body{ height:100%; }
body{
  margin:0;
  background:
    radial-gradient(1200px 700px at 15% 0%, #e8f1ff 0%, rgba(232,241,255,0) 55%),
    radial-gradient(900px 600px at 85% 10%, #e9fff2 0%, rgba(233,255,242,0) 50%),
    var(--bg0);
  color:var(--text);
  line-height:1.5;
}
a{ color:var(--blue); text-decoration:none; }
a:hover{ text-decoration:underline; }

/* Top bar */
.topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  padding:16px 22px;
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(11,29,58,.82);
  backdrop-filter:blur(10px);
  color:#fff;
  border-bottom:1px solid rgba(255,255,255,.14);
}
.brand{ display:flex; align-items:center; gap:12px; min-width:260px; }
.logo{
  width:42px; height:42px; border-radius:12px; display:grid; place-items:center;
  font-weight:900; letter-spacing:.6px; color:#0b1d3a;
  background:linear-gradient(135deg,#9fe8ff,#d7ffd9);
}
.brand-text h1{ font-size:16px; line-height:1.2; margin:0; }
.brand-text p{ margin:2px 0 0; font-size:12px; opacity:.85; }

.topbar-actions{ display:flex; align-items:center; gap:10px; flex:1; justify-content:center; }
.search{
  position:relative;
  width:min(520px, 100%);
}
.search input{
  width:100%;
  padding:10px 86px 10px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.10);
  color:#fff;
  outline:none;
}
.search input::placeholder{ color:rgba(255,255,255,.72); }
.search-kbd{
  position:absolute;
  right:10px; top:50%; transform:translateY(-50%);
  font-size:12px;
  padding:4px 8px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.08);
  color:rgba(255,255,255,.86);
}

.tabs{ display:flex; flex-wrap:wrap; gap:10px; justify-content:flex-end; }
.tabs button{
  padding:10px 14px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:999px;
  background:rgba(255,255,255,.08);
  color:#fff;
  cursor:pointer;
  transition:transform 120ms ease, background 120ms ease, border-color 120ms ease;
  white-space:nowrap;
}
.tabs button:hover{ transform:translateY(-1px); background:rgba(255,255,255,.12); border-color:rgba(255,255,255,.22); }
.tabs button.active{
  background:linear-gradient(135deg, rgba(79,209,255,.55), rgba(130,255,182,.45));
  border-color:rgba(255,255,255,.28);
  color:#071428;
}

/* Segmented / buttons */
.segmented, .lang{
  display:inline-flex;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.08);
  padding:4px;
  flex:none;
}
.seg{
  border:none;
  padding:8px 12px;
  border-radius:999px;
  background:transparent;
  cursor:pointer;
  color:rgba(255,255,255,.88);
  font-weight:700;
}
.seg.active{ background:#fff; color:#0b1d3a; }

.action{
  padding:10px 18px;
  background:var(--blue);
  color:#fff;
  border:none;
  border-radius:12px;
  cursor:pointer;
  font-weight:800;
  box-shadow:0 10px 20px rgba(21,94,239,.22);
}
.ghost{
  padding:10px 18px;
  background:rgba(255,255,255,.72);
  color:var(--text);
  border:1px solid var(--stroke2);
  border-radius:12px;
  cursor:pointer;
  font-weight:800;
}
.iconbtn{
  border:none;
  background:rgba(16,24,40,.06);
  border:1px solid var(--stroke);
  border-radius:12px;
  padding:8px 10px;
  cursor:pointer;
}
.action:hover,.ghost:hover,.iconbtn:hover{ filter:brightness(1.02); }
.action-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:8px;
  padding:10px 14px;
  border-radius:12px;
  background:rgba(21,94,239,.10);
  border:1px solid rgba(21,94,239,.22);
  font-weight:800;
  color:var(--blue);
}

/* Layout */
main{ padding:24px 22px 60px; max-width:1200px; margin:auto; }
.page{ display:none; }
.page.active{ display:block; }
.page-head{ margin:10px 0 14px; }
.page-head h2{ margin:0 0 8px; letter-spacing:-.02em; }
.muted{ color:var(--muted); margin:0; }
.muted.small{ font-size:12px; }

.panel{
  padding:16px;
  border-radius:var(--radius);
  background:var(--card);
  border:1px solid var(--stroke);
  box-shadow:var(--shadow);
}
.panel + .panel{ margin-top:14px; }
.panel-title{ margin:0; font-size:16px; letter-spacing:-.01em; }
.panel-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:10px;
}

.hero{
  padding:18px;
  border-radius:var(--radius);
  background:linear-gradient(135deg, rgba(255,255,255,.80), rgba(255,255,255,.58));
  border:1px solid var(--stroke);
  box-shadow:0 18px 50px rgba(16,24,40,.10);
}
.hero-2col{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:16px;
}
.hero h2{ font-size:30px; margin:6px 0 10px; letter-spacing:-.02em; }
.hero-actions{ display:flex; gap:10px; flex-wrap:wrap; margin-top:12px; }
.hero-map{ align-self:stretch; }

.kpi-row{ display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:10px; margin-top:14px; }
.kpi{
  padding:12px 14px;
  border-radius:16px;
  background:rgba(11,29,58,.05);
  border:1px solid rgba(16,24,40,.06);
}
.kpi-k{ font-size:12px; color:var(--muted); }
.kpi-v{ font-weight:950; font-size:20px; margin-top:2px; letter-spacing:-.01em; }

.grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(260px, 1fr)); gap:14px; }
.grid-2{ display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:14px; }
.grid-3{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:14px; }

.card.compact{
  padding:14px;
  border-radius:16px;
  background:var(--card2);
  border:1px solid var(--stroke);
}
.card-k{ font-size:12px; color:var(--muted); }
.card-v{ font-weight:900; margin-top:6px; letter-spacing:-.01em; }

.divider{ height:1px; background:rgba(16,24,40,.10); margin:12px 0; }
.pill{
  padding:8px 12px;
  border-radius:999px;
  background:rgba(16,24,40,.06);
  border:1px solid var(--stroke);
  font-weight:850;
  color:rgba(16,24,40,.85);
}

/* Charts */
.chart-wrap{ position:relative; }
.chart-actions{ display:flex; gap:10px; flex-wrap:wrap; margin-top:10px; }
.mini-chart{ margin-top:10px; }

/* Leaflet maps */
.map{ height:460px; border-radius:var(--radius); overflow:hidden; border:1px solid var(--stroke2); }
.map-wrap{ position:relative; margin-top:12px; }
.legend{
  position:absolute; left:12px; bottom:12px;
  padding:10px 12px;
  border-radius:14px;
  background:rgba(255,255,255,.92);
  border:1px solid var(--stroke2);
  box-shadow:0 10px 24px rgba(16,24,40,.12);
  font-size:12px;
  color:rgba(16,24,40,.85);
}
.legend-row{ display:flex; align-items:center; gap:8px; margin:4px 0; white-space:nowrap; }
.dot{ width:10px; height:10px; border-radius:999px; display:inline-block; }
.dot-kz{ background:#101828; }
.line{ width:20px; height:0; border-top:3px solid; border-radius:999px; display:inline-block; }
.line-export{ border-color:var(--blue); }
.line-import{ border-color:var(--green); }

/* KZ schematic map */
.kzmap-wrap{ position:relative; }
.kzmap-bg{ fill:rgba(11,29,58,.045); stroke:rgba(16,24,40,.12); stroke-width:1; }
.kzmap-regions path{
  fill:rgba(21,94,239,.12);
  stroke:rgba(21,94,239,.28);
  stroke-width:1.2;
  cursor:pointer;
  transition:transform 120ms ease, fill 120ms ease, stroke 120ms ease;
  transform-origin:center;
}
.kzmap-regions path:hover{
  fill:rgba(22,163,74,.12);
  stroke:rgba(22,163,74,.34);
}
.kzmap-regions path.active{
  fill:rgba(21,94,239,.22);
  stroke:rgba(21,94,239,.52);
  transform:translateY(-1px);
}
.kzmap-labels text{
  font-size:12px;
  fill:rgba(16,24,40,.62);
  pointer-events:none;
  user-select:none;
}
.tooltip{
  position:absolute;
  pointer-events:none;
  transform:translate(10px, -10px);
  background:rgba(16,24,40,.92);
  color:#fff;
  padding:10px 12px;
  border-radius:14px;
  box-shadow:0 12px 26px rgba(0,0,0,.22);
  border:1px solid rgba(255,255,255,.12);
  font-size:12px;
  min-width:220px;
  display:none;
}
.tooltip.show{ display:block; }

/* Side panels */
.side{
  position:absolute;
  top:12px;
  left:12px;
  width:min(340px, calc(100% - 24px));
  background:rgba(255,255,255,.96);
  border:1px solid var(--stroke2);
  border-radius:16px;
  box-shadow:0 18px 50px rgba(16,24,40,.14);
  overflow:hidden;
  display:none;
}
.side-right{ left:auto; right:12px; }
.side.show{ display:block; }
.side-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
  padding:12px 12px 10px;
  background:linear-gradient(135deg, rgba(232,241,255,.72), rgba(233,255,242,.62));
  border-bottom:1px solid rgba(16,24,40,.08);
}
.side-title{ font-weight:950; letter-spacing:-.01em; }
.side-body{ padding:12px; }
.chips{ display:flex; flex-wrap:wrap; gap:8px; }
.chip{
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(16,24,40,.12);
  background:rgba(16,24,40,.04);
  font-weight:750;
  font-size:12px;
}
.side-kpis{ display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:10px; margin-top:10px; }
.side-kpi{
  padding:10px 10px;
  border-radius:14px;
  border:1px solid rgba(16,24,40,.10);
  background:rgba(255,255,255,.70);
}
.side-kpi .k{ font-size:11px; color:var(--muted); }
.side-kpi .v{ font-weight:950; margin-top:4px; }

/* Trap block */
.danger{ border-color:rgba(239,68,68,.20); background:linear-gradient(135deg, rgba(255,255,255,.82), rgba(255,235,235,.56)); }
.trap-grid{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:12px; }
.trap{
  display:flex; gap:10px; align-items:flex-start;
  padding:12px;
  border-radius:16px;
  border:1px solid rgba(239,68,68,.18);
  background:rgba(255,255,255,.70);
}
.trap-ic{
  width:34px; height:34px; border-radius:12px;
  display:grid; place-items:center;
  background:rgba(239,68,68,.10);
  border:1px solid rgba(239,68,68,.22);
  font-weight:950;
  animation:pulse 1.8s ease-in-out infinite;
}
@keyframes pulse{
  0%,100%{ transform:scale(1); }
  50%{ transform:scale(1.04); }
}
.trap-t{ font-weight:900; letter-spacing:-.01em; }

/* Forms */
.form{ display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:12px; }
.field label{ display:block; font-size:12px; color:var(--muted); margin-bottom:6px; }
select, input[type="search"], input[type="email"]{
  padding:10px 12px;
  width:100%;
  border:1px solid var(--stroke2);
  border-radius:12px;
  background:rgba(255,255,255,.85);
}
.result{
  margin-top:12px;
  padding:12px;
  border-radius:14px;
  border:1px solid var(--stroke);
  background:rgba(16,24,40,.03);
  font-weight:800;
}
.filters{ display:flex; gap:10px; flex-wrap:wrap; margin:10px 0; }
.table-wrap{ overflow:auto; border-radius:14px; border:1px solid var(--stroke); }
.data-table{ width:100%; border-collapse:collapse; min-width:520px; background:rgba(255,255,255,.90); }
.data-table th, .data-table td{ padding:12px; border-bottom:1px solid rgba(16,24,40,.08); text-align:left; }
.data-table th{ font-size:12px; color:rgba(16,24,40,.72); letter-spacing:.02em; text-transform:uppercase; }

/* Progress list */
.progress-list{ display:grid; gap:10px; }
.progress-item{
  padding:12px;
  border-radius:16px;
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.70);
}
.progress-top{ display:flex; justify-content:space-between; gap:10px; }
.progress-name{ font-weight:900; }
.progress-val{ font-weight:950; color:rgba(16,24,40,.85); }
.progress-bar{
  height:10px;
  border-radius:999px;
  background:rgba(16,24,40,.08);
  overflow:hidden;
  margin-top:8px;
}
.progress-fill{ height:100%; border-radius:999px; background:linear-gradient(90deg, var(--blue), var(--green)); width:0%; transition:width 500ms ease; }

/* Power card */
.power-card{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.power-title{ font-weight:950; font-size:18px; letter-spacing:-.01em; }
.power-pm{ display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:10px; }
.pm-k{ font-size:12px; color:var(--muted); font-weight:850; text-transform:uppercase; letter-spacing:.04em; }
.pm-list{ margin:8px 0 0; padding-left:18px; }
.pm-list li{ margin:6px 0; }

/* Regulation flow */
.flow{ display:grid; gap:10px; margin-top:6px; }
.flow-node{
  padding:12px;
  border-radius:16px;
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.70);
  cursor:pointer;
  transition:transform 120ms ease, border-color 120ms ease;
}
.flow-node:hover{ transform:translateY(-1px); border-color:rgba(21,94,239,.26); }
.flow-k{ font-weight:950; letter-spacing:-.01em; }
.flow-v{ color:var(--muted); font-size:12px; margin-top:4px; }
.flow-arrow{ text-align:center; color:rgba(16,24,40,.44); font-weight:950; }
.popover{
  margin-top:10px;
  padding:12px;
  border-radius:16px;
  border:1px dashed rgba(21,94,239,.34);
  background:rgba(21,94,239,.06);
  font-size:12px;
  color:rgba(16,24,40,.84);
}

/* Blog */
.blog-card{
  background:var(--card);
  padding:14px 14px 12px;
  border-radius:16px;
  border:1px solid var(--stroke);
  box-shadow:0 12px 28px rgba(16,24,40,.06);
}
.blog-card h4{ margin:0 0 6px; font-size:14px; line-height:1.35; }
.blog-meta{ font-size:12px; color:rgba(16,24,40,.56); }

/* Sources */
.sources{ display:grid; gap:10px; }
.source{
  display:flex; justify-content:space-between; align-items:flex-start; gap:12px;
  padding:12px;
  border-radius:16px;
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.70);
}
.source b{ display:block; }
.source small{ color:var(--muted); }

/* Newsletter */
.newsletter{ display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.newsletter input{ flex:1; min-width:220px; }

/* Search highlight */
mark{
  background:rgba(255, 205, 86, .38);
  border:1px solid rgba(255, 205, 86, .42);
  border-radius:6px;
  padding:0 2px;
}
.hidden-by-search{ display:none !important; }

/* Responsive */
@media (max-width: 980px){
  .topbar{ flex-wrap:wrap; }
  .topbar-actions{ order:3; width:100%; justify-content:stretch; }
  .tabs{ width:100%; justify-content:flex-start; }
  .hero-2col{ grid-template-columns:1fr; }
  .kpi-row{ grid-template-columns:1fr; }
  .grid-2{ grid-template-columns:1fr; }
  .grid-3{ grid-template-columns:1fr; }
  .trap-grid{ grid-template-columns:1fr; }
  .power-card{ grid-template-columns:1fr; }
  .map{ height:420px; }
}

* {
    box-sizing: border-box;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Inter, Arial, sans-serif;
}

body {
    margin: 0;
    background: radial-gradient(1200px 700px at 15% 0%, #e8f1ff 0%, rgba(232, 241, 255, 0) 55%),
        radial-gradient(900px 600px at 85% 10%, #e9fff2 0%, rgba(233, 255, 242, 0) 50%),
        #f6f7fb;
    color: #101828;
    line-height: 1.5;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 18px 28px;
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(11, 29, 58, 0.82);
    backdrop-filter: blur(10px);
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 260px;
}

.logo {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #0b1d3a;
    background: linear-gradient(135deg, #9fe8ff, #d7ffd9);
}

.brand-text h1 {
    font-size: 16px;
    line-height: 1.2;
    margin: 0;
}

.brand-text p {
    margin: 2px 0 0;
    font-size: 12px;
    opacity: 0.85;
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.tabs button {
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
    transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
    white-space: nowrap;
}

.tabs button:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.22);
}

.tabs button.active {
    background: linear-gradient(135deg, rgba(79, 209, 255, 0.55), rgba(130, 255, 182, 0.45));
    border-color: rgba(255, 255, 255, 0.28);
    color: #071428;
}

main {
    padding: 26px 28px 60px;
    max-width: 1160px;
    margin: auto;
}

.page {
    display: none;
}

.page.active {
    display: block;
}

h2 {
    margin: 10px 0 14px;
    letter-spacing: -0.02em;
}

.section-title {
    margin: 22px 0 14px;
    font-size: 18px;
}

.muted {
    color: rgba(16, 24, 40, 0.7);
    margin: 0;
}

.muted.small {
    font-size: 12px;
}

.hero {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 18px;
    padding: 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.55));
    border: 1px solid rgba(16, 24, 40, 0.08);
    box-shadow: 0 18px 50px rgba(16, 24, 40, 0.08);
}

.hero h2 {
    font-size: 28px;
    margin: 6px 0 10px;
}

.hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.hero-metrics {
    display: grid;
    gap: 10px;
    align-content: start;
}

.metric {
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(11, 29, 58, 0.06);
    border: 1px solid rgba(16, 24, 40, 0.06);
}

.metric-k {
    font-size: 12px;
    color: rgba(16, 24, 40, 0.7);
}

.metric-v {
    font-weight: 800;
    font-size: 18px;
    margin-top: 2px;
    letter-spacing: -0.01em;
}

.panel {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(16, 24, 40, 0.08);
    box-shadow: 0 16px 40px rgba(16, 24, 40, 0.06);
}

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

.segmented {
    display: inline-flex;
    border-radius: 999px;
    border: 1px solid rgba(16, 24, 40, 0.12);
    background: rgba(16, 24, 40, 0.04);
    padding: 4px;
    flex: none;
}

.seg {
    border: none;
    padding: 8px 12px;
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
    color: rgba(16, 24, 40, 0.8);
    font-weight: 650;
}

.seg.active {
    background: #101828;
    color: #fff;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
}

.news-card {
    background: rgba(255, 255, 255, 0.82);
    padding: 14px 14px 12px;
    border-radius: 16px;
    border: 1px solid rgba(16, 24, 40, 0.08);
    box-shadow: 0 12px 28px rgba(16, 24, 40, 0.06);
}

.news-card h4 {
    margin: 0 0 6px;
    font-size: 14px;
    line-height: 1.35;
}

.news-card a {
    color: #155eef;
    text-decoration: none;
    font-weight: 650;
}

.news-card a:hover {
    text-decoration: underline;
}

table {
    width: 100%;
    background: rgba(255, 255, 255, 0.82);
    border-radius: 16px;
    overflow: hidden;
    margin: 10px 0 16px;
    border: 1px solid rgba(16, 24, 40, 0.08);
}

th, td {
    padding: 12px;
    border-bottom: 1px solid #eee;
}

input {
    padding: 8px;
    width: 100%;
    border: 1px solid rgba(16, 24, 40, 0.12);
    border-radius: 10px;
}

.action {
    padding: 10px 20px;
    background: #155eef;
    color: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(21, 94, 239, 0.22);
}

.ghost {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.65);
    color: #101828;
    border: 1px solid rgba(16, 24, 40, 0.14);
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
}

.action:hover,
.ghost:hover {
    filter: brightness(1.02);
}

.card {
    background: rgba(255, 255, 255, 0.82);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 18px;
    border: 1px solid rgba(16, 24, 40, 0.08);
    box-shadow: 0 12px 28px rgba(16, 24, 40, 0.06);
}

.map {
    height: 460px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(16, 24, 40, 0.12);
}

.map-wrap {
    position: relative;
    margin-top: 12px;
}

.legend {
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(16, 24, 40, 0.12);
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.12);
    font-size: 12px;
    color: rgba(16, 24, 40, 0.85);
}

.legend-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0;
    white-space: nowrap;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    display: inline-block;
}

.dot-kz {
    background: #101828;
}

.line {
    width: 20px;
    height: 0;
    border-top: 3px solid;
    border-radius: 999px;
    display: inline-block;
}

.line-export {
    border-color: #155eef;
}

.line-import {
    border-color: #16a34a;
}

.scifi {
    margin-top: 20px;
    padding: 25px;
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    color: white;
    border-radius: 16px;
    font-size: 18px;
}

.econ-news-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 12px;
}

.econ-news-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(16, 24, 40, 0.10);
    background: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    color: #101828;
}

.econ-news-item:hover {
    border-color: rgba(21, 94, 239, 0.35);
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.08);
}

.econ-news-title {
    font-weight: 800;
    line-height: 1.25;
}

.econ-news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: rgba(16, 24, 40, 0.70);
}

@media (max-width: 820px) {
    .topbar {
        padding: 14px 16px;
        align-items: flex-start;
        flex-direction: column;
    }

    .brand {
        min-width: 0;
    }

    main {
        padding: 18px 16px 50px;
    }

    .hero {
        grid-template-columns: 1fr;
    }

    .map {
        height: 420px;
    }
}