/* UBS boshqaruv paneli — ubs-olimlar ko'rinishiga (app.css) qo'shimchalar */
.bp-dash { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.hello h2 { margin: 0; color: var(--navy); font-size: 1.3rem; }
.hello p { margin: 4px 0 0; }
.kpis.five { grid-template-columns: repeat(5, 1fr); margin-top: 12px; }
.kpis.four { margin-top: 12px; }
a.kpi-link { text-decoration: none; color: inherit; transition: transform .12s, box-shadow .12s; }
a.kpi-link:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(16, 40, 79, .12); }
.scope-note { margin: 6px 0 10px; padding: 8px 12px; border-radius: 10px; background: #eef5ff; color: #1d4f8f; font-size: .85rem; font-weight: 600; }
.bp-bars { display: grid; gap: 10px; margin-top: 10px; }
.bp-bar-row { display: grid; grid-template-columns: minmax(120px, 260px) 1fr 56px; gap: 10px; align-items: center; font-size: .9rem; }
.bp-bar-row span:empty { display: none; }
td .bp-bar-row { grid-template-columns: 1fr 52px; }
.bp-bar-track { height: 12px; border-radius: 999px; background: #e8eef6; overflow: hidden; }
.bp-bar-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #2f6fd6, #d4a63a); }
.bp-bar-row b { text-align: right; color: var(--navy); }
.flash.warn { background: #fff1c7; color: #6b4a00; border-color: #e8c766; }
.back-btn { cursor: pointer; }
.danger-text { color: #a12828 !important; }
.scope-box { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 14px 0; }
.scope-box legend { font-weight: 800; color: var(--navy); padding: 0 6px; }
.scope-box details { margin-top: 10px; }
.scope-box summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.check-row { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 8px; }
.check-list { max-height: 260px; overflow: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 4px 14px; margin-top: 8px; padding: 6px; border: 1px solid var(--line); border-radius: 10px; }
.check-list label, .check-row label { font-size: .86rem; display: flex; gap: 6px; align-items: flex-start; }
.unit-search { margin-top: 8px; width: 100%; max-width: 360px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; font: inherit; }
.pass-page { max-width: 520px; }
.ptitle-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.ptitle-row .ptitle { margin-bottom: 0; flex: 1 1 320px; }
.ptitle-row + .type-tiles, #statsForm { margin-top: 12px; }
.type-tile strong { white-space: nowrap; }
.type-tile .manual-mark { display: inline; font-size: .85rem; color: var(--muted); font-weight: 400; }
.type-tile.edit { display: grid; gap: 4px; }
.type-tile.edit input { width: 100%; padding: 4px 6px; font-size: 1.1rem; font-weight: 700; color: var(--navy); }
.row-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
@media (max-width: 980px) {
  .kpis.five { grid-template-columns: repeat(2, 1fr); }
  .bp-bar-row { grid-template-columns: 1fr 52px; }
  .bp-bar-row > span { grid-column: 1 / -1; }
}

/* Kirish sahifasi: rasm o'rniga panelning o'z foni */
.auth-screen { background: radial-gradient(1200px 600px at 20% 10%, #1d4f8f 0%, rgba(29,79,143,0) 60%), linear-gradient(135deg, #0a1f45 0%, #10284f 50%, #163a73 100%); }
.auth-hero { display: grid; place-items: center; padding: 48px clamp(24px, 5vw, 80px); color: #fff; }
.hero-in { max-width: 620px; }
.hero-logo { width: 92px; height: auto; filter: drop-shadow(0 8px 20px rgba(0,0,0,.35)); }
.auth-hero h1 { margin: 18px 0 8px; font-size: clamp(1.8rem, 3.4vw, 2.8rem); letter-spacing: .02em; color: #f2c96b; }
.auth-hero h1 span { color: #fff; }
.auth-hero > .hero-in > p { margin: 0 0 26px; color: #c9d6ea; font-size: 1.02rem; }
.hero-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hero-list li { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.hero-list svg { width: 26px; height: 26px; flex: none; color: #f2c96b; }
.hero-list b { display: block; color: #fff; }
.hero-list span { color: #c9d6ea; font-size: .86rem; }
@media (max-width: 980px) {
  .auth-screen { background: #eef3fb; }
  .auth-hero { aspect-ratio: auto; min-height: 0; padding: 28px 18px 44px; background: linear-gradient(135deg, #0a1f45, #163a73); }
  .hero-logo { width: 64px; }
  .hero-list { grid-template-columns: 1fr; gap: 8px; }
  .hero-list li { padding: 10px 12px; }
}
.data-tool[hidden] { display: none !important; }

/* UBS olimlari tahlil sahifalari va UBS Natija sahifalari */
.olim-tools { margin: 0 0 12px; justify-content: flex-end; }
.kpis.three { grid-template-columns: repeat(3, 1fr); }
.flt { display: grid; gap: 4px; font-size: .8rem; font-weight: 700; color: var(--muted); }
.st { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .74rem; font-weight: 800; background: #eef3f9; color: var(--navy); white-space: nowrap; }
.st.ok { background: #e7f6ef; color: #0d6b58; }
.st.mid { background: #fff1c7; color: #6b4a00; }
.st.low { background: #fde8e8; color: #a12828; }
.empty-state { text-align: center; padding: 34px 12px; }
.empty-state b { font-size: 1.05rem; color: var(--navy); }
.rep-table th.c { text-align: center; }
.rep-table thead th { font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; }
.rep-table tr.sec-row td { background: #f1f5fb; font-weight: 800; color: var(--navy); letter-spacing: .03em; }
.sec-badge { display: inline-grid; place-items: center; min-width: 34px; height: 34px; margin-right: 10px; border-radius: 10px; background: #4f46e5; color: #fff; font-size: .9rem; }
.ind-panel h2 { display: flex; align-items: center; }
@media (max-width: 980px) { .kpis.three { grid-template-columns: 1fr; } }
