/* =====================================================================
   "Qonun loyihalarining ilmiy ekspertizasi" — legal-expertise.css (pri.oliymajlis.uz)
   Faqat .lx* klasslari; !important ishlatilmagan. Bogʻliq fayllar: legal-expertise.tpl, js/legal-expertise.js
   ===================================================================== */

.lx {
	--lx-navy: #0b2a4a;
	--lx-navy-2: #123b66;
	--lx-sci: #4a7fb5;
	--lx-ria: #1e9e57;
	--lx-int: #7c5cc4;
	--lx-gold: #b7791f;
	--lx-text: #1a1a1a;
	--lx-muted: #5c667d;
	--lx-line: #e3e8ef;
	--lx-soft: #f4f6f9;
	--lx-focus: #1a73e8;
	color: var(--lx-text);
	overflow-wrap: break-word;
}
.lx *, .lx *::before, .lx *::after { box-sizing: border-box; }
.lx ul, .lx ol { margin: 0; padding: 0; list-style: none; }
.lx li { margin: 0; padding: 0; }
.lx li::before { content: none; }
.lx a { text-decoration: none; }
.lx [hidden]:not(#lx-x) { display: none; }
.lx .lx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lx a:focus-visible, .lx button:focus-visible, .lx input:focus-visible, .lx [tabindex]:focus-visible { outline: 2px solid var(--lx-focus); outline-offset: 3px; }
.lx button:not(#lx-x) { width: auto; min-width: 0; height: auto; min-height: 0; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; transform: none; color: inherit; font: inherit; line-height: 1.3; letter-spacing: normal; text-transform: none; white-space: normal; text-align: left; cursor: pointer; }
.lx button:not(#lx-x)::before, .lx button:not(#lx-x)::after { display: none; }

/* ===================== Hero ===================== */
.lx .lx-hero {
	position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: center;
	overflow: hidden; padding: clamp(26px, 4vw, 48px); border-radius: 24px; color: #fff;
	background:
		radial-gradient(45% 110% at 100% 0%, rgba(124, 92, 196, .28) 0%, rgba(124, 92, 196, 0) 60%),
		radial-gradient(40% 90% at 8% 100%, rgba(74, 127, 181, .3) 0%, rgba(74, 127, 181, 0) 60%),
		linear-gradient(135deg, var(--lx-navy) 0%, var(--lx-navy-2) 100%);
}
.lx .lx-hero::after {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .08;
	background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 1.5px); background-size: 22px 22px;
}
.lx .lx-hero > * { position: relative; z-index: 1; }
.lx .lx-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 5px 12px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .9); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.lx .lx-title { margin: 0 0 14px; color: #fff; font-size: clamp(26px, 2.2vw + 14px, 40px); font-weight: 800; line-height: 1.15; }
.lx .lx-lead { margin: 0; color: rgba(255, 255, 255, .84); font-size: clamp(15px, .3vw + 13px, 17px); line-height: 1.6; }
.lx .lx-keys { display: grid; gap: 10px; }
.lx .lx-key { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px; background: rgba(255, 255, 255, .07); }
.lx .lx-key__ic { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .12); color: #c9b8f2; font-size: 18px; }
.lx .lx-key__b { display: flex; flex-direction: column; min-width: 0; }
.lx .lx-key__l { color: rgba(255, 255, 255, .7); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.lx .lx-key b { color: #fff; font-size: 19px; font-weight: 800; line-height: 1.25; }
.lx .lx-key small { color: rgba(255, 255, 255, .78); font-size: 13px; }

/* ===================== Umumiy ===================== */
.lx .lx-sec { margin-top: clamp(32px, 4vw, 48px); }
.lx .lx-h { margin: 0 0 14px; color: var(--lx-navy); font-size: clamp(21px, 1vw + 15px, 28px); font-weight: 800; line-height: 1.2; }
.lx .lx-sub { margin: -6px 0 16px; color: var(--lx-muted); font-size: 15px; line-height: 1.55; }

/* ===================== Yoʻnalishlar (tablar) ===================== */
.lx .lx-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.lx .lx-tab:not(#lx-x) { --c: var(--lx-sci); display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--lx-line); border-radius: 16px; background: #fff; color: var(--lx-navy); font-weight: 800; transition: border-color .2s, box-shadow .2s, background-color .2s, transform .2s; }
.lx .lx-tab[data-d="ria"] { --c: var(--lx-ria); }
.lx .lx-tab[data-d="int"] { --c: var(--lx-int); }
.lx .lx-tab:not(#lx-x):hover { transform: translateY(-2px); border-color: var(--c); }
.lx .lx-tab > i { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); font-size: 18px; }
.lx .lx-tab:not(#lx-x)[aria-selected="true"] { border-color: var(--c); background: var(--c); color: #fff; box-shadow: 0 10px 24px color-mix(in srgb, var(--c) 30%, transparent); }
.lx .lx-tab[aria-selected="true"] > i { background: rgba(255, 255, 255, .18); color: #fff; }
.lx .lx-panel { --c: var(--lx-sci); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px; padding: 22px; border: 1px solid var(--lx-line); border-top: 4px solid var(--c); border-radius: 18px; background: #fff; animation: lx-in .3s ease backwards; }
.lx .lx-panel--ria { --c: var(--lx-ria); }
.lx .lx-panel--int { --c: var(--lx-int); }
.lx .lx-panel__o { display: flex; flex-direction: column; gap: 2px; margin: 0 0 12px; color: var(--lx-navy); font-weight: 700; }
.lx .lx-panel__o span { color: var(--c); font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.lx .lx-panel__d { margin: 0 0 14px; color: var(--lx-text); font-size: 15px; line-height: 1.65; }
.lx .lx-panel__r { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; padding: 8px 12px; border-radius: 10px; background: var(--lx-soft); color: var(--lx-muted); font-size: 14px; }
.lx .lx-panel__r i { color: var(--c); }
.lx .lx-panel__r b { color: var(--lx-navy); }
.lx .lx-panel__q { position: relative; margin: 0; padding: 18px 18px 16px 48px; border: 0; border-radius: 14px; background: color-mix(in srgb, var(--c) 7%, #fff); }
.lx .lx-panel__q > i { position: absolute; top: 18px; left: 18px; color: var(--c); opacity: .6; }
.lx .lx-panel__q p { margin: 0 0 10px; color: var(--lx-navy); font-size: 15px; font-style: italic; line-height: 1.6; }
.lx .lx-panel__q cite { color: var(--lx-muted); font-size: 12px; font-style: normal; font-weight: 700; }
@keyframes lx-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ===================== Qonun loyihasining yoʻli ===================== */
.lx .lx-pfs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.lx .lx-pf:not(#lx-x) { --c: var(--lx-navy); display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border: 1px solid var(--lx-line); border-radius: 999px; background: #fff; color: var(--lx-navy); font-size: 13px; font-weight: 700; transition: background-color .2s, border-color .2s; }
.lx .lx-pf--sci { --c: var(--lx-sci); }
.lx .lx-pf--ria { --c: var(--lx-ria); }
.lx .lx-pf--int { --c: var(--lx-int); }
.lx .lx-pf > i { color: var(--c); }
.lx .lx-pf:not(#lx-x):hover { border-color: var(--c); }
.lx .lx-pf:not(#lx-x)[aria-pressed="true"] { border-color: var(--c); background: var(--c); color: #fff; }
.lx .lx-pf[aria-pressed="true"] > i { color: #fff; }
.lx .lx-path { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.lx .lx-path::before { content: ""; position: absolute; top: 22px; right: 8%; left: 8%; height: 2px; background: repeating-linear-gradient(90deg, #c9d3e1 0 6px, transparent 6px 12px); }
.lx .lx-pt { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0 4px; text-align: center; transition: opacity .25s; }
.lx .lx-pt__dot { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-bottom: 4px; border: 2px solid #c9d3e1; border-radius: 50%; background: #fff; color: var(--lx-muted); font-size: 17px; transition: transform .25s, background-color .25s, border-color .25s, color .25s; }
.lx .lx-pt.is-inst .lx-pt__dot { border-color: var(--lx-navy); background: var(--lx-navy); color: #fff; box-shadow: 0 0 0 5px rgba(11, 42, 74, .1); }
.lx .lx-pt__t { color: var(--lx-navy); font-size: 14px; font-weight: 800; line-height: 1.3; }
.lx .lx-pt__d { color: var(--lx-muted); font-size: 13px; line-height: 1.45; }
.lx .lx-chip { --c: var(--lx-sci); display: inline-block; margin-top: 2px; padding: 3px 9px; border-radius: 999px; background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); font-size: 11px; font-weight: 800; line-height: 1.3; }
.lx .lx-chip--ria { --c: var(--lx-ria); }
.lx .lx-chip--int { --c: var(--lx-int); }
.lx .lx-path.is-filter .lx-pt { opacity: .35; }
.lx .lx-path.is-filter .lx-pt.is-hit { opacity: 1; }
.lx .lx-path.is-filter .lx-pt.is-hit .lx-pt__dot { transform: scale(1.12); }
.lx .lx-fn { display: flex; align-items: flex-start; gap: 8px; margin: 18px 0 0; color: var(--lx-muted); font-size: 13px; line-height: 1.5; }
.lx .lx-fn i { margin-top: 3px; }

/* ===================== VMQ 29: ilmiy ekspertiza tartibi ===================== */
.lx .lx-flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; counter-reset: f; }
.lx .lx-fl { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 16px 16px; border: 1px solid var(--lx-line); border-radius: 16px; background: #fff; }
.lx .lx-fl:not(:last-child)::after { content: ""; position: absolute; top: 38px; right: -12px; width: 12px; height: 2px; background: #c9d3e1; }
.lx .lx-fl__n { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin-bottom: 4px; border-radius: 12px; background: #e6eef7; color: var(--lx-navy-2); font-size: 17px; }
.lx .lx-fl:nth-child(3) .lx-fl__n { background: var(--lx-navy); color: #fff; }
.lx .lx-fl b { color: var(--lx-navy); font-size: 15px; font-weight: 800; line-height: 1.3; }
.lx .lx-fl > span:not(.lx-fl__n) { flex: 1 1 auto; color: var(--lx-muted); font-size: 13px; line-height: 1.5; }
.lx .lx-fl small { align-self: flex-start; padding: 2px 8px; border-radius: 6px; background: var(--lx-soft); color: var(--lx-muted); font-size: 11px; font-weight: 700; }
.lx .lx-two--gap { margin-top: 16px; }
.lx .lx-cks { display: grid; gap: 2px; margin-bottom: 12px; }
.lx .lx-ck { display: flex; align-items: flex-start; gap: 12px; margin: 0; padding: 7px 8px; border-radius: 10px; cursor: pointer; font-size: 14px; font-weight: 400; line-height: 1.45; transition: background-color .15s; }
.lx .lx-ck:hover { background: var(--lx-soft); }
.lx .lx-ck input { position: absolute; opacity: 0; pointer-events: none; }
.lx .lx-ck__b { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 22px; height: 22px; margin-top: 1px; border: 2px solid #c9d3e1; border-radius: 6px; color: transparent; font-size: 11px; transition: background-color .15s, border-color .15s; }
.lx .lx-ck input:checked + .lx-ck__b { border-color: var(--lx-ria); background: var(--lx-ria); color: #fff; }
.lx .lx-ck input:focus-visible + .lx-ck__b { outline: 2px solid var(--lx-focus); outline-offset: 2px; }
.lx .lx-ck input:checked ~ span:last-child { color: var(--lx-muted); }
.lx .lx-prog { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; }
.lx .lx-prog__bar { flex: 1 1 auto; height: 6px; overflow: hidden; border-radius: 99px; background: var(--lx-line); }
.lx .lx-prog__bar span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--lx-ria); transition: width .3s; }
.lx .lx-prog__t { color: var(--lx-muted); font-size: 12px; font-weight: 800; font-variant-numeric: tabular-nums; }
.lx .lx-src { margin: 0; font-size: 12px; }
.lx .lx-src a { color: var(--lx-muted); font-weight: 700; }
.lx .lx-src a:hover { color: var(--lx-navy-2); text-decoration: underline; }
.lx .lx-vds { display: grid; gap: 8px; margin-bottom: 14px; }
.lx .lx-vd { --c: var(--lx-ria); display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid color-mix(in srgb, var(--c) 30%, #fff); border-left: 4px solid var(--c); border-radius: 12px; background: color-mix(in srgb, var(--c) 6%, #fff); color: var(--lx-navy); font-size: 14px; font-weight: 700; }
.lx .lx-vd i { color: var(--c); font-size: 17px; }
.lx .lx-vd--mid { --c: var(--lx-gold); }
.lx .lx-vd--no { --c: #c0392b; }
.lx .lx-box__l { margin: 4px 0 8px; color: var(--lx-muted); font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.lx .lx-prs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.lx .lx-prs li { padding: 5px 12px; border-radius: 999px; background: #e6eef7; color: var(--lx-navy-2); font-size: 13px; font-weight: 700; }

/* ===================== Qutilar ===================== */
.lx .lx-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lx .lx-box { padding: 22px; border: 1px solid var(--lx-line); border-radius: 18px; background: #fff; }
.lx .lx-box__h { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--lx-navy); font-size: 18px; font-weight: 800; line-height: 1.3; }
.lx .lx-box__h i { color: var(--lx-sci); }
.lx .lx-box__p { margin: 0 0 12px; color: var(--lx-muted); font-size: 14px; line-height: 1.6; }
.lx .lx-box__p:last-child { margin-bottom: 0; }
.lx .lx-box__p a, .lx .lx-laws a, .lx .lx-rels a { color: var(--lx-navy-2); font-weight: 700; }
.lx .lx-box__p a:hover, .lx .lx-laws a:hover, .lx .lx-rels a:hover { text-decoration: underline; }
.lx .lx-ria { display: grid; gap: 10px; counter-reset: r; }
.lx .lx-ria__i { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 12px; align-items: start; }
.lx .lx-ria__n { grid-row: 1 / 3; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: #e3f4ea; color: var(--lx-ria); font-size: 14px; font-weight: 800; }
.lx .lx-ria__i b { color: var(--lx-navy); font-size: 15px; }
.lx .lx-ria__i > span:last-child { color: var(--lx-muted); font-size: 14px; line-height: 1.45; }
.lx .lx-laws { display: grid; gap: 10px; }
.lx .lx-laws li { padding-left: 14px; border-left: 3px solid var(--lx-line); font-size: 14px; line-height: 1.45; }
.lx .lx-laws li > span { display: block; color: var(--lx-muted); font-size: 12px; }
.lx .lx-rels { display: grid; gap: 8px; }
.lx .lx-rels a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border: 1px solid var(--lx-line); border-radius: 12px; font-size: 14px; line-height: 1.35; transition: border-color .2s, background-color .2s; }
.lx .lx-rels a:hover { border-color: var(--lx-sci); background: var(--lx-soft); text-decoration: none; }
.lx .lx-rels i { width: 18px; color: var(--lx-sci); text-align: center; }

/* ===================== {static} ===================== */
.lx .lx-search { position: relative; display: flex; align-items: center; max-width: 360px; margin-bottom: 14px; }
.lx .lx-search > i { position: absolute; left: 14px; color: var(--lx-muted); pointer-events: none; }
.lx .lx-search input { width: 100%; height: 44px; margin: 0; padding: 0 14px 0 40px; border: 1px solid var(--lx-line); border-radius: 12px; background: #fff; color: var(--lx-text); font: inherit; font-size: 15px; }
.lx .lx-static { font-size: 15px; line-height: 1.6; }
.lx .lx-static > :first-child { margin-top: 0; }
.lx .lx-static table { width: 100%; margin: 0 0 16px; border: 1px solid var(--lx-line); border-radius: 14px; border-collapse: separate; border-spacing: 0; overflow: hidden; background: #fff; font-size: 14px; }
.lx .lx-static th, .lx .lx-static td { padding: 11px 14px; border: 0; border-bottom: 1px solid var(--lx-line); text-align: left; vertical-align: top; }
.lx .lx-static table tr:not(#lx-x), .lx .lx-static table td:not(#lx-x) { background: transparent; }
.lx .lx-static th { background: var(--lx-soft); color: var(--lx-navy); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.lx .lx-static tr:last-child td { border-bottom: 0; }
.lx .lx-static a { color: var(--lx-navy-2); text-decoration: underline; text-underline-offset: 2px; }
.lx .lx-static mark { padding: 0 2px; border-radius: 3px; background: #ffe58a; color: inherit; }
.lx .lx-tw { max-width: 100%; overflow-x: auto; }
.lx .lx-empty { display: flex; align-items: center; gap: 10px; margin: 0; padding: 16px; border-radius: 14px; background: var(--lx-soft); color: var(--lx-muted); }

/* ===================== Moslashuvchanlik ===================== */
@media (max-width: 1199.98px) {
	.lx .lx-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.lx .lx-fl:nth-child(3)::after { display: none; }
	.lx .lx-path { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 26px; }
	.lx .lx-path::before { display: none; }
}
@media (max-width: 991.98px) {
	.lx .lx-hero, .lx .lx-panel, .lx .lx-two { grid-template-columns: minmax(0, 1fr); }
	.lx .lx-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lx .lx-fl::after { display: none; }
}
@media (max-width: 767.98px) {
	.lx .lx-tabs { grid-template-columns: minmax(0, 1fr); }
	.lx .lx-tab:not(#lx-x) { padding: 12px 14px; }
	.lx .lx-path { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
	.lx .lx-path::before { display: block; top: 22px; bottom: 22px; left: 22px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, #c9d3e1 0 6px, transparent 6px 12px); }
	.lx .lx-pt { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 14px; align-items: start; padding: 0 0 16px; text-align: left; }
	.lx .lx-pt__dot { grid-row: 1 / 4; margin: 0; }
	.lx .lx-pt > :not(.lx-pt__dot) { grid-column: 2; justify-self: start; }
	.lx .lx-pt__t { margin-top: 4px; }
	.lx .lx-static table, .lx .lx-static tbody, .lx .lx-static tr, .lx .lx-static td { display: block; width: 100%; }
	.lx .lx-static table { border: 0; background: none; overflow: visible; }
	.lx .lx-static thead { display: none; }
	.lx .lx-static tr { margin-bottom: 10px; border: 1px solid var(--lx-line); border-radius: 14px; background: #fff; overflow: hidden; }
	.lx .lx-static tr:has(> th) { display: none; }
	.lx .lx-static td { display: grid; grid-template-columns: minmax(0, 38%) minmax(0, 1fr); gap: 10px; padding: 9px 14px; }
	.lx .lx-static td[data-label]::before { content: attr(data-label); color: var(--lx-muted); font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
	.lx .lx-tw { overflow: visible; }
}
@media (max-width: 575.98px) {
	.lx .lx-flow { grid-template-columns: minmax(0, 1fr); }
	.lx .lx-box, .lx .lx-panel { padding: 18px; }
	.lx .lx-panel__q { padding-left: 42px; }
}
@media (prefers-reduced-motion: reduce) {
	.lx *, .lx *::before, .lx *::after { transition: none; animation: none; }
}
