/* Jizzax viloyati Iqtisodiyot va moliya bosh boshqarmasi
   Ranglar logotipdagi Humodan: ko‘k #0082FB, yashil #00CA09, qizil #F5121D. */

@font-face {
  font-family: "Onest";
  src: url("../fonts/onest-latin-wght-normal.3db826ed1c5d.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Onest";
  src: url("../fonts/onest-latin-ext-wght-normal.3e2cb9888206.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Onest";
  src: url("../fonts/onest-cyrillic-wght-normal.fe2bd26ae82a.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  src: url("../fonts/onest-cyrillic-ext-wght-normal.11a468877c94.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0460-048F, U+0492-04AF, U+04B2-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF,
    U+A640-A69F, U+FE2E-FE2F;
}

:root {
  --ink: #0b2340;
  --ink-2: #405268;
  --ink-3: #5a6b80;
  --line: #d5e0eb;
  --line-strong: #8296ac;
  --bg: #fff;
  --tint: #f0f6fc;
  --tint-2: #e1eefb;
  --blue: #0a5fb8;
  --blue-dark: #084a91;
  --brand: #0082fb;
  --green: #00ca09;
  --green-ink: #0b7034;
  --red: #f5121d;
  --navy: #0b2a4f;
  --navy-2: #bfd3ea;
  --mark: #0b6fd6;
  --mark-soft: #a5cdf6;
  --on-blue: #fff;
  --radius: 10px;
  --shadow: 0 12px 32px rgb(11 42 79 / 0.14);
  --gutter: clamp(1rem, 2.5vw, 3rem);
  /* 1920 px gacha odatdagi o‘lcham. Undan katta ekranda matn ham mos kattalashadi;
     balandlik cheklovi juda keng (videodevor) ekranda haddan oshishining oldini oladi. */
  --text: max(100%, min(25% + 0.625vw, 25% + 1.25vh));
}

html { font-size: var(--text); }
html[data-font="1"] { font-size: calc(var(--text) * 1.125); }
html[data-font="2"] { font-size: calc(var(--text) * 1.25); }

html[data-contrast] {
  --ink: #000;
  --ink-2: #000;
  --ink-3: #000;
  --line: #000;
  --line-strong: #000;
  --tint: #fff;
  --tint-2: #fff;
  --blue: #0000c8;
  --blue-dark: #000080;
  --green-ink: #004d1a;
  --navy: #000;
  --navy-2: #fff;
  --mark: #0000c8;
  --mark-soft: #8a8aff;
}
html[data-contrast] main a:not(.btn) { text-decoration: underline; }
html[data-contrast] .hero__wing { display: none; }

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 "Onest", "Segoe UI", Roboto, Arial, sans-serif;
  overflow-wrap: break-word;
}
h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; text-wrap: balance; letter-spacing: -0.01em; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-dark); }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
small { font-size: 0.5em; font-weight: 500; letter-spacing: 0; }
main:focus { outline: none; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

.icon {
  flex: none;
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.wrap { width: 100%; padding-inline: var(--gutter); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 1rem;
  top: -6rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--bg);
  border-radius: 0 0 8px 8px;
}
.skip:focus { top: 0; }
.note { color: var(--ink-3); font-size: 0.9375rem; }
.nowrap { white-space: nowrap; }

/* --- Tugma va havolalar --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.6rem 1.25rem;
  border: 2px solid var(--blue);
  border-radius: 8px;
  background: var(--blue);
  color: var(--on-blue);
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--on-blue); }
.btn--ghost { background: var(--bg); color: var(--blue); }
.btn--ghost:hover { background: var(--tint-2); color: var(--blue-dark); }
.btn--small { min-height: 2.75rem; padding: 0.4rem 1rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.more, .iconlink {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  font-weight: 600;
  text-decoration: none;
}
.more:hover, .iconlink:hover { text-decoration: underline; }
.more .icon { transition: transform 0.15s; }
.more:hover .icon { transform: translateX(3px); }
.iconlink { font-size: 0.9375rem; white-space: nowrap; }

/* --- Yuqori qism --- */
.flagline {
  height: 6px;
  background: linear-gradient(
    var(--brand) 0 2px, var(--red) 2px 2.5px, #fff 2.5px 3.5px, var(--red) 3.5px 4px, var(--green) 4px 6px
  );
}
.ticker { position: relative; display: flex; background: #061b36; color: #fff; font-size: 0.875rem; line-height: 1.3; }
.ticker[hidden] { display: none; }
html[data-contrast] .ticker { background: #000; border-bottom: 1px solid #fff; }
.ticker__view { flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.ticker__track { display: flex; width: max-content; }
.ticker__track.is-moving { animation: ticker linear infinite; will-change: transform; }
.ticker__view:has(.is-moving) { overflow: hidden; }
.ticker__view:hover .ticker__track, .ticker__view:focus-within .ticker__track, .is-paused .ticker__track { animation-play-state: paused; }
.ticker__list { display: flex; flex: none; }
.ticker__item, .ticker__source { display: grid; flex: none; align-content: center; gap: 0.15rem; min-height: 3.75rem; padding: 0.45rem 1.1rem; border-right: 1px solid rgb(255 255 255 / 0.16); white-space: nowrap; }
.ticker__source { padding: 0; background: var(--navy); }
.ticker__source a { display: grid; align-content: center; gap: 0.15rem; height: 100%; padding-inline: 1.1rem; color: #fff; text-decoration: none; }
.ticker__source a:hover { text-decoration: underline; }
.ticker__source span { color: var(--navy-2); font-size: 0.8125rem; }
.ticker__name { max-width: 17rem; overflow: hidden; color: var(--navy-2); text-overflow: ellipsis; }
.ticker__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-variant-numeric: tabular-nums; }
.ticker__row strong { font-size: 1rem; }
.ticker__change { display: inline-flex; align-items: center; gap: 0.2rem; color: #ffd24a; font-weight: 600; }
.ticker__change .icon { width: 1.05em; height: 1.05em; stroke-width: 2.6; }
.is-up .ticker__change { color: #4be38a; }
.is-down .ticker__change { color: #ff8f8f; }
.ticker__pause { display: grid; flex: none; place-items: center; width: 2.75rem; border: 0; border-left: 1px solid rgb(255 255 255 / 0.16); background: var(--navy); color: #fff; }
.ticker__pause[hidden], html:not(.js) .ticker__pause { display: none; }
.ticker__pause:hover { background: var(--blue-dark); }
.ticker__pause[aria-pressed="false"] .icon:last-child, .ticker__pause[aria-pressed="true"] .icon:first-child { display: none; }
.ticker :focus-visible { outline-color: #fff; outline-offset: -3px; }
@keyframes ticker { to { transform: translateX(var(--shift)); } }
.topbar { background: var(--navy); color: #fff; font-size: 0.875rem; }
.topbar__row { display: flex; flex-wrap: wrap; align-items: center; gap: 0 1.75rem; min-height: 2.75rem; }
.topbar__item { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.75rem; color: #fff; text-decoration: none; }
a.topbar__item:hover { color: #fff; text-decoration: underline; }
.topbar__tools { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
.a11y, .scripts { display: flex; align-items: center; }
.topbar button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  min-height: 2.75rem;
  padding: 0 0.6rem;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--navy-2);
}
.topbar button:hover:not(:disabled) { color: #fff; }
.topbar button:disabled { opacity: 0.45; cursor: default; }
.topbar button[aria-current], .topbar button[aria-pressed="true"] { color: #fff; box-shadow: inset 0 -3px var(--brand); font-weight: 600; }
.topbar :focus-visible { outline-color: #fff; outline-offset: -3px; }

.brandbar__row { display: flex; align-items: center; gap: 1.5rem; padding-block: 0.9rem; }
.brand { display: flex; align-items: center; gap: 1rem; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand img { flex: none; width: 3.375rem; height: auto; }
.brand__text { display: grid; font-size: 1.1875rem; line-height: 1.25; }
.brand__text strong { color: var(--blue); font-weight: 700; }
.searchbox {
  position: relative;
  display: flex;
  flex: 0 1 27rem;
  min-width: 0;
  margin-left: auto;
  align-items: center;
}
.searchbox > .icon { position: absolute; left: 0.9rem; color: var(--ink-3); pointer-events: none; }
.searchbox input {
  flex: 1;
  min-width: 0;
  min-height: 2.75rem;
  padding: 0 0.75rem 0 2.75rem;
  border: 1px solid var(--line-strong);
  border-right: 0;
  border-radius: 8px 0 0 8px;
  background: var(--bg);
}
.searchbox .btn { border-radius: 0 8px 8px 0; }
.searchbox input::placeholder, .field input::placeholder { color: var(--ink-3); opacity: 1; }
.burger { display: none; }

.nav { position: sticky; top: 0; z-index: 30; background: var(--bg); border-block: 1px solid var(--line); }
/* Matn kattalashtirilganda sig‘magan bo‘lim ikkinchi qatorga o‘tadi */
.nav__list { display: flex; flex-wrap: wrap; align-items: stretch; gap: 0 0.25rem; }
.nav__list > li { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  height: 100%;
  min-height: 3.25rem;
  padding: 0 0.8rem;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.nav__link:hover { color: var(--blue); }
.nav__link[aria-current], .nav__link.is-active { color: var(--blue); box-shadow: inset 0 -3px var(--brand); }
.nav__list > li:first-child .nav__link { padding-left: 0; margin-right: 0.35rem; box-shadow: none; }
.nav__home { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.nav__chevron { width: 1em; height: 1em; transition: transform 0.15s; }
[aria-expanded="true"] > .nav__chevron { transform: rotate(180deg); }
.sub {
  position: absolute;
  z-index: 1;
  top: 100%;
  left: 0;
  width: max-content;
  max-width: 23rem;
  max-height: calc(100vh - 6rem);
  overflow-y: auto;
  padding: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--bg);
  box-shadow: var(--shadow);
}
.sub--end { right: 0; left: auto; }
.sub { display: none; }
[aria-expanded="true"] + .sub { display: block; }
.sub a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  color: var(--ink);
  line-height: 1.3;
  text-decoration: none;
}
.sub a .icon { color: var(--blue); }
.sub a:hover, .sub a[aria-current] { background: var(--tint-2); color: var(--blue-dark); }

/* --- Bosh sahifa --- */
.hero { position: relative; overflow: hidden; background: var(--tint); }
.hero__wing {
  position: absolute;
  top: -22%;
  left: max(var(--gutter) + 41rem, 100% - 58rem - var(--gutter));
  width: auto;
  height: 175%;
  pointer-events: none;
}
/* Pastki qizil va yashil chiziq banner ostida qoladi, faqat mayda uchi ko‘rinib turmasin */
.hero__wing path:nth-child(2), .hero__wing path:nth-child(5) { display: none; }
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, clamp(29rem, 32vw, 34rem));
  align-items: center;
  gap: 3rem;
  padding-block: 4.5rem;
}
.hero__text { max-width: 46rem; }
.hero h1 { font-size: clamp(2rem, 1.35rem + 2.4vw, 4rem); line-height: 1.1; letter-spacing: -0.02em; }
.hero h1 span { display: block; color: var(--blue); }
.hero__lead { max-width: 36rem; margin-top: 1.25rem; color: var(--ink-2); font-size: 1.1875rem; }
.panel {
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border-radius: 14px;
  background: var(--bg);
  box-shadow: var(--shadow);
}
html[data-contrast] .panel { border: 2px solid #000; box-shadow: none; }
.panel__title { font-size: 1.25rem; }
.panel__period { color: var(--ink-3); }
.panel__value { margin-top: 0.75rem; font-size: clamp(2.5rem, 1.8rem + 2.4vw, 3.25rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.panel__value small { font-size: 1.0625rem; color: var(--ink-2); }
.delta { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; color: var(--ink-2); font-size: 0.9375rem; }
.delta .icon, .delta b { color: var(--green-ink); }
.panel .more { margin-top: 0.75rem; margin-bottom: -0.5rem; }

.block { padding-block: 4.5rem 0; }
main > .block:last-child { padding-bottom: 5rem; }
.block__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.25rem 1.5rem; margin-bottom: 1.75rem; }
.block__head h2 { font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.125rem); }

.figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 1.35fr); gap: 0 3rem; }
.figures > article { padding-top: 1.25rem; border-top: 2px solid var(--ink); }
.figures h3 { font-size: 1.1875rem; }
.meter__value { margin-block: 1.1rem 0.6rem; font-size: 2.5rem; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.meter__value small { font-size: 1.0625rem; color: var(--ink-2); }
.track { height: 0.625rem; border-radius: 5px; background: var(--mark-soft); overflow: hidden; }
.track span { display: block; height: 100%; background: var(--mark); }
html[data-contrast] .track { background: #fff; border: 1px solid #000; }
.pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.25rem, 1fr)); gap: 0.75rem 1.5rem; margin-block: 1.25rem 0.5rem; }
.pair dt { color: var(--ink-3); font-size: 0.9375rem; }
.pair dd { font-size: 1.1875rem; font-weight: 600; white-space: nowrap; }
.pair small { font-size: 0.875rem; color: var(--ink-2); }
.sectors { margin-top: 0.6rem; }
.sectors li { border-bottom: 1px solid var(--line); }
.sectors a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 5.5rem;
  align-items: baseline;
  gap: 1rem;
  padding-block: 0.8rem;
  color: var(--ink);
  text-decoration: none;
}
.sectors a:hover .sectors__name { color: var(--blue); text-decoration: underline; }
.sectors__value { font-weight: 600; font-variant-numeric: tabular-nums; }
.sectors__growth { color: var(--green-ink); font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }

.people { display: grid; gap: 2rem 1.5rem; }
.people--honored { grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); }
.person img, .person .noimg, .leader img, .leader .noimg {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 12%;
  border-radius: var(--radius);
  background: var(--tint-2);
}
.noimg { display: grid; place-items: center; color: var(--line-strong); }
.noimg .icon { width: 3rem; height: 3rem; }
.person h3 { margin-top: 0.9rem; font-size: 1.0625rem; line-height: 1.3; }
.person p { margin-top: 0.3rem; color: var(--ink-2); font-size: 0.9375rem; line-height: 1.45; }
.person__period { font-weight: 600; font-variant-numeric: tabular-nums; }
.people--honored .person p.person__period { margin-top: 0.8rem; color: var(--blue); }
.people--honored .person h3 { margin-top: 0.15rem; }
.person--link { position: relative; }
.person--link h3 a { color: var(--ink); text-decoration: none; }
.person--link h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.person--link:hover h3 a { color: var(--blue); text-decoration: underline; }
.person--link h3 a:focus-visible { outline: 0; }
.person--link h3 a:focus-visible::after { outline: 3px solid var(--brand); outline-offset: 3px; }
.person__more { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.5rem; color: var(--blue); font-size: 0.9375rem; font-weight: 600; }
.note + .people { margin-top: 1.25rem; }
.leader__period { font-size: 1.375rem; font-weight: 700; font-variant-numeric: tabular-nums; }

.links { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(21rem, 100%), 1fr)); gap: 0 2.5rem; }
.links li { border-top: 1px solid var(--line); }
.links a { display: flex; gap: 1rem; height: 100%; padding-block: 1.25rem; color: var(--ink); text-decoration: none; }
.links__icon { width: 1.75rem; height: 1.75rem; color: var(--blue); stroke-width: 1.6; }
.links__body { display: grid; gap: 0.1rem; align-content: start; }
.links__text { color: var(--ink-2); font-size: 0.9375rem; line-height: 1.45; }
.links__url { color: var(--blue); font-size: 0.9375rem; }
.links__go { margin-left: auto; color: var(--ink-3); }
.links a:hover strong { color: var(--blue); text-decoration: underline; }

.newsgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(17rem, 100%), 1fr)); gap: 2rem 1.5rem; }
.newsgrid--home { grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr)); }
.newsgrid--home img, .newsgrid--home .newscard__blank, .newsgrid > :only-child img { max-height: 24rem; }
.newscard a { display: block; color: var(--ink); text-decoration: none; }
.newscard img, .newscard__blank { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); background: var(--tint-2); }
.newscard__blank { display: grid; place-items: center; color: var(--blue); }
.newscard__blank .icon { width: 2.25rem; height: 2.25rem; }
.newscard time { display: block; margin-top: 0.9rem; color: var(--ink-3); font-size: 0.9375rem; }
.newscard h3 { margin-top: 0.25rem; font-size: 1.1875rem; line-height: 1.3; }
.newscard p { margin-top: 0.4rem; color: var(--ink-2); font-size: 0.9375rem; }
.newscard a:hover h3 { color: var(--blue); text-decoration: underline; }

/* --- Ichki sahifalar --- */
.pagehead { background: var(--tint); border-bottom: 1px solid var(--line); }
.pagehead .wrap { padding-block: 1.5rem 2.25rem; }
.pagehead h1 { max-width: 24em; font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem); letter-spacing: -0.015em; }
.pagehead__lead { max-width: 44rem; margin-top: 0.75rem; color: var(--ink-2); font-size: 1.125rem; line-height: 1.5; }
.crumbs ol { display: flex; flex-wrap: wrap; margin-bottom: 0.75rem; color: var(--ink-3); font-size: 0.9375rem; }
.crumbs li + li::before { content: "/"; margin-inline: 0.6rem; color: var(--line-strong); }
.with-side { display: grid; grid-template-columns: 17rem minmax(0, 1fr); gap: 3.5rem; padding-block: 2.5rem 5rem; }
.without-side { padding-block: 2.5rem 5rem; }
.side ul { position: sticky; top: 5rem; }
.side a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 2.75rem;
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  color: var(--ink);
  line-height: 1.3;
  text-decoration: none;
}
.side .icon { color: var(--blue); }
.side a:hover { background: var(--tint); color: var(--blue-dark); }
.side a[aria-current] { background: var(--tint-2); color: var(--blue-dark); font-weight: 600; }
html[data-contrast] .side a[aria-current] { box-shadow: inset 0 0 0 2px #000; }
.content { min-width: 0; }
.subblock { margin-top: 3rem; }
.subblock:first-child { margin-top: 0; }
.subblock > h2 { margin-bottom: 0.4rem; font-size: 1.5rem; }
.subblock > h2 + :not(.note) { margin-top: 1.25rem; }

.prose { font-size: clamp(1.0625rem, 0.9rem + 0.25vw, 1.1875rem); }
.prose > * + * { margin-top: 1rem; }
.prose h2 { margin-top: 2rem; font-size: 1.5rem; }
.prose h3 { margin-top: 1.75rem; font-size: 1.25rem; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li::marker { color: var(--brand); }
.prose li + li { margin-top: 0.5rem; }
.prose blockquote { margin-inline: 0; padding: 1rem 1.25rem; border-radius: 8px; background: var(--tint); }
.prose table { width: 100%; border-collapse: collapse; }
.prose td, .prose th { padding: 0.5rem 0.75rem; border: 1px solid var(--line); text-align: left; }

.contacts { display: grid; gap: 0.35rem; }
.contacts li { display: flex; align-items: flex-start; gap: 0.7rem; min-width: 0; padding-block: 0.15rem; }
.contacts .icon { margin-top: 0.2em; color: var(--blue); }
.contacts a, .contacts span { min-width: 0; overflow-wrap: anywhere; }

.leaders { display: grid; gap: 2rem; }
.leader { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.leader:last-child { border-bottom: 0; }
.leader h2 { font-size: 1.375rem; }
.leader__role { margin-block: 0.4rem 1rem; color: var(--ink-2); }

.tablewrap { overflow-x: auto; margin-top: 1.25rem; }
.table { width: 100%; border-collapse: collapse; font-size: 0.9688rem; line-height: 1.4; }
.table th, .table td { padding: 0.7rem 0.75rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-variant-numeric: tabular-nums; }
.table tr > :first-child { padding-left: 0; }
.table tr > :last-child { padding-right: 0; }
.table thead th { border-bottom: 2px solid var(--ink); color: var(--ink-2); font-size: 0.9063rem; font-weight: 600; vertical-align: bottom; }
.table tbody th { font-weight: 500; }
.table tfoot th, .table tfoot td { border-bottom: 0; border-top: 2px solid var(--ink); font-weight: 700; }
.table .r { text-align: right; white-space: nowrap; }
.table tbody tr:hover { background: var(--tint); }
.mini { display: block; width: 5rem; height: 0.375rem; margin: 0.35rem 0 0 auto; border-radius: 3px; background: var(--mark-soft); overflow: hidden; }
.mini span { display: block; height: 100%; background: var(--mark); }
html[data-contrast] .mini { background: #fff; outline: 1px solid #000; }
.table tr.is-active { background: var(--tint-2); }
.tablewrap--programs { container-type: inline-size; }
/* Joy tor bo‘lsa (telefon yoki yon menyu bilan planshet): har bir qator alohida blok */
@container (max-width: 45rem) {
  .table--programs, .table--programs tbody, .table--programs tfoot, .table--programs th, .table--programs td { display: block; }
  .table--programs thead { display: none; }
  .table--programs tr { display: grid; grid-template-columns: repeat(auto-fit, minmax(7.25rem, 1fr)); gap: 0.6rem 1rem; padding-block: 1rem; border-bottom: 1px solid var(--line); }
  .table--programs th, .table--programs td { padding: 0 !important; border: 0 !important; }
  .table--programs th { grid-column: 1 / -1; font-size: 1.0313rem; }
  .table--programs .r { text-align: left; }
  .table--programs td::before { content: attr(data-label); display: block; color: var(--ink-3); font-size: 0.875rem; font-weight: 400; }
  .table--programs .mini { margin-left: 0; }
  .table--programs tfoot tr { border-top: 2px solid var(--ink); border-bottom: 0; }
  .table--programs tr.is-active { padding-inline: 0.75rem; border-radius: 8px; }
}
.table--stack th strong, .table--stack th span { display: block; }
.table--stack th span { margin-top: 0.2rem; color: var(--ink-2); font-weight: 400; }
.level-0 { font-weight: 700; }
.level-0 th, .level-1 th { font-weight: 700 !important; }
.level-1 { background: var(--tint); font-weight: 600; }
.level-1 > td:first-child { padding-left: 0.6rem !important; }
.level-2 > td:first-child { padding-left: 0.6rem !important; }
.level-3 th { padding-left: 2rem !important; color: var(--ink-2); font-weight: 400 !important; }

/* --- Diagrammalar --- */
.barcell { width: 38%; min-width: 7rem; vertical-align: middle !important; }
.hbar { display: block; height: 0.875rem; min-width: 2px; border-radius: 0 4px 4px 0; background: var(--mark); transition: background-color 0.15s; }
.barcell:hover .hbar { background: var(--brand); }
.table--bars th[scope="row"], .table--bars td { vertical-align: middle; }
.cols { display: flex; margin-top: 1.5rem; }
.cols__item { flex: 1; min-width: 0; border-radius: 6px; text-align: center; }
.cols__plot { display: flex; align-items: flex-end; justify-content: center; height: 14rem; padding-top: 1.75rem; border-bottom: 1px solid var(--line-strong); }
.cols--panel .cols__plot { height: 6.5rem; padding-top: 0; }
.cols__bar { position: relative; width: 1.5rem; min-height: 2px; border-radius: 4px 4px 0 0; background: var(--mark); transition: background-color 0.15s; }
.cols__bar.is-forecast, .legend .is-forecast { background: var(--mark-soft); }
.cols__item:hover .cols__bar:not(.is-forecast) { background: var(--brand); }
.cols__value { position: absolute; bottom: calc(100% + 0.25rem); left: 50%; transform: translateX(-50%); font-size: 0.9375rem; font-weight: 600; white-space: nowrap; }
.cols__label { padding: 0.5rem 0.15rem; color: var(--ink-2); font-size: 0.875rem; line-height: 1.3; }
.is-active .cols__label { color: var(--ink); font-weight: 700; }
.legend { display: flex; gap: 1.5rem; margin-top: 0.5rem; color: var(--ink-2); font-size: 0.9375rem; }
.legend span { display: inline-flex; align-items: center; gap: 0.5rem; }
.legend i { width: 0.75rem; height: 0.75rem; border-radius: 3px; background: var(--mark); }
.tip {
  position: fixed;
  z-index: 50;
  display: grid;
  max-width: 17rem;
  padding: 0.6rem 0.85rem;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-size: 0.875rem;
  line-height: 1.4;
  pointer-events: none;
}
.tip[hidden] { display: none; }
.tip strong { font-size: 1.0625rem; }
.tip__name { color: var(--navy-2); }

.kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-bottom: 0.75rem; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.kpis li + li { border-left: 1px solid var(--line); }
.kpis a { display: flex; flex-direction: column; height: 100%; padding: 1rem; color: var(--ink); text-decoration: none; }
.kpis a:hover { background: var(--tint); }
.kpis a:focus-visible { outline-offset: -3px; }
.kpis a[aria-current] { background: var(--tint-2); box-shadow: inset 0 -3px var(--brand); }
.kpis__label { margin-bottom: auto; padding-bottom: 0.75rem; color: var(--ink-2); font-size: 0.9063rem; line-height: 1.3; }
.kpis__value { font-size: 1.25rem; font-weight: 700; white-space: nowrap; letter-spacing: -0.01em; }
.kpis__growth { color: var(--green-ink); font-size: 0.9375rem; font-weight: 600; }
.kpis__none { color: var(--ink-3); font-size: 0.9375rem; }
.summary { display: grid; gap: 1.5rem; padding: 1.75rem; border-radius: var(--radius); background: var(--tint); }
html[data-contrast] .summary { border: 1px solid #000; }
.summary h2 { font-size: 1.25rem; }
.summary .pair { grid-template-columns: repeat(auto-fit, minmax(min(12rem, 100%), 1fr)); margin-block: 0; }

.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr)); gap: 1.5rem; }
.choices a { display: flex; flex-direction: column; height: 100%; padding: 1.75rem; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: background-color 0.15s, border-color 0.15s; }
.choices a:hover { border-color: var(--blue); background: var(--tint); }
.choices a > .icon { width: 2.25rem; height: 2.25rem; margin-bottom: 1rem; color: var(--blue); stroke-width: 1.5; }
.choices h2 { margin-bottom: 0.3rem; font-size: 1.375rem; line-height: 1.25; }
.choices .more { margin-top: auto; padding-top: 0.75rem; color: var(--blue); }
.choices a:hover .more { text-decoration: underline; }
.choices a:hover .more .icon { transform: translateX(3px); }
.choices--programs { grid-template-columns: repeat(auto-fill, minmax(min(17rem, 100%), 1fr)); gap: 1.25rem; margin-top: 1.25rem; }
.choices--programs a { padding: 1.25rem; }
.choices h3 { font-size: 1.0938rem; line-height: 1.3; }
.choices--programs .note { margin-top: 0.75rem; }
.choices--programs .meter__value { margin-top: auto; padding-top: 0.9rem; font-size: 1.75rem; }
.choices--programs .meter__value small { font-size: 0.9375rem; }
.choices--programs .pair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem 1rem; margin-block: 1rem 0; }
.choices--programs .pair dt { font-size: 0.875rem; }
.choices--programs .pair dd { font-size: 1rem; }
.choices--programs .more { margin-top: 0; }
.choices--programs .note + .more { margin-top: auto; }
.tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.tabs a { display: flex; flex: 0 1 auto; align-items: center; justify-content: center; gap: 0.6rem; min-height: 3rem; padding: 0.5rem 1.25rem; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--ink); font-weight: 600; line-height: 1.25; text-decoration: none; }
.tabs .icon { color: var(--blue); }
.tabs a:hover { background: var(--tint); color: var(--blue-dark); }
.tabs a[aria-current] { border-color: var(--blue); background: var(--blue); color: var(--on-blue); }
.tabs a[aria-current] .icon { color: inherit; }

/* --- Filtr, ro‘yxat, hujjatlar --- */
.filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1rem; margin-bottom: 1.5rem; }
.field { display: grid; gap: 0.3rem; min-width: 10rem; max-width: 100%; }
.field--grow { flex: 1 1 15rem; }
.field > span { color: var(--ink-2); font-size: 0.9375rem; font-weight: 500; }
.field input, .field select {
  width: 100%;
  min-height: 2.75rem;
  padding: 0 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--bg);
}
.js [data-auto-hide] { display: none; }
.listhead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.25rem 1.5rem; padding-bottom: 0.4rem; border-bottom: 2px solid var(--ink); color: var(--ink-2); }
.doc { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr) auto; gap: 0.25rem 1rem; padding-block: 1.1rem; border-bottom: 1px solid var(--line); }
.doc__no { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.doc__title { font-weight: 500; line-height: 1.45; }
.doc__title a { color: var(--ink); text-decoration: none; }
.doc__title a:hover { color: var(--blue); text-decoration: underline; }
.doc__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 1rem; margin-top: 0.5rem; color: var(--ink-3); font-size: 0.9375rem; }
.doc__issuer { margin-top: 0.4rem; color: var(--ink-3); font-size: 0.9375rem; }
.tag { padding: 0.1rem 0.6rem; border-radius: 4px; background: var(--tint-2); color: var(--blue-dark); font-size: 0.875rem; font-weight: 500; }
html[data-contrast] .tag { border: 1px solid #000; }
.pages { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 2rem; }
.pages > * { display: grid; place-items: center; min-width: 2.75rem; height: 2.75rem; padding-inline: 0.5rem; border-radius: 8px; color: var(--ink); font-variant-numeric: tabular-nums; text-decoration: none; }
.pages a:hover { background: var(--tint-2); }
.pages [aria-current] { background: var(--blue); color: var(--on-blue); font-weight: 600; }

.empty { display: grid; justify-items: start; gap: 0.5rem; padding: 2rem; border-radius: var(--radius); background: var(--tint); color: var(--ink-2); }
html[data-contrast] .empty { border: 1px solid #000; }
.empty > .icon { width: 2.25rem; height: 2.25rem; color: var(--blue); stroke-width: 1.5; }
.empty__title { color: var(--ink); font-size: 1.1875rem; font-weight: 600; }
.empty .btn { margin-top: 0.75rem; }
.callout { display: flex; gap: 0.9rem; padding: 1.1rem 1.25rem; border-radius: var(--radius); background: var(--tint); }
.callout .icon { margin-top: 0.15em; color: var(--blue); }
.callout li + li { margin-top: 0.3rem; }
.callout ul { min-width: 0; overflow-wrap: anywhere; }

.feature { display: flex; align-items: center; gap: 1.25rem; padding: 1.5rem; border-radius: var(--radius); background: var(--navy); color: #fff; text-decoration: none; }
.feature:hover { background: var(--blue-dark); color: #fff; }
.feature > .icon:first-child { width: 2.25rem; height: 2.25rem; stroke-width: 1.5; }
.feature > .icon:last-child { margin-left: auto; }
.feature span { display: grid; color: var(--navy-2); }
.feature strong { color: #fff; font-size: 1.1875rem; line-height: 1.3; }
.filelist li { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr) auto; align-items: center; gap: 0.5rem 1.25rem; padding-block: 0.9rem; border-bottom: 1px solid var(--line); }
.filelist__type { padding: 0.2rem 0; border-radius: 4px; background: var(--tint-2); color: var(--blue-dark); font-size: 0.875rem; font-weight: 700; text-align: center; }
.filelist__type .icon { display: block; width: 1.25rem; height: 1.25rem; margin-inline: auto; }
.filelist__title { font-weight: 500; line-height: 1.4; }
.filelist__title small { display: block; color: var(--ink-3); font-size: 0.875rem; font-weight: 400; }
.filelist__links { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }

.toc, .fold { border: 1px solid var(--line); border-radius: var(--radius); }
.toc summary, .fold summary { display: flex; align-items: center; gap: 0.75rem; min-height: 3.25rem; padding: 0.6rem 1.1rem; font-weight: 600; cursor: pointer; list-style: none; }
.toc summary::-webkit-details-marker, .fold summary::-webkit-details-marker { display: none; }
.toc summary .icon:first-child, .fold summary .icon:first-child { color: var(--blue); }
.toc__chevron { margin-left: auto; transition: transform 0.15s; }
[open] > summary .toc__chevron { transform: rotate(180deg); }
.toc ul { padding: 0 1.1rem 1.1rem; }
.toc a { display: block; padding-block: 0.4rem; line-height: 1.35; text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.toc__section { margin-top: 0.75rem; font-weight: 600; }
.toc__chapter { padding-left: 1.25rem; }
.fold { margin-top: 3rem; }
.fold > :not(summary) { margin-inline: 1.1rem; }
.fold > :last-child { margin-bottom: 1.1rem; }
.law { margin-top: 2.5rem; }
.law h2 { margin-top: 3.5rem; font-size: 1.5rem; }
.law h2:first-child { margin-top: 0; }
.law h3 { margin-top: 2.5rem; font-size: 1.25rem; }
.law h4 { margin-top: 1.75rem; color: var(--blue); font-size: 1.0625rem; }
.law p { margin-top: 0.75rem; }

.contactlist > div { display: grid; grid-template-columns: 1.75rem 12rem minmax(0, 1fr); gap: 0.25rem 1rem; padding-block: 1.25rem; border-bottom: 1px solid var(--line); }
.contactlist .icon { margin-top: 0.15em; color: var(--blue); }
.contactlist dt { color: var(--ink-2); }
.contactlist dd { min-width: 0; font-weight: 500; overflow-wrap: anywhere; }
.contactlist dd .iconlink { display: flex; }
.contactlist__big { font-size: 1.5rem; font-weight: 700; line-height: 1.2; text-decoration: none; }
.phones a { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 0.25rem 1.5rem; min-height: 3.5rem; padding-block: 0.75rem; border-bottom: 1px solid var(--line); color: var(--ink); line-height: 1.35; text-decoration: none; }
.phones strong { font-size: 1.1875rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.phones .icon { color: var(--blue); }
.phones a:hover { color: var(--blue); }
.phones li:first-child a { padding-top: 0; font-weight: 600; }

.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.5rem; }
.chips a { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 2.75rem; padding: 0.4rem 1rem; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--ink); line-height: 1.3; text-decoration: none; }
.chips a:hover { background: var(--tint-2); }
.chips span { color: var(--ink-3); }
.article__cover { display: block; margin-bottom: 1.75rem; }
.article__cover img { width: 100%; max-height: 32rem; object-fit: cover; border-radius: var(--radius); }
.article__summary { margin-bottom: 1.25rem; font-size: 1.25rem; font-weight: 500; line-height: 1.45; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(14rem, 100%), 1fr)); gap: 1rem; margin-top: 2rem; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.gallery p { margin-top: 0.4rem; color: var(--ink-3); font-size: 0.9375rem; }
.gallery a { display: block; }
.js [data-photo] { cursor: zoom-in; }
[data-photo] img { transition: filter 0.15s; }
[data-photo]:hover img { filter: brightness(0.88); }

/* --- Rasmni katta ko‘rish --- */
.viewer {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #050f1d;
  color: #fff;
}
.viewer[open] { display: grid; grid-template-rows: 4rem minmax(0, 1fr) auto; }
.viewer::backdrop { background: #050f1d; }
.viewer__count { align-self: center; padding-inline: var(--gutter); font-weight: 600; font-variant-numeric: tabular-nums; }
.viewer__stage {
  container-type: size;
  grid-row: 2;
  display: grid;
  place-items: center;
  margin-inline: 5.5rem;
  touch-action: pan-y pinch-zoom;
}
/* Rasm ekranga to‘liq sig‘adi, sifati buzilmasligi uchun o‘z o‘lchamidan ko‘pi bilan 2 barobar kattalashadi */
.viewer__stage img {
  width: min(100cqi, 100cqb * var(--ratio), var(--limit));
  max-width: none;
  height: auto;
  border-radius: 4px;
  background: rgb(255 255 255 / 0.08);
}
.viewer__caption { grid-row: 3; min-height: 1.5rem; max-height: 25vh; padding: 0.75rem var(--gutter); overflow-y: auto; text-align: center; }
.viewer__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(38 62 92 / 0.85);
  color: #fff;
}
.viewer__btn[hidden] { display: none; }
.viewer__btn:hover { background: var(--brand); }
.viewer__btn .icon { width: 1.75rem; height: 1.75rem; }
.viewer :focus-visible { outline-color: #fff; border-radius: 50%; }
.viewer__close { top: 0.375rem; right: 1.125rem; }
.viewer__prev, .viewer__next { top: calc(50% - 1.625rem); }
.viewer__prev { left: 1.125rem; }
.viewer__next { right: 1.125rem; }
/* Orqadagi sahifa siljimaydi, aylantirish yo‘lagi yo‘qolganda kengligi ham o‘zgarmaydi */
html:has(.viewer[open]) { overflow: hidden; }
html:has(.viewer[open]) body { padding-right: var(--scrollbar, 0); }
.results { margin-top: 2.25rem; }
.results h2 { display: flex; align-items: center; gap: 0.6rem; font-size: 1.25rem; }
.results h2 .icon { color: var(--blue); }
.results h2 span { color: var(--ink-3); font-weight: 400; }
.results ul { margin-block: 0.6rem; }
.results li a { display: block; padding-block: 0.6rem; border-bottom: 1px solid var(--line); line-height: 1.45; text-decoration: none; }
.results li a:hover { text-decoration: underline; }

/* --- Pastki qism --- */
.footer { background: var(--navy); color: var(--navy-2); font-size: 0.9688rem; }
.footer a { color: var(--navy-2); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer :focus-visible { outline-color: #fff; }
/* Ustunlar soni menyudagi bo‘limlar soniga qarab o‘zgaradi */
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr); grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 2.5rem 2rem; padding-block: 3.5rem 2.5rem; }
.footer__name { max-width: 17rem; margin-bottom: 1.25rem; color: #fff; font-size: 1.125rem; line-height: 1.35; }
.footer__name strong { display: block; }
.footer__title { margin-bottom: 0.6rem; color: #fff; font-weight: 600; }
.footer__links a { display: block; padding-block: 0.35rem; line-height: 1.35; }
.footer .contacts .icon { color: #7cc0ff; }
.footer__bottom { padding-block: 1.25rem 1.75rem; font-size: 0.875rem; }
.footer__row { padding-top: 1.25rem; border-top: 1px solid rgb(255 255 255 / 0.18); }

/* --- Planshet --- */
@media (max-width: 80rem) {
  .nav__link { padding-inline: 0.6rem; font-size: 0.9688rem; }
}

@media (max-width: 75rem) {
  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; }
  .figures__sectors { grid-column: 1 / -1; }
  .with-side { gap: 2.5rem; grid-template-columns: 15rem minmax(0, 1fr); }
  .kpis { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .kpis li { grid-column: span 2; }
  .kpis li:nth-child(n + 4) { grid-column: span 3; border-top: 1px solid var(--line); }
  .kpis li:nth-child(4) { border-left: 0; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row; }
  .footer__about { grid-column: 1 / -1; }
}

@media (min-width: 64rem) and (max-width: 88rem) {
  /* Qanot matn ustunidan keyin boshlanadi, sarlavha ustiga tushmaydi */
  .hero__wing { left: calc(100% - 29rem - var(--gutter) - 3.25rem); }
  .hero__text { max-width: 36rem; }
  .hero h1 { font-size: clamp(2rem, 1.35rem + 2.4vw, 3.25rem); }
}

@media (min-width: 64rem) and (max-width: 75rem) {
  .nav__list { gap: 0; }
  .nav__link { gap: 0.15rem; padding-inline: 0.3rem; font-size: 0.9375rem; }
  .nav__chevron { width: 0.875em; height: 0.875em; }
}

@media (min-width: 64rem) and (max-width: 92rem) {
  /* Ikki qatorli menyu langar bilan ochilgan sarlavhani yopmasin */
  html[data-font="1"], html[data-font="2"] { scroll-padding-top: 8.5rem; }
}

/* --- Keng ekran: bo‘sh joy qolmasin --- */
@media (min-width: 48rem) {
  /* Bitta yangilik bo‘lsa: surat chapda, matn o‘ngda */
  .newsgrid > :only-child { grid-column: 1 / -1; }
  .newsgrid > :only-child a { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); grid-template-rows: 1fr auto auto 1fr; column-gap: 2.5rem; }
  .newsgrid > :only-child a > :first-child { grid-row: 1 / -1; }
  .newsgrid > :only-child time { grid-row: 2; margin: 0; align-self: end; }
  .newsgrid > :only-child a:has(p) { grid-template-rows: 1fr auto auto auto 1fr; }
  .newsgrid > :only-child h3 { grid-row: 3; font-size: clamp(1.375rem, 1rem + 1vw, 2rem); }
  .newsgrid > :only-child p { grid-row: 4; font-size: 1.125rem; }
}
@media (min-width: 90rem) {
  .with-side { grid-template-columns: 19rem minmax(0, 1fr); }
  .pagehead__lead { max-width: none; }
  .people--honored { grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); }
  .leaders { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 3.5rem; }
  .leader:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
}

/* --- Mobil menyu --- */
@media (max-width: 63.99rem) {
  .topbar__item--wide { display: none; }
  .brandbar__row { flex-wrap: wrap; gap: 0.9rem 1rem; }
  .brand { flex: 1 1 0; min-width: 0; }
  .searchbox { order: 3; flex: 1 1 100%; }
  .js .burger {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    padding: 0 0.9rem;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: var(--bg);
    font-weight: 600;
  }
  .burger__open, .burger__close { display: inline-flex; }
  .burger[aria-expanded="false"] .burger__close, .burger[aria-expanded="true"] .burger__open { display: none; }
  .nav { position: static; }
  .js .nav:not(.is-open) { display: none; }
  .nav__list { display: block; padding-block: 0.5rem; }
  .nav__list > li + li { border-top: 1px solid var(--line); }
  .nav__link { width: 100%; padding-inline: 0 !important; font-size: 1.0625rem; box-shadow: none !important; white-space: normal; text-align: left; }
  .nav__link .nav__chevron { width: 1.25em; height: 1.25em; margin-left: auto; }
  .nav__home { position: static; width: auto; height: auto; clip-path: none; margin-left: 0.4rem; }
  .sub { position: static; width: auto; max-width: none; max-height: none; padding: 0 0 0.75rem; border: 0; box-shadow: none; }
  html:not(.js) .sub { display: block; }
  html { scroll-padding-top: 1rem; }
  .with-side { grid-template-columns: minmax(0, 1fr); gap: 2rem; padding-top: 1.25rem; }
  .side ul { position: relative; top: 0; display: flex; gap: 0.5rem; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 0.25rem var(--gutter) 0.6rem; scrollbar-width: thin; }
  .side a { border: 1px solid var(--line); white-space: nowrap; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; padding-block: 3rem; }
  .hero__text { max-width: 40rem; }
  .hero__wing { top: auto; right: -7rem; bottom: -13rem; left: auto; height: 38rem; }
}

/* --- Telefon --- */
@media (max-width: 40rem) {
  body { font-size: 1rem; }
  .viewer__stage { margin-inline: 0; }
  .viewer__close { right: 0.5rem; }
  .viewer__prev { left: 0.5rem; }
  .viewer__next { right: 0.5rem; }
  .topbar__row { gap: 0 0.75rem; }
  .topbar__label { display: none; }
  .topbar__tools { flex-wrap: wrap; width: 100%; margin-left: -0.6rem; justify-content: space-between; gap: 0; }
  .topbar .a11y button { min-width: 2.25rem; }
  .topbar .scripts button { padding-inline: 0.45rem; font-size: 0.8125rem; }
  .brand { gap: 0.7rem; }
  .brand img { width: 2.6rem; height: auto; }
  .brand__text { font-size: 0.9375rem; }
  .burger > span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .searchbox .btn { padding-inline: 0.8rem; }
  .actions .btn { width: 100%; }
  .block { padding-top: 3.25rem; }
  .figures { grid-template-columns: minmax(0, 1fr); }
  .sectors a { grid-template-columns: minmax(0, 1fr) auto; gap: 0.1rem 1rem; }
  .sectors__growth { grid-column: 2; }
  .kpis { grid-template-columns: minmax(0, 1fr); }
  .kpis li, .kpis li:nth-child(n + 4) { grid-column: auto; }
  .kpis li + li { border-left: 0 !important; border-top: 1px solid var(--line); }
  .kpis a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0 1rem; padding: 0.75rem 1rem; }
  .kpis a[aria-current] { box-shadow: inset 3px 0 var(--brand); }
  .kpis__label { grid-row: span 2; margin: 0; padding: 0; }
  .kpis__value, .kpis__growth, .kpis__none { text-align: right; }
  .summary, .choices a { padding: 1.25rem; }
  .tabs a { flex: 1 1 auto; }
  .field { flex: 1 1 100%; }
  .filters .btn { width: 100%; }
  .doc { grid-template-columns: minmax(0, 1fr); }
  .doc__no { display: none; }
  .leader { grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1.1rem; }
  .leader h2 { font-size: 1.1875rem; }
  .people--honored { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filelist li { grid-template-columns: 3.25rem minmax(0, 1fr); }
  .filelist__links { grid-column: 2; }
  .contactlist > div { grid-template-columns: 1.75rem minmax(0, 1fr); }
  .contactlist dd { grid-column: 2; }
  .phones a { grid-template-columns: minmax(0, 1fr) auto; }
  .phones strong { grid-row: 2; }
  .phones .icon { grid-row: span 2; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }

  .cols__value { font-size: 0.8125rem; }
  .cols__label { font-size: 0.8125rem; }
  .empty { padding: 1.5rem 1.25rem; }

  /* Qabul jadvali: har bir rahbar alohida blok */
  .table--stack, .table--stack tbody, .table--stack tr, .table--stack th, .table--stack td { display: block; }
  .table--stack thead { display: none; }
  .table--stack tr { padding-block: 1rem; border-bottom: 1px solid var(--line); }
  .table--stack tbody th, .table--stack td { padding: 0.15rem 0 !important; border: 0; white-space: normal; }
  .table--stack td::before { content: attr(data-label) ": "; color: var(--ink-3); }

  /* Diagrammali jadval: nom tepada, ustun pastida */
  .table--bars thead { display: none; }
  .table--bars tr { display: grid; grid-template-columns: auto auto auto; justify-content: space-between; gap: 0.2rem 1rem; padding-block: 0.7rem; border-bottom: 1px solid var(--line); }
  .table--bars th, .table--bars td { padding: 0 !important; border: 0 !important; }
  .table--bars tbody th, .table--bars tfoot th { grid-column: 1 / -1; }
  .table--bars .barcell { grid-column: 1 / -1; width: 100%; padding-block: 0.25rem !important; }
  .table--bars tfoot .barcell { display: none; }
  .table--bars tfoot tr { border-top: 2px solid var(--ink); border-bottom: 0; }
}

@media (max-width: 22.5rem) {
  .topbar .a11y button { min-width: 2rem; padding-inline: 0.25rem; }
  .topbar .scripts button { min-width: 0; padding-inline: 0.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none !important; }
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .ticker, .topbar, .nav, .searchbox, .burger, .side, .tabs, .filters, .actions, .pages, .hero__wing, .footer__grid, .viewer { display: none !important; }
  .with-side { display: block; }
  .hbar, .cols__bar, .track, .track span, .mini, .mini span { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}
