/* Xodim paneli: Pro qulflari, tarif belgisi, toʻlovlar va tashkilotlar savollari (v89).
   Tokenlar style.css dagi :root dan; tun rejimi — body.dark. */

/* ---------- PRO belgisi (H0): 20 px, Inter 11/800, navy matn oltin gradiyentda ---------- */
.pro-chip { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 8px; border-radius: 999px; flex: none;
  font: 800 11px/1 'Inter', sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #142a52;
  background: linear-gradient(135deg, #f3e3a6, #c9a227); box-shadow: 0 1px 2px rgba(20, 42, 82, .18); }
.pro-chip svg, .tool-btn .pro-chip svg { width: 11px; height: 11px; }
.tool-btn .pro-chip { margin-left: auto; }

/* Bepul xodim: qulflangan tugmalar — matn toʻliq kontrastda, faqat PRO belgisi qoʻshiladi */
body.st-free .dx-btn[data-exp]::after, body.st-free .bd-greet::after {
  content: 'PRO'; margin-left: 2px; padding: 3px 6px; border-radius: 999px; font: 800 9.5px/1 'Inter', sans-serif;
  letter-spacing: .08em; color: #142a52; background: linear-gradient(135deg, #f3e3a6, #c9a227); }
body.st-free #aiFab::before { content: ''; position: absolute; right: -3px; top: -3px; width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid #fff; z-index: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23142a52' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center / 12px no-repeat,
    linear-gradient(135deg, #f3e3a6, #c9a227);
  box-shadow: 0 2px 6px rgba(20, 42, 82, .3); }
body.st-free #aiFab .ai-fab-ic { opacity: .9; }
body.st-free #aiFab::after { border-color: rgba(201, 162, 39, .7); }

/* AI panel, Bepul tarif: kunlik bepul savollar hisobi va «Pro» tugmalari */
.ai-quota { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 12px 7px 16px; font-size: 12px; font-weight: 600;
  color: #5b4a12; background: rgba(243, 227, 166, .35); border-top: 1px solid rgba(201, 162, 39, .3); }
.ai-quota[hidden] { display: none; }
.ai-quota b { font-weight: 800; color: #142a52; }
.ai-quota.out b { color: #b42318; }
.ai-quota button { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 4px 0 0; border: 0; cursor: pointer; flex: none;
  font: 700 12px/1 'Inter', sans-serif; color: #142a52; background: none; }
.ai-quota button:hover span:last-child { text-decoration: underline; }
.ai-msg.ai-limit { border-left: 3px solid var(--gold); }
.ai-pro-btn { display: flex; align-items: center; gap: 7px; width: fit-content; min-height: 40px; margin-top: 9px; padding: 0 14px; border: 0; border-radius: 11px; cursor: pointer;
  font: 800 13px/1 'Inter', sans-serif; color: #142a52; background: linear-gradient(135deg, #f3e3a6, #c9a227); box-shadow: 0 3px 10px rgba(20, 42, 82, .18); }
.ai-pro-btn svg { width: 14px; height: 14px; flex: none; }
@media (max-width: 760px), (pointer: coarse) { .ai-quota button, .ai-pro-btn { min-height: 44px; } }

/* ---------- Sarlavhadagi tarif belgisi ---------- */
.st-tier { height: 44px; min-width: 44px; padding: 0 13px; border-radius: 13px; cursor: pointer; flex: none;
  display: inline-flex; align-items: center; gap: 7px; font: 800 12.5px/1 'Inter', sans-serif; letter-spacing: .2px; white-space: nowrap;
  color: #142a52; background: linear-gradient(135deg, #f3e3a6, #c9a227); border: 1px solid rgba(255, 255, 255, .55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 5px 14px rgba(0, 0, 0, .2);
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), filter .2s; }
.st-tier:hover { transform: scale(1.04); filter: brightness(1.04); }
.st-tier svg { width: 16px; height: 16px; flex: none; }
.st-tier .st-ts, .st-tier .st-tm { display: none; }
/* oʻrta koʻrinish (1440–1680 px): ikki qator — tarif va tugash sanasi, tojsiz (kirillda ham sarlavha bir qatorda qoladi); 1366 da qisqa belgi */
.st-tier .st-tm { flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; }
.st-tier .st-tm b { font: inherit; }
.st-tier .st-tm small { font: 700 10.5px/1.1 'Inter', sans-serif; letter-spacing: .1px; opacity: .88; }
.st-tier.trial { color: #fff; background: linear-gradient(145deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .06)); border-color: rgba(233, 210, 138, .8); }
.st-tier.trial svg { color: #e9d28a; }
.st-tier.free { color: #fff; background: transparent; border: 1px dashed rgba(255, 255, 255, .6); box-shadow: none; }
.st-tier.warn { color: #8a1c12; background: linear-gradient(135deg, #fff1ee, #fbd5cf); border-color: rgba(255, 255, 255, .7); }
.st-tier.admin { cursor: pointer; }
@media (max-width: 1680px) { .st-tier .st-tl, .st-tier svg { display: none; } .st-tier .st-tm { display: inline-flex; } .st-tier { padding: 0 12px; } }
@media (max-width: 1439.98px) { .st-tier .st-tm { display: none; } .st-tier .st-ts, .st-tier svg { display: inline; } .st-tier { padding: 0 11px; } }
/* telefonda sarlavha qatoriga sigʻmaydi — tarif boshqaruv panelida (#stTierDr) va ogohlantirish qatorida */
@media (max-width: 760px) { .st-tier { display: none; } }
.st-tier-dr .st-dr-t { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.st-tier-dr .st-dr-t b { font-size: 13px; color: var(--navy-dark); }
.st-tier-dr .st-dr-t small { font-size: 11.5px; font-weight: 600; color: var(--muted); }
.st-tier-dr.warn .st-dr-t b { color: #b42318; }
body.dark .st-tier-dr .st-dr-t b { color: #e3ebfb; }
body.dark .st-tier-dr.warn .st-dr-t b { color: #f4b2aa; }

/* ---------- Taklif / ogohlantirish qatori (H6): ekran pastida ixcham, h 56 ----------
   Keng ekranda markazda, ikki chetdan 96 px — oʻng pastdagi AI tugmasi va «Yuqoriga» ustuni (22 + 58 px) ochiq qoladi.
   Telefonda (≤ 760 px) toʻliq kenglikda, AI tugmasidan (pastdan 72 px) pastda; faqat bosh sahifada (app.js).
   Qator yoqilganda (body.st-pb-on) footer, «Yuqoriga», admin belgisi va bildirishnoma uning ostida qolmaydi. */
.st-paywrap { position: fixed; z-index: 65; left: 0; right: 0; bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  width: min(1120px, calc(100% - 192px)); margin: 0 auto; animation: stPbIn .35s cubic-bezier(.22, .9, .3, 1) both; }
@keyframes stPbIn { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { .st-paywrap { animation: none; } }
.st-paybar { display: flex; align-items: center; gap: 12px; box-sizing: border-box; min-height: 56px; padding: 7px 7px 7px 12px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(20, 42, 82, .97), rgba(31, 59, 115, .96)); color: #fff;
  border: 1px solid rgba(233, 210, 138, .45); box-shadow: 0 12px 32px rgba(20, 42, 82, .3); }
.st-paybar.warn { border-color: rgba(251, 213, 207, .9); background: linear-gradient(135deg, #5a1e18, #7a2a20); }
.st-pb-ic { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center;
  color: #142a52; background: linear-gradient(135deg, #f3e3a6, #c9a227); }
.st-pb-ic svg { width: 15px; height: 15px; }
.st-paybar p { flex: 1; min-width: 0; margin: 0; font-size: 13px; font-weight: 600; line-height: 1.35;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
.st-pb-s, .st-pb-gs { display: none; }
.st-pb-acts { display: flex; align-items: center; gap: 6px; flex: none; }
.st-pb-go { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border: 0; border-radius: 11px; cursor: pointer;
  font: 800 13px/1 'Inter', sans-serif; color: #142a52; background: linear-gradient(135deg, #f3e3a6, #c9a227); white-space: nowrap; }
.st-pb-go svg { width: 15px; height: 15px; flex: none; }
.st-pb-go:hover { filter: brightness(1.05); }
.st-pb-more { height: 40px; padding: 0 12px; border-radius: 11px; cursor: pointer; font: 700 13px/1 'Inter', sans-serif; white-space: nowrap;
  color: #fff; background: transparent; border: 1px solid rgba(255, 255, 255, .35); }
.st-pb-x { width: 40px; height: 40px; border-radius: 11px; cursor: pointer; border: 0; color: #fff; background: rgba(255, 255, 255, .1); font-size: 14px; flex: none; }
.st-pb-x:hover, .st-pb-more:hover { background: rgba(255, 255, 255, .18); }
.st-paybar :focus-visible { outline: 2px solid #f3e3a6; outline-offset: 2px; }
@media (pointer: coarse) {
  .st-paybar { padding: 5px 5px 5px 12px; }
  .st-pb-go, .st-pb-more { height: 44px; }
  .st-pb-x { width: 44px; height: 44px; }
}
/* < 1280 px — uzun matn ikki qatorga sigʻmaydi: ixcham matn; < 1024 px — «Batafsil» oʻrniga asosiy tugma yetadi */
@media (max-width: 1279.98px) { .st-pb-l { display: none; } .st-pb-s { display: inline; } }
@media (max-width: 1023.98px) { .st-pb-more { display: none; } }
@media (max-width: 760px) {
  .st-paywrap { left: 12px; right: 12px; width: auto; margin: 0; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); }
  .st-paybar { gap: 8px; padding: 5px 5px 5px 10px; border-radius: 14px; }
  .st-paybar p { font-size: 12.5px; line-height: 1.3; }
  .st-pb-go svg, .st-pb-gl { display: none; }
  .st-pb-gs { display: inline; }
  .st-pb-go { height: 44px; padding: 0 14px; }
  .st-pb-x { width: 44px; height: 44px; }
}
@media (max-width: 420px) { .st-pb-ic { display: none; } }
body.st-pb-on .footer { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }
body.st-pb-on .admin-badge { bottom: calc(82px + env(safe-area-inset-bottom, 0px)); }
body.st-pb-on .app-toast { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 760px) {
  /* «Yuqoriga» (oʻng past, 48 px) qator ostida qolmasin — AI tugmasining chap yoniga */
  body.st-pb-on .to-top { right: 90px; bottom: calc(85px + env(safe-area-inset-bottom, 0px)); }
  body.st-pb-on .admin-badge { bottom: calc(74px + env(safe-area-inset-bottom, 0px)); }
  body.st-pb-on .app-toast { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 560px) { body.st-pb-on .to-top { right: 84px; bottom: calc(77px + env(safe-area-inset-bottom, 0px)); } }

/* ---------- Oynalar: Bepul va Pro, eʼlon, Telegram zaxira ---------- */
/* «Bepul va Pro» oynasi boshida: joriy tarif va obuna davri (S1) */
.st-now { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin: 0 0 12px; padding: 10px 14px; border-radius: 12px;
  font-size: 13px; line-height: 1.4; color: var(--navy-dark); background: rgba(243, 227, 166, .28); border: 1px solid rgba(201, 162, 39, .32); }
.st-now span { font-weight: 600; color: var(--muted); }
.st-now b { font-weight: 800; }
body.dark .st-now { color: #e3ebfb; background: rgba(201, 162, 39, .12); border-color: rgba(201, 162, 39, .35); }
.st-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 10px; }
.st-cols > div { padding: 12px 14px; border-radius: 14px; background: rgba(31, 59, 115, .04); border: 1px solid rgba(31, 59, 115, .08); }
.st-cols > div:last-child { background: rgba(201, 162, 39, .08); border-color: rgba(201, 162, 39, .3); }
.st-cols h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 14px; color: var(--navy-dark); }
.st-cols ul { margin: 0; padding-left: 18px; font-size: 13px; line-height: 1.6; color: var(--text); }
@media (max-width: 520px) { .st-cols { grid-template-columns: 1fr; } }
.st-ann-acts { display: flex; gap: 8px; align-items: stretch; flex-wrap: wrap; margin-top: 6px; }
.st-ann-acts .um-save { flex: 1 1 200px; width: auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.st-ann-acts .um-save svg { width: 17px; height: 17px; }
.st-ann-acts .oa-mini { min-height: 46px; }
.st-tg-go { display: flex; align-items: center; justify-content: center; gap: 9px; text-decoration: none; text-align: center; }
.st-tg-go svg { width: 18px; height: 18px; }

/* ---------- Admin: tarif katagi, oyna, nishonlar ---------- */
.tr-cell { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.tr-chip { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.tr-chip.pro { color: #142a52; background: linear-gradient(135deg, #f3e3a6, #e2c55c); }
.tr-chip.trial { color: #2f54a8; background: #e8eefb; }
.tr-chip.warn { color: #b42318; background: #fdecec; }
.tr-chip.free { color: #5b6478; background: transparent; border: 1px dashed rgba(91, 100, 120, .55); }
.tr-sub { display: block; font-size: 11.5px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.oa-lead .tm-now { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.tm-h { margin: 14px 0 8px; font-size: 13px; color: var(--navy-dark); }
.tm-free { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 6px 0 4px; }
.tm-free .oa-hint { margin: 0; }
.oa-mini.tm-del { color: #b3261e; }
.oa-badge, .dr-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 7px; border-radius: 999px;
  font: 800 11px/1 'Inter', sans-serif; color: #fff; background: #b42318; vertical-align: 1px; }
.oa-badge[hidden], .dr-badge[hidden] { display: none; }
.drawer-links a .dr-badge, .tool-btn .dr-badge { margin-left: auto; }
.pay-h { margin: 22px 0 10px; font-size: 15px; color: var(--navy-dark); }
.pay-table td { vertical-align: top; }
.pay-table .oa-org { min-width: 170px; }
.oa-warn { margin-bottom: 14px; }
@media (max-width: 760px), (pointer: coarse) {
  .oa-mini, .oa-quick button, .oa-act button, .oa-tabs button, .fchip, .oa-add { min-height: 44px; }
}

/* ---------- Navigatsiya: «Savollar» belgisi ---------- */
.dchip.sv-chip { display: inline-flex; align-items: center; font-weight: 700; }
.dchip .sv-n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 7px; padding: 0 6px; border-radius: 999px;
  font: 800 11px/1 'Inter', sans-serif; color: #142a52; background: linear-gradient(135deg, #f3e3a6, #c9a227); }
@media (max-width: 760px), (pointer: coarse) { .district-nav .dchip { min-height: 44px; display: inline-flex; align-items: center; } }

/* ============================================================
   Tashkilotlar savollari (#/savollar)
   ============================================================ */
.sv-head-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.sv-free, .sv-sla { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700; }
.sv-free { color: #1f7a4d; background: #e7f4ed; }
.sv-free svg { width: 13px; height: 13px; }
.sv-sla { color: var(--muted); background: rgba(31, 59, 115, .06); }
.sv-grid { display: grid; gap: 18px; grid-template-columns: minmax(300px, 380px) minmax(0, 1fr) 280px; align-items: start; }
.sv-inbox-in, .sv-card { padding: 16px; border-radius: var(--r-md); background: var(--glass-strong);
  border: 1px solid var(--glass-border); box-shadow: var(--shadow-sm); }
.sv-rail { display: flex; flex-direction: column; gap: 14px; }
.sv-muted, .sv-empty { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.sv-empty { padding: 18px 6px; text-align: center; }
.sv-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.sv-tabs .fchip { padding: 7px 12px; font-size: 12.5px; }
.sv-tabs .fchip b { margin-left: 3px; }
.sv-tabs .fchip.late:not(.active) b { color: #b42318; }
.sv-filters { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin-bottom: 10px; }
.sv-dsel { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--muted); flex: 1 1 200px; }
.sv-dsel select { flex: 1; min-width: 0; min-height: 40px; padding: 0 10px; border-radius: 11px; font: inherit; font-weight: 600; color: var(--text);
  border: 1px solid rgba(31, 59, 115, .2); background: rgba(255, 255, 255, .9); }
.sv-mine { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-size: 13px; font-weight: 600; cursor: pointer; }
.sv-mine input { width: 18px; height: 18px; accent-color: var(--navy-light); }
.sv-list { display: flex; flex-direction: column; gap: 8px; }
.sv-row { display: flex; flex-direction: column; gap: 3px; padding: 11px 13px; border-radius: 14px; text-decoration: none; color: var(--text);
  background: rgba(255, 255, 255, .7); border: 1px solid rgba(31, 59, 115, .08); transition: border-color .2s, background .2s, transform .2s; }
.sv-row:hover { border-color: rgba(47, 84, 168, .35); background: #fff; }
.sv-row.on { border-color: var(--navy-light); background: #fff; box-shadow: 0 0 0 2px rgba(47, 84, 168, .15); }
.sv-row.unread { border-left: 3px solid var(--gold); }
.sv-row-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sv-code { font-size: 13px; font-weight: 800; letter-spacing: .03em; font-variant-numeric: tabular-nums; color: var(--navy-dark); }
.sv-dot { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; font-size: 11.5px; font-weight: 700; color: #86650c; }
.sv-dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.sv-org { font-weight: 800; font-size: 14px; color: var(--navy-dark); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sv-doc { font-size: 13px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sv-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12px; color: var(--muted); }
.sv-late { display: inline-flex; align-items: center; gap: 4px; color: #b42318; font-weight: 700; }
.sv-late svg { width: 13px; height: 13px; }
.sv-more { width: 100%; min-height: 44px; margin-top: 10px; border-radius: 12px; cursor: pointer; font: 700 13px/1 'Inter', sans-serif;
  color: var(--navy); background: transparent; border: 1px dashed rgba(31, 59, 115, .3); }

/* holat belgilari (C3) */
.sv-st { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 800; white-space: nowrap; }
.sv-st.yangi { background: #fbf3d6; color: #86650c; }
.sv-st.korilmoqda { background: #e8eefb; color: #2f54a8; }
.sv-st.javob { background: #e7f4ed; color: #1f7a4d; }
.sv-st.yopildi { background: #eef0f4; color: #5b6478; }
.sv-st.overdue { background: #fdecec; color: #b42318; }

/* savol tafsiloti */
.sv-back { display: none; align-items: center; gap: 4px; min-height: 44px; margin: -6px 0 6px; font-weight: 700; font-size: 14px; color: var(--navy); text-decoration: none; }
.sv-back svg { width: 18px; height: 18px; }
.sv-th-head { display: flex; align-items: flex-start; gap: 10px; justify-content: space-between; flex-wrap: wrap; }
.sv-th-head h2 { margin: 0; font-size: 18px; line-height: 1.35; color: var(--navy-dark); min-width: 0; overflow-wrap: anywhere; }
.sv-th-meta { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.sv-asg { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.sv-asg b { color: var(--text); }
.sv-acts { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 2px; }
.sv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 0 14px; border-radius: 12px; cursor: pointer;
  font: 700 13px/1 'Inter', sans-serif; color: var(--navy); background: #fff; border: 1px solid rgba(31, 59, 115, .22); transition: background .2s, border-color .2s; }
.sv-btn svg { width: 16px; height: 16px; }
.sv-btn:hover { border-color: var(--navy-light); background: rgba(47, 84, 168, .06); }
.sv-btn.primary { color: #fff; border-color: transparent; background: linear-gradient(135deg, #3a62b8, var(--navy)); }
.sv-btn.primary:hover { filter: brightness(1.06); }
.sv-btn.wide { width: 100%; }
.sv-btn:disabled { opacity: .6; cursor: default; }
.sv-orgc { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 14px; padding: 12px 14px; border-radius: 14px;
  background: rgba(47, 84, 168, .05); border: 1px solid rgba(47, 84, 168, .1); }
.sv-person { display: flex; flex-direction: column; gap: 1px; min-width: 0; font-size: 13px; }
.sv-person i { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; color: var(--muted); }
.sv-person b { color: var(--navy-dark); overflow-wrap: anywhere; }
.sv-person a { color: var(--navy-light); font-weight: 700; text-decoration: none; }
@media (max-width: 899px) {
  /* bosish maydoni ≥ 44 px, joylashuv oʻzgarmaydi */
  .sv-person a { display: inline-block; padding: 12px 0; margin: -12px 0; }
  .sv-page .breadcrumb a { display: inline-block; padding: 14px 0; margin: -14px 0; }
}
.sv-reason { margin-top: 12px; padding: 12px 14px; border-radius: 14px; font-size: 13.5px; line-height: 1.5;
  background: rgba(201, 162, 39, .1); border: 1px solid rgba(201, 162, 39, .3); }
.sv-reason b { display: block; margin-bottom: 4px; color: #86650c; font-size: 12px; letter-spacing: .4px; text-transform: uppercase; }
.sv-reason q { white-space: pre-wrap; overflow-wrap: anywhere; }
.sv-thread { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.sv-msg { max-width: 88%; padding: 11px 13px; border-radius: 16px; font-size: 14px; line-height: 1.55; }
.sv-msg.org { align-self: flex-start; background: #fff; border: 1px solid rgba(31, 59, 115, .1); border-top-left-radius: 6px; }
.sv-msg.staff { align-self: flex-end; background: rgba(47, 84, 168, .08); border: 1px solid rgba(47, 84, 168, .14); border-left: 3px solid var(--gold); border-top-right-radius: 6px; }
.sv-msg-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-bottom: 4px; font-size: 12px; color: var(--muted); }
.sv-msg-h b { color: var(--navy-dark); font-size: 12.5px; }
.sv-msg-h time { margin-left: auto; }
.sv-msg-b { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--text); }
.sv-sys { align-self: center; max-width: 100%; padding: 4px 12px; border-radius: 999px; font-size: 12px; color: var(--muted); background: rgba(31, 59, 115, .05); text-align: center; }
.sv-files { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.sv-file { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 6px 8px 6px 10px; border-radius: 11px; font-size: 12.5px;
  background: rgba(255, 255, 255, .85); border: 1px solid rgba(31, 59, 115, .12); }
.sv-file > svg { width: 15px; height: 15px; color: var(--navy-light); flex: none; }
.sv-fname { flex: 1 1 120px; min-width: 0; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sv-file i { font-style: normal; color: var(--muted); }
.sv-file button { min-height: 32px; padding: 0 10px; border-radius: 9px; cursor: pointer; font: 700 12px/1 'Inter', sans-serif;
  color: var(--navy); background: #fff; border: 1px solid rgba(31, 59, 115, .2); }
.sv-file.off, .sv-file.bad { opacity: .8; }
.sv-file.bad i { color: #b42318; }
.sv-closed { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; padding: 12px 14px; border-radius: 14px; font-size: 13px;
  background: #eef0f4; color: #5b6478; }
.sv-closed b { color: var(--text); }
.sv-closed q { font-style: italic; }
.sv-ok { color: #1f7a4d; font-weight: 700; } .sv-no { color: #b42318; font-weight: 700; }
.sv-compose { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(31, 59, 115, .1); }
.sv-lbl { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; color: var(--muted); }
.sv-compose textarea, .sv-modal textarea { width: 100%; min-height: 140px; padding: 12px 14px; border-radius: 14px; resize: vertical; font: 14px/1.55 'Inter', sans-serif;
  color: var(--text); background: rgba(255, 255, 255, .95); border: 1px solid rgba(31, 59, 115, .22); outline: none; }
.sv-modal textarea { min-height: 96px; }
.sv-compose textarea:focus, .sv-modal textarea:focus { border-color: var(--navy-light); box-shadow: 0 0 0 3px rgba(47, 84, 168, .14); }
.sv-att { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.sv-att:empty { display: none; }
.sv-comp-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.sv-count { margin-left: auto; font-size: 12px; color: var(--muted); }
.sv-info { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.sv-info a { color: var(--navy-light); font-weight: 700; }
.sv-kbd { white-space: nowrap; opacity: .85; }
.sv-msgline { margin: 10px 0 0; padding: 9px 12px; border-radius: 11px; font-size: 13px; font-weight: 600; }
.sv-msgline.err { color: #b42318; background: #fdecec; }
.sv-msgline.ok { color: #1f7a4d; background: #e7f4ed; }
.sv-pick { display: grid; place-items: center; min-height: 220px; text-align: center; }

/* oʻng ustun */
.sv-rcard h3 { margin: 0 0 8px; font-size: 14.5px; color: var(--navy-dark); }
.sv-rcard p { margin: 0 0 10px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.sv-prow { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 48px; padding: 8px 0; cursor: pointer;
  text-align: left; font: inherit; color: var(--text); background: none; border: 0; border-top: 1px solid rgba(31, 59, 115, .08); }
.sv-prow:first-of-type { border-top: 0; }
.sv-prow span:first-child { display: flex; flex-direction: column; min-width: 0; }
.sv-prow b { font-size: 13.5px; color: var(--navy-dark); }
.sv-prow i { font-style: normal; font-size: 12px; color: var(--muted); }
.sv-free-list { margin: 0; padding-left: 18px; font-size: 13px; line-height: 1.7; }
.sv-links { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.sv-links li { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; font-weight: 700; }
.sv-links i { font-style: normal; font-weight: 600; font-size: 12px; color: var(--muted); }
.sv-links button { margin-left: auto; min-height: 32px; padding: 0 10px; border-radius: 9px; cursor: pointer; font: 700 12px/1 'Inter', sans-serif;
  color: #b3261e; background: transparent; border: 1px solid rgba(179, 38, 30, .3); }
.sv-stats { display: flex; flex-direction: column; gap: 8px; }
.sv-stats > div { display: flex; flex-direction: column; gap: 1px; padding-bottom: 8px; border-bottom: 1px solid rgba(31, 59, 115, .08); font-size: 12.5px; color: var(--muted); }
.sv-stats > div:last-child { border-bottom: 0; padding-bottom: 0; }
.sv-stats b { color: var(--navy-dark); font-size: 13px; }
.sv-stats em { font-style: normal; color: #b42318; font-weight: 700; }

/* oynalar */
.sv-flabel { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; font-size: 12px; font-weight: 700; color: var(--muted); }
.sv-flabel select { min-height: 44px; padding: 0 12px; border-radius: 12px; font: inherit; font-size: 14px; color: var(--text);
  border: 1px solid rgba(31, 59, 115, .22); background: rgba(255, 255, 255, .95); }
.sv-reasons { margin: 0 0 12px; padding: 0; border: 0; display: flex; flex-direction: column; gap: 4px; }
.sv-reasons legend { margin-bottom: 6px; font-size: 12px; font-weight: 700; color: var(--muted); }
.sv-reasons label { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; cursor: pointer; }
.sv-reasons input { width: 18px; height: 18px; accent-color: var(--navy-light); }

/* moslashuv */
@media (max-width: 1199px) {
  .sv-grid { grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); }
  .sv-rail { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
}
@media (max-width: 899px) {
  .sv-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .sv-page.has-code .sv-inbox, .sv-page.has-code .sv-rail { display: none; }
  .sv-page:not(.has-code) .sv-detail { display: none; }
  .sv-back { display: inline-flex; }
  .sv-msg { max-width: 100%; }
  .sv-btn, .sv-file button, .sv-links button, .sv-dsel select, .sv-mine { min-height: 44px; }
  .sv-file button[data-sv-rm] { min-width: 44px; padding: 0; font-size: 14px; }
  .sv-tabs .fchip { min-height: 44px; flex: none; }
  .sv-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -4px; margin-right: -4px; padding: 0 4px 2px; }
  .sv-tabs::-webkit-scrollbar { display: none; }
  .sv-inbox-in, .sv-card { padding: 14px; }
  .sv-comp-bar .sv-btn.primary { flex: 1 1 100%; order: 3; }
  .sv-page.has-code .sv-head { display: none; }
  .sv-fname { flex: 1 1 calc(100% - 30px); }
  .sv-file i { margin-right: auto; }
  .sv-count { margin-left: auto; }
}

/* ---------- Tun rejimi ---------- */
body.dark .pro-chip, body.dark .st-pb-ic, body.dark .dchip .sv-n { color: #142a52; }
body.dark .st-cols > div { background: rgba(120, 145, 195, .1); border-color: rgba(120, 145, 195, .22); }
body.dark .st-cols > div:last-child { background: rgba(201, 162, 39, .12); border-color: rgba(201, 162, 39, .35); }
body.dark .st-cols h4, body.dark .tm-h, body.dark .pay-h { color: #e3ebfb; }
body.dark .tr-chip.trial { color: #b9cdf7; background: rgba(72, 105, 180, .3); }
body.dark .tr-chip.warn, body.dark .sv-st.overdue { color: #f4b2aa; background: rgba(180, 35, 24, .25); }
body.dark .tr-chip.free { color: #aebbd6; border-color: rgba(174, 187, 214, .45); }
body.dark .ai-quota { color: #e8d79c; background: rgba(201, 162, 39, .12); border-top-color: rgba(201, 162, 39, .3); }
body.dark .ai-quota b, body.dark .ai-quota button { color: #f0d98a; }
body.dark .ai-quota.out b { color: #f4a69c; }
body.dark .sv-inbox-in, body.dark .sv-card { background: linear-gradient(150deg, rgba(40, 58, 100, .78), rgba(28, 42, 76, .6)); border-color: rgba(120, 145, 195, .3); }
body.dark .sv-row { background: rgba(20, 32, 60, .55); border-color: rgba(120, 145, 195, .2); }
body.dark .sv-row:hover, body.dark .sv-row.on { background: rgba(42, 60, 102, .7); }
body.dark .sv-row.on { border-color: #7d9ce0; }
body.dark .sv-org, body.dark .sv-code, body.dark .sv-th-head h2, body.dark .sv-person b, body.dark .sv-msg-h b,
body.dark .sv-rcard h3, body.dark .sv-prow b, body.dark .sv-stats b { color: #e3ebfb; }
body.dark .sv-free { color: #8fd9b3; background: rgba(31, 122, 77, .25); }
body.dark .sv-sla { background: rgba(120, 145, 195, .14); }
body.dark .sv-st.yangi { background: rgba(201, 162, 39, .22); color: #f0d98a; }
body.dark .sv-st.korilmoqda { background: rgba(72, 105, 180, .3); color: #b9cdf7; }
body.dark .sv-st.javob { background: rgba(31, 122, 77, .28); color: #8fd9b3; }
body.dark .sv-st.yopildi, body.dark .sv-closed { background: rgba(120, 145, 195, .16); color: #b8c4dc; }
body.dark .sv-closed b { color: #e3ebfb; }
body.dark .sv-dot { color: #f0d98a; }
body.dark .sv-orgc { background: rgba(72, 105, 180, .14); border-color: rgba(120, 145, 195, .22); }
body.dark .sv-person a, body.dark .sv-info a, body.dark .sv-back { color: #9db9ff; }
body.dark .sv-reason { background: rgba(201, 162, 39, .12); border-color: rgba(201, 162, 39, .3); }
body.dark .sv-reason b { color: #f0d98a; }
body.dark .sv-msg.org { background: rgba(20, 32, 60, .7); border-color: rgba(120, 145, 195, .25); }
body.dark .sv-msg.staff { background: rgba(72, 105, 180, .2); border-color: rgba(120, 145, 195, .3); border-left-color: var(--gold); }
body.dark .sv-sys { background: rgba(120, 145, 195, .12); }
body.dark .sv-file { background: rgba(20, 32, 60, .7); border-color: rgba(120, 145, 195, .25); }
body.dark .sv-btn, body.dark .sv-file button, body.dark .sv-dsel select, body.dark .sv-flabel select { background: rgba(20, 32, 60, .85); border-color: rgba(120, 145, 195, .35); color: #c9d6f2; }
body.dark .sv-btn.primary { color: #fff; background: linear-gradient(135deg, #4a72c8, #2a4a8e); border-color: transparent; }
body.dark .sv-compose textarea, body.dark .sv-modal textarea { background: rgba(20, 32, 60, .85); border-color: rgba(120, 145, 195, .35); color: var(--text); }
body.dark .sv-compose { border-top-color: rgba(120, 145, 195, .2); }
body.dark .sv-more { color: #9db9f2; border-color: rgba(120, 145, 195, .4); }
body.dark .sv-msgline.err { background: rgba(180, 35, 24, .25); color: #f4b2aa; }
body.dark .sv-msgline.ok { background: rgba(31, 122, 77, .25); color: #8fd9b3; }
body.dark .sv-prow { border-top-color: rgba(120, 145, 195, .16); }
body.dark .sv-stats > div { border-bottom-color: rgba(120, 145, 195, .16); }
body.dark .sv-stats em, body.dark .sv-late, body.dark .sv-tabs .fchip.late:not(.active) b { color: #f4a69c; }

@media print { .st-paywrap, .st-tier { display: none !important; } }

/* xodim ilovasidagi oynalar: telefonda bosish maydoni ≥ 44 px (tashkilot kabineti — body.org-mode — oʻz uslubida) */
@media (max-width: 760px), (pointer: coarse) {
  body:not(.org-mode) .um-head button { width: 44px; height: 44px; }
  body:not(.org-mode) .um-save { min-height: 46px; }
}

/* ============================================================
   Tashkilotlar — 723 login (admin paneli, js/admin-orgs.js, v90)
   Tinch ierarxiya: oltin faqat Pro belgisida; bitta asosiy tugma («Login berish»); radiuslar 12 / 16.
   ============================================================ */
.ao-lead { margin: -4px 0 14px; max-width: 72ch; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.ao-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.ao-search { position: relative; flex: 1 1 280px; display: flex; align-items: center; }
.ao-search > svg { position: absolute; left: 13px; width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.ao-search .um-search { width: 100%; margin: 0; min-height: 44px; padding-left: 38px; }
.ao-dsel { display: flex; align-items: center; gap: 8px; flex: 0 1 300px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.ao-dsel select { flex: 1; min-width: 0; min-height: 44px; padding: 0 12px; border-radius: 12px; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--text);
  border: 1px solid rgba(31, 59, 115, .2); background: rgba(255, 255, 255, .9); }
.ao-lock { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 12px; font-size: 13px; font-weight: 700; color: var(--navy);
  background: rgba(31, 59, 115, .06); border: 1px solid rgba(31, 59, 115, .1); }
.ao-lock svg { width: 15px; height: 15px; color: var(--muted); }
.ao-chips { margin-bottom: 12px; }
.ao-chips .fchip b { margin-left: 4px; font-weight: 800; opacity: .85; }
.ao-note { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 12px; padding: 10px 12px 10px 14px; border-radius: 12px;
  font-size: 13px; line-height: 1.45; color: var(--text); background: rgba(31, 59, 115, .05); border: 1px dashed rgba(31, 59, 115, .25); }
.ao-note b { color: var(--navy-dark); }
.ao-count { margin: 0 0 8px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
[data-ao-rows]:focus { outline: 0; }   /* sahifalashdan keyin fokus roʻyxat boshida (tabindex=-1) — halqasiz; keyingi Tab birinchi qatorga */
/* roʻyxat: ustunli grid, telefonda kartalar */
.ao-list { border-radius: 16px; border: 1px solid rgba(31, 59, 115, .1); background: rgba(255, 255, 255, .55); overflow: hidden; }
.ao-head, .ao-row { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.4fr) minmax(0, 1.1fr) minmax(0, .9fr) 252px;
  gap: 8px 16px; align-items: center; padding: 11px 16px; }
.ao-head { padding: 9px 16px; font-size: 12px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: var(--muted); background: rgba(31, 59, 115, .05); }
.ao-row { border-top: 1px solid rgba(31, 59, 115, .08); font-size: 13.5px; transition: background .15s; }
.ao-row:hover { background: rgba(255, 255, 255, .9); }
.ao-c { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ao-org a, .ao-org b { font-weight: 700; color: var(--navy-dark); text-decoration: none; overflow-wrap: anywhere; }
.ao-org a:hover { text-decoration: underline; }
.ao-org span, .ao-lg span { font-size: 12px; color: var(--muted); }
.ao-login { font: 600 13px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--navy-dark); overflow-wrap: break-word; }   /* «.»/«-» dan keyin <wbr> — soʻz oʻrtasidan sinmaydi */
.ao-whenl { display: none; }
/* ustun yozuvi kartalarda (sarlavha yashirin, ≤ 1100 px): faqat ekran oʻquvchiga; keng ekranda sarlavha bor — display:none */
.ao-cl { display: none; }
@media (max-width: 1100px) { .ao-cl { display: inline-block; position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; } }
.ao-nologin, .ao-dim { font-style: normal; font-size: 12.5px; color: var(--muted); }
.ao-stc { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.ao-st { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.ao-st.none { color: var(--muted); background: transparent; border: 1px dashed rgba(91, 100, 120, .5); }
.ao-st.off { color: #5b6478; background: #eef0f4; }
.ao-st.wait { color: #6b5210; background: rgba(201, 162, 39, .13); }
.ao-st.sent { color: #2f54a8; background: #e8eefb; }
.ao-st.on { color: #1f7a4d; background: #e7f4ed; }
.ao-st.pro { color: #142a52; background: linear-gradient(135deg, #f3e3a6, #e2c55c); }
.ao-stc em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--muted); }
.ao-stc em.gold { color: #8a6a10; }
.ao-tgm { display: inline-flex; align-items: center; gap: 3px; }
.ao-tgm svg { width: 12px; height: 12px; } .ao-tgm u { text-decoration: none; }
.ao-when { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.ao-when i { font-style: normal; }
.ao-acts { flex-direction: row; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.ao-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 10px; cursor: pointer; white-space: nowrap;
  font: 700 12.5px/1 'Inter', sans-serif; color: var(--navy); background: #fff; border: 1px solid rgba(31, 59, 115, .22); transition: background .15s, border-color .15s; }
.ao-btn svg { width: 14px; height: 14px; }
.ao-btn:hover { border-color: var(--navy-light); background: rgba(47, 84, 168, .06); }
.ao-btn.primary { color: #fff; border-color: transparent; background: linear-gradient(135deg, #3a62b8, var(--navy)); }
.ao-btn.primary:hover { filter: brightness(1.06); }
.ao-btn:disabled { opacity: .55; cursor: default; }
.ao-pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--muted); }
.ao-pager .sv-btn { gap: 4px; }
.ao-empty { display: grid; justify-items: center; gap: 6px; padding: 34px 16px; border-radius: 16px; text-align: center; color: var(--muted); font-size: 13.5px;
  background: rgba(255, 255, 255, .55); border: 1px dashed rgba(31, 59, 115, .22); }
.ao-empty > svg { width: 26px; height: 26px; margin-bottom: 4px; opacity: .55; }
.ao-empty b { color: var(--navy-dark); font-size: 15px; }
.ao-empty .sv-btn { margin-top: 8px; }
/* yuklanish skeleti (prefers-reduced-motion: statik) */
.ao-sk { display: grid; grid-template-columns: 2.1fr 1.4fr 1.1fr .9fr; gap: 16px; padding: 16px; border-top: 1px solid rgba(31, 59, 115, .06); }
.ao-sk i { height: 14px; border-radius: 7px; background: linear-gradient(90deg, rgba(31, 59, 115, .08), rgba(31, 59, 115, .16), rgba(31, 59, 115, .08)); background-size: 200% 100%; animation: aoSk 1.3s linear infinite; }
@keyframes aoSk { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .ao-sk i { animation: none; } }
/* kirish maʼlumotlari oynasi */
.ao-creds { display: flex; flex-direction: column; gap: 8px; margin: 0 0 12px; }
.ao-cred { display: grid; grid-template-columns: 56px minmax(0, 1fr) 44px; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 12px;
  background: rgba(31, 59, 115, .05); border: 1px solid rgba(31, 59, 115, .1); }
.ao-cred span { font-size: 12px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: var(--muted); }
.ao-cred b { font: 700 17px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .4px; color: var(--navy-dark); overflow-wrap: break-word; user-select: all; -webkit-user-select: all; }
.ao-copy { width: 44px; height: 44px; border-radius: 10px; cursor: pointer; color: var(--navy); background: #fff; border: 1px solid rgba(31, 59, 115, .2); display: grid; place-items: center; }
.ao-copy svg { width: 16px; height: 16px; }
.ao-copy:hover { border-color: var(--navy-light); background: rgba(47, 84, 168, .06); }
.ao-once { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 12px; font-size: 13px; line-height: 1.5; color: #6b5210; }
.ao-once svg { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 2px; color: #a8821a; }
.ao-cred-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.ao-cred-acts .sv-btn { flex: 1 1 auto; min-height: 44px; }
.ao-modal .oa-hint { margin: 0 0 10px; line-height: 1.5; }
.ao-modal .sv-msgline { margin: 0 0 10px; }
.ao-modal .sv-flabel textarea { width: 100%; min-height: 84px; padding: 11px 13px; border-radius: 12px; resize: vertical; font: 14px/1.5 'Inter', sans-serif;
  color: var(--text); background: rgba(255, 255, 255, .95); border: 1px solid rgba(31, 59, 115, .22); outline: none; }
.ao-modal .sv-flabel textarea:focus { border-color: var(--navy-light); box-shadow: 0 0 0 3px rgba(47, 84, 168, .14); }
.ao-modal .sv-flabel textarea[aria-invalid="true"] { border-color: #b42318; box-shadow: 0 0 0 3px rgba(180, 35, 24, .12); }
.ao-modal .oa-lead span[data-lat] { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.ao-done { margin-top: 2px; }
/* Telegram qabul qiluvchilar (creds) va «bogʻlanishlarni uzish» (qayta berish) — tinch, tanlangani koʻk hoshiya bilan */
.ao-check { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; cursor: pointer; font-size: 13px; line-height: 1.45; color: var(--text);
  background: rgba(31, 59, 115, .05); border: 1px solid rgba(31, 59, 115, .1); }
.ao-check input, .ao-pick input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--navy); cursor: pointer; }
.ao-check:has(input:checked), .ao-pick:has(input:checked) { border-color: var(--navy-light); background: rgba(47, 84, 168, .08); }
.ao-chats { margin: -2px 0 10px; }
.ao-chats-t { margin: 0 0 6px; font-size: 12.5px; font-weight: 700; color: var(--navy-dark); }
.ao-chat { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; min-height: 40px; margin: 0 0 6px; padding: 7px 10px; border-radius: 10px; font-size: 13px; line-height: 1.4; color: var(--text);
  background: rgba(31, 59, 115, .05); border: 1px solid rgba(31, 59, 115, .1); }
.ao-chat > svg { width: 14px; height: 14px; flex: none; color: var(--muted); }
.ao-chat-n { font-weight: 700; color: var(--navy-dark); }
.ao-chat-m { font-size: 12px; color: var(--muted); }
label.ao-chat { cursor: pointer; }
.ao-pick input { margin: 0; }
.ao-pick:focus-within { box-shadow: 0 0 0 3px rgba(47, 84, 168, .14); }
/* style.css dagi umumiy oyna qoidasi (.um-box.oa-box .um-body label/input: ustun, bosh harf, input 100 %) bu qatorlarga tegmasin */
.um-box.oa-box .um-body label.ao-check, .um-box.oa-box .um-body label.ao-chat { flex-direction: row; text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 600; color: var(--text); }
.um-box.oa-box .um-body label.ao-check { gap: 10px; margin-bottom: 12px; }
.um-box.oa-box .um-body label.ao-chat { gap: 4px 8px; margin-bottom: 6px; }
.um-box.oa-box .um-body .ao-check input, .um-box.oa-box .um-body .ao-pick input, body.dark .um-box.oa-box .um-body .ao-check input, body.dark .um-box.oa-box .um-body .ao-pick input {
  width: 18px; height: 18px; padding: 0; border: 0; border-radius: 4px; background: transparent; box-shadow: none; }
.um-box.oa-box .um-body .ao-check input:focus, .um-box.oa-box .um-body .ao-pick input:focus { box-shadow: none; }
.ao-check:focus-within { box-shadow: 0 0 0 3px rgba(47, 84, 168, .14); }
body.dark .um-box.oa-box .um-body label.ao-check, body.dark .um-box.oa-box .um-body label.ao-chat { color: #c9d6f2; }
@media (pointer: coarse) { .ao-check, .ao-chat { min-height: 44px; } }
/* ≤ 1100 px (planshet, tor noutbuk, telefon): qatorlar karta — ustunlar siqilmaydi; 761–1100 da ikki ustun karta */
@media (max-width: 1100px) {
  .ao-head { display: none; }
  .ao-list { background: transparent; border: 0; overflow: visible; }
  .ao-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 10px; padding: 13px 14px; margin-bottom: 8px; border-radius: 14px;
    background: rgba(255, 255, 255, .7); border: 1px solid rgba(31, 59, 115, .1); }
  .ao-org { grid-column: 1; }
  .ao-stc { grid-column: 2; grid-row: 1; justify-content: flex-end; align-self: start; }
  .ao-lg { grid-column: 1 / -1; }
  .ao-when { grid-column: 1 / -1; flex-direction: row; gap: 5px; white-space: normal; }
  .ao-whenl { display: inline; font-size: 12.5px; }
  .ao-when i { display: none; }
  .ao-acts { grid-column: 1 / -1; justify-content: stretch; }
  .ao-acts .ao-btn { flex: 1 1 140px; min-height: 44px; font-size: 13px; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .ao-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: start; }
  .ao-row { margin: 0; }
}
/* telefon: tugmalar ≥ 44 px, bandlar yon aylantiriladi */
@media (max-width: 760px) {
  /* roʻyxatga tezroq: sarlavha izohi va ikkinchi gap yashirin, bandlar bir qatorda yon aylantiriladi, AI tugmasi bu sahifada yoʻq (ochiq panel yopilsin — ai-open qoladi) */
  .oa-dhead .sub, .ao-lead-more { display: none; }
  .ao-lead { margin-bottom: 10px; }
  .ao-chips { flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; scrollbar-width: none; margin: 0 -4px 10px; padding: 4px 4px 6px; -webkit-overflow-scrolling: touch; }
  .ao-chips::-webkit-scrollbar { display: none; }
  .ao-chips .fchip { flex: none; scroll-snap-align: start; white-space: nowrap; }
  .ao-chips .fchip:hover { transform: none; }
  body.st-ao-on:not(.ai-open) .ai-fab { display: none; }
}
/* 761–1100px: ikki ustunli kartalar — AI tugmasi oʻng kartaning amallarini yopmasin */
@media (max-width: 1100px) {
  body.st-ao-on:not(.ai-open) .ai-fab { display: none; }
  .oa-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -4px; margin-right: -4px; padding: 0 4px; }
  .oa-tabs::-webkit-scrollbar { display: none; }
  .oa-tabs button { white-space: nowrap; flex: none; }
  .ao-dsel { flex: 1 1 100%; }
  .ao-cred { grid-template-columns: 48px minmax(0, 1fr) 44px; padding-left: 10px; }
  .ao-cred b { font-size: 15.5px; }
  .ao-pager .sv-btn { min-height: 44px; }
}
@media (pointer: coarse) { .ao-btn { min-height: 44px; } }
/* tun rejimi */
body.dark .ao-lock { color: #c9d6f2; background: rgba(120, 145, 195, .14); border-color: rgba(120, 145, 195, .25); }
body.dark .ao-dsel select { background: rgba(20, 32, 60, .85); border-color: rgba(120, 145, 195, .35); color: #c9d6f2; }
body.dark .ao-note { color: #c9d6f2; background: rgba(120, 145, 195, .1); border-color: rgba(120, 145, 195, .35); }
body.dark .ao-note b, body.dark .ao-org a, body.dark .ao-org b, body.dark .ao-login, body.dark .ao-empty b, body.dark .ao-cred b { color: #e3ebfb; }
body.dark .ao-list { background: rgba(20, 32, 60, .45); border-color: rgba(120, 145, 195, .22); }
body.dark .ao-head { background: rgba(120, 145, 195, .12); }
body.dark .ao-row { border-top-color: rgba(120, 145, 195, .16); }
body.dark .ao-row:hover { background: rgba(42, 60, 102, .5); }
body.dark .ao-st.off { color: #b7c3dc; background: rgba(120, 145, 195, .18); }
body.dark .ao-st.wait { color: #e3c668; background: rgba(201, 162, 39, .18); }
body.dark .ao-st.sent { color: #b9cdf7; background: rgba(72, 105, 180, .3); }
body.dark .ao-st.on { color: #6fd0a3; background: rgba(111, 208, 163, .14); }
body.dark .ao-st.none { color: #aebbd6; border-color: rgba(174, 187, 214, .45); }
body.dark .ao-stc em.gold, body.dark .ao-once { color: #e8d79c; }
body.dark .ao-btn, body.dark .ao-copy { background: rgba(20, 32, 60, .85); border-color: rgba(120, 145, 195, .35); color: #c9d6f2; }
body.dark .ao-btn.primary { color: #fff; background: linear-gradient(135deg, #4a72c8, #2a4a8e); border-color: transparent; }
body.dark .ao-empty { background: rgba(20, 32, 60, .45); border-color: rgba(120, 145, 195, .3); }
body.dark .ao-sk { border-top-color: rgba(120, 145, 195, .12); }
body.dark .ao-sk i { background: linear-gradient(90deg, rgba(120, 145, 195, .14), rgba(120, 145, 195, .28), rgba(120, 145, 195, .14)); background-size: 200% 100%; }
body.dark .ao-cred { background: rgba(120, 145, 195, .12); border-color: rgba(120, 145, 195, .25); }
body.dark .ao-check, body.dark .ao-chat { color: #c9d6f2; background: rgba(120, 145, 195, .12); border-color: rgba(120, 145, 195, .25); }
body.dark .ao-check:has(input:checked), body.dark .ao-pick:has(input:checked) { border-color: #9db9f2; background: rgba(120, 145, 195, .22); }
body.dark .ao-chat-n, body.dark .ao-chats-t { color: #e3ebfb; }
body.dark .ao-modal .sv-flabel textarea { background: rgba(20, 32, 60, .85); border-color: rgba(120, 145, 195, .35); color: var(--text); }
body.dark .ao-modal .sv-flabel textarea[aria-invalid="true"] { border-color: #e07b72; box-shadow: 0 0 0 3px rgba(224, 123, 114, .16); }
@media (max-width: 1100px) { body.dark .ao-row { background: rgba(20, 32, 60, .55); border-color: rgba(120, 145, 195, .2); } }

/* A5 «Kirish varaqasi» — faqat chop etishda (body.ao-printing); ekranda hech qachon koʻrinmaydi */
.ao-print { display: none; }
@page ao { size: A5; margin: 12mm; }
@media print {
  body.ao-printing > *:not(.ao-print) { display: none !important; }
  body.ao-printing::before, body.ao-printing::after { display: none !important; content: none !important; }
  body.ao-printing { background: #fff !important; color: #000 !important; }
  body.ao-printing .ao-print { display: block !important; page: ao; }
  .ao-slip { color: #000; background: #fff; font: 11pt/1.45 Arial, Helvetica, sans-serif; break-inside: avoid; }
  .ao-slip header { display: flex; align-items: baseline; justify-content: space-between; gap: 6mm; padding-bottom: 3mm; border-bottom: 1.5pt solid #1f3b73; }
  .ao-slip header b { font-size: 16pt; letter-spacing: .3pt; color: #1f3b73; }
  .ao-slip header span { font-size: 9.5pt; color: #444; }
  .ao-slip h1 { margin: 6mm 0 1mm; font-size: 15pt; line-height: 1.25; color: #000; }
  .ao-slip-d { margin: 0 0 5mm; font-size: 10.5pt; color: #333; }
  .ao-slip table { border-collapse: collapse; width: 100%; margin: 0 0 5mm; }
  .ao-slip th { width: 26mm; text-align: left; font-weight: 600; padding: 2mm 4mm 2mm 0; color: #333; vertical-align: top; border-top: .5pt solid #bbb; }
  .ao-slip td { padding: 2mm 0; border-top: .5pt solid #bbb; }
  .ao-slip td.m { font: 700 14pt/1.3 'Courier New', Courier, monospace; letter-spacing: .6pt; }
  .ao-slip p { margin: 0 0 5mm; font-size: 10pt; color: #222; }
  .ao-slip footer { font-size: 9pt; color: #555; border-top: .5pt solid #bbb; padding-top: 2mm; }
}

/* ============================================================
   v97: Xodim Pro boʻlimlari — #/shablonlar, #/hisob, #/sud, #/yangiliklar (kabinet modullari xodim panelida, js/app.js stpRender).
   Tokenlar: body.st-cab (style.css, body.org-mode bilan bitta blok). Sahifa: .st-mod = breadcrumb + modul ildizi (.odc / .ocl / .osd / .nws).
   ============================================================ */
/* --op-pad = #app gorizontal chekinishi: telefonda toifa chiplari / qadamlar qatori ekran chetidan-chetiga (gorizontal aylanish yoʻq) */
.st-mod { max-width: 1200px; margin: 0 auto; --op-pad: clamp(18px, 3vw, 48px); }
.st-mod > .breadcrumb { margin-bottom: 14px; }
body.dark .st-mod > .breadcrumb a { color: #9db9ff; }   /* tun: navy havola qora fonda oʻqilmaydi (≈ 9:1) */
/* yopishqoq ustunlar xodim panelining sarlavhasi (yopishqoq, ~124 px) ostida qoladi */
.st-mod :is(.ocl-out, .osd-rail, .nws-grp, .nwa-pv) { top: calc(var(--st-headh, 124px) + 14px); }
.st-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.dchip.st-chip { display: inline-flex; align-items: center; }
.dchip .st-lk { position: relative; display: inline-flex; margin-left: 6px; color: #e9d28a; }   /* relative: .st-sr navigatsiya tasmasi ichida qoladi (sahifa gorizontal kengaymaydi) */
.dchip .st-lk svg { width: 12px; height: 12px; margin: 0; vertical-align: 0; }
.dchip.active .st-lk { color: #86650c; }
[data-nw-n][hidden] { display: none !important; }
.drawer-links a .pro-chip { margin-left: auto; }

/* ============================================================
   v98: Tashkilot hujjatlari — tasdiq (#/hujjat-tasdiq, js/app.js renderHujjatTasdiq), tashkilot rekvizitlari va
   masʼul xodim lavozimi (tashkilot sahifasi). Holat ranglari Savollar (.sv-st) bilan bir tizimda; oltin — faqat kutilayotganlar.
   ============================================================ */
.hq-lead { margin: 10px 0 0; max-width: 78ch; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.hq-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 18px 0 14px; }
.hq-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.hq-tabs .fchip { padding: 8px 14px; font-size: 13px; }
.hq-tabs .fchip b { margin-left: 3px; font-variant-numeric: tabular-nums; }
.hq-dsel { flex: 0 1 320px; }
.hq-list { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(470px, 100%), 1fr)); align-items: start; }
.hq-wait { padding: 18px 4px; }
.hq-item { position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 16px; border-radius: var(--r-md);
  background: var(--glass-strong); border: 1px solid var(--glass-border); box-shadow: var(--shadow-sm); outline: none; transition: box-shadow .2s, border-color .2s; }
.hq-item.pend { border-left: 3px solid var(--gold); }
.hq-item.on { border-color: var(--navy-light); box-shadow: 0 0 0 3px rgba(47, 84, 168, .18), var(--shadow-sm); }
.hq-item:focus-visible { box-shadow: 0 0 0 3px rgba(47, 84, 168, .35); }
.hq-top { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.hq-ic { flex: 0 0 40px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--navy-light);
  background: linear-gradient(145deg, #eef2fb, #dde6f7); }
.hq-ic svg { width: 20px; height: 20px; }
.hq-main { flex: 1; min-width: 0; }
.hq-row1 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.hq-type { font-size: 11.5px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; color: var(--muted); }
.hq-st { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 800; white-space: nowrap; }
.hq-st.kutilmoqda { background: #fbf3d6; color: #86650c; }
.hq-st.tasdiqlandi { background: #e7f4ed; color: #1f7a4d; }
.hq-st.rad { background: #fdecec; color: #b42318; }
.hq-st.bekor { background: #eef0f4; color: #5b6478; }
.hq-org { margin: 4px 0 0; font-size: 16px; line-height: 1.35; color: var(--navy-dark); overflow-wrap: anywhere; }
.hq-org a { color: inherit; text-decoration: none; }
.hq-org a:hover { color: var(--navy-light); text-decoration: underline; text-underline-offset: 3px; }
.hq-meta { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 3px; font-size: 12.5px; color: var(--muted); }
.hq-files { display: flex; flex-direction: column; gap: 8px; }
.hq-file { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; min-width: 0; padding: 8px 8px 8px 12px; border-radius: 12px;
  background: rgba(255, 255, 255, .78); border: 1px solid rgba(31, 59, 115, .1); }
.hq-file.new { border-color: rgba(201, 162, 39, .45); background: rgba(201, 162, 39, .07); }
.hq-item:not(.pend) .hq-file.new { border-color: rgba(31, 59, 115, .1); background: rgba(255, 255, 255, .78); }
.hq-fl { flex: 0 0 104px; font-size: 11px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; color: var(--muted); }
.hq-fn { flex: 1 1 140px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; font-weight: 700; color: var(--text); }
.hq-fn i { font-style: normal; font-weight: 600; color: var(--muted); white-space: normal; }
.hq-fs { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.hq-fb { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; margin-left: auto; border-radius: 10px; cursor: pointer;
  font: 700 12.5px/1 'Inter', sans-serif; color: var(--navy); background: #fff; border: 1px solid rgba(31, 59, 115, .22); transition: background .2s, border-color .2s; }
.hq-fb svg { width: 15px; height: 15px; }
.hq-fb:hover { border-color: var(--navy-light); background: rgba(47, 84, 168, .06); }
.hq-fb.seen { color: #1f7a4d; border-color: rgba(31, 122, 77, .35); }
.hq-fb:disabled { opacity: .6; cursor: progress; }
.hq-reason { margin-top: 0; }
.hq-rev { margin: 0; font-size: 12.5px; color: var(--muted); }
.hq-rev b { color: var(--text); }
/* v99: yuklash havolasi muddati tugaguncha — xotirjam izoh (tasdiq va koʻrish keyinroq) */
.hq-hold { display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 9px 12px; border-radius: 12px; font-size: 13px; line-height: 1.45;
  color: #6b5410; background: rgba(243, 227, 166, .3); border: 1px solid rgba(201, 162, 39, .32); }
.hq-hold svg { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 1px; color: #a8821a; }
.hq-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.hq-acts .sv-btn { min-width: 140px; }
.sv-btn.hq-no { color: #b42318; border-color: rgba(180, 35, 24, .32); }
.sv-btn.hq-no:hover { background: #fdecec; border-color: rgba(180, 35, 24, .5); }
.hq-fb:focus-visible, .hq-acts .sv-btn:focus-visible, .hq-link:focus-visible, .hq-tabs .fchip:focus-visible, .hq-quick .fchip:focus-visible {
  outline: 3px solid rgba(47, 84, 168, .4); outline-offset: 2px; }
.hq-empty { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 34px 18px; text-align: center;
  border-radius: var(--r-md); background: var(--glass-strong); border: 1px dashed rgba(31, 59, 115, .2); }
.hq-empty-ic { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 4px; border-radius: 16px; color: var(--navy-light);
  background: linear-gradient(145deg, #eef2fb, #dde6f7); }
.hq-empty-ic svg { width: 24px; height: 24px; }
.hq-empty b { font-size: 15px; color: var(--navy-dark); }
.hq-empty p { margin: 0; max-width: 52ch; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.hq-empty .sv-btn { margin-top: 8px; }
[data-hq-badge][hidden] { display: none !important; }

/* oynalar (tasdiqlash / rad etish / rekvizitlar) */
.hq-will { margin: 0 0 14px; padding-left: 18px; font-size: 13.5px; line-height: 1.6; color: var(--text); }
.hq-quick { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.hq-quick .fchip { padding: 7px 12px; font-size: 12.5px; text-align: left; }
.hq-flabel { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--muted); }
.hq-box textarea { width: 100%; min-height: 110px; padding: 12px 14px; border-radius: 12px; resize: vertical; font: 14px/1.55 'Inter', sans-serif;
  color: var(--text); background: rgba(255, 255, 255, .95); border: 1px solid rgba(31, 59, 115, .22); outline: none; }
.hq-box textarea:focus { border-color: var(--navy-light); box-shadow: 0 0 0 3px rgba(47, 84, 168, .14); }
.hq-cnt { margin: 4px 0 8px; text-align: right; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.hq-link { display: inline; padding: 0; margin-left: 4px; cursor: pointer; font: inherit; font-weight: 800; color: var(--navy-light);
  background: none; border: 0; text-decoration: underline; text-underline-offset: 3px; }
.um-save.hq-danger { background: linear-gradient(135deg, #c8372b, #9b2318); }
.um-box.hq-box .um-body input[aria-invalid="true"] { border-color: #b42318; box-shadow: 0 0 0 3px rgba(180, 35, 24, .14); }

/* tashkilot sahifasi: masʼul xodim lavozimi va rekvizitlar */
.person .hq-pos { margin-top: 2px; font-size: 13px; font-weight: 600; color: var(--muted); line-height: 1.4; overflow-wrap: anywhere; }
.hq-rq { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 14px 24px;
  padding: 20px 52px 20px 22px; border-radius: 19px; background: var(--glass-strong); border: 1px solid var(--glass-border); box-shadow: var(--shadow-md); }
.hq-rq-c { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hq-rq-c.wide { order: 9; grid-column: 1 / -1; }
.hq-rq-c i { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); }
.hq-rq-c b, .hq-rq-c a { font-size: 14.5px; font-weight: 700; color: var(--navy-dark); overflow-wrap: anywhere; }
.hq-rq-c a { width: fit-content; color: var(--navy-light); text-decoration: none; }
.hq-rq-c a:hover { text-decoration: underline; text-underline-offset: 3px; }
.hq-rq-c b[data-lat] { font-variant-numeric: tabular-nums; letter-spacing: .3px; }
.hq-rq-none { font-size: 13px; font-style: italic; color: #8a95aa; }

@media (max-width: 760px) {
  .hq-bar { gap: 10px; margin-top: 14px; }
  .hq-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: 100%; margin: 0 -4px; padding: 0 4px 2px; }
  .hq-tabs::-webkit-scrollbar { display: none; }
  .hq-tabs .fchip { flex: none; }
  .hq-dsel { flex: 1 1 100%; }
  .hq-item { padding: 14px; }
  .hq-fl { flex-basis: 100%; }
  .hq-fb, .hq-acts .sv-btn, .hq-link { min-height: 44px; }
  .hq-acts .sv-btn { flex: 1 1 0; min-width: 0; }
  .hq-rq { padding: 16px 48px 16px 16px; }
  .hq-rq .edit-btn { width: 40px; height: 40px; }
}
@media (pointer: coarse) { .hq-fb, .hq-acts .sv-btn { min-height: 44px; } }

/* tun rejimi */
body.dark .hq-item, body.dark .hq-rq, body.dark .hq-empty { background: linear-gradient(150deg, rgba(40, 58, 100, .78), rgba(28, 42, 76, .6)); border-color: rgba(120, 145, 195, .3); }
body.dark .hq-item.pend { border-left-color: var(--gold); }
body.dark .hq-item.on { border-color: #7d9ce0; }
body.dark .hq-ic, body.dark .hq-empty-ic { background: linear-gradient(145deg, #2b3f6e, #1d2c52); color: #9db9f2; }
body.dark .hq-org, body.dark .hq-empty b, body.dark .hq-rq-c b { color: #e3ebfb; }
body.dark .hq-org a:hover, body.dark .hq-rq-c a, body.dark .hq-link, body.dark .hq-page .breadcrumb a { color: #9db9ff; }
body.dark .hq-st.kutilmoqda { background: rgba(201, 162, 39, .22); color: #f0d98a; }
body.dark .hq-st.tasdiqlandi { background: rgba(31, 122, 77, .28); color: #8fd9b3; }
body.dark .hq-st.rad { background: rgba(180, 35, 24, .25); color: #f4b2aa; }
body.dark .hq-st.bekor { background: rgba(120, 145, 195, .16); color: #b8c4dc; }
body.dark .hq-file, body.dark .hq-item:not(.pend) .hq-file.new { background: rgba(20, 32, 60, .7); border-color: rgba(120, 145, 195, .25); }
body.dark .hq-file.new { background: rgba(201, 162, 39, .1); border-color: rgba(201, 162, 39, .4); }
body.dark .hq-fb { background: rgba(20, 32, 60, .85); border-color: rgba(120, 145, 195, .35); color: #c9d6f2; }
body.dark .hq-fb.seen { color: #8fd9b3; border-color: rgba(143, 217, 179, .4); }
body.dark .sv-btn.hq-no { color: #f4a69c; border-color: rgba(244, 166, 156, .4); }
body.dark .sv-btn.hq-no:hover { background: rgba(180, 35, 24, .22); }
body.dark .hq-hold { color: #f2e3b8; background: rgba(201, 162, 39, .12); border-color: rgba(201, 162, 39, .35); }
body.dark .hq-hold svg { color: #e3c668; }
body.dark .hq-box textarea { background: rgba(20, 32, 60, .85); border-color: rgba(120, 145, 195, .35); color: var(--text); }
body.dark .hq-rq-none { color: #8395b8; }
body.dark .hq-empty { border-style: dashed; }
