/* =====================================================================
   "Qonunchilikni takomillashtirish takliflari" — legislative-proposals.css (pri.oliymajlis.uz)
   Faqat .lp* klasslari; !important ishlatilmagan. Bogʻliq fayllar: legislative-proposals.tpl, js/legislative-proposals.js
   ===================================================================== */

.lp {
	--lp-navy: #0b2a4a;
	--lp-navy-2: #123b66;
	--lp-blue: #4a7fb5;
	--lp-green: #1e9e57;
	--lp-violet: #7c5cc4;
	--lp-gold: #b7791f;
	--lp-red: #c0392b;
	--lp-text: #1a1a1a;
	--lp-muted: #5c667d;
	--lp-line: #e3e8ef;
	--lp-soft: #f4f6f9;
	--lp-focus: #1a73e8;
	color: var(--lp-text);
	overflow-wrap: break-word;
}
.lp *, .lp *::before, .lp *::after { box-sizing: border-box; }
.lp ul, .lp ol { margin: 0; padding: 0; list-style: none; }
.lp li { margin: 0; padding: 0; }
.lp li::before { content: none; }
.lp a { text-decoration: none; }
.lp [hidden]:not(#lp-x) { display: none; }
.lp a:focus-visible, .lp button:focus-visible, .lp input:focus-visible, .lp select:focus-visible, .lp textarea:focus-visible, .lp [tabindex]:focus-visible { outline: 2px solid var(--lp-focus); outline-offset: 3px; }
.lp button:not(#lp-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; }
.lp button:not(#lp-x)::before, .lp button:not(#lp-x)::after { display: none; }

/* ===================== Hero ===================== */
.lp .lp-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(183, 121, 31, .3) 0%, rgba(183, 121, 31, 0) 60%),
		radial-gradient(40% 90% at 8% 100%, rgba(30, 158, 87, .24) 0%, rgba(30, 158, 87, 0) 60%),
		linear-gradient(135deg, var(--lp-navy) 0%, var(--lp-navy-2) 100%);
}
.lp .lp-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07; background-image: repeating-linear-gradient(135deg, #fff 0 1px, transparent 1px 26px); }
.lp .lp-hero > * { position: relative; z-index: 1; }
.lp .lp-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; }
.lp .lp-title { margin: 0 0 14px; color: #fff; font-size: clamp(26px, 2.2vw + 14px, 40px); font-weight: 800; line-height: 1.15; }
.lp .lp-lead { margin: 0; color: rgba(255, 255, 255, .84); font-size: clamp(15px, .3vw + 13px, 17px); line-height: 1.6; }
.lp .lp-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.lp .lp-keys { display: grid; gap: 10px; }
.lp .lp-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); }
.lp .lp-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: #f2c76b; font-size: 18px; }
.lp .lp-key__b { display: flex; flex-direction: column; min-width: 0; }
.lp .lp-key__l { color: rgba(255, 255, 255, .7); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.lp .lp-key b { color: #fff; font-size: 19px; font-weight: 800; line-height: 1.25; }
.lp .lp-key small { color: rgba(255, 255, 255, .78); font-size: 13px; }

/* Tugmalar */
.lp .lp-btn:not(#lp-x) { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border: 1px solid transparent; border-radius: 12px; background: #fff; color: var(--lp-navy); font-size: 14px; font-weight: 700; line-height: 1.3; transition: transform .2s, background-color .2s, border-color .2s; }
.lp .lp-btn:not(#lp-x):hover { transform: translateY(-2px); color: var(--lp-navy); }
.lp .lp-btn--dark:not(#lp-x) { background: var(--lp-navy); color: #fff; }
.lp .lp-btn--dark:not(#lp-x):hover { background: var(--lp-navy-2); color: #fff; }
.lp .lp-btn--line:not(#lp-x) { border-color: var(--lp-line); background: #fff; color: var(--lp-navy); }
.lp .lp-btn--line:not(#lp-x):hover { border-color: var(--lp-blue); }
.lp .lp-btn.is-done:not(#lp-x) { background: var(--lp-green); }

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

/* ===================== Yoʻnalishlar ===================== */
.lp .lp-fns { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; align-items: start; }
.lp .lp-fn { --c: var(--lp-blue); position: relative; border: 1px solid var(--lp-line); border-top: 4px solid var(--c); border-radius: 16px; background: #fff; transition: box-shadow .2s; }
.lp .lp-fn--ana { --c: var(--lp-gold); }
.lp .lp-fn--pub { --c: var(--lp-green); }
.lp .lp-fn--cod { --c: var(--lp-violet); }
.lp .lp-fn--sci { --c: var(--lp-navy-2); }
.lp .lp-fn:hover, .lp .lp-fn.is-open { box-shadow: 0 12px 28px rgba(11, 42, 74, .09); }
.lp .lp-fn__b:not(#lp-x) { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 8px; text-align: left; width: 100%; padding: 18px 16px 14px; }
.lp .lp-fn__ic { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 2px; border-radius: 12px; background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); font-size: 18px; }
.lp .lp-fn__t { color: var(--lp-navy); font-size: 15px; font-weight: 800; line-height: 1.3; }
.lp .lp-fn__d { color: var(--lp-muted); font-size: 13px; line-height: 1.5; }
.lp .lp-fn__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; color: var(--c); font-size: 12px; font-weight: 800; }
.lp .lp-fn__more .fa-chevron-down { transition: transform .2s; }
.lp .lp-fn.is-open .lp-fn__more .fa-chevron-down { transform: rotate(180deg); }
.lp .lp-fn__q { margin: 0 12px 12px; padding: 12px 14px; border: 0; border-left: 3px solid var(--c); border-radius: 0 10px 10px 0; background: color-mix(in srgb, var(--c) 7%, #fff); animation: lp-in .25s ease backwards; }
.lp .lp-fn__q p { margin: 0; color: var(--lp-navy); font-size: 13px; font-style: italic; line-height: 1.55; }
@keyframes lp-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ===================== Muammo turlari ===================== */
.lp .lp-pb { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.lp .lp-pts { display: grid; gap: 8px; align-content: start; }
.lp .lp-pt:not(#lp-x) { --c: var(--lp-blue); display: flex; align-items: center; justify-content: flex-start; gap: 12px; text-align: left; padding: 14px 16px; border: 1px solid var(--lp-line); border-radius: 14px; background: #fff; color: var(--lp-navy); font-weight: 800; transition: border-color .2s, background-color .2s; }
.lp .lp-pt#lp-pt-col { --c: var(--lp-gold); }
.lp .lp-pt#lp-pt-mis { --c: var(--lp-red); }
.lp .lp-pt > i { width: 20px; color: var(--c); text-align: center; }
.lp .lp-pt:not(#lp-x):hover { border-color: var(--c); }
.lp .lp-pt:not(#lp-x)[aria-selected="true"] { border-color: var(--c); background: color-mix(in srgb, var(--c) 9%, #fff); box-shadow: inset 4px 0 0 var(--c); }
.lp .lp-pp { --c: var(--lp-blue); display: flex; gap: 18px; padding: 24px; border: 1px solid var(--lp-line); border-radius: 18px; background: #fff; animation: lp-in .3s ease backwards; }
.lp .lp-pp--col { --c: var(--lp-gold); }
.lp .lp-pp--mis { --c: var(--lp-red); }
.lp .lp-pp__ic { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 16px; background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); font-size: 24px; }
.lp .lp-pp__d { margin: 0 0 12px; color: var(--lp-navy); font-size: 17px; font-weight: 700; line-height: 1.5; }
.lp .lp-pp__e { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--lp-soft); color: var(--lp-muted); font-size: 14px; line-height: 1.55; }

/* ===================== Qutilar ===================== */
.lp .lp-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lp .lp-two--form { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.lp .lp-box { padding: 22px; border: 1px solid var(--lp-line); border-radius: 18px; background: #fff; }
.lp .lp-box__h { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; color: var(--lp-navy); font-size: 18px; font-weight: 800; line-height: 1.3; scroll-margin-top: 90px; }
.lp .lp-box__h i { color: var(--lp-blue); }
.lp .lp-box__p { margin: 0 0 14px; color: var(--lp-muted); font-size: 14px; line-height: 1.6; }
.lp .lp-note { margin: 14px 0 0; }

/* Shablon */
.lp .lp-fs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lp .lp-f { display: flex; flex-direction: column; gap: 6px; margin: 0; font-weight: 400; }
.lp .lp-f--w { grid-column: 1 / -1; }
.lp .lp-f > span { color: var(--lp-navy); font-size: 13px; font-weight: 800; }
.lp .lp-f input, .lp .lp-f select, .lp .lp-f textarea { width: 100%; margin: 0; padding: 10px 12px; border: 1px solid var(--lp-line); border-radius: 10px; background: #fff; color: var(--lp-text); font: inherit; font-size: 14px; line-height: 1.45; }
.lp .lp-f input, .lp .lp-f select { height: 44px; }
.lp .lp-f textarea { min-height: 70px; resize: vertical; }
.lp .lp-f input:focus, .lp .lp-f select:focus, .lp .lp-f textarea:focus { border-color: var(--lp-blue); }
.lp .lp-msg { min-height: 1.4em; margin: 10px 0 6px; color: var(--lp-red); font-size: 13px; }
.lp .lp-msg.is-ok { color: var(--lp-green); }
.lp .lp-acts { display: flex; flex-wrap: wrap; gap: 10px; }

/* Kanallar */
.lp .lp-chs { display: grid; gap: 10px; }
.lp .lp-ch { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--lp-line); border-radius: 14px; color: var(--lp-navy); transition: border-color .2s, background-color .2s, transform .2s; }
.lp .lp-ch:hover { transform: translateX(3px); border-color: var(--lp-blue); background: var(--lp-soft); color: var(--lp-navy); }
.lp .lp-ch__ic { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: #e6eef7; color: var(--lp-navy-2); font-size: 17px; }
.lp .lp-ch__b { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; }
.lp .lp-ch b { font-size: 15px; }
.lp .lp-ch small { color: var(--lp-muted); font-size: 13px; line-height: 1.4; }
.lp .lp-ch__go { color: var(--lp-muted); font-size: 13px; }

.lp .lp-laws { display: grid; gap: 10px; }
.lp .lp-laws li { padding-left: 14px; border-left: 3px solid var(--lp-line); font-size: 14px; line-height: 1.45; }
.lp .lp-laws li > span { display: block; color: var(--lp-muted); font-size: 12px; }
.lp .lp-laws a, .lp .lp-rels a { color: var(--lp-navy-2); font-weight: 700; }
.lp .lp-laws a:hover { text-decoration: underline; }
.lp .lp-rels { display: grid; gap: 8px; }
.lp .lp-rels a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border: 1px solid var(--lp-line); border-radius: 12px; font-size: 14px; line-height: 1.35; transition: border-color .2s, background-color .2s; }
.lp .lp-rels a:hover { border-color: var(--lp-blue); background: var(--lp-soft); }
.lp .lp-rels i { width: 18px; color: var(--lp-blue); text-align: center; }

/* {static} */
.lp .lp-static { font-size: 15px; line-height: 1.6; }
.lp .lp-static > :first-child { margin-top: 0; }
.lp .lp-static table { width: 100%; margin: 0 0 16px; border: 1px solid var(--lp-line); border-radius: 14px; border-collapse: separate; border-spacing: 0; overflow: hidden; background: #fff; font-size: 14px; }
.lp .lp-static th, .lp .lp-static td { padding: 11px 14px; border: 0; border-bottom: 1px solid var(--lp-line); text-align: left; vertical-align: top; }
.lp .lp-static table tr:not(#lp-x), .lp .lp-static table td:not(#lp-x) { background: transparent; }
.lp .lp-static th { background: var(--lp-soft); color: var(--lp-navy); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.lp .lp-static tr:last-child td { border-bottom: 0; }
.lp .lp-static a { color: var(--lp-navy-2); text-decoration: underline; text-underline-offset: 2px; }
.lp .lp-tw { max-width: 100%; overflow-x: auto; }

/* ===================== Moslashuvchanlik ===================== */
@media (max-width: 1199.98px) {
	.lp .lp-fns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
	.lp .lp-hero, .lp .lp-two, .lp .lp-two--form, .lp .lp-pb { grid-template-columns: minmax(0, 1fr); }
	.lp .lp-fns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lp .lp-pts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
	.lp .lp-pts { grid-template-columns: minmax(0, 1fr); }
	.lp .lp-fs { grid-template-columns: minmax(0, 1fr); }
	.lp .lp-static table, .lp .lp-static tbody, .lp .lp-static tr, .lp .lp-static td { display: block; width: 100%; }
	.lp .lp-static table { border: 0; background: none; overflow: visible; }
	.lp .lp-static thead { display: none; }
	.lp .lp-static tr { margin-bottom: 10px; border: 1px solid var(--lp-line); border-radius: 14px; background: #fff; overflow: hidden; }
	.lp .lp-static tr:has(> th) { display: none; }
	.lp .lp-static td { display: grid; grid-template-columns: minmax(0, 38%) minmax(0, 1fr); gap: 10px; padding: 9px 14px; }
	.lp .lp-static td[data-label]::before { content: attr(data-label); color: var(--lp-muted); font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
	.lp .lp-tw { overflow: visible; }
}
@media (max-width: 575.98px) {
	.lp .lp-fns { grid-template-columns: minmax(0, 1fr); }
	.lp .lp-box, .lp .lp-pp { padding: 18px; }
	.lp .lp-pp { flex-direction: column; }
	.lp .lp-acts .lp-btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.lp *, .lp *::before, .lp *::after { transition: none; animation: none; }
}
