/* v1.10.0: Boshqaruv paneli (bimfab.uz/boshqaruv/) — sayt ranglari (kunduzgi va tungi rejim) bilan. */
.bq { max-width: 1440px; margin: 0 auto; padding: 28px var(--chet) 72px; font-size: .9375rem; line-height: 1.5; }
.bq * { box-sizing: border-box; }
.bq h2, .bq h3 { margin: 0; }
.bq-bosh-qator { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 32px; margin-bottom: 24px; border-bottom: 1px solid var(--chiziq); }
.bq-sarlavha { font: 600 1.625rem/1.2 var(--sarlavha-shrift); margin: 0 0 14px; }
.bq-varaqlar { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.bq-varaqlar::-webkit-scrollbar { display: none; }
.bq-varaqlar button { appearance: none; background: none; border: 0; border-bottom: 3px solid transparent; padding: 10px 14px 11px; font: 600 .9375rem/1.2 var(--shrift); color: var(--kul); cursor: pointer; white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; }
.bq-varaqlar button:hover { color: var(--siyoh); }
.bq-varaqlar button[aria-selected="true"] { color: var(--siyoh); border-bottom-color: var(--kok); }
.bq-varaqlar button:focus-visible { outline: 2px solid var(--kok); outline-offset: -2px; }
.bq-nishon { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--kok); color: var(--teskari); font-size: .75rem; line-height: 20px; text-align: center; }
.bq-yuklanmoqda, .bq-bosh-xabar { color: var(--kul); padding: 24px 0; }
.bq-xato-qator { color: var(--qizil); padding: 16px 0; }

/* Kartalar (asosiy raqamlar) */
.bq-kartalar { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 12px; margin-bottom: 20px; }
.bq-karta { background: var(--oq); border: 1px solid var(--chiziq); border-radius: var(--r); padding: 14px 16px 15px; min-width: 0; }
.bq-karta button.bq-karta-havola { all: unset; cursor: pointer; display: block; }
.bq-k-nom { font-size: .8125rem; color: var(--kul); display: block; margin-bottom: 4px; }
.bq-k-son { font: 600 1.625rem/1.15 var(--sarlavha-shrift); color: var(--siyoh); display: block; font-variant-numeric: tabular-nums; }
.bq-k-izoh { font-size: .8125rem; color: var(--kul); display: block; margin-top: 4px; }
.bq-k-jonli .bq-k-son::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--yashil); margin-right: 8px; vertical-align: .22em; box-shadow: 0 0 0 3px color-mix(in srgb, var(--yashil) 25%, transparent); }

/* Panellar va to‘r */
.bq-panel { background: var(--oq); border: 1px solid var(--chiziq); border-radius: var(--r); padding: 18px 18px 16px; min-width: 0; }
.bq-panel-bosh { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 14px; }
.bq-panel h3 { font: 600 1rem/1.3 var(--shrift); }
.bq-panel .bq-izoh { font-size: .8125rem; color: var(--kul); margin: 0; }
.bq-tor { display: grid; gap: 16px; margin-bottom: 16px; }
.bq-tor-2 { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.bq-ustun { display: flex; flex-direction: column; gap: 16px; min-width: 0; } /* v1.15.2: Mamlakatlar + Viloyatlar */
.bq-ustun > .bq-panel { margin: 0; }
.bq-tor-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bq-tor-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .bq-tor-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bq-tor-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .bq-tor-2, .bq-tor-3, .bq-tor-4 { grid-template-columns: minmax(0, 1fr); } }

/* Asboblar qatori (filtrlar, davr) */
.bq-asbob { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; margin-bottom: 16px; }
.bq-asbob .bq-bosh-joy { flex: 1 1 auto; }
.bq input[type=text], .bq input[type=search], .bq input[type=email], .bq input[type=number], .bq input[type=date], .bq input[type=time], .bq select, .bq textarea {
	min-height: 40px; padding: 8px 11px; border: 1.5px solid var(--chiziq-q); border-radius: var(--r); background: var(--oq);
	font: 400 .9375rem/1.4 var(--shrift); color: var(--siyoh); max-width: 100%;
}
.bq textarea { width: 100%; resize: vertical; min-height: 120px; }
.bq input:focus, .bq select:focus, .bq textarea:focus { border-color: var(--kok); outline: 2px solid var(--kok-och); outline-offset: 0; }
.bq input[type=search] { width: 280px; }
.bq .tugma { padding: 9px 16px; font-size: .875rem; min-height: 40px; }
.bq .tugma.xavfli { background: var(--qizil); border-color: var(--qizil); color: #fff; }
.bq .tugma.xavfli:hover { filter: brightness(1.08); }
.bq-tanlov { display: inline-flex; border: 1.5px solid var(--chiziq-q); border-radius: var(--r); overflow: hidden; }
.bq-tanlov button { appearance: none; border: 0; background: var(--oq); color: var(--siyoh); padding: 8px 13px; font: 600 .875rem/1.2 var(--shrift); cursor: pointer; min-height: 37px; }
.bq-tanlov button + button { border-left: 1px solid var(--chiziq); }
.bq-tanlov button[aria-pressed="true"] { background: var(--siyoh); color: var(--teskari); }
.bq-tanlov button:focus-visible { outline: 2px solid var(--kok); outline-offset: -2px; }

/* Grafik */
.bq-grafik { position: relative; }
.bq-grafik svg { display: block; width: 100%; height: 220px; overflow: visible; }
.bq-grafik .o-chiziq { stroke: var(--chiziq); stroke-width: 1; }
.bq-grafik .o-matn { fill: var(--kul); font: 400 11px var(--shrift); }
.bq-grafik .ust { fill: var(--kok); }
.bq-grafik .ust-faol { fill: var(--siyoh); }
.bq-grafik .zona { fill: transparent; cursor: default; }
.bq-uchqun { position: absolute; z-index: 5; pointer-events: none; background: var(--siyoh); color: var(--teskari); padding: 8px 10px; border-radius: var(--r); font-size: .8125rem; line-height: 1.45; white-space: nowrap; box-shadow: 0 4px 16px rgba(0,0,0,.18); transform: translate(-50%, calc(-100% - 10px)); }
.bq-uchqun b { font-weight: 600; }
.bq-uchqun[hidden] { display: none; }

/* Ro‘yxat-ustunlar (mamlakatlar, sahifalar…) */
.bq-royxat { list-style: none; margin: 0; padding: 0; }
.bq-royxat li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 7px 0 8px; border-top: 1px solid var(--chiziq); font-size: .875rem; }
.bq-royxat li:first-child { border-top: 0; }
.bq-royxat li[hidden] { display: none; }
.bq-royxat .r-nom { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bq-royxat .r-nom small { color: var(--kul); margin-left: 6px; }
.bq-royxat .r-son { font-variant-numeric: tabular-nums; color: var(--siyoh); text-align: right; white-space: nowrap; }
.bq-royxat .r-son small { color: var(--kul); }
.bq-royxat .r-ust { grid-column: 1 / -1; height: 6px; background: var(--qogoz-2); border-radius: 0 4px 4px 0; overflow: hidden; }
.bq-royxat .r-ust i { display: block; height: 100%; background: var(--kok); border-radius: 0 4px 4px 0; min-width: 2px; }
.bq-royxat a { color: var(--siyoh); text-decoration: none; }
.bq-royxat a:hover { color: var(--kok); text-decoration: underline; }
.bq-royxat button.r-nom { all: unset; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bq-royxat button.r-nom:hover { color: var(--kok); text-decoration: underline; }
.bq-royxat button.r-nom:focus-visible { outline: 2px solid var(--kok); }
.bq-bosh-royxat { color: var(--kul); font-size: .875rem; padding: 8px 0; }
.bq-koproq { margin-top: 10px; }
.bq-koproq button { all: unset; cursor: pointer; color: var(--kok); font-size: .875rem; font-weight: 600; }

/* Globus */
.bq-globus-quti { position: relative; }
.bq-globus { position: relative; width: 100%; aspect-ratio: 1 / 1; max-height: 620px; margin: 0 auto; touch-action: none; cursor: grab; }
.bq-globus:active { cursor: grabbing; }
.bq-globus canvas { display: block; width: 100% !important; height: 100% !important; }
.bq-globus.tekis { aspect-ratio: 2 / 1; cursor: default; touch-action: auto; }
.bq-globus .bq-uchqun { transform: translate(-50%, calc(-100% - 12px)); }
.bq-globus-boshqar { position: absolute; right: 8px; bottom: 8px; display: flex; gap: 6px; }
.bq-globus-boshqar button { appearance: none; width: 36px; height: 36px; border: 1px solid var(--chiziq-q); border-radius: var(--r); background: var(--oq); color: var(--siyoh); font: 600 1.1rem/1 var(--shrift); cursor: pointer; }
.bq-globus-boshqar button:hover { border-color: var(--kok); color: var(--kok); }
.bq-manba { font-size: .75rem; color: var(--kul); margin: 8px 0 0; }
.bq-manba a { color: var(--kul); }

/* Jadvallar */
.bq-jadval-o { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--chiziq); border-radius: var(--r); background: var(--oq); }
.bq-jadval { width: 100%; border-collapse: collapse; font-size: .875rem; }
.bq-jadval th { text-align: left; font-weight: 600; color: var(--kul); font-size: .8125rem; padding: 10px 12px; border-bottom: 1px solid var(--chiziq); white-space: nowrap; background: var(--oq); }
.bq-jadval td { padding: 10px 12px; border-top: 1px solid var(--chiziq); vertical-align: top; }
.bq-jadval tr:first-child td { border-top: 0; }
.bq-jadval tbody tr:hover td { background: var(--qogoz); }
.bq-jadval .son { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bq-jadval .nw { white-space: nowrap; }
.bq-jadval .kul { color: var(--kul); }
.bq-jadval button.bq-ochuvchi { all: unset; cursor: pointer; font-weight: 600; color: var(--siyoh); }
.bq-jadval button.bq-ochuvchi:hover { color: var(--kok); text-decoration: underline; }
.bq-jadval button.bq-ochuvchi:focus-visible { outline: 2px solid var(--kok); outline-offset: 2px; }
.bq-jadval .qisqa { color: var(--kul); max-width: 360px; }
.bq-sahifalash { display: flex; gap: 8px; align-items: center; justify-content: flex-end; margin-top: 12px; font-size: .875rem; color: var(--kul); }
.bq-jami { font-size: .875rem; color: var(--kul); }

/* Belgilar (holatlar) — rang yolg‘iz emas, doim matn bilan */
.bq-belgi { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: .75rem; font-weight: 600; line-height: 1.5; white-space: nowrap; border: 1px solid currentColor; }
.bq-belgi.yangi { color: var(--kok); background: var(--kok-och); }
.bq-belgi.korildi { color: var(--kul); }
.bq-belgi.javob { color: var(--yashil); }
.bq-belgi.yopildi { color: var(--chiziq-q); }
.bq-belgi.blok { color: var(--qizil); }
.bq-belgi.admin, .bq-belgi.xodim { color: var(--siyoh-2); }

/* Oyna (modal) */
.bq-oyna { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: flex-start; justify-content: center; padding: 5vh 16px; }
.bq-oyna[hidden] { display: none; }
.bq-oyna-fon { position: absolute; inset: 0; background: rgba(10, 15, 20, .55); }
.bq-oyna-quti { position: relative; width: 100%; max-width: 900px; max-height: 90vh; overflow: auto; background: var(--qogoz); border: 1px solid var(--chiziq); border-radius: var(--r); box-shadow: 0 12px 48px rgba(0,0,0,.3); }
.bq-oyna-bosh { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; background: var(--oq); border-bottom: 1px solid var(--chiziq); }
.bq-oyna-bosh h2 { font: 600 1.125rem/1.3 var(--shrift); min-width: 0; overflow-wrap: anywhere; }
.bq-yop { appearance: none; border: 0; background: none; font-size: 1.75rem; line-height: 1; color: var(--kul); cursor: pointer; width: 40px; height: 40px; flex: none; }
.bq-yop:hover { color: var(--siyoh); }
.bq-oyna-ichi { padding: 18px; display: grid; gap: 16px; }
.bq-oyna-ichi .bq-panel h3 { margin-bottom: 12px; }
@media (max-width: 640px) { .bq-oyna { padding: 0; } .bq-oyna-quti { max-height: 100vh; height: 100%; border-radius: 0; } }
body.bq-oyna-ochiq { overflow: hidden; }

.bq-malumot { display: grid; grid-template-columns: minmax(120px, max-content) minmax(0, 1fr); gap: 6px 16px; margin: 0; font-size: .9rem; }
.bq-malumot dt { color: var(--kul); }
.bq-malumot dd { margin: 0; overflow-wrap: anywhere; }
.bq-malumot a { color: var(--kok); }
@media (max-width: 520px) { .bq-malumot { grid-template-columns: minmax(0, 1fr); } .bq-malumot dd { margin-bottom: 6px; } }
.bq-matn { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; font-size: .9375rem; }
.bq-amallar { display: flex; flex-wrap: wrap; gap: 8px; }
.bq-forma { display: grid; gap: 10px; }
.bq-forma label { display: grid; gap: 4px; font-size: .8125rem; font-weight: 600; color: var(--siyoh-2); }
.bq-forma input[type=text], .bq-forma input[type=email], .bq-forma input[type=number], .bq-forma input[type=date] { width: 100%; }
.bq-forma[hidden] { display: none; }
.bq-ogoh { margin: 0; font-size: .8125rem; color: var(--kul); }
.bq-javob { border-top: 1px solid var(--chiziq); padding-top: 10px; margin-top: 10px; }
.bq-javob:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.bq-javob .kim { font-size: .8125rem; color: var(--kul); margin-bottom: 4px; }

/* Bildirishnoma */
.bq-xabar { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 10001; max-width: calc(100% - 32px); background: var(--siyoh); color: var(--teskari); padding: 12px 18px; border-radius: var(--r); box-shadow: 0 8px 28px rgba(0,0,0,.25); font-size: .9375rem; }
.bq-xabar.xato { background: var(--qizil); color: #fff; }
.bq-xabar[hidden] { display: none; }

@media (max-width: 640px) {
	.bq { padding-top: 18px; }
	.bq-sarlavha { font-size: 1.375rem; }
	.bq input[type=search] { width: 100%; }
	.bq-asbob > * { flex: 1 1 auto; }
	.bq-asbob .bq-tanlov { flex: 1 1 100%; overflow-x: auto; }
	.bq-asbob .bq-tanlov button { flex: 1 0 auto; }
	.bq-k-son { font-size: 1.375rem; }
	.bq-kartalar { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}

/* v1.10.2: Pochta */
.bq-pochta tr.oqilmagan td { font-weight: 600; }
.bq-pochta tr.oqilmagan .bq-ochuvchi { font-weight: 700; }
.bq-pochta td.kim { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bq-xat-html { width: 100%; min-height: 320px; height: 60vh; max-height: 1200px; resize: vertical; border: 1px solid var(--chiziq); border-radius: var(--r); background: #fff; display: block; }
.bq-oyna-ichi pre.bq-matn { font-family: inherit; }

/* v1.11.0: Tasdiqlash */
.bq-nuqtali { margin: 0; padding-left: 1.2em; font-size: .9375rem; }
.bq-nuqtali li + li { margin-top: 4px; }
.bq-chiplar { display: flex; flex-wrap: wrap; gap: 6px; margin: -2px 0 12px; }
.bq-chip { appearance: none; border: 1px solid var(--chiziq-q); background: var(--oq); color: var(--siyoh-2); border-radius: 14px; padding: 5px 11px; font: 500 .8125rem/1.3 var(--shrift); cursor: pointer; text-align: left; }
.bq-chip:hover { border-color: var(--siyoh); color: var(--siyoh); }
.bq-chip:focus-visible { outline: 2px solid var(--kok); outline-offset: 1px; }

/* v1.11.0: Pochta — suhbat (chat) ko‘rinishi */
.bq-chat { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); border: 1px solid var(--chiziq); border-radius: var(--r); background: var(--oq); height: min(76vh, 860px); min-height: 460px; overflow: hidden; }
.bq-chat-chap { display: flex; flex-direction: column; border-right: 1px solid var(--chiziq); min-height: 0; }
.bq-chat-chap input[type=search] { margin: 10px; width: calc(100% - 20px); }
.bq-chat-royxat { list-style: none; margin: 0; padding: 0; overflow-y: auto; flex: 1 1 auto; min-height: 0; }
.bq-chat-royxat .bq-bosh-xabar, .bq-chat-royxat .bq-yuklanmoqda { padding: 16px; }
.bq-chat-el { appearance: none; border: 0; background: none; width: 100%; text-align: left; display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--chiziq); cursor: pointer; color: var(--siyoh); font: inherit; }
.bq-chat-el:hover { background: color-mix(in srgb, var(--kok) 6%, transparent); }
.bq-chat-el.faol { background: color-mix(in srgb, var(--kok) 13%, transparent); box-shadow: inset 3px 0 0 var(--kok); }
.bq-chat-el:focus-visible { outline: 2px solid var(--kok); outline-offset: -2px; }
.bq-chat-el-m { min-width: 0; flex: 1 1 auto; display: grid; gap: 2px; }
.bq-chat-el-q { display: flex; gap: 8px; align-items: baseline; justify-content: space-between; min-width: 0; }
.bq-chat-el-q b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bq-chat-el.oqilmagan .bq-chat-el-q b, .bq-chat-el.oqilmagan .bq-chat-el-mavzu { font-weight: 700; }
.bq-chat-el-q small { color: var(--kul); white-space: nowrap; flex: none; }
.bq-chat-el-mavzu { font-size: .8125rem; color: var(--siyoh-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bq-chat-son { flex: none; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--kok); color: var(--teskari); font-size: .75rem; line-height: 20px; text-align: center; font-weight: 600; }
.bq-av { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--kok) 16%, var(--oq)); color: var(--kok); font-weight: 700; font-size: .9375rem; }
.bq-chat-kop { margin: 8px 12px 12px; align-self: flex-start; font-size: .8125rem; }
.bq-chat-ong { display: flex; flex-direction: column; min-width: 0; min-height: 0; background: color-mix(in srgb, var(--chiziq) 18%, var(--oq)); }
.bq-chat-tanla { margin: auto; text-align: center; color: var(--kul); padding: 24px; }
.bq-chat-tepa { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--chiziq); background: var(--oq); }
.bq-chat-tepa-m { min-width: 0; display: grid; }
.bq-chat-tepa-m b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bq-chat-tepa-m small { color: var(--kul); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bq-chat-orqa { display: none; appearance: none; border: 1px solid var(--chiziq-q); background: var(--oq); color: var(--siyoh); width: 36px; height: 36px; border-radius: var(--r); font-size: 1.125rem; cursor: pointer; flex: none; }
.bq-chat-bog { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; padding: 8px 14px; border-bottom: 1px solid var(--chiziq); background: var(--oq); }
.bq-chat-bog .tugma { padding: 5px 10px; min-height: 0; font-size: .8125rem; }
.bq-chat-bog small { flex: 1 1 260px; font-size: .75rem; }
.bq-chat-xatlar { flex: 1 1 auto; overflow-y: auto; padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 8px; min-height: 0; }
.bq-chat-xatlar:focus-visible { outline: 2px solid var(--kok); outline-offset: -2px; }
.bq-kun { text-align: center; margin: 8px 0 2px; }
.bq-kun span { display: inline-block; font-size: .75rem; color: var(--kul); background: var(--oq); border: 1px solid var(--chiziq); border-radius: 10px; padding: 1px 10px; }
.bq-pf { align-self: flex-start; max-width: min(78%, 680px); background: var(--oq); border: 1px solid var(--chiziq); border-radius: 12px 12px 12px 3px; padding: 8px 12px 6px; box-shadow: 0 1px 1px rgba(0,0,0,.04); }
.bq-pf.biz { align-self: flex-end; background: color-mix(in srgb, var(--kok) 12%, var(--oq)); border-color: color-mix(in srgb, var(--kok) 30%, var(--chiziq)); border-radius: 12px 12px 3px 12px; }
.bq-pf.kutish { opacity: .6; }
.bq-pf-kim { font-size: .75rem; font-weight: 600; color: var(--kok); margin-bottom: 2px; }
.bq-pf-mavzu { font-size: .75rem; color: var(--kul); margin-bottom: 4px; }
.bq-pf-matn { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .9375rem; line-height: 1.45; }
.bq-pf-matn a, .bq-pf-iq a { color: var(--kok); }
.bq-pf-uch { appearance: none; border: 1px solid var(--chiziq-q); background: transparent; color: var(--kul); border-radius: 8px; padding: 0 8px; font-size: .75rem; line-height: 16px; cursor: pointer; margin-top: 4px; letter-spacing: .1em; }
.bq-pf-uch[aria-expanded="true"] { background: var(--chiziq); }
.bq-pf-iq { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .8125rem; color: var(--kul); border-left: 3px solid var(--chiziq-q); padding: 4px 0 4px 10px; margin-top: 6px; max-height: 340px; overflow-y: auto; }
.bq-pf-ilova { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.bq-pf-ilova a { font-size: .8125rem; color: var(--siyoh); border: 1px solid var(--chiziq-q); border-radius: 8px; padding: 3px 8px; text-decoration: none; overflow-wrap: anywhere; }
.bq-pf-ilova a:hover { border-color: var(--kok); color: var(--kok); }
.bq-pf-jm { font-size: .75rem; color: var(--qizil); margin-top: 4px; overflow-wrap: anywhere; }
.bq-pf-meta { font-size: .6875rem; color: var(--kul); text-align: right; margin-top: 3px; }
.bq-pf-asl { appearance: none; border: 0; background: none; padding: 0; color: var(--kul); text-decoration: underline; cursor: pointer; font: inherit; }
.bq-pf-asl:hover { color: var(--kok); }
.bq-chat-yoz { border-top: 1px solid var(--chiziq); background: var(--oq); padding: 10px 12px; display: grid; gap: 8px; }
.bq-chat-yoz textarea { width: 100%; resize: vertical; min-height: 64px; max-height: 40vh; }
.bq-chat-yoz-p { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.bq-chat-yoz-p label { display: flex; gap: 6px; align-items: center; font-size: .8125rem; color: var(--siyoh-2); }
.bq-chat-yoz-p small { flex: 1 1 auto; font-size: .75rem; }
@media (max-width: 860px) {
	.bq-chat { grid-template-columns: minmax(0, 1fr); height: calc(100dvh - 210px); min-height: 420px; }
	.bq-chat .bq-chat-ong { display: none; }
	.bq-chat.ochiq .bq-chat-chap { display: none; }
	.bq-chat.ochiq .bq-chat-ong { display: flex; }
	.bq-chat-orqa { display: grid; place-items: center; }
	.bq-chat-chap { border-right: 0; }
	.bq-pf { max-width: 88%; }
}
.bq [hidden] { display: none !important; }

.bq-sayt-belgi { display: inline-block; font-size: .6875rem; font-weight: 600; color: var(--kok); border: 1px solid color-mix(in srgb, var(--kok) 45%, transparent); border-radius: 8px; padding: 0 6px; line-height: 16px; vertical-align: 1px; }

/* v1.13.0: ikki ustunli forma qatori, kichik tugma (Pulse bo‘limi va /pulse/) */
.bq-ikki { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 560px) { .bq-ikki { grid-template-columns: minmax(0, 1fr); } }
.bq .tugma.kichik { min-height: 32px; padding: 5px 10px; font-size: .8125rem; }

/* v1.33.0: belgilab (checkbox) ommaviy amallar va Savat */
.bq-jadval th.bq-chk, .bq-jadval td.bq-chk { width: 34px; padding-right: 0; }
.bq-chk input { width: 16px; height: 16px; margin: 0; vertical-align: middle; cursor: pointer; accent-color: var(--kok); }
.bq-chk input:disabled { cursor: not-allowed; opacity: .4; }
.bq-kop { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 10px; padding: 8px 12px; border: 1px solid var(--chiziq); border-left: 3px solid var(--kok); border-radius: var(--r); background: var(--qogoz); }
.bq-kop[hidden] { display: none; }
.bq-kop-soni { font-weight: 600; font-size: .875rem; margin-right: 4px; }
.bq .tugma.bq-kichik { padding: 3px 10px; min-height: 28px; font-size: .75rem; margin-left: 6px; }
