﻿/* =========================================================
   YWPK — Admin Dashboard
   ========================================================= */
:root {
    --ink: #04203A;
    --side: #061B30;
    --side-2: #0B2742;
    --ocean: #0B6FB8;
    --aqua: #00B8D4;
    --mint: #10C98F;
    --sun: #F5A524;
    --coral: #F04E4E;
    --bg: #F2F6FA;
    --card: #FFFFFF;
    --line: #E3EBF2;
    --muted: #6A8196;
    --grad: linear-gradient(135deg, #0B6FB8 0%, #00B8D4 60%, #2EE6A6 100%);
    --radius: 16px;
    --shadow: 0 1px 2px rgba(4,32,58,.04), 0 8px 24px -12px rgba(4,32,58,.18);
    --font-head: "Outfit", system-ui, sans-serif;
    --bs-body-font-family: "Inter", system-ui, sans-serif;
    --bs-primary: #0B6FB8;
    --bs-primary-rgb: 11,111,184;
    --bs-link-color: #0B6FB8;
    --bs-link-color-rgb: 11,111,184;
    --bs-border-color: #E3EBF2;
}
body { font-family: var(--bs-body-font-family); color: var(--ink); background: var(--bg); font-size: .94rem; }
h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .h5 { font-family: var(--font-head); letter-spacing: -.01em; }
svg.ic, .btn svg, .chip svg { width: 1.05em; height: 1.05em; vertical-align: -.15em; margin-right: .4em; }
a { text-decoration: none; }
.brand__mark { width: 38px; height: 38px; border-radius: 11px; background: var(--grad); display: inline-grid; place-items: center; box-shadow: 0 8px 20px -8px rgba(0,184,212,.9); flex-shrink: 0; }
.brand__mark svg { width: 21px; height: 21px; color: #fff; }
.brand__mark--lg { width: 64px; height: 64px; border-radius: 18px; }
.brand__mark--lg svg { width: 34px; height: 34px; }

/* ---------- Sidebar ---------- */
.sidebar { position: fixed; inset: 0 auto 0 0; width: 264px; background: linear-gradient(180deg, var(--side) 0%, var(--side-2) 100%); color: #B7C7D6; display: flex; flex-direction: column; z-index: 1040; transition: transform .3s ease; }
.sidebar__brand { display: flex; gap: 12px; align-items: center; padding: 22px 22px 18px; color: #fff; }
.sidebar__brand strong { display: block; font-family: var(--font-head); font-size: 1.2rem; line-height: 1; }
.sidebar__brand small { color: #7F97AD; font-size: .75rem; }
.sidebar__nav { flex: 1; overflow-y: auto; padding: 6px 14px 20px; scrollbar-width: thin; scrollbar-color: #1E3B57 transparent; }
.sidebar__nav a, .sidebar__site { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: #B7C7D6; font-weight: 500; font-size: .9rem; margin-bottom: 2px; transition: background .2s, color .2s; position: relative; }
.sidebar__nav a svg, .sidebar__site svg { width: 19px; height: 19px; opacity: .85; flex-shrink: 0; }
.sidebar__nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.sidebar__nav a.active { background: linear-gradient(90deg, rgba(0,184,212,.22), rgba(0,184,212,.04)); color: #fff; }
.sidebar__nav a.active::before { content: ""; position: absolute; left: -14px; top: 8px; bottom: 8px; width: 4px; border-radius: 0 4px 4px 0; background: var(--aqua); }
.sidebar__nav a.active svg { color: var(--aqua); opacity: 1; }
.sidebar__group { font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; color: #5F7A93; padding: 18px 12px 8px; font-weight: 600; }
.sidebar__site { margin: 0 14px 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.sidebar__site:hover { color: #fff; background: rgba(255,255,255,.1); }

/* ---------- Main ---------- */
.main { margin-left: 264px; min-height: 100vh; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 1030; display: flex; align-items: center; gap: 16px; padding: 14px 30px; background: rgba(242,246,250,.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.topbar__title { font-size: 1.3rem; font-weight: 700; margin: 0; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__toggle { display: none; border: 0; background: var(--card); width: 40px; height: 40px; border-radius: 10px; box-shadow: var(--shadow); }
.topbar__toggle svg { width: 20px; height: 20px; }
.topbar__right { display: flex; align-items: center; gap: 10px; }
.chip { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 7px 13px; font-weight: 600; font-size: .8rem; color: var(--ink); }
.user-chip { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 4px 14px 4px 4px; font-weight: 600; font-size: .88rem; color: var(--ink); }
.user-chip img, .avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.avatar { display: inline-grid; place-items: center; background: var(--grad); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .85rem; flex-shrink: 0; }
.avatar--lg { width: 88px; height: 88px; font-size: 1.8rem; }
.content { padding: 28px 30px 60px; flex: 1; }
.dropdown-item { display: flex; align-items: center; padding: 8px 16px; font-size: .9rem; }

@media (max-width: 991px) {
    .sidebar { transform: translateX(-100%); box-shadow: 20px 0 60px rgba(0,0,0,.3); }
    .sidebar.open { transform: none; }
    .main { margin-left: 0; }
    .topbar { padding: 12px 16px; }
    .topbar__toggle { display: inline-grid; place-items: center; }
    .content { padding: 20px 16px 50px; }
}

/* ---------- Kartat ---------- */
.card { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); background: var(--card); }
.card-header { background: transparent; border-bottom: 1px solid var(--line); padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-header h2, .card-header h3, .card-header h5 { font-size: 1.02rem; margin: 0; font-weight: 700; }
.card-body { padding: 20px; }
.kpi { position: relative; overflow: hidden; padding: 20px; display: flex; gap: 16px; align-items: center; height: 100%; }
.kpi__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.kpi__icon svg { width: 24px; height: 24px; }
.kpi__value { font-family: var(--font-head); font-size: 1.75rem; font-weight: 800; line-height: 1.1; }
.kpi__label { color: var(--muted); font-size: .82rem; font-weight: 500; }
.kpi::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 110px; height: 110px; border-radius: 50%; background: currentColor; opacity: .04; }
.bg-ocean { background: linear-gradient(135deg, #0B6FB8, #3A9BE0); }
.bg-aqua { background: linear-gradient(135deg, #00A5C2, #45D3EA); }
.bg-mint { background: linear-gradient(135deg, #0EA672, #2EE6A6); }
.bg-sun { background: linear-gradient(135deg, #E88F0C, #FFC857); }
.bg-coral { background: linear-gradient(135deg, #E03A3A, #FF7A7A); }
.bg-violet { background: linear-gradient(135deg, #6D4AFF, #A08BFF); }

.welcome { background: var(--grad); color: #fff; border-radius: var(--radius); padding: 26px 28px; position: relative; overflow: hidden; border: 0; }
.welcome::before { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,.12); right: -60px; top: -110px; }
.welcome h2 { font-weight: 800; font-size: 1.55rem; margin-bottom: 4px; position: relative; }
.welcome p { margin: 0; opacity: .9; position: relative; }

/* Grafiku i të ardhurave (pa librari) */
.bars { display: flex; align-items: flex-end; gap: 10px; height: 200px; padding-top: 10px; }
.bars__col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; justify-content: flex-end; }
.bars__bar { width: 100%; max-width: 38px; border-radius: 8px 8px 4px 4px; background: var(--grad); min-height: 4px; position: relative; transition: filter .2s; animation: grow .9s cubic-bezier(.2,.8,.2,1) both; transform-origin: bottom; }
.bars__bar:hover { filter: brightness(1.1); }
.bars__bar[data-v]:hover::after { content: attr(data-v); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; font-size: .72rem; padding: 3px 8px; border-radius: 6px; white-space: nowrap; }
.bars__label { font-size: .72rem; color: var(--muted); text-transform: capitalize; }
@keyframes grow { from { transform: scaleY(0); } }

/* Listat */
.list-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.list-row:last-child { border-bottom: 0; }
.list-row__main { flex: 1; min-width: 0; }
.list-row__title { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list-row__sub { font-size: .8rem; color: var(--muted); }
.date-badge { width: 48px; text-align: center; border-radius: 12px; background: #E8F4FB; color: var(--ocean); padding: 6px 0; font-family: var(--font-head); line-height: 1.1; flex-shrink: 0; }
.date-badge strong { display: block; font-size: 1.15rem; }
.date-badge span { font-size: .68rem; text-transform: uppercase; }

/* Tabelat */
.table { --bs-table-bg: transparent; margin: 0; vertical-align: middle; }
.table > thead th { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--line); padding: 12px 16px; background: #F8FBFD; white-space: nowrap; }
.table > tbody td { padding: 13px 16px; border-color: var(--line); }
.table-hover > tbody > tr:hover > * { --bs-table-bg-state: #F6FAFD; }
.table .person { display: flex; align-items: center; gap: 12px; }
.table .person .avatar, .table .person img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.table .person strong { display: block; line-height: 1.2; }
.table .person small { color: var(--muted); }
.thumb { width: 64px; height: 44px; border-radius: 8px; object-fit: cover; background: var(--grad); display: inline-block; }

/* Statuset */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .74rem; font-weight: 600; white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill--green { background: #E3F8EF; color: #0B8A5C; }
.pill--blue { background: #E4F1FB; color: #0B6FB8; }
.pill--amber { background: #FFF3DC; color: #B26B00; }
.pill--red { background: #FDE8E8; color: #C62828; }
.pill--gray { background: #EEF2F6; color: #5B7085; }
.pill--violet { background: #EFEBFF; color: #5B3FD9; }

/* Butonat */
.btn { border-radius: 10px; font-weight: 600; font-size: .88rem; padding: .55rem 1rem; display: inline-flex; align-items: center; justify-content: center; }
.btn-sm { padding: .32rem .7rem; font-size: .8rem; border-radius: 8px; }
.btn-primary { background: var(--grad); border: 0; box-shadow: 0 6px 16px -8px rgba(0,184,212,.9); }
.btn-primary:hover, .btn-primary:focus { filter: brightness(1.05); background: var(--grad); }
.btn-light { background: #fff; border: 1px solid var(--line); }
.btn-icon { width: 34px; height: 34px; padding: 0; border-radius: 9px; }
.btn-icon svg { margin: 0; }
.actions { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: nowrap; }
.actions form { display: inline; }
/* flex on a <td> breaks the table row (border/height); keep the cell a table-cell */
td.actions { display: table-cell; text-align: right; white-space: nowrap; }
td.actions > * { display: inline-flex; vertical-align: middle; margin-left: 6px; }
td.actions > form { display: inline-block; }

/* Format */
.form-label { font-weight: 600; font-size: .84rem; margin-bottom: 6px; }
.form-control, .form-select { border-radius: 10px; border-color: var(--line); padding: .6rem .85rem; font-size: .92rem; }
.form-control:focus, .form-select:focus { border-color: var(--aqua); box-shadow: 0 0 0 4px rgba(0,184,212,.14); }
.form-check-input:checked { background-color: var(--ocean); border-color: var(--ocean); }
.form-section { font-family: var(--font-head); font-weight: 700; font-size: .95rem; margin: 6px 0 14px; display: flex; align-items: center; gap: 10px; }
.form-section::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.lang-tag { display: inline-block; font-size: .65rem; font-weight: 700; padding: 1px 6px; border-radius: 5px; background: #E4F1FB; color: var(--ocean); margin-left: 6px; vertical-align: 1px; }
.lang-tag--en { background: #EFEBFF; color: #5B3FD9; }
.field-validation-error, .text-danger { color: var(--coral) !important; font-size: .8rem; }
.input-validation-error { border-color: #F5A3A3 !important; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.filters .form-control, .filters .form-select { width: auto; min-width: 180px; }
.search { position: relative; }
.search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted); }
.search input { padding-left: 36px; }
.page-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.page-head p { color: var(--muted); margin: 0; }
.tabs-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.tabs-pills a { padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 500; font-size: .85rem; }
.tabs-pills a.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Editori i tekstit */
.rte { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.rte:focus-within { border-color: var(--aqua); box-shadow: 0 0 0 4px rgba(0,184,212,.14); }
.rte__bar { display: flex; flex-wrap: wrap; gap: 2px; padding: 6px; border-bottom: 1px solid var(--line); background: #F8FBFD; }
.rte__bar button { border: 0; background: transparent; border-radius: 6px; min-width: 32px; height: 30px; font-weight: 700; font-size: .82rem; color: var(--ink); }
.rte__bar button:hover { background: #E4F1FB; }
.rte__area { min-height: 220px; padding: 14px 16px; outline: none; font-size: .95rem; line-height: 1.6; }
.rte__area:empty::before { content: attr(data-placeholder); color: #A3B3C2; }
.rte__area blockquote { border-left: 3px solid var(--aqua); padding-left: 12px; color: var(--muted); }

.cover-preview { width: 100%; max-height: 180px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.dropzone { border: 2px dashed var(--line); border-radius: 12px; padding: 20px; text-align: center; color: var(--muted); background: #FAFCFE; cursor: pointer; transition: border-color .2s; display: block; }
.dropzone:hover { border-color: var(--aqua); }
.dropzone input { display: none; }

/* Mesazhet toast */
.toast-msg { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-radius: 12px; margin-bottom: 20px; font-weight: 500; animation: slide .4s ease; }
.toast-msg svg { width: 20px; height: 20px; flex-shrink: 0; }
.toast-msg--ok { background: #E3F8EF; color: #0B6E4B; border: 1px solid #BDEFD9; }
.toast-msg--err { background: #FDE8E8; color: #A61B1B; border: 1px solid #F8C7C7; }
.toast-msg--info { background: #E4F1FB; color: #0B5A94; border: 1px solid #C3DFF4; }
@keyframes slide { from { opacity: 0; transform: translateY(-8px); } }

/* Organogrami */
.tree, .tree ul { list-style: none; margin: 0; padding: 0; }
.tree ul { margin-left: 26px; border-left: 2px dashed var(--line); padding-left: 18px; }
.tree li { position: relative; margin: 10px 0; }
.tree ul > li::before { content: ""; position: absolute; left: -18px; top: 28px; width: 16px; border-top: 2px dashed var(--line); }
.node { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow); }
.node--root { background: var(--grad); color: #fff; border: 0; }
.node--root .text-muted { color: rgba(255,255,255,.8) !important; }
.node__title { font-family: var(--font-head); font-weight: 700; }
.node__holders { display: flex; gap: -6px; }
.node__holders .avatar { width: 30px; height: 30px; font-size: .7rem; border: 2px solid #fff; margin-left: -8px; }

.empty-state { text-align: center; padding: 50px 20px; color: var(--muted); }
.empty-state svg { width: 48px; height: 48px; color: var(--aqua); margin-bottom: 12px; }
.dl-grid { display: grid; grid-template-columns: 160px 1fr; gap: 10px 16px; margin: 0; }
.dl-grid dt { color: var(--muted); font-weight: 500; font-size: .86rem; }
.dl-grid dd { margin: 0; font-weight: 500; }
.codes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; font-family: ui-monospace, Consolas, monospace; font-size: 1rem; }
.codes span { background: #F2F6FA; border: 1px solid var(--line); border-radius: 8px; padding: 8px; text-align: center; letter-spacing: .08em; }
.pagination .page-link { border-radius: 8px !important; margin: 0 3px; border-color: var(--line); color: var(--ink); }
.pagination .active .page-link { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Faqet e hyrjes ---------- */
body.auth { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 100vh; background: #fff; }
.auth__art { position: relative; overflow: hidden; background: linear-gradient(160deg, #04203A 0%, #073B66 55%, #0B6FB8 100%); color: #fff; display: flex; align-items: center; padding: 60px; }
.auth__blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; animation: float 16s ease-in-out infinite; }
.auth__blob--1 { width: 420px; height: 420px; background: #00B8D4; top: -100px; right: -120px; }
.auth__blob--2 { width: 360px; height: 360px; background: #2EE6A6; bottom: -120px; left: -80px; opacity: .3; animation-delay: -8s; }
@keyframes float { 50% { transform: translate(30px, -30px) scale(1.08); } }
.auth__art-inner { position: relative; max-width: 460px; }
.auth__art .brand__logo { display: block; width: min(100%, 300px); height: auto; margin-bottom: 8px; }
.auth__art h2 { font-size: 2.4rem; font-weight: 800; margin: 26px 0 12px; line-height: 1.1; }
.auth__art p { opacity: .8; font-size: 1.05rem; }
.auth__art ul { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.auth__art li { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); padding: 12px 16px; border-radius: 12px; backdrop-filter: blur(8px); }
.auth__art li svg { width: 20px; height: 20px; color: #7DF9FF; }
.auth__panel { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 40px 24px; }
.auth__card { width: 100%; max-width: 410px; }
.auth__logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--font-head); font-size: 1.3rem; margin-bottom: 30px; }
.auth__card h1 { font-size: 1.8rem; font-weight: 800; margin-bottom: 6px; }
.auth__card .lead-sub { color: var(--muted); margin-bottom: 26px; }
.auth__card .form-control { padding: .8rem 1rem; }
.auth__card .btn-primary { width: 100%; padding: .8rem; font-size: .95rem; }
.auth__foot { margin-top: 40px; font-size: .82rem; color: var(--muted); }
.otp { font-family: ui-monospace, Consolas, monospace; font-size: 1.6rem !important; letter-spacing: .5em; text-align: center; }
.qr { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px; display: inline-block; }
.qr svg { width: 200px; height: 200px; display: block; }
@media (max-width: 900px) {
    body.auth { grid-template-columns: 1fr; }
    .auth__art { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
.validation-summary-valid { display: none !important; }
.validation-summary-errors ul { margin: 0; padding-left: 1.1rem; }

.card.kpi { flex-direction: row; }
@media (max-width: 991px) { .sidebar:not(.open) { box-shadow: none; visibility: hidden; transition: transform .3s ease, visibility 0s .3s; } .sidebar.open { visibility: visible; transition: transform .3s ease; } }


/* Logoja zyrtare te sidebar-i i panelit */
.sidebar__brand .brand__logo { height: 38px; width: auto; max-width: 150px; object-fit: contain; }

.sidebar__brand .sidebar__label { display: block; color: rgba(255,255,255,.6); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }


/* ===== Statistikat e anëtarëve ===== */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.kpi { background: var(--card-bg, #fff); border: 1px solid var(--line, #e3e9f1); border-radius: 14px; padding: 14px 16px; display: grid; gap: 2px; }
.kpi span { font-size: .78rem; color: var(--muted, #64748b); }
.kpi strong { font-size: 1.9rem; line-height: 1.1; font-family: var(--font-head, inherit); }
.kpi em { font-style: normal; font-size: .8rem; color: var(--muted, #64748b); }
.donut { --c1: #e0559a; --c2: #1b76d2; width: 170px; height: 170px; border-radius: 50%; margin: 6px auto 14px; display: grid; place-items: center;
    background: conic-gradient(var(--c1) 0 var(--f), var(--c2) var(--f) var(--m), #9aa8bb var(--m) 100%); }
.donut span { width: 112px; height: 112px; border-radius: 50%; background: var(--card-bg, #fff); display: grid; place-content: center; font-size: 1.7rem; font-weight: 800; line-height: 1; text-align: center; }
.donut small { font-size: .68rem; font-weight: 500; color: var(--muted, #64748b); margin-top: 4px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .85rem; justify-content: center; align-items: center; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; }
.c-f { background: #e0559a; } .c-m { background: #1b76d2; } .c-o { background: #9aa8bb; }
.pyr { display: grid; grid-template-columns: 56px 1fr; gap: 10px; align-items: center; margin-bottom: 6px; }
.pyr__label { font-size: .82rem; color: var(--muted, #64748b); }
.pyr__bars { display: grid; gap: 3px; }
.pyr__f, .pyr__m { display: flex; align-items: center; gap: 8px; height: 14px; }
.pyr__f b, .pyr__m b { display: block; height: 100%; border-radius: 0 6px 6px 0; min-width: 2px; }
.pyr__f b { background: #e0559a; } .pyr__m b { background: #1b76d2; }
.pyr em { font-style: normal; font-size: .75rem; color: var(--muted, #64748b); }
.hbar { display: grid; grid-template-columns: minmax(110px, 38%) 1fr 74px; gap: 10px; align-items: center; margin-bottom: 8px; font-size: .85rem; }
.hbar__label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hbar__track { height: 12px; background: rgba(120, 140, 170, .16); border-radius: 8px; overflow: hidden; }
.hbar__fill { height: 100%; background: linear-gradient(90deg, #0b6fb8, #12b8c9); border-radius: 8px; }
.hbar__fill--muted { background: #9aa8bb; } .hbar__fill--warn { background: #e8a23b; }
.hbar__n { text-align: right; font-variant-numeric: tabular-nums; } .hbar__n small { color: var(--muted, #64748b); }
