/* BIIK_RANG_V1 — panel ranglari: qora / oq / kulrang (brif 290).
   Faqat ko'rinish. Qaytarish: admin.html.bak_BIIK_RANG ni joyiga qo'yish yoki <link> qatorini olib tashlash. */
html:root{
  --bg:#f4f5f6; --card:#ffffff;
  --navy:#ffffff; --navy2:#eef0f2; --navy3:#e6e8eb; --navy4:#d5d9de;
  --text:#111111; --text2:#4a5058; --text3:#7a838d;
  --border:#e6e8eb; --border2:#d5d9de;
  --accent:#111111; --accent2:#000000; --gold:#111111; --gold2:#000000; --gold-bg:rgba(17,17,17,.06);
  --blue:#111111; --blue-bg:rgba(17,17,17,.06);
  --green:#1e8e50; --green-bg:rgba(30,142,80,.09);
  --red:#b3261e; --red-bg:rgba(179,38,30,.08);
  --amber:#7a838d; --amber-bg:rgba(122,131,141,.1);
}
html[data-theme="dark"]{
  --bg:#141517; --card:#1c1d20;
  --navy:#1c1d20; --navy2:#26272b; --navy3:#2d2e33; --navy4:#36383d;
  --text:#ececee; --text2:#a3a7ad; --text3:#6d7279;
  --border:#2a2b30; --border2:#3a3c41;
  --accent:#5a6068; --accent2:#6b7179; --gold:#5a6068; --gold2:#6b7179; --gold-bg:rgba(255,255,255,.07);
  --blue:#d0d3d8; --blue-bg:rgba(255,255,255,.07);
  --green:#4caf7d; --green-bg:rgba(76,175,125,.12);
  --red:#e05858; --red-bg:rgba(224,88,88,.12);
  --amber:#a3a7ad; --amber-bg:rgba(163,167,173,.12);
}

/* Tugmalar: asosiy — qora, oddiy — oq + ramka, xavfli — qizil matn. Radius 6px. */
html body .btn, html body .pk-btn{border-radius:6px;}
html body .btn-primary, html body .pk-btn.pri{background:var(--accent);border-color:var(--accent);color:#fff;}
html body .btn-primary:hover, html body .pk-btn.pri:hover{background:var(--accent2);border-color:var(--accent2);color:#fff;}
html body .btn-ghost{background:var(--card);border:1px solid var(--border2);color:var(--text);}
html body .btn-ghost:hover{background:var(--navy2);}
html body .btn-danger{background:var(--card);color:var(--red);border:1px solid var(--border2);}
html body .btn-danger:hover{background:var(--red-bg);}
html body .pk-btn:disabled, html body .btn:disabled{opacity:.4;}

/* Rangli ikonka-kvadratlar -> bir xil kulrang */
html body .ds-blue, html body .ds-green, html body .ds-gold, html body .ds-purple{background:var(--navy2);color:var(--text);}

/* Faol menyu punkti */
html body .nav-item.active{background:var(--navy2);color:var(--text);}

/* ===== BIIK_RANG_V2 — kod ichiga yozilgan ranglar (inline / modul CSS). Faqat ko'rinish. ===== */
/* Yuklanish ekrani */
#splBar{background:var(--text)!important;}
#mb-splash [style*="1f55e7" i]{background:var(--text)!important;}

/* «ВАЖНО / Предупреждение / Информация» xabari: oq fon, chapda rangli chiziq */
html body .ann-banner{background:var(--card)!important;border:1px solid var(--border)!important;border-left:3px solid var(--text)!important;border-radius:10px;}
html body .ann-banner:has(.ann-ttl[style*="e11d48" i]){border-left-color:var(--red)!important;}
html body .ann-banner:has(.ann-ttl[style*="c77c0a" i]){border-left-color:#b86e00!important;}
html body .ann-banner .ann-ttl[style*="e11d48" i], html body .ann-banner .ann-ic[style*="e11d48" i]{color:var(--red)!important;}
html body .ann-banner .ann-ttl[style*="1f55e7" i], html body .ann-banner .ann-ic[style*="1f55e7" i]{color:var(--text)!important;}

/* Главная: ОСАГО / ОСГОП / Диагностика kartochkalari */
#app [data-docview] > div:first-child > div:first-child{background:var(--navy2)!important;color:var(--text)!important;}
#app [data-docview] > div:nth-child(2) > div{background:transparent!important;border:1px solid var(--border);}
#app [data-docview] > div:nth-child(2) > div > div:last-child{color:var(--text3)!important;}
#app [data-docview] > div:nth-child(2) > div:nth-child(2) > div:first-child{color:#b86e00!important;}
#app [data-docview] > div:nth-child(2) > div:nth-child(3) > div:first-child{color:var(--text)!important;}
#app .card-head .ds-icon{background:var(--navy2)!important;color:var(--text)!important;}

/* Парк: ochiq oynalar yorlig'i — faoli qora */
html body .pt-tab.on{background:var(--text)!important;border-color:var(--text)!important;color:var(--card)!important;}
html body .pt-tab.on *{color:inherit!important;}

/* Jadval tanlovi, menyular, chiplar (modul CSS ichidagi ko'k) */
html body .pk-tbl tbody tr.ux-on>td{background:var(--navy2)!important;}
html body .pk-tbl tbody tr>td.ux-cell{outline-color:var(--text)!important;}
html body .ux-menu div:hover{background:var(--navy2)!important;}
html body .ux-fltbar .ux-n{background:var(--text)!important;color:var(--card)!important;}
html body tr.itd-row:hover{background:var(--navy2)!important;}
html body .dc-k.on{outline-color:var(--text)!important;}
html body .dc-m.on{border-color:var(--text)!important;}
html body .lg-chip.on{background:var(--navy2)!important;border-color:var(--text)!important;}
html body .med-src.on, html body .med-tag, html body .med-ptn{background:var(--navy2)!important;}
html body .pf-lnk{color:var(--text);}
html body .pf-lnk.dis{color:var(--text3);}

/* Qolgan inline ko'k / binafsha / sariq — umumiy */
#app [style*="color:#1f55e7" i]{color:var(--text)!important;}
#app [style*="background:rgba(31,85,231" i]{background:var(--navy2)!important;}
#app [style*="solid #1f55e7" i]{border-color:var(--text)!important;}
#app [style*="linear-gradient(135deg,#1f55e7" i]{background:var(--text)!important;}
#app [style*="background:rgba(124,58,237" i]{background:var(--navy2)!important;}
#app [style*="color:#7c3aed" i]{color:var(--text)!important;}
#app [style*="background:rgba(234,170,0" i]{background:rgba(184,110,0,.09)!important;}
#app [style*="color:#d4a017" i]{color:#b86e00!important;}

/* BIIK_FIX7_BANNER — «Важно / Информация» e'loni: alohida oq kartochka, topbar uni yopmaydi */
html body #app .ann-banner{background:var(--card)!important;border:1px solid var(--border)!important;border-radius:12px!important;margin:0 0 16px!important;padding:9px 10px 9px 12px!important;box-shadow:0 1px 2px rgba(0,0,0,.03);gap:12px}
html body #app .ann-banner .ann-ic{width:30px;height:30px;border-radius:50%;background:color-mix(in srgb,currentColor 12%,transparent)!important}
html body #app .ann-banner .ann-body{align-items:center;gap:10px}
html body #app .ann-banner .ann-ttl{font-size:10.5px;letter-spacing:.6px;padding:3px 8px;border-radius:20px;background:color-mix(in srgb,currentColor 10%,transparent)}
html body #app .ann-banner .ann-txt{color:var(--text)!important;font-size:13.5px}
