/*!
 * «Texnik yordam» sahifasi – technical-support.css (pri.oliymajlis.uz)
 * Bogʻliq fayllar: technical-support.tpl, js/technical-support.js
 * Kartochkalar – oq va och kulrang fonda. !important ishlatilmaydi: shablon uslublari :not(#ts-x) orqali ustun qilinadi.
 */
.ts {
	--ts-navy: #0b2a4a;
	--ts-navy2: #123b66;
	--ts-green: #1e9e57;
	--ts-text: #1a1a1a;
	--ts-muted: #5c667d;
	--ts-line: #e3e8ef;
	--ts-soft: #f4f6f9;
	--ts-focus: #1a73e8;
	--ts-r: 16px;
	color: var(--ts-text);
	font-size: 16px;
	line-height: 1.6;
	container-type: inline-size;
	container-name: ts;
	overflow-x: clip;
}
.ts *, .ts *::before, .ts *::after { box-sizing: border-box; }
.ts a:focus-visible, .ts button:focus-visible, .ts input:focus-visible, .ts select:focus-visible,
.ts textarea:focus-visible, .ts summary:focus-visible { outline: 2px solid var(--ts-focus); outline-offset: 3px; }
.ts-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ts ul { margin: 0; padding: 0; list-style: none; }
.ts li::before { content: none; }

/* ---------- Sarlavha bloki ---------- */
.ts .ts-hero {
	position: relative; padding: clamp(22px, 4vw, 40px); margin-bottom: 18px; overflow: hidden;
	border: 1px solid var(--ts-line); border-radius: 22px;
	background:
		radial-gradient(50% 120% at 100% 0%, rgba(30, 158, 87, .08) 0%, rgba(30, 158, 87, 0) 60%),
		linear-gradient(135deg, #ffffff 0%, var(--ts-soft) 100%);
}
.ts .ts-hero::after {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
	background-image: linear-gradient(var(--ts-line) 1px, transparent 1px), linear-gradient(90deg, var(--ts-line) 1px, transparent 1px);
	background-size: 30px 30px;
	-webkit-mask-image: linear-gradient(90deg, transparent 35%, #000 100%); mask-image: linear-gradient(90deg, transparent 35%, #000 100%);
}
.ts .ts-hero > * { position: relative; z-index: 1; }
.ts .ts-hero__kicker {
	display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 5px 12px;
	border: 1px solid var(--ts-line); border-radius: 999px; background: #fff;
	color: var(--ts-navy); font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
}
.ts .ts-hero__kicker i { color: var(--ts-green); }
.ts:not(#ts-x) .ts-title { margin: 0 0 10px; color: var(--ts-navy); font-size: clamp(28px, 2.4vw + 14px, 40px); font-weight: 800; line-height: 1.15; }
.ts .ts-lead { max-width: 760px; margin: 0; color: var(--ts-muted); font-size: clamp(15px, .3vw + 14px, 17px); }
.ts .ts-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.ts:not(#ts-x) .ts-jump a {
	display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px;
	border: 1px solid var(--ts-line); border-radius: 999px; background: #fff;
	color: var(--ts-navy); font-size: 14px; font-weight: 700; text-decoration: none;
	transition: border-color .2s, box-shadow .2s, transform .2s;
}
.ts:not(#ts-x) .ts-jump a i { color: var(--ts-green); }
.ts:not(#ts-x) .ts-jump a:hover { border-color: var(--ts-navy); box-shadow: 0 6px 16px rgba(11, 42, 74, .08); transform: translateY(-1px); }

/* ---------- Eslatma ---------- */
.ts .ts-note {
	display: flex; gap: 12px; align-items: flex-start; margin: 0 0 26px; padding: 14px 18px;
	border: 1px solid #f1dfb6; border-left: 4px solid #e2a226; border-radius: 12px; background: #fffaf0;
}
.ts .ts-note__ic { flex: 0 0 auto; color: #b7791f; font-size: 18px; line-height: 1.4; }
.ts .ts-note p { margin: 0; font-size: 15px; }
.ts:not(#ts-x) .ts-note a { color: var(--ts-navy); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

.ts .ts-static:empty { display: none; }
.ts .ts-static { margin-bottom: 26px; }

/* ---------- Boʻlimlar ---------- */
.ts .ts-sec { margin: 0 0 34px; }
.ts .ts-sec__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 12px; }
.ts:not(#ts-x) .ts-h {
	position: relative; margin: 0 0 12px; padding-left: 14px;
	color: var(--ts-navy); font-size: clamp(20px, .8vw + 15px, 26px); font-weight: 800; line-height: 1.25;
}
.ts .ts-sec__head .ts-h { margin: 0; }
.ts:not(#ts-x) .ts-h::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 4px; border-radius: 4px; background: var(--ts-green); }
.ts .ts-sub { margin: 0 0 16px; color: var(--ts-muted); font-size: 15px; max-width: 820px; }

/* ---------- Tezkor yechimlar ---------- */
.ts .ts-filter {
	position: relative; display: flex; align-items: center; flex: 0 1 340px; min-width: 0; margin: 0;
}
.ts .ts-filter > i { position: absolute; left: 14px; color: var(--ts-muted); pointer-events: none; }
.ts:not(#ts-x) .ts-filter__in {
	width: 100%; height: 42px; margin: 0; padding: 0 14px 0 40px;
	border: 1px solid var(--ts-line); border-radius: 999px; background: #fff; box-shadow: none;
	color: var(--ts-text); font-size: 15px;
}
.ts:not(#ts-x) .ts-filter__in:focus { border-color: var(--ts-navy2); outline: 0; box-shadow: 0 0 0 3px rgba(26, 115, 232, .15); }
.ts .ts-faq__st { margin: 0 0 8px; color: var(--ts-muted); font-size: 13px; min-height: 1em; }
.ts .ts-faq__st:empty { display: none; }
.ts .ts-faq { display: grid; gap: 10px; }
.ts .ts-faq__item { border: 1px solid var(--ts-line); border-radius: 14px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.ts .ts-faq__item[hidden] { display: none; }
.ts .ts-faq__item[open] { border-color: #cfd9e5; background: linear-gradient(180deg, #fff 0%, var(--ts-soft) 100%); box-shadow: 0 8px 20px rgba(11, 42, 74, .06); }
.ts .ts-faq__item summary {
	display: flex; align-items: center; gap: 14px; padding: 14px 18px; cursor: pointer; list-style: none;
	color: var(--ts-navy); font-weight: 700; font-size: 16px; line-height: 1.35;
}
.ts .ts-faq__item summary::-webkit-details-marker { display: none; }
.ts .ts-faq__ic {
	display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
	width: 38px; height: 38px; border-radius: 11px; background: var(--ts-soft); color: var(--ts-navy); font-size: 15px;
}
.ts .ts-faq__item[open] .ts-faq__ic { background: #e3f4ea; color: var(--ts-green); }
.ts .ts-faq__q { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.ts .ts-faq__ch { flex: 0 0 auto; color: var(--ts-muted); transition: transform .2s; }
.ts .ts-faq__item[open] .ts-faq__ch { transform: rotate(180deg); }
.ts .ts-faq__a { display: grid; gap: 8px; padding: 0 18px 16px 70px; }
.ts .ts-faq__a li { position: relative; padding-left: 18px; color: #333d4f; font-size: 15px; }
.ts:not(#ts-x) .ts-faq__a li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--ts-green); }
.ts:not(#ts-x) .ts-faq__a a { color: var(--ts-navy); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.ts .ts-faq__a mark, .ts .ts-faq__q mark { padding: 0 1px; border-radius: 3px; background: #fff1b8; color: inherit; }

/* ---------- Xabar shakli ---------- */
.ts .ts-form { padding: clamp(18px, 3vw, 28px); border: 1px solid var(--ts-line); border-radius: var(--ts-r); background: linear-gradient(180deg, #fff 0%, var(--ts-soft) 100%); }
.ts .ts-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.ts .ts-field { display: flex; flex-direction: column; gap: 6px; margin: 0; min-width: 0; }
.ts .ts-field--wide { grid-column: 1 / -1; }
.ts .ts-field > span { color: var(--ts-navy); font-size: 14px; font-weight: 700; }
.ts .ts-field > span b { color: #c0392b; }
.ts:not(#ts-x) .ts-field select, .ts:not(#ts-x) .ts-field input, .ts:not(#ts-x) .ts-field textarea {
	width: 100%; margin: 0; padding: 10px 14px; border: 1px solid #d5dde8; border-radius: 10px; background: #fff; box-shadow: none;
	color: var(--ts-text); font: inherit; font-size: 15px; line-height: 1.5;
}
.ts:not(#ts-x) .ts-field select, .ts:not(#ts-x) .ts-field input { height: 46px; }
.ts:not(#ts-x) .ts-field textarea { min-height: 130px; resize: vertical; }
.ts:not(#ts-x) .ts-field select:focus, .ts:not(#ts-x) .ts-field input:focus, .ts:not(#ts-x) .ts-field textarea:focus {
	border-color: var(--ts-navy2); outline: 0; box-shadow: 0 0 0 3px rgba(26, 115, 232, .15);
}
.ts:not(#ts-x) .ts-field textarea[aria-invalid="true"] { border-color: #c0392b; }
.ts .ts-check { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0 6px; font-size: 15px; cursor: pointer; }
.ts:not(#ts-x) .ts-check input { width: 18px; height: 18px; margin: 3px 0 0; flex: 0 0 auto; accent-color: var(--ts-green); }
.ts .ts-diag { margin: 0 0 14px 28px; font-size: 14px; }
.ts .ts-diag summary { color: var(--ts-navy); font-weight: 600; cursor: pointer; }
.ts .ts-diag__list { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; margin: 10px 0 6px; padding: 12px 14px; border: 1px solid var(--ts-line); border-radius: 10px; background: #fff; }
.ts .ts-diag__list dt { color: var(--ts-muted); font-weight: 600; }
.ts .ts-diag__list dd { margin: 0; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.ts .ts-diag__note { margin: 0; color: var(--ts-muted); font-size: 13px; }
.ts .ts-form__err { margin: 0 0 12px; color: #c0392b; font-weight: 600; font-size: 14px; }
.ts .ts-form__acts { display: flex; flex-wrap: wrap; gap: 10px; }
.ts:not(#ts-x) .ts-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: auto; min-height: 46px; padding: 10px 20px;
	border: 1px solid #cfd9e5; border-radius: 999px; background: #fff; box-shadow: none;
	color: var(--ts-navy); font-size: 15px; font-weight: 700; white-space: normal; text-decoration: none; cursor: pointer;
	transition: background .2s, border-color .2s, color .2s;
}
.ts:not(#ts-x) .ts-btn:hover { border-color: var(--ts-navy); background: var(--ts-soft); color: var(--ts-navy); }
.ts:not(#ts-x) .ts-btn--main { border-color: var(--ts-green); background: var(--ts-green); color: #fff; }
.ts:not(#ts-x) .ts-btn--main:hover { border-color: #178548; background: #178548; color: #fff; }
.ts .ts-form__ok { margin: 12px 0 0; color: var(--ts-green); font-weight: 600; font-size: 14px; }
.ts .ts-form__ok:empty { display: none; }

/* ---------- Talablar ---------- */
.ts .ts-req { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ts .ts-req__item { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--ts-line); border-radius: 14px; background: #fff; }
.ts .ts-req__ic { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 11px; background: var(--ts-soft); color: var(--ts-navy); }
.ts .ts-req__item b { display: block; color: var(--ts-navy); font-size: 15px; }
.ts .ts-req__item b + span { display: block; color: var(--ts-muted); font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }

/* ---------- Xavfsizlik ---------- */
.ts .ts-sec--sec { padding: clamp(18px, 3vw, 26px); border: 1px solid var(--ts-line); border-radius: var(--ts-r); background: var(--ts-soft); }
.ts .ts-sec--sec .ts-sub b { color: var(--ts-navy); overflow-wrap: anywhere; }
.ts .ts-rules { display: grid; gap: 8px; }
.ts .ts-rules li { position: relative; padding-left: 26px; font-size: 15px; }
.ts:not(#ts-x) .ts-rules li::before { content: "\f00c"; position: absolute; left: 0; top: 0; color: var(--ts-green); font: 900 13px/1.8 "Font Awesome 6 Free"; }

/* ---------- Aloqa ---------- */
.ts .ts-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ts .ts-card { display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1px solid var(--ts-line); border-radius: var(--ts-r); background: linear-gradient(180deg, #fff 0%, var(--ts-soft) 100%); transition: box-shadow .2s, transform .2s; }
.ts .ts-card:hover { box-shadow: 0 10px 24px rgba(11, 42, 74, .08); transform: translateY(-2px); }
.ts .ts-card__ic { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 4px; border-radius: 12px; background: #e3f4ea; color: var(--ts-green); font-size: 17px; }
.ts:not(#ts-x) .ts-card__h { margin: 0; color: var(--ts-navy); font-size: 17px; font-weight: 800; }
.ts .ts-card p { margin: 0; color: var(--ts-muted); font-size: 14px; flex: 1 1 auto; }
.ts:not(#ts-x) .ts-card__a { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; color: var(--ts-navy); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.ts:not(#ts-x) .ts-card__a:hover { color: var(--ts-green); text-decoration: underline; }
.ts .ts-more { margin: 16px 0 0; color: var(--ts-muted); font-size: 14px; }
.ts:not(#ts-x) .ts-more a { color: var(--ts-navy); font-weight: 600; }

/* ---------- Huquqiy asos ---------- */
.ts .ts-law__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ts:not(#ts-x) .ts-law__list a {
	display: flex; gap: 12px; align-items: flex-start; height: 100%; padding: 14px 16px;
	border: 1px solid var(--ts-line); border-radius: 12px; background: var(--ts-soft);
	color: var(--ts-navy); font-weight: 600; font-size: 15px; line-height: 1.5; text-decoration: none; overflow-wrap: anywhere;
}
.ts:not(#ts-x) .ts-law__list a:hover { border-color: #cfd9e5; background: #fff; color: var(--ts-green); }
.ts .ts-law__list i { flex: 0 0 auto; margin-top: 4px; color: var(--ts-green); }
.ts .ts-upd { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--ts-muted); font-size: 13px; }

/* ---------- Moslashuvchanlik ---------- */
@container ts (max-width: 991.98px) {
	.ts .ts-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container ts (max-width: 767.98px) {
	.ts .ts-req, .ts .ts-law__list, .ts .ts-form__grid { grid-template-columns: 1fr; }
	.ts .ts-filter { flex: 1 1 100%; }
	.ts .ts-faq__a { padding-left: 18px; }
}
@container ts (max-width: 575.98px) {
	.ts .ts-cards { grid-template-columns: 1fr; }
	.ts .ts-faq__item summary { padding: 12px 14px; gap: 12px; font-size: 15px; }
	.ts .ts-faq__ic { width: 34px; height: 34px; }
	.ts:not(#ts-x) .ts-form__acts .ts-btn { flex: 1 1 100%; }
	.ts .ts-diag { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.ts *, .ts *::before, .ts *::after { transition: none; }
	.ts .ts-card:hover, .ts:not(#ts-x) .ts-jump a:hover { transform: none; }
}
@media print {
	.ts .ts-hero::after, .ts .ts-jump, .ts .ts-filter, .ts .ts-form, .ts .ts-note { display: none; }
	.ts .ts-faq__a { padding-left: 18px; }
}

/* ---------- Veb-pochta zaxirasi ---------- */
.ts .ts-alt { margin-top: 16px; padding: 16px 18px; border: 1px dashed #cfd9e5; border-radius: 12px; background: #fff; }
.ts .ts-alt[hidden] { display: none; }
.ts .ts-alt__h { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 12px; color: var(--ts-navy); font-weight: 700; font-size: 15px; }
.ts .ts-alt__h i { margin-top: 4px; color: var(--ts-green); }
.ts .ts-alt__links { display: flex; flex-wrap: wrap; gap: 8px; }
.ts:not(#ts-x) .ts-alt__links .ts-btn { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.ts .ts-alt__p { margin: 12px 0 0; color: var(--ts-muted); font-size: 14px; }
.ts .ts-alt__p b { color: var(--ts-navy); overflow-wrap: anywhere; }
@container ts (max-width: 575.98px) {
	.ts:not(#ts-x) .ts-alt__links .ts-btn { flex: 1 1 100%; }
}
