/* Страница компании: шапка-лист с фактами и условиями, карточка найма с тремя маленькими графиками, вакансии строками на листе. */
.co-id-big img {
    width: 48px;
    height: 48px;
    border-radius: 14px;
}

.co-id-big b {
    font-size: var(--fs-20, 20px);
    line-height: 1.2;
}

.co-tools {
    display: flex;
    flex: none;
    gap: 8px;
}

.co-tools .bl-tool-btn {
    text-decoration: none;
}

/* Текст кнопки меняет скрипт; он остаётся подписью для скринридера, на экране — значок */
.co-hide-btn {
    overflow: hidden;
    font-size: 0;
}

.co-hide-btn::before {
    content: "";
    width: 20px;
    height: 20px;
    background: currentColor;
    -webkit-mask: var(--co-eye-off) center / contain no-repeat;
    mask: var(--co-eye-off) center / contain no-repeat;
}

/* Вакансии компании скрыты: открытый глаз, кнопка залита */
.co-hide-btn[aria-pressed="true"] {
    background: var(--surface-secondary);
}

.co-hide-btn[aria-pressed="true"]::before {
    -webkit-mask-image: var(--co-eye);
    mask-image: var(--co-eye);
}

.co {
    --co-eye: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 12c1-2 4.500-6 9.500-6s8.500 4 9.500 6c-1 2-4.500 6-9.500 6s-8.500-4-9.500-6z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
    --co-eye-off: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3l18 18M10.6 6.2A9.7 9.7 0 0 1 12 6c5 0 8.5 4 9.5 6a13 13 0 0 1-2.6 3.4M6.5 7.6A13 13 0 0 0 2.5 12c1 2 4.5 6 9.5 6 1.3 0 2.5-.3 3.6-.7M9.9 9.9a3 3 0 0 0 4.2 4.2'/%3E%3C/svg%3E");
}

/* Шапка — отдельный лист без нижней линии: под ней сразу вакансии */
.co[data-kind="company"] .bl-head {
    padding-bottom: 20px;
    border-radius: 24px;
}

.co[data-kind="company"] .bl-head::after {
    display: none;
}

.co[data-kind="company"] .bl-top {
    min-height: 48px;
}

.co .company-title-section {
    margin: 0;
}

.co .company-page-title {
    max-width: none;
    margin: 20px 0 0;
    font-size: 44px;
    line-height: 1.05;
    letter-spacing: -0.03em;
    text-transform: none;
}

.co-desc {
    max-width: 680px;
    margin: 12px 0 0;
    color: var(--text-color);
    font-size: var(--fs-16);
    line-height: 1.5;
    letter-spacing: var(--ls-16);
}

.co-perks {
    margin: 20px -20px 0;
    padding: 20px 20px 0;
    border-top: 1px solid var(--bl-line);
}

.co-perks ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 16px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
    font-size: var(--fs-14);
    line-height: var(--lh-14);
    letter-spacing: var(--ls-14);
}

.co-perks li {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.co-perks svg {
    flex: none;
    color: var(--co-green);
}

/* Недели: число слева, 12 тонких столбиков справа */
.co-hire {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-top: 10px;
}

.co-hire > span {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.co-hire b {
    color: var(--text-color);
    font-size: 28px;
    font-weight: var(--fw-semibold);
    line-height: 1;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.co-hire b.is-zero {
    color: var(--text-muted);
}

.co-hire small,
.co-grades span,
.co-grades em {
    color: var(--text-muted);
    font-size: 12px;
    line-height: 16px;
    font-style: normal;
}

.co-spark {
    display: flex;
    flex: none;
    align-items: flex-end;
    gap: 3px;
    width: 116px;
    height: 36px;
}

.co-spark i {
    flex: 1;
    height: var(--h);
    border-radius: 2px;
    background: var(--co-dim);
}

.co-spark i.is-now {
    background: var(--co-green);
}

/* Грейды: столбики по порядку уровней, число стоит на своём столбике */
.co-grades {
    display: flex;
    gap: 6px;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

.co-grades li {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    text-align: center;
}

.co-grades li > div {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 3px;
    height: 60px;
}

.co-grades i {
    height: calc(var(--h) * 0.4px);
    border-radius: 4px;
    background: var(--co-dim);
}

.co-grades .is-top i {
    background: var(--co-green);
}

.co-grades .is-top em {
    color: var(--text-color);
}

.co-grades em {
    font-variant-numeric: tabular-nums;
}

/* Формат: кольцо и подписи */
.co-ring {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 10px;
}

.co-ring > i {
    flex: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    -webkit-mask: radial-gradient(closest-side, transparent 62%, #000 64%);
    mask: radial-gradient(closest-side, transparent 62%, #000 64%);
}

.co-ring ul {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: var(--fs-14);
    line-height: var(--lh-14);
    letter-spacing: var(--ls-14);
}

.co-ring li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.co-ring li i {
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.co-ring li span {
    flex: 1;
}

.co-ring li b {
    color: var(--text-muted);
    font-weight: var(--fw-regular);
    font-variant-numeric: tabular-nums;
}

/* Вакансии: старые обёртки остаются для скрипта фильтра, раскладку задаёт колонка листа */
.co[data-kind="company"] .bl-body > .bl-block:first-child {
    margin-top: 40px;
}

.co .company-container {
    display: block;
}

.co .company-jobs-row.list-view > .job-card-shell {
    width: 100%;
}

/* Подзаголовки шапки: h2 для поиска, на вид — подпись раздела */
.co h2.co-sub {
    margin: 14px 0 0;
    font-weight: var(--fw-regular);
}

.co .co-perks h2.co-sub {
    margin-top: 0;
}

.co h2.co-sub + .co-hiring {
    margin-top: 4px;
}
