/* Sayt statistikasi va reytingi – pri.oliymajlis.uz */
.ss {
	--ss-navy: #0b2a4a;
	--ss-navy2: #123b66;
	--ss-bar: #2f6aa8;
	--ss-bar-bg: #e6edf6;
	--ss-green: #17804a;
	--ss-green-l: #30c96a;
	--ss-text: #1a1a1a;
	--ss-muted: #5c667d;
	--ss-line: #e3e8ef;
	--ss-soft: #f4f6f9;
	--ss-r: 14px;
	container-type: inline-size;
	container-name: ss;
	color: var(--ss-text);
	font-size: 16px;
	line-height: 1.55;
	overflow-x: clip;
	position: relative;
}
.ss *, .ss *::before, .ss *::after { box-sizing: border-box; }
:where(.ss) :where(ul, ol) { list-style: none; margin: 0; padding: 0; }
:where(.ss) :where(h1, h2, h3, p) { margin: 0; }
.ss a:focus-visible, .ss button:focus-visible, .ss input:focus-visible, .ss select:focus-visible, .ss summary:focus-visible {
	outline: 3px solid #4a7fb5; outline-offset: 2px; border-radius: 6px;
}
.ss-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ss i { margin-right: 8px; }

/* ---------- hero ---------- */
.ss-hero {
	position: relative; overflow: hidden; isolation: isolate;
	padding: 32px 22px; border-radius: 18px; margin-bottom: 28px;
	background: linear-gradient(150deg, var(--ss-navy), var(--ss-navy2)); color: #fff;
}
.ss-hero::after {
	content: ""; position: absolute; right: -90px; top: -90px; z-index: -1;
	width: 300px; height: 300px; border-radius: 50%;
	background: radial-gradient(circle, rgba(74, 127, 181, .55), transparent 70%);
}
.ss-kicker { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ss-green-l); margin-bottom: 10px; }
.ss:not(#ss-x) .ss-title { color: #fff; font-size: clamp(26px, 5vw, 40px); line-height: 1.15; font-weight: 800; margin: 0 0 10px; }
.ss-lead { color: #c9d7e8; max-width: 70ch; margin-bottom: 24px; }

.ss-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ss-kpi {
	display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center;
	padding: 14px; border-radius: 12px; min-width: 0;
	background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
}
.ss-kpi__ic {
	grid-row: span 2; width: 40px; height: 40px; border-radius: 10px;
	display: inline-flex; align-items: center; justify-content: center;
	background: rgba(255, 255, 255, .1); color: var(--ss-green-l);
}
.ss-kpi__ic i { margin: 0; }
.ss-kpi__n { font-size: clamp(22px, 3.4vw, 30px); font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; color: #fff; overflow-wrap: anywhere; }
.ss-kpi__l { font-size: 13px; color: #c9d7e8; line-height: 1.35; }
.ss-kpis--light { margin-bottom: 20px; }
.ss-kpis--light .ss-kpi { background: var(--ss-soft); border-color: var(--ss-line); }
.ss-kpis--light .ss-kpi__ic { background: #e8f5ee; color: var(--ss-green); }
.ss-kpis--light .ss-kpi__n { color: var(--ss-navy); }
.ss-kpis--light .ss-kpi__l { color: var(--ss-muted); }

/* ---------- static matn ---------- */
.ss-static { margin-bottom: 28px; }
.ss-static:empty, .ss-static.is-empty { display: none; }

/* ---------- boʻlimlar ---------- */
.ss-sec { margin-bottom: 36px; }
.ss-sec__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 16px; }
.ss:not(#ss-x) .ss-h { display: flex; align-items: center; font-size: clamp(20px, 2.6vw, 26px); font-weight: 800; line-height: 1.25; color: var(--ss-navy); margin: 0 0 6px; }
.ss-h i { color: var(--ss-green); }
.ss:not(#ss-x) .ss-h3 { font-size: 17px; font-weight: 700; color: var(--ss-navy); margin: 0 0 6px; }
.ss-sub { color: var(--ss-muted); font-size: 14px; margin-bottom: 16px; }

/* ---------- tablar ---------- */
.ss-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: var(--ss-soft); border: 1px solid var(--ss-line); }
.ss:not(#ss-x) .ss-tab {
	height: auto; min-height: 40px; padding: 8px 16px; border: 0; border-radius: 999px; cursor: pointer; box-shadow: none;
	background: transparent; color: var(--ss-navy); font-weight: 600; font-size: 14px;
}
.ss:not(#ss-x) .ss-tab:hover { background: #fff; }
.ss:not(#ss-x) .ss-tab[aria-selected="true"] { background: var(--ss-navy); color: #fff; }

/* ---------- filtrlar ---------- */
.ss-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; margin-bottom: 16px; }
.ss-field { display: grid; gap: 4px; flex: 1 1 220px; min-width: 0; margin: 0; }
.ss-field span { font-size: 13px; font-weight: 600; color: var(--ss-muted); }
.ss-field input, .ss-field select {
	width: 100%; min-height: 44px; padding: 8px 12px; border-radius: 10px;
	border: 1px solid #cfd8e4; background: #fff; color: var(--ss-text); font: inherit; font-size: 15px;
}
.ss-count { flex: 1 1 100%; font-size: 13px; color: var(--ss-muted); }

/* ---------- reyting roʻyxati ---------- */
.ss-rank { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
.ss-panel__note { display: flex; align-items: baseline; font-size: 13px; color: var(--ss-muted); margin-bottom: 10px; }
.ss-list { display: grid; gap: 8px; }
.ss-row {
	display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: start;
	padding: 12px 14px; border: 1px solid var(--ss-line); border-radius: 12px; background: #fff;
}
.ss-row[hidden] { display: none; }
.ss-row:hover { border-color: #cfd8e4; }
.ss-row__n {
	width: 34px; height: 34px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--ss-soft); color: var(--ss-navy); font-weight: 800; font-size: 14px; font-variant-numeric: tabular-nums;
}
.ss-row:nth-child(1) .ss-row__n { background: #f3c64d; color: #3d2c00; }
.ss-row:nth-child(2) .ss-row__n { background: #cfd6df; color: #1f2a37; }
.ss-row:nth-child(3) .ss-row__n { background: #e0a878; color: #3a1d05; }
.ss-row__b { display: grid; gap: 4px; min-width: 0; }
.ss:not(#ss-x) .ss-row__t { color: var(--ss-navy); font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; text-decoration: none; }
.ss:not(#ss-x) .ss-row__t:hover { color: var(--ss-green); text-decoration: underline; }
.ss-row__m { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--ss-muted); }
.ss-row__cat { color: var(--ss-green); font-weight: 600; }
.ss-row__cat a { color: inherit; }
.ss-row__bar { display: block; height: 6px; border-radius: 3px; background: var(--ss-bar-bg); overflow: hidden; margin-top: 4px; }
.ss-row__bar span { display: block; height: 100%; width: 0; border-radius: 3px; background: var(--ss-bar); transition: width .5s ease; }
.ss-row__v { display: inline-flex; align-items: center; white-space: nowrap; font-size: 14px; color: var(--ss-muted); }
.ss-row__v b { color: var(--ss-navy); font-variant-numeric: tabular-nums; }
.ss-row__v i { margin-right: 6px; }
.ss-empty { padding: 20px; text-align: center; color: var(--ss-muted); background: var(--ss-soft); border-radius: 12px; }
.ss:not(#ss-x) .ss-btn {
	display: inline-flex; align-items: center; justify-content: center; height: auto; min-height: 44px; margin-top: 14px; font-size: 15px; box-shadow: none;
	padding: 10px 20px; border-radius: 999px; border: 1px solid var(--ss-line); background: #fff;
	color: var(--ss-navy); font-weight: 600; cursor: pointer;
}
.ss:not(#ss-x) .ss-btn:hover { border-color: var(--ss-navy); }

/* ---------- gorizontal ustunlar ---------- */
.ss-side, .ss-box { padding: 18px; border-radius: var(--ss-r); border: 1px solid var(--ss-line); background: var(--ss-soft); min-width: 0; }
.ss-side__note { margin-bottom: 12px; }
.ss-bars { display: grid; gap: 10px; }
.ss-bars li { display: grid; gap: 4px; }
.ss-bars__top { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.ss-bars__l { min-width: 0; overflow-wrap: anywhere; }
.ss-bars__v { font-weight: 700; color: var(--ss-navy); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ss-bars__t { height: 8px; border-radius: 4px; background: var(--ss-bar-bg); overflow: hidden; }
.ss-bars__t span { display: block; height: 100%; border-radius: 4px; background: var(--ss-bar); }

/* ---------- ustunli va chiziqli grafiklar ---------- */
.ss-chart { position: relative; width: 100%; padding: 12px 0 4px; }
.ss-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.ss-chart .ss-ax { font-size: 11px; fill: var(--ss-muted); }
.ss-chart .ss-grid { stroke: var(--ss-line); stroke-width: 1; }
.ss-chart .ss-col { fill: var(--ss-bar); }
.ss-chart .ss-col.is-hot, .ss-chart .ss-hit:hover + .ss-col { fill: var(--ss-navy); }
.ss-chart .ss-hit { fill: transparent; cursor: pointer; }
.ss-chart .ss-line { fill: none; stroke: var(--ss-bar); stroke-width: 2; stroke-linejoin: round; }
.ss-chart .ss-area { fill: rgba(47, 106, 168, .12); }
.ss-chart .ss-cross { stroke: var(--ss-navy); stroke-width: 1; stroke-dasharray: 3 3; }
.ss-chart .ss-pt { fill: #fff; stroke: var(--ss-navy); stroke-width: 2; }
.ss-tip {
	position: absolute; z-index: 5; pointer-events: none; max-width: 240px;
	padding: 8px 10px; border-radius: 8px; background: var(--ss-navy); color: #fff;
	font-size: 13px; line-height: 1.35; box-shadow: 0 6px 18px rgba(0, 0, 0, .2);
}
.ss-tip b { display: block; font-size: 15px; }
.ss-table { margin-top: 10px; font-size: 14px; }
.ss-table summary { cursor: pointer; color: var(--ss-green); font-weight: 600; }
.ss-table table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.ss-table th, .ss-table td { padding: 6px 10px; border-bottom: 1px solid var(--ss-line); text-align: left; }
.ss-table td:last-child, .ss-table th:last-child { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- Matomo bloklari ---------- */
.ss-grid3 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 20px; }
.ss-mini { display: grid; gap: 8px; counter-reset: ssm; }
.ss-mini li { display: grid; grid-template-columns: 1fr auto; gap: 10px; font-size: 14px; counter-increment: ssm; }
.ss-mini li::before { content: counter(ssm) "."; position: absolute; margin-left: -22px; color: var(--ss-muted); }
.ss-mini { padding-left: 22px; }
.ss-mini a { color: var(--ss-navy); overflow-wrap: anywhere; }
.ss-mini a:hover { color: var(--ss-green); }
.ss-mini b { font-variant-numeric: tabular-nums; color: var(--ss-navy); }

/* ---------- metodika va huquqiy asos ---------- */
.ss-dl { display: grid; gap: 8px; }
.ss-dl li { position: relative; padding-left: 18px; color: #3a4357; }
.ss-dl li::before, .ss-law__list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--ss-green); }
.ss-law { padding: 22px; border-radius: var(--ss-r); background: var(--ss-soft); border: 1px solid var(--ss-line); }
.ss:not(#ss-x) .ss-law__h { display: flex; align-items: center; font-size: 20px; font-weight: 800; color: var(--ss-navy); margin: 0 0 14px; }
.ss-law__h i { color: var(--ss-green); }
.ss-law__list { display: grid; gap: 12px; }
.ss-law__list li { position: relative; padding-left: 18px; }
.ss:not(#ss-x) .ss-law__list a { color: var(--ss-navy); font-weight: 600; text-decoration: none; }
.ss:not(#ss-x) .ss-law__list a:hover { color: var(--ss-green); text-decoration: underline; }
.ss-law__list span:not(.ss-sr) { display: block; font-size: 14px; color: var(--ss-muted); }

/* ---------- moslashuv ---------- */
@container ss (min-width: 620px) {
	.ss-hero { padding: 40px 36px; }
	.ss-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.ss-grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ss-count { flex: 0 1 auto; margin-left: auto; }
}
@container ss (min-width: 940px) {
	.ss-rank { grid-template-columns: minmax(0, 1fr) 320px; }
	.ss-side { position: sticky; top: 90px; }
	.ss-grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
	.ss-hero { padding: 26px 16px; border-radius: 14px; }
	.ss-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; border-radius: 14px; }
	.ss:not(#ss-x) .ss-tab { padding: 8px 4px; font-size: 13px; border-radius: 10px; }
	.ss-row { grid-template-columns: 28px minmax(0, 1fr); padding: 10px 12px; gap: 10px; }
	.ss-row__n { width: 28px; height: 28px; font-size: 13px; }
	.ss-row__v { grid-column: 2; }
	.ss-kpi { grid-template-columns: 1fr; }
	.ss-kpi__ic { display: none; }
}
@media (min-width: 768px) and (max-width: 991.98px) { .ss-sec { margin-bottom: 40px; } }
@media (min-width: 1200px) { .ss-sec { margin-bottom: 48px; } }
@media (prefers-reduced-motion: reduce) { .ss *, .ss *::before, .ss *::after { transition: none; animation: none; } }
@media print { .ss-hero { background: #fff; color: #000; } .ss-tabs, .ss-filters, .ss:not(#ss-x) .ss-more { display: none; } .ss-panel[hidden] { display: block; } }

/* ---------- oʻz hisoblagich bloklari ---------- */
.ss-since { margin-bottom: 14px; }
.ss-visits .ss-h3 { margin-top: 6px; }
.ss-top-head { margin: 28px 0 12px; }
.ss-top-head .ss-h3 { margin: 0; }
.ss-seg { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 14px; border-radius: 12px; background: var(--ss-soft); border: 1px solid var(--ss-line); }
.ss-seg__b { min-height: 38px; padding: 6px 14px; border: 0; border-radius: 9px; background: transparent; color: var(--ss-navy); font-weight: 600; font-size: 14px; cursor: pointer; }
.ss-seg__b:hover { background: #fff; }
.ss-seg__b[aria-pressed="true"] { background: #fff; box-shadow: 0 1px 3px rgba(11, 42, 74, .15); color: var(--ss-green); }
.ss-pplist .ss-row__m span:last-child, .ss-stlist .ss-row__m span:last-child { overflow-wrap: anywhere; }

/* ---------- WWW.UZ milliy reytingi ---------- */
.ss-wz { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 20px; }
.ss-wz__card {
	display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px;
	border-radius: var(--ss-r); background: linear-gradient(150deg, var(--ss-navy), var(--ss-navy2)); color: #fff; min-width: 0;
}
.ss-wz__badge { min-height: 62px; }
.ss-wz__badge canvas { display: block; width: 176px; height: 62px; image-rendering: pixelated; border-radius: 6px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
.ss-wz__badge .ss-sub { color: #c9d7e8; margin: 0; }
.ss-wz__legend { display: grid; gap: 6px; font-size: 14px; color: #c9d7e8; }
.ss-wz__legend b { color: #fff; }
.ss:not(#ss-x) .ss-btn--fill { margin-top: 4px; background: #fff; color: var(--ss-navy); border-color: #fff; text-decoration: none; }
.ss:not(#ss-x) .ss-btn--fill:hover { background: #e8f1fb; }
.ss-wz__reports { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; min-width: 0; }
.ss-rep { padding: 16px 18px; border-radius: var(--ss-r); border: 1px solid var(--ss-line); background: var(--ss-soft); }
.ss-rep:not(:has(li:not([hidden]))) { display: none; }
.ss:not(#ss-x) .ss-rep__h { display: flex; align-items: center; font-size: 16px; font-weight: 700; color: var(--ss-navy); margin: 0 0 8px; }
.ss-rep__h i { color: var(--ss-green); }
.ss-rep__list { display: grid; gap: 6px; }
.ss-rep__list li[hidden] { display: none; }
.ss:not(#ss-x) .ss-rep__list a { display: inline-flex; align-items: center; gap: 6px; color: var(--ss-navy); font-size: 15px; text-decoration: none; }
.ss:not(#ss-x) .ss-rep__list a:hover { color: var(--ss-green); text-decoration: underline; }
.ss-rep__list a::after { content: "\2197"; font-size: 12px; color: var(--ss-muted); }
.ss-dyn { margin-top: 8px; }
@container ss (min-width: 620px) {
	.ss-wz__reports { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container ss (min-width: 940px) {
	.ss-wz { grid-template-columns: 300px minmax(0, 1fr); }
}

/* ---------- WWW.UZ hisobotini sahifa ichida ochish ---------- */
.ss-embed { margin-bottom: 24px; }
.ss-embed__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.ss:not(#ss-x) .ss-btn--navy { margin-top: 0; background: var(--ss-navy); color: #fff; border-color: var(--ss-navy); }
.ss:not(#ss-x) .ss-btn--navy:hover { background: var(--ss-navy2); }
.ss:not(#ss-x) .ss-embed__ext { color: var(--ss-green); font-weight: 600; font-size: 14px; }
.ss-embed__box { margin-top: 14px; border: 1px solid var(--ss-line); border-radius: var(--ss-r); overflow: hidden; background: #fff; }
.ss-embed__note { margin: 0; padding: 10px 14px; border-bottom: 1px solid var(--ss-line); background: var(--ss-soft); }
.ss-embed__frame { display: block; width: 100%; height: clamp(560px, 80vh, 1100px); border: 0; }
@media (max-width: 575.98px) { .ss-embed__frame { height: 85vh; } .ss:not(#ss-x) .ss-embed__btn { width: 100%; } }
.ss-wz__since { display: flex; align-items: center; margin: 0; font-size: 13px; color: #c9d7e8; }
.ss-wz__since i { color: var(--ss-green-l); }

/* ---------- WWW.UZ filtri ---------- */
.ss-wzf { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; align-items: end; margin-top: 14px; padding: 16px; border: 1px solid var(--ss-line); border-radius: var(--ss-r); background: var(--ss-soft); }
.ss-wzf .ss-field { flex: none; }
.ss:not(#ss-x) .ss-wzf__go { margin: 0; grid-column: 1 / -1; justify-self: start; }
@container ss (min-width: 760px) {
	.ss-wzf { grid-template-columns: repeat(4, minmax(0, 1fr)) auto; }
	.ss:not(#ss-x) .ss-wzf__go { grid-column: auto; }
}

/* ---------- Sana maydoni va 4 tilli kalendar ---------- */
.ss-wzf { position: relative; }
.ss-date-in { position: relative; display: block; }
.ss-date-in input { padding-right: 44px; font-variant-numeric: tabular-nums; }
.ss-date-in input[aria-invalid="true"] { border-color: #c0392b; }
.ss:not(#ss-x) .ss-cal-btn {
	position: absolute; top: 50%; right: 6px; transform: translateY(-50%);
	width: 34px; height: 34px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--ss-navy); cursor: pointer; box-shadow: none;
	display: inline-flex; align-items: center; justify-content: center;
}
.ss:not(#ss-x) .ss-cal-btn i { margin: 0; }
.ss:not(#ss-x) .ss-cal-btn:hover, .ss:not(#ss-x) .ss-cal-btn[aria-expanded="true"] { background: var(--ss-bar-bg); }
.ss-cal {
	position: absolute; z-index: 20; width: 292px; max-width: calc(100% - 16px); padding: 12px;
	background: #fff; border: 1px solid var(--ss-line); border-radius: 12px; box-shadow: 0 16px 40px rgba(11, 42, 74, .18);
}
.ss-cal__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.ss-cal__title { font-weight: 700; color: var(--ss-navy); font-size: 15px; }
.ss:not(#ss-x) .ss-cal__nav { width: 34px; height: 34px; border: 1px solid var(--ss-line); border-radius: 8px; background: #fff; color: var(--ss-navy); font-size: 20px; line-height: 1; cursor: pointer; padding: 0; display: inline-flex; align-items: center; justify-content: center; box-shadow: none; }
.ss:not(#ss-x) .ss-cal__nav:hover { background: var(--ss-soft); }
.ss-cal__grid { width: 100%; border-collapse: collapse; table-layout: fixed; }
.ss-cal__grid th { padding: 4px 0; font-size: 12px; font-weight: 600; color: var(--ss-muted); text-align: center; }
.ss-cal__grid td { padding: 2px; text-align: center; }
.ss:not(#ss-x) .ss-cal__d {
	display: block; width: 100%; height: 34px; padding: 0; font-weight: 400; box-shadow: none; white-space: nowrap; border: 0; border-radius: 8px; background: transparent;
	color: var(--ss-text); font-size: 14px; font-variant-numeric: tabular-nums; cursor: pointer;
}
.ss:not(#ss-x) .ss-cal__d:hover:not(:disabled) { background: var(--ss-soft); }
.ss:not(#ss-x) .ss-cal__d.is-out { color: #a0a8b8; }
.ss:not(#ss-x) .ss-cal__d.is-today { box-shadow: inset 0 0 0 1px var(--ss-navy); font-weight: 700; }
.ss:not(#ss-x) .ss-cal__d.is-sel { background: var(--ss-navy); color: #fff; }
.ss:not(#ss-x) .ss-cal__d:disabled { color: #ccd2dc; cursor: not-allowed; }
.ss-cal__foot { display: flex; justify-content: space-between; margin-top: 8px; }
.ss:not(#ss-x) .ss-cal__today, .ss:not(#ss-x) .ss-cal__close { border: 0; background: none; color: var(--ss-green); font-weight: 600; font-size: 14px; cursor: pointer; padding: 6px 4px; height: auto; box-shadow: none; }
.ss:not(#ss-x) .ss-cal__close { color: var(--ss-muted); }
