/* Главная: карточка комиссии, плитки, лидеры, команда, найм. */

/* ── Главная ── */
.hero-card { background: var(--dark); border-color: transparent; color: #fff; padding: 28px; display: flex; flex-direction: column; }
:root[data-theme="dark"] .hero-card { border-color: rgba(255, 255, 255, .06); }
@media (prefers-color-scheme: dark) { :root:where(:not([data-theme="light"])) .hero-card { border-color: rgba(255, 255, 255, .06); } }
.hero-card .label { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .56); }
.hero-card .label b { color: var(--brand); font-weight: 600; white-space: nowrap; }
.hero-num { margin-top: 18px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; font-variant-numeric: tabular-nums; }
.hero-num strong { font-size: 56px; font-weight: 700; letter-spacing: -.035em; line-height: 1; }
.hero-num span { font-size: 20px; font-weight: 500; color: rgba(255, 255, 255, .56); letter-spacing: -.01em; }
.hero-of { margin-top: 10px; font-size: 14px; color: rgba(255, 255, 255, .56); }
.hero-of b { color: #fff; font-weight: 600; }
.hero-of a { color: var(--brand); font-weight: 600; }
.hero-card .meter { height: 10px; background: rgba(255, 255, 255, .10); margin-top: 28px; }
.hero-card .meter > .tick { background: #fff; top: -5px; bottom: -5px; }
.meter-cap { margin-top: 12px; display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: rgba(255, 255, 255, .48); }
.hero-figs { margin-top: auto; padding-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hero-figs > div { padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .10); min-width: 0; }
.hero-figs .k { font-size: 12px; color: rgba(255, 255, 255, .48); }
.hero-figs .v { margin-top: 4px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hero-figs .v small { font-size: 13px; font-weight: 500; color: var(--brand); margin-left: 4px; letter-spacing: 0; }
.hero-card .banner { margin-top: 16px; background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .8); }
.hero-card .banner a { color: var(--brand); }

.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tile { display: flex; flex-direction: column; }
.tile .k { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--muted); }
.tile .k .ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--brand-wash); color: var(--brand-ink); flex: none; }
.tile .k .ic svg { width: 16px; height: 16px; }
.tile .v { margin-top: 18px; font-size: 34px; font-weight: 700; letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.tile .v small { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: -.01em; }
.tile .foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.tile .foot .pill { margin-left: auto; flex: none; }
.tile .foot > span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.card.flex { display: flex; flex-direction: column; }
.card.flex > .grow { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; }
.card.flex > .card-foot { margin-top: auto; padding-top: 16px; }
.chart-note { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.chart-note b { color: var(--ink); font-weight: 600; }

.leaders { display: grid; }
.leader { display: grid; grid-template-columns: 20px 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--border); }
.leaders > .leader:first-child { border-top: 0; padding-top: 0; }
.leader .rank { font-size: 13px; font-weight: 600; color: var(--muted); text-align: center; }
.leaders > .leader:first-child .rank { color: var(--brand-ink); }
.leader .name { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.leader .bar { margin-top: 6px; height: 4px; border-radius: 999px; background: var(--track); position: relative; }
.leader .bar i { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: var(--brand); transform-origin: left; animation: fillIn var(--t-grow) var(--ease-out) both; }
.leader .v { font-size: 15px; font-weight: 600; text-align: right; letter-spacing: -.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.leader .v small { display: block; font-size: 12px; color: var(--muted); font-weight: 400; letter-spacing: 0; }

.people { display: flex; flex-direction: column; gap: 14px; }
.person-row { display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: start; font-size: 14px; }
.person-row .l { color: var(--muted); padding-top: 1px; }
.tagline { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; min-width: 0; }
.tagline .sub { display: block; color: var(--muted); font-size: 12px; }
.hire-plan { display: flex; flex-direction: column; gap: 10px; }
.hire-row { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: 14px; }
