/* Buyer tenders: list + detail */

/* —— List (Мои тендеры) —— */
.buyer-tenders {
    display: grid;
    gap: 28px;
}

.buyer-tenders__top {
    display: grid;
    gap: 18px;
}

.buyer-tenders__body {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.buyer-tenders .breadcrumbs {
    margin: 0;
}

.buyer-tenders__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.buyer-tenders__title {
    margin: 0;
    font: var(--text-font-h1);
    color: var(--gray-900);
}

.buyer-tenders__toolbar {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    border-radius: 27px;
    background: var(--gray-50);
}

.buyer-tenders__search {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 300px;
    max-width: 100%;
    flex-shrink: 0;
    box-sizing: border-box;
    padding: 12px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    background: var(--white);
}

.buyer-tenders__search-icon {
    display: inline-flex;
    flex-shrink: 0;
    color: var(--gray-400);
}

.buyer-tenders__search-icon svg {
    width: 20px;
    height: 20px;
}

.buyer-tenders__search-input {
    width: 100%;
    min-width: 0;
    border: 0;
    padding: 0;
    margin: 0;
    outline: none;
    box-shadow: none;
    background: transparent;
    font-size: 14px;
    line-height: 20px;
    color: var(--gray-900);
}

.buyer-tenders__search-input::placeholder {
    color: var(--gray-400);
}

.buyer-tenders__filters {
    position: relative;
    flex-shrink: 0;
}

.buyer-tenders__filters-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    background: var(--white);
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    line-height: 20px;
    color: var(--gray-900);
    cursor: pointer;
}

.buyer-tenders__filters-btn svg {
    width: 20px;
    height: 20px;
    color: var(--gray-600);
}

.buyer-tenders__filters-btn.is-open,
.buyer-tenders__filters-btn[aria-expanded="true"] {
    background: var(--gray-100);
}

.buyer-tenders__filters-popover {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 30;
    width: 287px;
    max-width: calc(100vw - 24px);
    box-sizing: border-box;
    padding: 12px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
    display: none;
    gap: 16px;
}

.buyer-tenders__filters-popover.is-open {
    display: grid;
}

.buyer-tenders__filters-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.buyer-tenders__filters-title {
    flex: 1;
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    line-height: 24px;
    color: var(--gray-900);
}

.buyer-tenders__filters-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--gray-900);
    cursor: pointer;
}

.buyer-tenders__filters-close:hover {
    background: var(--gray-50);
}

.buyer-tenders__filters-close svg {
    width: 20px;
    height: 20px;
}

.buyer-tenders__filters-body {
    display: grid;
    gap: 16px;
    margin-top: 8px;
}

.buyer-tenders__filter-field {
    display: grid;
    gap: 6px;
}

.buyer-tenders__filter-label {
    font-size: 12px;
    line-height: 16px;
    color: var(--gray-500);
}

.buyer-tenders__filter-field select {
    width: 100%;
    min-height: 40px;
    box-sizing: border-box;
}

.buyer-tenders__filters-popover .js-tenders-filters-reset {
    width: 100%;
}

.buyer-tenders__list {
    display: grid;
    gap: 12px;
}

.buyer-tender-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content max-content max-content minmax(14rem, 24rem) auto;
    align-items: center;
    column-gap: 24px;
    row-gap: 16px;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    background: var(--white);
    cursor: pointer;
    transition: border-color 0.15s ease;
}

.buyer-tender-card:hover {
    border-color: var(--gray-400);
}

.buyer-tender-card--detail {
    width: 100%;
    box-sizing: border-box;
    /* как в макете/списке: белая карточка, серые метрики; без колонки «⋯» */
    grid-template-columns: minmax(0, 1fr) max-content max-content max-content minmax(14rem, 24rem);
    cursor: default;
    margin: 0;
    background: var(--white, #fff);
    border-color: var(--gray-200);
}

.buyer-tender-card--detail:hover {
    border-color: var(--gray-200);
}

.buyer-tender-card--detail .buyer-tender-card__title {
    white-space: normal;
}

.buyer-tender-card--detail .buyer-tender-card__metric,
.buyer-tender-card--detail .buyer-tender-card__deadline {
    background: var(--gray-50);
}

.buyer-tender-page__edit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    text-decoration: none;
}

.buyer-tender-page__edit svg {
    display: block;
}

.buyer-tender-card__main {
    min-width: 0;
    display: grid;
    gap: 8px;
}

.buyer-tender-card__title-row {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    min-width: 0;
}

.buyer-tender-card__title {
    margin: 0;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font: var(--text-font-h3);
    color: var(--gray-900);
}

.buyer-tender-card__status {
    flex-shrink: 0;
    padding: 4px 8px;
    border-radius: 10px;
    font: var(--text-font-p3);
    font-weight: var(--font-weight-semibold);
    white-space: nowrap;
    background: var(--gray-50);
    color: var(--gray-900);
}

.buyer-tender-card__status--info {
    background: var(--primary-100);
    color: var(--primary-700);
}

.buyer-tender-card__status--success {
    background: var(--green-100);
    color: var(--success-dark);
}

.buyer-tender-card__status--warning {
    background: var(--orange-100, #fff4e5);
    color: var(--orange-600);
}

.buyer-tender-card__status--error {
    background: var(--red-100, #fee4e2);
    color: var(--error-dark, #b42318);
}

.buyer-tender-card__status--neutral {
    background: var(--gray-50);
    color: var(--gray-900);
}

.buyer-tender-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    font: var(--text-font-p3);
    color: var(--gray-500);
}

.buyer-tender-card__dot {
    width: 4px;
    height: 4px;
    border-radius: 2px;
    background: var(--gray-400);
}

.buyer-tender-card__metric,
.buyer-tender-card__deadline {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 12px;
    background: var(--gray-50);
    min-width: 0;
}

.buyer-tender-card__metric-label {
    font: var(--text-font-p2);
    font-weight: var(--font-weight-medium);
    color: var(--gray-400);
    white-space: nowrap;
}

.buyer-tender-card__metric-value {
    font: var(--text-font-p1);
    font-weight: var(--font-weight-medium);
    color: var(--gray-900);
    white-space: nowrap;
}

.buyer-tender-card__metric-value.is-expired {
    color: var(--gray-400);
}

.buyer-tender-card__deadline-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.buyer-tender-card__days {
    padding: 6px 10px;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    font: var(--text-font-p4);
    font-weight: var(--font-weight-medium);
    color: var(--gray-900);
    white-space: nowrap;
}

.buyer-tender-card__days.is-expired {
    background: var(--gray-50);
    color: var(--gray-400);
}

.buyer-tender-card__more {
    border: 0;
    background: transparent;
    color: var(--gray-500);
    font-size: 22px;
    line-height: 1;
    padding: 4px 8px;
    cursor: default;
}

@media (max-width: 1200px) {
    .buyer-tender-card {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .buyer-tender-card__metric,
    .buyer-tender-card__deadline {
        grid-column: 1 / -1;
    }
}

/* —— Detail (карточка тендера) —— */
.buyer-tender-page {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-top: 12px;
    padding-bottom: 48px;
}

.buyer-tender-page__header {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.buyer-tender-page .breadcrumbs {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.buyer-tender-page .breadcrumbs-link {
    color: var(--gray-500);
    text-decoration: none;
}

.buyer-tender-page .breadcrumbs-link:hover {
    color: var(--gray-900);
}

.buyer-tender-page__title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.buyer-tender-page__title {
    margin: 0;
    font: var(--text-font-h2);
    color: var(--gray-900);
}

.supplier-tender-page__header {
    display: flex;
    align-items: center;
    width: 100%;
}

.supplier-tender-page.buyer-tender-page {
    gap: 14px;
    padding-top: 0;
}

.supplier-tender-page__title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-width: 0;
}

.supplier-tender-page__title {
    margin: 0;
    min-width: 0;
    font: var(--text-font-h3);
    font-weight: var(--font-weight-medium);
    color: var(--gray-900);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.supplier-tender-page__actions {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    gap: 12px;
}

.supplier-tender-page .button,
.supplier-application .button {
    font-weight: var(--font-weight-medium);
}

.supplier-tender-page .ds-tabs--underline .ds-tabs__tab.is-active,
.supplier-application .ds-tabs--underline .ds-tabs__tab.is-active {
    font-weight: var(--font-weight-medium);
}

.supplier-tender-info {
    display: flex;
    align-items: stretch;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    background: var(--white);
    overflow: hidden;
}

.supplier-tender-info__main {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 22px 24px;
}

.supplier-tender-info__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.supplier-tender-info__date {
    min-width: 0;
    font: var(--text-font-p3);
    font-weight: var(--font-weight-regular);
    color: var(--gray-400);
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
}

.supplier-tender-info .supplier-tender-card__status {
    padding: 4px 10px;
    border-radius: 100px;
    font: var(--text-font-p3);
    font-weight: var(--font-weight-medium);
}

.supplier-tender-info .supplier-tender-card__place-label {
    width: 112px;
    flex-shrink: 0;
    font-weight: var(--font-weight-regular);
}

.supplier-tender-info .supplier-tender-card__place-value {
    font-weight: var(--font-weight-regular);
}

.supplier-tender-info__org-line {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.supplier-tender-info__org-line > .supplier-tender-card__place-value {
    min-width: 0;
    overflow-wrap: anywhere;
}

.supplier-tender-info__type {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    gap: 6px;
}

.supplier-tender-info__type svg {
    display: block;
    width: 12px;
    height: 12px;
    color: var(--gray-400);
    flex-shrink: 0;
}

.supplier-tender-info__type-label {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 10px;
    background: var(--gray-100);
    font: var(--text-font-p4);
    font-weight: var(--font-weight-medium);
    color: var(--gray-900);
    white-space: nowrap;
}

.supplier-tender-info__heading {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.supplier-tender-info__title {
    margin: 0;
    font: var(--text-font-h2);
    font-weight: var(--font-weight-medium);
    color: var(--gray-900);
}

.supplier-tender-info__divider {
    width: 1px;
    flex-shrink: 0;
    margin: 16px 0;
    background: var(--gray-200);
}

.supplier-tender-info__side {
    flex: 0 0 312px;
    width: 312px;
    max-width: 312px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    box-sizing: border-box;
    padding: 22px 24px;
}

.supplier-tender-info__side-block {
    display: flex;
    flex-direction: column;
}

.supplier-tender-info__side-block--price {
    gap: 2px;
}

.supplier-tender-info__side-block--deadline {
    gap: 4px;
}

.supplier-tender-info__side-label {
    font: var(--text-font-p3);
    font-weight: var(--font-weight-regular);
    color: var(--gray-400);
}

.supplier-tender-info__price {
    font-size: 28px;
    font-weight: var(--font-weight-medium);
    line-height: 36px;
    color: var(--gray-900);
}

.supplier-tender-info__deadline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.supplier-tender-info__deadline-date {
    font: var(--text-font-p2);
    font-weight: var(--font-weight-regular);
    letter-spacing: 0.1px;
    color: var(--gray-900);
}

.supplier-tender-info__days {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    font: var(--text-font-p4);
    font-weight: var(--font-weight-regular);
    color: var(--gray-900);
    white-space: nowrap;
}

@media (max-width: 960px) {
    .supplier-tender-info {
        flex-direction: column;
    }

    .supplier-tender-info__divider {
        width: auto;
        height: 1px;
        margin: 0 24px;
    }

    .supplier-tender-info__side {
        flex: 1 1 auto;
        width: 100%;
        max-width: none;
    }
}

.supplier-tender-body {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
}

.supplier-tender-body--submitted {
    display: block;
}

.supplier-tender-body__main {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.supplier-tender-aside {
    flex: 0 0 300px;
    width: 300px;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: sticky;
    top: 16px;
    align-self: flex-start;
}

/* Hero «Ваше участие» (submitted) */
.supplier-participation-hero {
    box-sizing: border-box;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 18px 20px;
    border: 1px solid #d9e8ff;
    border-radius: 12px;
    background: #f0f6ff;
}

.supplier-participation-hero__top {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.supplier-participation-hero__info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    flex: 1 1 auto;
}

.supplier-participation-hero__eyebrow {
    margin: 0;
    font: var(--text-font-p4);
    font-weight: var(--font-weight-medium);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gray-500);
}

.supplier-participation-hero__title {
    margin: 0;
    font: var(--text-font-p2);
    font-weight: var(--font-weight-medium);
    color: var(--gray-900);
}

.supplier-participation-hero__number {
    margin-left: 6px;
    font: var(--text-font-p2);
    font-weight: var(--font-weight-regular);
    color: var(--gray-500);
}

.supplier-participation-hero__badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 4px 10px;
    border-radius: 8px;
    background: var(--orange-50, #fff9ef);
    color: var(--orange-800, #d9741a);
    font: var(--text-font-p4);
    font-weight: var(--font-weight-medium);
}

.supplier-participation-hero__lead {
    margin: 0;
    font: var(--text-font-p3);
    font-weight: var(--font-weight-regular);
    color: var(--gray-900);
}

.supplier-participation-hero__meta {
    margin: 0;
    font: var(--text-font-p4);
    font-weight: var(--font-weight-regular);
    color: var(--gray-500);
}

.supplier-participation-hero__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 480px;
    flex-shrink: 0;
}

.supplier-participation-hero__cta,
.supplier-participation-hero__outline,
.supplier-participation-hero__link {
    width: 100%;
}

.supplier-participation-hero__divider {
    height: 1px;
    margin: 16px 0 12px;
    background: #d9e8ff;
}

.supplier-participation-hero__timeline {
    display: flex;
    align-items: flex-start;
    list-style: none;
    margin: 0;
    padding: 4px 0 0;
}

.supplier-participation-hero__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
}

.supplier-participation-hero__dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
    box-sizing: border-box;
}

.supplier-participation-hero__step.is-completed .supplier-participation-hero__dot {
    background: var(--success-dark, #0e8839);
    border: none;
}

.supplier-participation-hero__step.is-current .supplier-participation-hero__dot {
    background: var(--primary-900);
    border: 2px solid var(--primary-900);
    box-shadow: 0 0 0 4px #d9e8ff;
}

.supplier-participation-hero__step.is-upcoming .supplier-participation-hero__dot {
    background: transparent;
    border: 2px solid var(--gray-200);
}

.supplier-participation-hero__step-label {
    margin-top: 8px;
    padding: 0 4px;
    font: var(--text-font-p4);
    font-weight: var(--font-weight-regular);
    color: var(--gray-900);
}

.supplier-participation-hero__step.is-current .supplier-participation-hero__step-label {
    font-weight: var(--font-weight-medium);
}

.supplier-participation-hero__step.is-upcoming .supplier-participation-hero__step-label {
    color: var(--gray-500);
}

.supplier-participation-hero__step-sub {
    margin-top: 2px;
    padding: 0 4px;
    font: var(--text-font-p4);
    font-weight: var(--font-weight-regular);
    color: var(--gray-500);
}

.supplier-participation-hero__rail {
    flex: 2 1 0;
    height: 2px;
    margin-top: 6px;
    border-radius: 1px;
    background: var(--gray-200);
    list-style: none;
}

.supplier-participation-hero__rail.is-done {
    background: var(--success-dark, #0e8839);
}

@media (min-width: 900px) {
    .supplier-participation-hero__top {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 24px;
    }

    .supplier-participation-hero__actions {
        width: min(480px, 48%);
        flex-direction: row;
        align-items: flex-start;
        justify-content: flex-end;
        flex-wrap: wrap;
    }

    .supplier-participation-hero__actions > * {
        width: auto;
        flex: 1 1 200px;
    }

    .supplier-participation-hero__actions > .supplier-participation-hero__link,
    .supplier-participation-hero__actions > .supplier-participate__error {
        flex-basis: 100%;
    }
}

.supplier-participate {
    box-sizing: border-box;
    padding: 16px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    background: var(--white);
}

.supplier-participate--secondary {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.supplier-participate--actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.supplier-participate__eyebrow {
    margin: 0 0 8px;
    font: var(--text-font-p4);
    font-weight: var(--font-weight-medium);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gray-500);
}

.supplier-participate__text {
    margin: 0 0 16px;
    font: var(--text-font-p3);
    font-weight: var(--font-weight-regular);
    color: var(--gray-900);
}

.supplier-participate__cta,
.supplier-participate__outline {
    width: 100%;
}

.supplier-participate__ghost {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0;
    padding: 11px 14px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--gray-900);
    font: var(--text-font-p3);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
}

.supplier-participate__ghost:hover {
    background: var(--gray-50);
}

.supplier-participate__error {
    margin: 8px 0 0;
    font-size: 12px;
    line-height: 16px;
    color: #b42318;
}

.supplier-participate__status-title {
    display: block;
    font: var(--text-font-p3);
    font-weight: var(--font-weight-medium);
    color: var(--gray-900);
}

.supplier-participate__status-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.supplier-participate__badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 4px 10px;
    border-radius: 8px;
    font: var(--text-font-p4);
    font-weight: var(--font-weight-medium);
}

.supplier-participate__badge--pending {
    background: var(--primary-100);
    color: var(--primary-700);
}

.supplier-participate__meta {
    font-size: 12px;
    font-weight: var(--font-weight-regular);
    line-height: 16px;
    color: var(--gray-500);
}

.supplier-notice {
    display: flex;
    flex-direction: column;
    gap: 42px;
    padding: 0 24px;
}

.supplier-notice__section {
    display: flex;
    flex-direction: column;
}

.supplier-notice__heading {
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--gray-200);
    font: var(--text-font-h3);
    font-weight: var(--font-weight-medium);
    color: var(--gray-900);
}

.supplier-notice__params {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.supplier-notice__param {
    display: flex;
    align-items: center;
    gap: 4px;
}

.supplier-notice__param-text {
    margin: 0;
    font-size: 18px;
    font-weight: var(--font-weight-regular);
    line-height: 24px;
    color: var(--gray-900);
}

.supplier-notice__param-value {
    font-weight: var(--font-weight-medium);
}

.supplier-notice__param-help {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--gray-400);
}

.supplier-notice__fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.supplier-notice__fields--wide {
    gap: 24px;
}

.supplier-notice__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.supplier-notice__field-label {
    font: var(--text-font-p2);
    font-weight: var(--font-weight-medium);
    color: var(--gray-900);
}

.supplier-notice__field-value {
    font: var(--text-font-p1);
    font-weight: var(--font-weight-regular);
    color: var(--gray-900);
}

.supplier-notice__address {
    display: flex;
    align-items: flex-start;
    gap: 4px;
}

.supplier-notice__address-text {
    flex: 1 1 auto;
    min-width: 0;
}

.supplier-notice__copy {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 2px;
    border: none;
    background: transparent;
    color: var(--gray-400);
    cursor: pointer;
}

.supplier-notice__copy:hover {
    color: var(--gray-900);
}

.supplier-notice__date-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}

.supplier-notice__date-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    line-height: 24px;
    letter-spacing: 0.1px;
    color: var(--gray-900);
    white-space: nowrap;
}

@media (max-width: 1100px) {
    .supplier-tender-body {
        flex-direction: column;
    }

    .supplier-tender-aside {
        flex: 1 1 auto;
        width: 100%;
        max-width: none;
        position: static;
    }
}

/* Wizard участия */
.supplier-participation {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 0 0 32px;
}

.supplier-participation__header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.supplier-participation__title {
    margin: 0;
    font: var(--text-font-h3);
    color: var(--gray-900);
}

.supplier-participation__meta {
    margin: 0;
}

.supplier-participation__panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px 20px 20px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    background: #fff;
}

.supplier-participation__panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.supplier-participation__panel-title {
    margin: 0;
    font: var(--text-font-h4);
    color: var(--gray-900);
}

.supplier-participation__panel-badge {
    padding: 4px 10px;
    border-radius: 8px;
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
    white-space: nowrap;
}

.supplier-participation__stepper {
    display: flex;
    align-items: flex-start;
    margin: 0;
    padding: 0;
    list-style: none;
}

.supplier-participation__stage {
    position: relative;
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 0;
    text-align: center;
}

.supplier-participation__stage:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 15px;
    left: calc(50% + 22px);
    right: calc(-50% + 22px);
    height: 2px;
    background: var(--gray-200);
    pointer-events: none;
}

.supplier-participation__stage.is-active:not(:last-child)::after,
.supplier-participation__stage.is-completed:not(:last-child)::after,
.supplier-participation__stage.is-skipped:not(:last-child)::after,
.supplier-participation__stage.is-waiting:not(:last-child)::after {
    background: var(--primary-900);
}

.supplier-participation__stage.is-accessible {
    cursor: pointer;
}

.supplier-participation__node {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1.5px solid var(--gray-300);
    background: #fff;
    color: var(--gray-500);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
}

.supplier-participation__stage.is-active .supplier-participation__node {
    border-color: var(--primary-900);
    background: var(--primary-900);
    color: #fff;
}

.supplier-participation__stage.is-completed .supplier-participation__node {
    border-color: var(--primary-900);
    background: var(--primary-900);
    color: #fff;
}

.supplier-participation__stage.is-waiting .supplier-participation__node {
    border-color: var(--primary-700);
    color: var(--primary-800);
}

.supplier-participation__stage.is-locked .supplier-participation__node {
    border-color: var(--gray-200);
    color: var(--gray-400);
}

.supplier-participation__stage.is-skipped .supplier-participation__node {
    border-color: var(--gray-200);
    background: var(--gray-50, #f8f8f8);
    color: var(--gray-400);
}

.supplier-participation__skip-mark {
    font-size: 14px;
    line-height: 1;
    font-weight: 600;
}

.supplier-participation__stage.is-locked {
    cursor: not-allowed;
}

.supplier-participation__stage-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 0;
    max-width: 100%;
    padding: 0 4px;
}

.supplier-participation__stage-label {
    font: var(--text-font-p3);
    font-weight: 500;
    color: var(--gray-600);
    word-break: break-word;
}

.supplier-participation__stage.is-active .supplier-participation__stage-label {
    font-weight: 700;
    color: var(--gray-900);
}

.supplier-participation__stage.is-completed .supplier-participation__stage-label {
    color: var(--gray-900);
}

.supplier-participation__stage.is-locked .supplier-participation__stage-label {
    color: var(--gray-400);
}

.supplier-participation__stage.is-skipped .supplier-participation__stage-label {
    color: var(--gray-500);
}

.supplier-participation__stage-sub {
    font-size: 12px;
    line-height: 16px;
    color: var(--primary-800);
}

.supplier-participation__stage.is-completed .supplier-participation__stage-sub,
.supplier-participation__stage.is-skipped .supplier-participation__stage-sub {
    color: var(--gray-500);
}

.supplier-participation__step-title {
    margin: 0 0 8px;
    font: var(--text-font-h4);
    color: var(--gray-900);
}

.supplier-participation__step-hint {
    margin: 0 0 16px;
}

.supplier-participation__step {
    min-height: 200px;
    padding: 24px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    background: #fff;
}

.supplier-participation__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 8px;
    border-top: 1px solid var(--gray-200);
}

.supplier-participation__footer-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.supplier-participation-proposal {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.supplier-participation-proposal__shell {
    display: flex;
    align-items: stretch;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    background: var(--white);
}

.supplier-participation-proposal__nav {
    display: flex;
    flex-direction: column;
    flex: 0 0 240px;
    gap: 8px;
    padding: 12px;
    border-right: 1px solid var(--gray-200);
}

.supplier-participation-proposal__nav-item {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 12px;
    border-radius: 8px;
    color: var(--gray-500);
    text-decoration: none;
    font: var(--text-font-p3);
    font-weight: 500;
    line-height: 24px;
}

.supplier-participation-proposal__nav-item:hover {
    background: var(--gray-50);
    color: var(--gray-900);
}

.supplier-participation-proposal__nav-item.is-active {
    background: var(--gray-100);
    color: var(--gray-900);
}

.supplier-participation-proposal__main {
    flex: 1 1 auto;
    min-width: 0;
    padding: 16px;
}

.supplier-participation-proposal__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.supplier-participation-proposal__panel-head {
    margin-bottom: 12px;
}

.supplier-participation-proposal__eyebrow {
    margin: 0;
    font-size: 12px;
    font-weight: var(--font-weight-semibold);
    line-height: 16px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gray-500);
}

.supplier-participation-proposal__table-wrap {
    overflow: auto;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
}

.supplier-participation-proposal__table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.supplier-participation-proposal__table th,
.supplier-participation-proposal__table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--gray-200);
    text-align: left;
    vertical-align: middle;
    font: var(--text-font-p3);
    color: var(--gray-900);
}

.supplier-participation-proposal__table tr:last-child td {
    border-bottom: 0;
}

.supplier-participation-proposal__table th {
    background: var(--gray-50);
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-500);
}

.supplier-participation-proposal__table .is-num {
    width: 48px;
    color: var(--gray-500);
    font-variant-numeric: tabular-nums;
}

.supplier-participation-proposal__table .is-qty {
    width: 120px;
}

.supplier-participation-proposal__table .is-price {
    width: 140px;
}

.supplier-participation-proposal__table .is-vat {
    width: 120px;
}

.supplier-participation-proposal__item-name {
    display: block;
    font-weight: 500;
}

.supplier-participation-proposal__item-meta,
.supplier-participation-proposal__unit {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    line-height: 16px;
    color: var(--gray-500);
}

.supplier-participation-proposal__unit {
    display: inline;
    margin-top: 0;
    margin-left: 4px;
}

.supplier-participation-proposal__price-input,
.supplier-participation-proposal__vat-input {
    width: 100%;
    min-height: 36px;
    box-sizing: border-box;
}

.supplier-participation-proposal__vat {
    display: inline-block;
    font-size: 14px;
    line-height: 20px;
    color: var(--gray-700);
}

.supplier-participation-gate {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    max-width: 520px;
    padding: 8px 0;
}

.supplier-participation-gate__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    color: var(--gray-700);
    background: var(--gray-100);
}

.supplier-participation-gate__icon.is-ok {
    color: #027a48;
    background: #ecfdf3;
}

.supplier-participation-gate__icon.is-wait {
    color: #b54708;
    background: #fffaeb;
}

.supplier-participation-gate__icon.is-error {
    color: #b42318;
    background: #fef3f2;
}

.supplier-participation-gate__title {
    margin: 0;
    font-size: 18px;
    font-weight: var(--font-weight-semibold);
    line-height: 26px;
    color: var(--gray-900);
}

.supplier-participation-gate__text {
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    color: var(--gray-600);
}

.supplier-participation-gate__badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: var(--font-weight-semibold);
    line-height: 16px;
    background: var(--gray-100);
    color: var(--gray-700);
}

.supplier-participation-gate__badge.is-ok {
    background: #ecfdf3;
    color: #027a48;
}

.supplier-participation-gate__badge.is-wait {
    background: #fffaeb;
    color: #b54708;
}

.supplier-participation-gate__badge.is-error {
    background: #fef3f2;
    color: #b42318;
}

.supplier-participation-proposal__summary {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 12px;
    font-size: 13px;
    line-height: 18px;
    color: var(--gray-600);
}

.supplier-participation-proposal__summary .js-participation-lots-total {
    font-weight: 600;
    color: var(--gray-900);
}

.supplier-participation-proposal__docs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.supplier-participation-proposal__doc-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    background: var(--white);
}

.supplier-participation-proposal__doc-card.is-ready {
    border-color: var(--primary-200, #c5d4e4);
    background: var(--primary-50, #f3f7fb);
}

.supplier-participation-proposal__doc-index {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: var(--gray-100);
    color: var(--gray-500);
    font-size: 12px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.supplier-participation-proposal__doc-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.supplier-participation-proposal__doc-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.supplier-participation-proposal__doc-name {
    font: var(--text-font-p3);
    font-weight: 600;
    color: var(--gray-900);
}

.supplier-participation-proposal__doc-desc {
    margin: 0;
}

.supplier-participation-proposal__upload {
    flex-shrink: 0;
    cursor: pointer;
    margin: 0;
}

.supplier-participation-proposal__docs-summary,
.supplier-participation-proposal__empty-docs {
    margin: 4px 0 0;
}

@media (max-width: 900px) {
    .supplier-participation-proposal__shell {
        flex-direction: column;
    }

    .supplier-participation-proposal__nav {
        flex: 0 0 auto;
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
        border-right: 0;
        border-bottom: 1px solid var(--gray-200);
    }

    .supplier-participation-proposal__nav-item {
        flex: 1 1 auto;
        min-height: 40px;
        justify-content: center;
        text-align: center;
    }
}

.supplier-participation-nonprice {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.supplier-participation-nonprice__lead,
.supplier-participation-nonprice__status,
.supplier-participation-nonprice__msg {
    margin: 0;
}

.supplier-participation-nonprice__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.supplier-participation-nonprice__row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-200);
}

.supplier-participation-nonprice__row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.supplier-participation-nonprice__label {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font: var(--text-font-p3);
    font-weight: 600;
    color: var(--gray-900);
}

.supplier-participation-nonprice__badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 6px;
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
}

.supplier-participation-nonprice__badge.is-required {
    background: var(--error-light, #fff3f3);
    color: var(--error-dark, #be2b2b);
}

.supplier-participation-nonprice__req {
    color: var(--error-base, #da1a1a);
    margin-left: 2px;
}

.supplier-participation-nonprice__desc {
    margin: 4px 0 0;
}

.supplier-participation-nonprice__check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font: var(--text-font-p3);
    color: var(--gray-700);
    cursor: pointer;
}

.supplier-participation-nonprice__row textarea.input {
    width: 100%;
    min-height: 88px;
    resize: vertical;
}

.supplier-participation-nonprice__file {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.supplier-participation-nonprice__file .button {
    cursor: pointer;
}

.supplier-participation-nonprice__file [hidden] {
    display: none;
}

@media (max-width: 720px) {
    .supplier-participation__stepper {
        flex-wrap: wrap;
        gap: 16px 0;
    }

    .supplier-participation__stage {
        flex: 1 1 45%;
    }

    .supplier-participation__stage:not(:last-child)::after {
        display: none;
    }
}

.supplier-tender-section-title {
    margin: 0;
    font: var(--text-font-h4);
    color: var(--gray-900);
}

.supplier-tender-gates,
.supplier-tender-items,
.supplier-tender-documents,
.supplier-tender-criteria,
.supplier-tender-application,
.supplier-tender-kp,
.supplier-tender-actions,
.supplier-kp-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.supplier-tender-gates__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font: var(--text-font-p3);
    color: var(--gray-900);
}

.supplier-tender-table {
    width: 100%;
    border-collapse: collapse;
    font: var(--text-font-p3);
    color: var(--gray-900);
}

.supplier-tender-table th,
.supplier-tender-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--gray-200);
    text-align: left;
    vertical-align: top;
}

.supplier-tender-table th {
    font-weight: var(--font-weight-semibold);
    color: var(--gray-600);
    white-space: nowrap;
}

.buyer-tender-summary {
    display: flex;
    flex-wrap: wrap;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    background: var(--white);
    overflow: hidden;
}

.buyer-tender-summary__main {
    flex: 1 1 28rem;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
}

.buyer-tender-summary__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: var(--gray-400);
    font: var(--text-font-p4);
}

.buyer-tender-summary__dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gray-300);
}

.buyer-tender-summary__title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px;
}

.buyer-tender-summary__name {
    margin: 0;
    flex: 1 1 12rem;
    font: var(--text-font-h2);
    color: var(--gray-900);
}

.buyer-tender-summary__status {
    flex-shrink: 0;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--gray-50);
    color: var(--gray-800);
    font: var(--text-font-p4);
    font-weight: var(--font-weight-semibold);
}

.buyer-tender-summary__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.buyer-tender-summary__tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    font: var(--text-font-p4);
    font-weight: var(--font-weight-medium);
    color: var(--gray-900);
}

.buyer-tender-summary__rows {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.buyer-tender-summary__row {
    display: flex;
    gap: 16px;
    align-items: baseline;
}

.buyer-tender-summary__label {
    width: 90px;
    flex-shrink: 0;
    color: var(--gray-400);
    font: var(--text-font-p4);
}

.buyer-tender-summary__value {
    color: var(--gray-900);
    font: var(--text-font-p3);
}

.buyer-tender-summary__side {
    width: 100%;
    max-width: 312px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    border-left: 1px solid var(--gray-200);
    box-sizing: border-box;
}

.buyer-tender-summary__side-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.buyer-tender-summary__side-label {
    color: var(--gray-400);
    font: var(--text-font-p4);
}

.buyer-tender-summary__price {
    font: var(--text-font-h1);
    color: var(--gray-900);
}

.buyer-tender-summary__deadline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.buyer-tender-summary__deadline-date {
    font: var(--text-font-p3);
    font-weight: var(--font-weight-medium);
    color: var(--gray-900);
}

.buyer-tender-summary__days {
    padding: 4px 8px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font: var(--text-font-p4);
    font-weight: var(--font-weight-medium);
    color: var(--gray-900);
}

.buyer-tender-summary__days.is-expired {
    color: var(--gray-400);
    background: var(--gray-50);
}

.buyer-tender-page__tabs {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--gray-200);
    overflow-x: auto;
}

.buyer-tender-page__tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 14px 12px;
    border: none;
    background: transparent;
    color: var(--gray-500);
    font: var(--text-font-p3);
    font-weight: var(--font-weight-medium);
    white-space: nowrap;
    cursor: pointer;
}

button.buyer-tender-page__tab {
    appearance: none;
    -webkit-appearance: none;
}

.buyer-tender-page__tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 12px;
    font-weight: var(--font-weight-semibold);
    line-height: 18px;
}

.buyer-tender-page__tab.is-active {
    color: var(--gray-900);
}

.buyer-tender-page__tab.is-active .buyer-tender-page__tab-count {
    background: var(--primary-100, #e3f1ff);
    color: var(--primary-800, #1a4f8a);
}

.buyer-tender-page__tab.is-active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: var(--gray-900);
}

.buyer-tender-page__tab.is-disabled {
    opacity: 0.45;
    cursor: default;
}

.buyer-tender-tabs {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.buyer-tender-tabs .ds-tabs-panels {
    width: 100%;
}

.buyer-tender-participants {
    flex-direction: column;
    gap: 16px;
    padding-top: 16px;
}

.js-buyer-participants-list-view {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.js-buyer-participants-list-view[hidden],
.js-buyer-participants-detail-view[hidden] {
    display: none !important;
}

/* Панели вкладок: display задаёт только активное состояние, иначе
   .ds-tabs-panel{display:none} перебивается классом панели. */
.ds-tabs-panel.buyer-tender-overview.is-active,
.ds-tabs-panel.buyer-tender-participants.is-active,
.ds-tabs-panel.buyer-tender-evaluation.is-active,
.ds-tabs-panel.buyer-tender-results.is-active {
    display: flex;
}

.ds-tabs-panel.buyer-tender-overview[hidden],
.ds-tabs-panel.buyer-tender-participants[hidden],
.ds-tabs-panel.buyer-tender-evaluation[hidden],
.ds-tabs-panel.buyer-tender-results[hidden] {
    display: none;
}

.buyer-tender-participants__head {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.buyer-tender-participants__title {
    margin: 0;
    font: var(--text-font-h4);
    color: var(--gray-900);
}

.buyer-tender-participants__hint {
    margin: 0;
}

.buyer-tender-participants__loading,
.buyer-tender-participants__error {
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 20px;
}

.buyer-tender-participants__loading {
    background: var(--gray-50);
    color: var(--gray-600);
}

.buyer-tender-participants__error {
    background: #fef3f2;
    color: #b42318;
}

.buyer-tender-participants__empty {
    padding: 24px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    background: #fff;
}

.buyer-tender-participants__empty-title {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    color: var(--gray-900);
}

.buyer-tender-participants__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.buyer-participant-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    margin: 0;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 18px;
    background: #fff;
    text-align: left;
    cursor: pointer;
    box-sizing: border-box;
    overflow: hidden;
}

.buyer-participant-card:hover {
    border-color: var(--primary-300, #a8c8ea);
    background: var(--primary-50, #eff7ff);
}

.buyer-participants-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 0;
    padding: 0 2px;
}

.buyer-participants-summary__cell {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 140px;
}

.buyer-participants-summary__label {
    font-size: 13px;
    line-height: 16px;
    color: var(--gray-500);
}

.buyer-participants-summary__value {
    font-size: 20px;
    font-weight: var(--font-weight-semibold);
    line-height: 28px;
    color: var(--gray-900);
    font-variant-numeric: tabular-nums;
}

.buyer-participants-summary__value.is-info {
    color: var(--status-info-text, #175cd3);
}

.buyer-participants-summary__value.is-success {
    color: #027a48;
}

.buyer-participants-toolbar {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    border-radius: 16px;
    background: var(--gray-50);
}

.buyer-participants-toolbar__search {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 0;
    min-width: 0;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    background: var(--white);
}

.buyer-participants-toolbar__search:focus-within {
    border-color: var(--gray-300);
}

.buyer-participants-toolbar__search-icon {
    display: inline-flex;
    flex-shrink: 0;
    color: var(--gray-400);
}

.buyer-participants-toolbar__search-icon svg {
    width: 20px;
    height: 20px;
}

.buyer-participants-toolbar__search-input {
    width: 100%;
    min-width: 0;
    border: 0;
    padding: 0;
    margin: 0;
    outline: none;
    box-shadow: none;
    background: transparent;
    font-size: 14px;
    line-height: 20px;
    color: var(--gray-900);
}

.buyer-participants-toolbar__search-input::placeholder {
    color: var(--gray-400);
}

.buyer-participants-toolbar__search-input::-webkit-search-decoration,
.buyer-participants-toolbar__search-input::-webkit-search-cancel-button,
.buyer-participants-toolbar__search-input::-webkit-search-results-button,
.buyer-participants-toolbar__search-input::-webkit-search-results-decoration {
    -webkit-appearance: none;
}

.buyer-participant-card__main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    flex: 1 1 auto;
}

.buyer-participant-card__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
}

.buyer-participant-card__title {
    margin: 0;
    min-width: 0;
    font-size: 20px;
    font-weight: var(--font-weight-semibold);
    line-height: 28px;
    color: var(--gray-900);
    word-break: break-word;
}

.buyer-participant-card__badges {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
}

.buyer-participant-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    line-height: 14px;
    background: var(--gray-100);
    color: var(--gray-700);
    white-space: nowrap;
}

.buyer-participant-card__badge-icon {
    display: inline-flex;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.buyer-participant-card__badge-icon svg {
    width: 16px;
    height: 16px;
}

.buyer-participant-card__badge.is-ok {
    background: #ecfdf3;
    color: #027a48;
}

.buyer-participant-card__badge.is-wait {
    background: var(--orange-50, #fff9ef);
    color: var(--orange-800, #d9741a);
}

.buyer-participant-card__badge.is-error {
    background: #fef3f2;
    color: #b42318;
}

.buyer-participant-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    color: var(--gray-900);
}

.buyer-participant-card__meta-phone {
    color: var(--gray-500);
}

.buyer-participant-card__meta-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gray-300);
    flex-shrink: 0;
}

.buyer-participant-card__side {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    flex-shrink: 0;
    min-width: 0;
}

.buyer-participant-card__chat {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    background: #fff;
    color: var(--gray-900);
    cursor: default;
    box-sizing: border-box;
    flex-shrink: 0;
}

.buyer-participant-card__chat svg {
    width: 17px;
    height: 16px;
}

.buyer-participant-card__chat:hover {
    background: var(--gray-50);
}

.buyer-participant-card__chat[disabled],
.buyer-participant-card__chat.is-disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.buyer-participant-card__divider {
    align-self: stretch;
    width: 1px;
    min-height: 28px;
    background: var(--gray-200);
    flex-shrink: 0;
}

.buyer-participant-card__status-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
}

.buyer-participant-card__status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    border-radius: 10px;
    background: var(--primary-100, #e3f1ff);
    color: var(--status-info-text, #175cd3);
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    line-height: 20px;
    white-space: nowrap;
}

.buyer-participant-card__status.is-withdrawn,
.buyer-participant-card__status.is-draft {
    background: var(--gray-100);
    color: var(--gray-600);
}

.buyer-participant-card__status.is-submitted {
    background: var(--primary-100, #e3f1ff);
    color: var(--status-info-text, #175cd3);
}

@media (max-width: 900px) {
    .buyer-participant-card {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .buyer-participant-card__side {
        justify-content: flex-start;
        gap: 16px;
    }

    .buyer-participant-card__status-wrap {
        min-width: 0;
        justify-content: flex-start;
    }
}

.buyer-tender-application {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 12px;
}

.buyer-application-head {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
}

.buyer-application-back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    align-self: flex-start;
    margin-bottom: 8px;
    padding: 0;
    border: 0;
    border-radius: 0;
    outline: none;
    box-shadow: none;
    background: none;
    appearance: none;
    -webkit-appearance: none;
    color: var(--gray-400);
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    line-height: 16px;
    cursor: pointer;
}

.buyer-application-back:hover,
.buyer-application-back:focus,
.buyer-application-back:active {
    border: 0;
    outline: none;
    box-shadow: none;
    color: var(--gray-600);
}

.buyer-application-back:focus-visible {
    outline: none;
    box-shadow: none;
}

.buyer-application-head__title {
    margin: 0;
    font-size: 20px;
    font-weight: var(--font-weight-semibold);
    line-height: 28px;
    color: var(--gray-900);
}

.buyer-application-layout {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.buyer-application-main {
    min-width: 0;
    flex: 1 1 auto;
}

.buyer-application-subtabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border-bottom: 1px solid var(--gray-200);
}

.buyer-application-subtab {
    padding: 8px 24px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: none;
    color: var(--gray-600);
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    line-height: 20px;
    cursor: pointer;
}

.buyer-application-subtab:hover {
    color: var(--gray-900);
}

.buyer-application-subtab.is-active {
    border-bottom-color: var(--primary-600, #2a70b8);
    color: var(--gray-900);
}

.buyer-application-panel {
    padding-top: 0;
}

.buyer-application-panel__card {
    margin-top: 24px;
    padding: 0 24px 24px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    background: #fff;
    box-sizing: border-box;
    overflow: hidden;
}

.buyer-application-panels > .ds-tabs-panel[hidden] {
    display: none !important;
}

.buyer-application-panels > .ds-tabs-panel.is-active {
    display: block;
}

.buyer-application-empty {
    margin: 0;
    padding: 24px 0 0;
    font-size: 14px;
    line-height: 20px;
    color: var(--gray-500);
}

.buyer-application-notice {
    display: flex;
    flex-direction: column;
    gap: 42px;
    padding-top: 24px;
}

.buyer-application-notice__section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 520px;
}

.buyer-application-notice__title {
    margin: 0;
    font-size: 18px;
    font-weight: var(--font-weight-semibold);
    line-height: 28px;
    color: var(--gray-900);
}

.buyer-application-notice__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.buyer-application-notice__item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.buyer-application-notice__label {
    margin: 0;
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    line-height: 24px;
    color: var(--gray-900);
}

.buyer-application-notice__value-row {
    display: flex;
    align-items: center;
    gap: 4px;
}

.buyer-application-notice__value {
    margin: 0;
    font-size: 14px;
    font-weight: var(--font-weight-regular, 400);
    line-height: 24px;
    color: var(--gray-900);
    white-space: pre-wrap;
}

.buyer-application-notice__copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--gray-400);
    cursor: pointer;
    flex-shrink: 0;
}

.buyer-application-notice__copy:hover {
    color: var(--gray-700);
    background: var(--gray-50);
}

.buyer-application-lots {
    padding-top: 24px;
}

.buyer-application-lots__table-wrap {
    overflow-x: auto;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    background: #fff;
}

.buyer-application-lots__table {
    width: 100%;
    min-width: 1040px;
    border-collapse: collapse;
    table-layout: fixed;
}

.buyer-application-lots__table th,
.buyer-application-lots__table td {
    padding: 10px 14px;
    text-align: left;
    font-size: 15px;
    line-height: 22px;
    vertical-align: middle;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.buyer-application-lots__table th {
    font-weight: var(--font-weight-medium);
    color: var(--gray-500);
    border-bottom: 1px solid var(--gray-200);
}

.buyer-application-lots__table td {
    font-weight: var(--font-weight-regular, 400);
    color: var(--gray-900);
    border-bottom: 1px solid var(--gray-100);
    min-height: 46px;
}

.buyer-application-lots__table tbody tr:last-child td {
    border-bottom: 0;
}

.buyer-application-lots__table tfoot td {
    padding: 10px 14px;
    border-top: 1px solid var(--gray-200);
    background: var(--gray-50);
    font-size: 15px;
    font-weight: var(--font-weight-semibold);
    line-height: 22px;
    text-align: right;
    color: var(--gray-900);
    white-space: normal;
}

.buyer-application-lots__summary {
    margin-top: 16px;
    padding: 14px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    background: var(--gray-50);
    box-sizing: border-box;
}

.buyer-application-lots__summary-title {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    line-height: 24px;
    color: var(--gray-900);
}

.buyer-application-lots__summary-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 13px;
    line-height: 24px;
    color: var(--gray-500);
}

.buyer-application-lots__summary-row span:last-child {
    font-weight: var(--font-weight-medium);
    color: var(--gray-900);
}

.buyer-application-lots__summary-row.is-total {
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    color: var(--gray-900);
}

.buyer-application-lots__summary-row.is-total span:last-child {
    font-weight: 700;
}

.buyer-application-lots__summary-divider {
    height: 1px;
    margin: 8px 0;
    background: var(--gray-200);
}

.buyer-application-docs {
    padding-top: 24px;
    overflow-x: auto;
}

.buyer-application-docs__table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
}

.buyer-application-docs__table th,
.buyer-application-docs__table td {
    padding: 12px 16px;
    text-align: left;
    font-size: 14px;
    line-height: 20px;
    border-bottom: 1px solid var(--gray-200);
    vertical-align: middle;
}

.buyer-application-docs__table th {
    font-size: 13px;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--gray-500);
}

.buyer-application-docs__table tbody tr:last-child td {
    border-bottom: 0;
}

.buyer-application-docs__badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 6px;
    background: var(--gray-100);
    color: var(--gray-700);
    font-size: 12px;
    font-weight: var(--font-weight-medium);
    line-height: 16px;
}

.buyer-application-criteria {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 24px;
}

.buyer-application-criteria__item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.buyer-application-criteria__question {
    margin: 0;
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    line-height: 24px;
    color: var(--gray-900);
}

.buyer-application-criteria__answer {
    margin: 0;
    font-size: 14px;
    font-weight: var(--font-weight-regular, 400);
    line-height: 24px;
    color: var(--gray-900);
    white-space: pre-wrap;
}

.buyer-application-criteria__accepted {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    line-height: 24px;
    color: #027a48;
}

.buyer-application-criteria__divider {
    height: 1px;
    margin-top: 4px;
    background: var(--gray-200);
}

.buyer-application-sidebar {
    position: sticky;
    top: 16px;
    flex: 0 0 334px;
    width: 334px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    background: #fff;
    box-sizing: border-box;
}

.buyer-application-sidebar__head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px;
    border-bottom: 1px solid var(--gray-200);
}

.buyer-application-sidebar__identity {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
}

.buyer-application-sidebar__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--gray-100);
    color: var(--gray-500);
    flex-shrink: 0;
}

.buyer-application-sidebar__identity-main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
}

.buyer-application-sidebar__supplier {
    margin: 0;
    font-size: 15px;
    font-weight: var(--font-weight-semibold);
    line-height: 22px;
    color: var(--gray-900);
}

.buyer-application-sidebar__meta {
    margin: 0;
    font-size: 13px;
    line-height: 16px;
    color: var(--gray-500);
}

.buyer-application-sidebar__sum {
    font-weight: var(--font-weight-semibold);
    color: var(--gray-900);
    font-variant-numeric: tabular-nums;
}

.buyer-application-sidebar__block {
    padding: 16px;
}

.buyer-application-sidebar__title {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: var(--font-weight-semibold);
    line-height: 20px;
    color: var(--gray-900);
}

.buyer-application-sidebar .buyer-tender-gate--card {
    margin: 0 0 16px;
    padding: 0;
    border: 0;
    background: transparent;
}

.buyer-application-sidebar .buyer-tender-gate--card:last-child {
    margin-bottom: 0;
}

.buyer-application-sidebar .buyer-tender-gate__actions .button {
    min-height: 32px;
    padding: 4px 12px;
    font-size: 13px;
}

@media (max-width: 1100px) {
    .buyer-application-layout {
        flex-direction: column;
    }

    .buyer-application-sidebar {
        position: static;
        width: 100%;
        flex: 1 1 auto;
    }

    .buyer-application-panel__card {
        padding-left: 16px;
        padding-right: 16px;
    }
}

.buyer-tender-application__header {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.buyer-tender-application__title {
    margin: 0;
    font: var(--text-font-h4);
    color: var(--gray-900);
}

.buyer-tender-application__meta {
    font-size: 13px;
    line-height: 18px;
    color: var(--gray-500);
}

.buyer-tender-application__section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    background: #fff;
}

.buyer-tender-application__section h4 {
    margin: 0;
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    line-height: 20px;
    color: var(--gray-900);
}

.buyer-tender-application__gates {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.buyer-tender-gate {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.buyer-tender-gate--card {
    padding: 12px 14px;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    background: var(--gray-50);
}

.buyer-tender-gate__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.buyer-tender-gate__label {
    font-size: 13px;
    font-weight: var(--font-weight-medium);
    line-height: 18px;
    color: var(--gray-700);
}

.buyer-tender-gate__badge {
    display: inline-flex;
    width: fit-content;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: var(--font-weight-semibold);
    line-height: 16px;
    background: var(--gray-100);
    color: var(--gray-700);
    white-space: nowrap;
}

.buyer-tender-gate__badge.is-ok {
    background: #ecfdf3;
    color: #027a48;
}

.buyer-tender-gate__badge.is-wait {
    background: var(--orange-50, #fff9ef);
    color: var(--orange-800, #d9741a);
}

.buyer-tender-gate__badge.is-error {
    background: #fef3f2;
    color: #b42318;
}

.buyer-tender-gate__badge.is-muted,
.buyer-tender-gate__badge.is-neutral {
    background: var(--gray-100);
    color: var(--gray-500);
}

.buyer-tender-gate__comment {
    margin: 0;
    font-size: 13px;
    line-height: 18px;
    color: var(--gray-600);
}

.buyer-tender-gate__actions,
.buyer-tender-gate__reject-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.buyer-tender-gate__reject {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.buyer-tender-gate__reject-label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    color: var(--gray-700);
}

.buyer-tender-gate__reject-comment {
    width: 100%;
    min-height: 72px;
    resize: vertical;
    padding: 8px 10px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font: inherit;
    color: var(--gray-900);
    background: #fff;
    box-sizing: border-box;
}

.buyer-tender-gate__error {
    margin: 0;
    font-size: 13px;
    line-height: 18px;
    color: #b42318;
}

.buyer-tender-application__gates-hint {
    margin: 0;
}

.buyer-tender-application__docs,
.buyer-tender-application__criteria {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.buyer-tender-application__doc,
.buyer-tender-application__criteria li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--gray-50);
}

.buyer-tender-application__doc-name,
.buyer-tender-application__criterion-name {
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    color: var(--gray-900);
}

.buyer-tender-overview {
    flex-direction: column;
    gap: 0;
    max-width: 920px;
    padding-top: 8px;
}

.buyer-tender-overview .supplier-notice {
    width: 100%;
}

.buyer-tender-overview__section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.buyer-tender-overview__section-title {
    margin: 0;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--gray-200);
    font: var(--text-font-h4);
    color: var(--gray-900);
}

.buyer-tender-overview__params {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.buyer-tender-overview__params p {
    margin: 0;
    font: var(--text-font-p3);
    color: var(--gray-900);
}

.buyer-tender-overview__params .is-label {
    font-weight: var(--font-weight-normal);
}

.buyer-tender-overview__fields {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.buyer-tender-overview__field-label {
    margin-bottom: 8px;
    font: var(--text-font-p3);
    font-weight: var(--font-weight-semibold);
    color: var(--gray-900);
}

.buyer-tender-overview__field-value {
    font: var(--text-font-p3);
    color: var(--gray-900);
    white-space: pre-wrap;
}

.buyer-tender-overview__value-row {
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.buyer-tender-overview__copy {
    flex-shrink: 0;
    padding: 0 4px;
    border: 0;
    background: none;
    color: var(--gray-400);
    font-size: 18px;
    line-height: 24px;
    cursor: pointer;
}

.buyer-tender-overview__copy:hover {
    color: var(--gray-700);
}

.buyer-tender-overview__copy.is-done {
    color: #027a48;
}

.buyer-tender-overview__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.buyer-tender-overview__date-tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    font: var(--text-font-p3);
    font-weight: var(--font-weight-medium);
    color: var(--gray-900);
}

.buyer-tender-overview__criteria {
    margin: 0;
    padding-left: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font: var(--text-font-p3);
    color: var(--gray-900);
}

.buyer-tender-overview__empty {
    font: var(--text-font-p3);
    color: var(--gray-500);
}

.buyer-tender-overview__muted {
    margin-top: 4px;
    font: var(--text-font-p4, var(--text-font-p3));
    color: var(--gray-500);
}

.buyer-tender-overview__badge {
    display: inline-flex;
    align-items: center;
    margin-left: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--gray-100);
    color: var(--gray-700);
    font: var(--text-font-p4, var(--text-font-p3));
}

.buyer-tender-overview__table-wrap {
    overflow-x: auto;
}

.buyer-tender-overview__table {
    width: 100%;
    border-collapse: collapse;
    font: var(--text-font-p3);
    color: var(--gray-900);
}

.buyer-tender-overview__table th,
.buyer-tender-overview__table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--gray-200);
    text-align: left;
    vertical-align: top;
}

.buyer-tender-overview__table th {
    font-weight: 600;
    color: var(--gray-600);
    white-space: nowrap;
}

.buyer-tender-overview__table .is-center {
    text-align: center;
}

.buyer-tender-overview__table .is-medium {
    font-weight: 500;
}

.buyer-tender-overview__file-list,
.buyer-tender-overview__invite-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.buyer-tender-overview__file-list li,
.buyer-tender-overview__invite-list li {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    font: var(--text-font-p3);
    color: var(--gray-900);
}

.buyer-tender-overview__file-name {
    font-weight: 500;
}

@media (max-width: 900px) {
    .buyer-tender-summary__side {
        max-width: none;
        border-left: 0;
        border-top: 1px solid var(--gray-200);
    }
}

/* —— Create wizard (layout) —— */
/* Создание тендера — на всю ширину контента кабинета (как main) */

.js-tender-create-view {
    width: 100%;
    max-width: none;
}

.creation-container {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}

.creation-container--header,
.creation-container--body {
    width: 100%;
    max-width: none;
}

.cabinet-container.tender-create {
    gap: 0;
    width: 100%;
    max-width: none;
}

.cabinet-container.tender-create .creation-container .breadcrumbs svg.breadcrumbs-icon {
    width: 22px;
    height: 22px;
}

.js-tender-create-body .js-tender-step-panel {
    width: 100%;
    max-width: none;
}

.cabinet-container.tender-create .zc-step-payment,
.cabinet-container.tender-create .zc-step-payment .creation-card.zc-payment-card,
.cabinet-container.tender-create .zc-step-privacy .creation-card,
.cabinet-container.tender-create .zc-step-params .creation-card,
.cabinet-container.tender-create .zc-step-lots .creation-card {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}

/* ===== Step Privacy: pixel match to layout StepPrivacy ===== */
.zc-step-privacy {
    display: flex;
    flex-direction: column;
    gap: 28px;
    width: 100%;
}

.cabinet-container .zc-step-privacy .creation-card.zc-privacy-card {
    margin-bottom: 0;
    padding: 16px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.zc-privacy-card__head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
}

.zc-privacy-card__head .creation-card-title {
    font: var(--text-font-h4);
    color: var(--gray-900);
}

.zc-privacy-card__head .creation-card-hint {
    margin: 0;
    font-size: 14px;
    font-weight: var(--font-weight-normal);
    line-height: 20px;
    color: var(--gray-500);
}

.zc-privacy-access-block {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.zc-step-privacy .zc-procedure-radios {
    display: flex;
    gap: 12px;
    align-items: stretch;
    margin-bottom: 0;
    width: 100%;
}

.zc-step-privacy .zc-procedure-radios > .creation-radio-wrap {
    flex: 1 1 0;
    min-width: 0;
    display: block;
    padding: 0;
    margin: 0;
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.zc-step-privacy .zc-procedure-radios > .creation-radio-wrap:hover {
    background: var(--gray-50);
}

.zc-step-privacy .zc-procedure-radios > .creation-radio-wrap:has(input[type="radio"]:checked) {
    background: var(--gray-50);
}

.zc-step-privacy .zc-procedure-radios > .creation-radio-wrap > input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    pointer-events: none;
}

.zc-step-privacy .zc-option-inner {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px;
    width: 100%;
    box-sizing: border-box;
}

.zc-step-privacy .zc-option-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
    min-width: 0;
}

.zc-step-privacy .zc-procedure-radios .radio-text {
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    line-height: 24px;
    color: var(--gray-900);
}

.zc-step-privacy .zc-procedure-radios .zc-option-copy > .creation-card-hint {
    margin: 0;
    font-size: 14px;
    font-weight: var(--font-weight-normal);
    line-height: 20px;
    color: var(--gray-500);
}

/* Radio icon — layout FormIcons style (20×20, 10px inner dot) */
.zc-step-privacy .radio-ui {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    border: 1px solid var(--gray-300);
    border-radius: 50%;
    background: var(--white);
    box-sizing: border-box;
    flex-shrink: 0;
    position: relative;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.zc-step-privacy .radio-ui::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    margin: 0;
    border-radius: 50%;
    background: var(--primary-900);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.2s ease;
}

.zc-step-privacy .creation-radio-wrap:has(input[type="radio"]:checked) .radio-ui,
.zc-step-privacy .zc-check-row__control:has(input[type="radio"]:checked) .radio-ui {
    border-color: var(--primary-900);
    background: var(--white);
}

.zc-step-privacy .creation-radio-wrap:has(input[type="radio"]:checked) .radio-ui::before,
.zc-step-privacy .zc-check-row__control:has(input[type="radio"]:checked) .radio-ui::before {
    transform: translate(-50%, -50%) scale(1);
}

.zc-step-privacy .zc-procedure-radios > .creation-radio-wrap:hover .radio-ui {
    border-color: var(--primary-900);
}

/* Closed invites box — hide fully so flex gap matches layout */
.zc-step-privacy .tender-creation-closed-procedure {
    display: none;
    opacity: 1;
    max-height: none;
    margin-bottom: 0;
    padding: 0;
}

.zc-step-privacy .tender-creation-closed-procedure.visible {
    display: block;
    padding: 12px;
    margin-bottom: 0;
    border-radius: 12px;
    background: var(--gray-50);
}

.zc-step-privacy .zc-invites-inner {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.zc-step-privacy .closed-procedure-title {
    margin: 0;
    font-size: 16px;
    font-weight: var(--font-weight-normal);
    line-height: 24px;
    color: var(--gray-900);
}

.zc-step-privacy .zc-invites-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 480px;
    width: 100%;
}

.zc-step-privacy .zc-invites-field > .creation-card-hint {
    margin: 0;
    font-size: 14px;
    font-weight: var(--font-weight-normal);
    line-height: 20px;
    color: var(--gray-500);
}

.zc-step-privacy .tender-creation-closed-procedure .select2-container--default {
    margin: 0;
    max-width: 480px;
}

/* Check / radio rows */
.zc-step-privacy .zc-check-row__main {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    width: 100%;
    cursor: pointer;
    margin: 0;
}

.zc-step-privacy .zc-check-row__main--nested {
    align-items: center;
}

.zc-step-privacy .zc-check-row__control {
    position: relative;
    display: flex;
    flex-shrink: 0;
    padding-top: 2px;
}

.zc-step-privacy .zc-check-row__main--nested .zc-check-row__control {
    padding-top: 0;
}

.zc-step-privacy .zc-check-row__control input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    pointer-events: none;
}

.zc-step-privacy .zc-check-row__control .checkbox-ui {
    width: 20px;
    height: 20px;
    margin: 0;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    background: var(--white);
    box-sizing: border-box;
    flex-shrink: 0;
    position: relative;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.zc-step-privacy .zc-check-row__control .checkbox-ui::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 7px;
    border-left: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: translate(-50%, -60%) rotate(-45deg) scale(0);
    transition: transform 0.2s ease;
}

.zc-step-privacy .zc-check-row__control:has(input:checked) .checkbox-ui {
    background: var(--primary-900);
    border-color: var(--primary-900);
}

.zc-step-privacy .zc-check-row__control:has(input:checked) .checkbox-ui::after {
    transform: translate(-50%, -60%) rotate(-45deg) scale(1);
}

.zc-step-privacy .zc-check-row__main:hover .checkbox-ui,
.zc-step-privacy .zc-check-row__main:hover .radio-ui {
    border-color: var(--primary-900);
}

.zc-step-privacy .zc-check-row__copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.zc-step-privacy .zc-check-row__copy .checkbox-text,
.zc-step-privacy .zc-check-row__copy .radio-text {
    font-size: 16px;
    font-weight: var(--font-weight-normal);
    line-height: 24px;
    color: var(--gray-900);
}

.zc-step-privacy .zc-check-row__copy > .creation-card-hint {
    margin: 0;
    font-size: 14px;
    font-weight: var(--font-weight-normal);
    line-height: 20px;
    color: var(--gray-500);
}

.zc-step-privacy .zc-privacy-divider {
    width: 100%;
    height: 1px;
    background: var(--border-color-input);
    border: 0;
    margin: 0;
    padding: 0;
}

.zc-step-privacy .zc-approval-block {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.zc-step-privacy .zc-nested-panel {
    display: none;
    flex-direction: column;
    gap: 16px;
    padding: 12px;
    border-radius: 12px;
    background: var(--gray-50);
    box-sizing: border-box;
}

.zc-step-privacy .zc-nested-panel.visible {
    display: flex;
}

.zc-step-privacy .zc-nested-panel .tender-create-period {
    display: none;
    margin-left: 30px;
    max-width: none;
    max-height: none;
    opacity: 1;
    pointer-events: none;
}

.zc-step-privacy .zc-nested-panel .tender-create-period.visible {
    display: flex;
    pointer-events: all;
}

.zc-step-privacy .tender-creation-prequalification {
    display: none;
    width: 100%;
    opacity: 1;
    max-height: none;
    margin-top: 0;
}

.zc-step-privacy .tender-creation-prequalification.visible {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.zc-step-privacy .tender-creation-prequalification .creation-card-hint {
    margin: 0;
    font-size: 14px;
    line-height: 20px;
}

.zc-step-privacy .tender-creation-prequalification .input {
    width: 100%;
    max-width: 480px;
}

/* Visibility list */
.zc-step-privacy .zc-visibility-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.zc-step-privacy .zc-check-expand {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.zc-step-privacy .zc-rank-options {
    display: none;
    flex-direction: column;
    gap: 12px;
    padding-left: 30px;
    padding-top: 8px;
    box-sizing: border-box;
}

.zc-step-privacy .zc-rank-options.visible {
    display: flex;
}

.zc-step-privacy .zc-rank-options .zc-check-row__control {
    padding-top: 2px;
}

.zc-step-privacy .zc-privacy-footer {
    margin-top: 0;
    padding-top: 14px;
    padding-bottom: 14px;
    border-top: 1px solid var(--border-color-input);
    background: transparent;
}

/* ===== Step Purchase Params: pixel match to layout StepPurchaseParams ===== */
.zc-step-params {
    display: flex;
    flex-direction: column;
    gap: 28px;
    width: 100%;
}

.cabinet-container .zc-step-params .creation-card.zc-params-card {
    margin-bottom: 0;
    padding: 16px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.zc-params-card__head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
}

.zc-params-card__head .creation-card-title {
    font: var(--text-font-h4);
    color: var(--gray-900);
}

.zc-params-card__head .creation-card-hint {
    margin: 0;
    font-size: 14px;
    font-weight: var(--font-weight-normal);
    line-height: 20px;
    color: var(--gray-500);
}

.zc-step-params .zc-params-checks {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

/* Shared check/radio rows (same as privacy FormIcons) */
.zc-step-params .zc-check-row__main {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    width: 100%;
    cursor: pointer;
    margin: 0;
}

.zc-step-params .zc-check-row__main--nested {
    align-items: center;
    width: auto;
}

.zc-step-params .zc-check-row__main--radio-sm {
    gap: 8px;
}

.zc-step-params .zc-check-row__control {
    position: relative;
    display: flex;
    flex-shrink: 0;
    padding-top: 2px;
}

.zc-step-params .zc-check-row__main--nested .zc-check-row__control {
    padding-top: 0;
}

.zc-step-params .zc-check-row__control input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    pointer-events: none;
}

.zc-step-params .zc-check-row__control .checkbox-ui {
    width: 20px;
    height: 20px;
    margin: 0;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    background: var(--white);
    box-sizing: border-box;
    flex-shrink: 0;
    position: relative;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.zc-step-params .zc-check-row__control .checkbox-ui::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 7px;
    border-left: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: translate(-50%, -60%) rotate(-45deg) scale(0);
    transition: transform 0.2s ease;
}

.zc-step-params .zc-check-row__control:has(input:checked) .checkbox-ui {
    background: var(--primary-900);
    border-color: var(--primary-900);
}

.zc-step-params .zc-check-row__control:has(input:checked) .checkbox-ui::after {
    transform: translate(-50%, -60%) rotate(-45deg) scale(1);
}

.zc-step-params .radio-ui {
    width: 20px;
    height: 20px;
    margin-top: 0;
    border: 1px solid var(--gray-300);
    border-radius: 50%;
    background: var(--white);
    box-sizing: border-box;
    flex-shrink: 0;
    position: relative;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.zc-step-params .radio-ui::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    margin: 0;
    border-radius: 50%;
    background: var(--primary-900);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.2s ease;
}

.zc-step-params .zc-check-row__control:has(input[type="radio"]:checked) .radio-ui {
    border-color: var(--primary-900);
    background: var(--white);
}

.zc-step-params .zc-check-row__control:has(input[type="radio"]:checked) .radio-ui::before {
    transform: translate(-50%, -50%) scale(1);
}

.zc-step-params .zc-check-row__main:hover .checkbox-ui,
.zc-step-params .zc-check-row__main:hover .radio-ui {
    border-color: var(--primary-900);
}

.zc-step-params .zc-check-row__copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.zc-step-params .zc-check-row__copy--tight {
    gap: 2px;
    justify-content: center;
}

.zc-step-params .zc-check-row__copy .checkbox-text,
.zc-step-params .zc-check-row__copy .radio-text {
    font-size: 16px;
    font-weight: var(--font-weight-normal);
    line-height: 24px;
    color: var(--gray-900);
}

.zc-step-params .zc-check-row__copy .zc-check-text-sm {
    font-size: 14px;
    line-height: 20px;
}

.zc-step-params .zc-check-row__copy--tight > .creation-card-hint {
    margin: 0;
    font-size: 12px;
    font-weight: var(--font-weight-normal);
    line-height: 16px;
    color: var(--gray-500);
}

/* Auto-extend expandable (layout: bg secondary + p-16 when checked) */
.zc-step-params .zc-renewal-expand {
    border-radius: 12px;
    transition: background-color 0.2s ease, padding 0.2s ease;
}

.zc-step-params .zc-renewal-expand:has(.js-field-auto-extend-change:checked) {
    background: var(--gray-50);
    padding: 16px;
}

.zc-step-params .zc-renewal-inner {
    display: none;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 500px;
    padding-left: 30px;
    padding-top: 14px;
    margin: 0;
    opacity: 1;
    max-height: none;
    box-sizing: border-box;
}

.zc-step-params .zc-renewal-inner.visible {
    display: flex;
    margin-top: 0;
    max-width: 500px;
}

.zc-step-params .zc-renewal-select {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    max-width: 500px;
}

.zc-step-params .zc-renewal-select .select2-container {
    max-width: 100%;
    width: 100% !important;
    margin: 0;
}

.zc-step-params .zc-field-label {
    font-size: 12px;
    font-weight: var(--font-weight-normal);
    line-height: 16px;
    color: var(--gray-500);
}

.zc-step-params .zc-min-step-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.zc-step-params .zc-min-step-radios {
    display: none;
    flex-direction: column;
    gap: 12px;
    padding-left: 30px;
    padding-top: 2px;
    margin: 0;
    max-height: none;
    opacity: 1;
    width: 100%;
    box-sizing: border-box;
}

.zc-step-params .zc-min-step-radios.visible {
    display: flex;
    margin-top: 0;
}

.zc-step-params .zc-min-step-radios .zc-check-row__main {
    width: auto;
}

.zc-step-params .zc-min-step-value {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding-top: 4px;
    max-height: none;
    opacity: 1;
}

.zc-step-params .zc-min-step-value .tender-creation-increment-buttons {
    margin-bottom: 0;
    gap: 0;
    padding: 2px;
    border: none;
    border-radius: 8px;
    background: var(--gray-100);
}

.zc-step-params .zc-min-step-value .increment-button {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: var(--font-weight-medium);
    color: var(--gray-500);
    border-radius: 6px;
}

.zc-step-params .zc-min-step-value .increment-button.active {
    background: var(--white);
    color: var(--gray-900);
    font-weight: var(--font-weight-medium);
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
}

.zc-step-params .zc-min-step-value .input-box {
    max-width: 160px;
}

.zc-step-params .zc-params-divider {
    width: 100%;
    height: 1px;
    background: var(--gray-100);
    border: 0;
    margin: 0;
    padding: 0;
}

.zc-step-params .zc-vat-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.zc-step-params .zc-vat-title {
    font-size: 14px;
    font-weight: var(--font-weight-normal);
    line-height: 20px;
    color: var(--gray-900);
}

.zc-step-params .zc-vat-radios {
    display: flex;
    align-items: center;
    gap: 24px;
}

.zc-step-params .zc-vat-label {
    font-size: 14px !important;
    font-weight: var(--font-weight-medium) !important;
    line-height: 20px !important;
}

/* Dates */
.zc-step-params .zc-dates-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.zc-step-params .zc-date-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.zc-step-params .zc-date-item__titles {
    display: flex;
    flex-direction: column;
}

.zc-step-params .zc-date-item__title {
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    line-height: 20px;
    color: var(--gray-900);
}

.zc-step-params .zc-date-item__hint {
    font-size: 12px;
    font-weight: var(--font-weight-normal);
    line-height: 16px;
    color: var(--gray-500);
}

.zc-step-params .zc-date-item__fields {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.zc-step-params .zc-date-field {
    width: 220px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
}

.zc-step-params .zc-date-field__label {
    display: block;
    font-size: 10px;
    line-height: 12px;
    color: var(--gray-500);
    margin-bottom: 2px;
}

.zc-step-params .zc-date-field .date-picker {
    width: 100%;
}

.zc-step-params .zc-date-tz {
    font-size: 10px;
    line-height: 12px;
    color: var(--gray-500);
    margin-top: 2px;
}

/* Additional info */
.zc-step-params .zc-add-info-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.zc-step-params .zc-add-info-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

.zc-step-params .zc-add-info-field .input-box {
    max-width: 440px;
    width: 100%;
}

.zc-step-params .zc-add-info-field .button-add-more {
    margin-top: 4px;
    align-self: flex-start;
}

.zc-step-params .button-add-more.criteria {
    margin-top: 0;
    align-self: flex-start;
}

.zc-step-params .zc-add-info-field .input-box svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--gray-500);
}

.zc-step-params .npc-criteria-list {
    width: 100%;
}

.zc-step-params .zc-params-footer {
    margin-top: 0;
    padding-top: 14px;
    padding-bottom: 14px;
    border-top: 1px solid var(--border-color-input);
    background: transparent;
}

/* ===== Step Payment/Delivery: pixel match to layout StepPaymentDelivery ===== */
.zc-step-payment {
    display: flex;
    flex-direction: column;
    gap: 28px;
    width: 100%;
}

/* Cards: radius-card-lg 16, padding 12×16, gap 24, border #D9D9D9 */
.cabinet-container .zc-step-payment .creation-card.zc-payment-card {
    margin: 0;
    margin-bottom: 0;
    padding: 12px 16px;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    background: var(--white);
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
}

.zc-step-payment .zc-payment-card__head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
}

.zc-step-payment .zc-payment-card__head .creation-card-title {
    margin: 0;
    padding: 0;
    font: var(--text-font-h4);
    color: var(--gray-900);
}

.zc-step-payment .zc-payment-body {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.zc-step-payment .zc-payment-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.zc-step-payment .zc-payment-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.zc-step-payment .zc-payment-label {
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-weight: var(--font-weight-normal);
    line-height: 20px;
    color: var(--gray-500);
}

.zc-step-payment .zc-payment-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.zc-step-payment .zc-payment-list__item {
    width: 100%;
    min-width: 0;
}

/* TextArea = layout form-components (radius 14, min-h 80, counter inside px-12 pb-8) */
.zc-step-payment .zc-textarea {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    background: var(--white);
    overflow: hidden;
    transition: border-color 0.15s ease, border-width 0.15s ease;
}

.zc-step-payment .zc-textarea:hover:not(:focus-within) {
    border-color: var(--gray-900);
}

.zc-step-payment .zc-textarea:focus-within {
    border-color: var(--gray-900);
    border-width: 1.5px;
}

.zc-step-payment .zc-textarea textarea {
    display: block;
    width: 100% !important;
    min-height: 80px;
    height: auto;
    margin: 0;
    padding: 8px 12px 0;
    border: 0;
    outline: none;
    resize: vertical;
    background: transparent;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 14px;
    font-weight: var(--font-weight-normal);
    line-height: 24px;
    letter-spacing: 0;
    color: var(--gray-900);
    border-radius: 14px 14px 0 0;
}

.zc-step-payment .zc-textarea textarea::placeholder {
    color: var(--gray-400);
    opacity: 1;
}

.zc-step-payment .zc-textarea__counter,
.zc-step-payment .zc-textarea .char-counter {
    position: static;
    display: flex;
    justify-content: flex-end;
    width: 100%;
    box-sizing: border-box;
    padding: 0 12px 8px;
    margin: 0;
    font-size: 12px;
    font-weight: var(--font-weight-normal);
    line-height: 20px;
    color: var(--gray-400);
    background: transparent;
    align-self: stretch;
    pointer-events: none;
}

/* Add buttons = layout px-12 py-8 rounded-lg(8) gap-6 text-sm semibold icon 16, hover gray-50 no shadow */
.zc-step-payment .button-add-more,
.zc-step-payment .button-add-more:hover,
.zc-step-payment .button-add-more:focus,
.zc-step-payment .button-add-more:active {
    margin: 0;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    background: var(--white);
    box-shadow: none !important;
    color: var(--gray-900);
    font-family: inherit;
    font-size: 12px;
    font-weight: var(--font-weight-semibold);
    line-height: 16px;
    letter-spacing: 0;
    cursor: pointer;
    transition: background-color 0.15s ease;
    height: auto;
    min-height: 0;
}

.zc-step-payment .button-add-more:hover {
    background: var(--gray-50);
}

.zc-step-payment .button-add-more svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--gray-900);
}

.zc-step-payment .button-add-more span {
    font-size: 12px;
    font-weight: var(--font-weight-semibold);
    line-height: 16px;
    color: var(--gray-900);
}

.zc-step-payment .zc-payment-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

/* Select2 ≈ layout Select: radius-input 12, px-16 py-14, font 16, chevron 20 */
.zc-step-payment .zc-payment-field .select2-container {
    width: 100% !important;
    max-width: 100%;
    margin: 0;
}

.zc-step-payment .zc-payment-field .select2-container .select2-selection {
    --slct-padding-px: 16px;
    --slct-padding-py: 14px;
    --slct-radius: 12px;
    --slct-border-color: var(--gray-200);
    position: relative;
    display: flex;
    align-items: center;
    min-height: 52px;
    height: auto;
    border-radius: 12px !important;
    padding: 14px 16px;
    box-sizing: border-box;
    font: inherit;
    font-size: 16px;
    font-weight: var(--font-weight-normal);
    line-height: 24px;
    background: var(--white);
    border: 1px solid var(--slct-border-color);
}

.zc-step-payment .zc-payment-field .select2-container--focus .select2-selection,
.zc-step-payment .zc-payment-field .select2-container--open .select2-selection {
    --slct-border-color: var(--gray-900);
    border-color: var(--gray-900);
}

.zc-step-payment .zc-payment-field .select2-container .select2-selection::after {
    width: 20px;
    height: 20px;
    right: 16px;
    background-color: var(--gray-900);
}

.zc-step-payment .zc-payment-field .select2-selection__clear {
    display: none !important;
}

.zc-step-payment .zc-payment-field .select2-container--default .select2-selection--single .select2-selection__rendered {
    display: block;
    width: 100%;
    padding: 0 28px 0 0;
    margin: 0;
    line-height: 24px;
    font-size: 16px;
    font-weight: var(--font-weight-normal);
    color: var(--gray-900);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.zc-step-payment .zc-payment-field .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: var(--gray-400);
}

.zc-step-payment .zc-payment-field .select2-container--default .select2-selection--single .select2-selection__arrow {
    display: none;
}

/* Consent: checkbox 20×20, gap 10, ml 4, text 14/20 */
.zc-step-payment .zc-consent-row {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 0 0 0 4px;
    padding: 0;
    cursor: pointer;
    width: fit-content;
    max-width: 100%;
}

.zc-step-payment .zc-consent-row .zc-check-row__control {
    position: relative;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: 20px;
    height: 20px;
}

.zc-step-payment .zc-consent-row .zc-check-row__control input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    pointer-events: none;
}

.zc-step-payment .zc-consent-row .checkbox-ui {
    width: 20px;
    height: 20px;
    margin: 0;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    background: var(--white);
    box-sizing: border-box;
    position: relative;
    flex-shrink: 0;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.zc-step-payment .zc-consent-row .checkbox-ui::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 7px;
    border-left: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: translate(-50%, -60%) rotate(-45deg) scale(0);
    transition: transform 0.2s ease;
}

.zc-step-payment .zc-consent-row .zc-check-row__control:has(input:checked) .checkbox-ui {
    background: var(--primary-900);
    border-color: var(--primary-900);
}

.zc-step-payment .zc-consent-row .zc-check-row__control:has(input:checked) .checkbox-ui::after {
    transform: translate(-50%, -60%) rotate(-45deg) scale(1);
}

.zc-step-payment .zc-consent-row:hover .checkbox-ui {
    border-color: var(--primary-900);
}

.zc-step-payment .zc-consent-text {
    font-size: 14px;
    font-weight: var(--font-weight-normal);
    line-height: 20px;
    color: var(--gray-900);
}

/* Footer: py-14 border-t; Cancel outline; Back secondary+muted; Continue primary; radius 12, px-24 py-16 */
.zc-step-payment .zc-payment-footer {
    margin: 0;
    padding: 14px 0;
    border-top: 1px solid var(--gray-200);
    background: transparent;
    gap: 12px;
    align-items: center;
}

.zc-step-payment .zc-payment-footer .manage-button.button.large {
    --btn-radius: 12px;
    --btn-padding-px: 24px;
    --btn-padding-py: 16px;
    --btn-height: auto;
    --btn-font-size: 16px;
    --btn-line-height: 24px;
    height: auto;
    min-height: 0;
    border-radius: 12px;
    letter-spacing: 0.1px;
    box-shadow: none;
}

.zc-step-payment .zc-payment-footer .manage-buttons-right {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* ===== Step Lots: pixel match to layout StepLots ===== */
@keyframes zc-lot-pulse {
    0%   { box-shadow: 0 0 0 0 var(--error-light, #fee4e2); }
    50%  { box-shadow: 0 0 0 4px var(--error-light, #fee4e2); }
    100% { box-shadow: 0 0 0 0 var(--error-light, #fee4e2); }
}

.zc-step-lots {
    display: flex;
    flex-direction: column;
    gap: 28px;
    width: 100%;
}

.zc-lots-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--error-base, #d92d20);
    background: var(--error-light, #fee4e2);
    color: var(--error-base, #d92d20);
}

.zc-lots-banner__icon {
    flex-shrink: 0;
}

.zc-lots-banner__text {
    flex: 1;
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    line-height: 20px;
}

.zc-lots-banner__close {
    flex-shrink: 0;
    display: inline-flex;
    padding: 0;
    border: none;
    background: none;
    color: inherit;
    cursor: pointer;
    opacity: 1;
}

.zc-lots-banner__close:hover {
    opacity: 0.7;
}

.cabinet-container .zc-step-lots .creation-card.zc-lots-card {
    margin-bottom: 0;
    padding: 0;
    border-radius: 24px;
    border: 1px solid var(--gray-200);
    background: var(--white);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
}

.zc-lots-card__head {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    padding-top: 14px;
    background: var(--white);
}

.zc-lots-card__title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 0 14px 0 24px;
    box-sizing: border-box;
}

.zc-lots-card__title {
    flex: 1;
    margin: 0;
    font: var(--text-font-h2);
    color: var(--gray-900);
}

.zc-lots-combo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.zc-lots-combo__main,
.zc-lots-combo__chevron {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    background: var(--gray-50);
    color: var(--gray-900);
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.zc-lots-combo__main {
    padding: 12px 16px;
    border-radius: 12px 0 0 12px;
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.42;
    white-space: nowrap;
}

.zc-lots-combo__chevron {
    position: relative;
    padding: 12px;
    border-radius: 0 12px 12px 0;
}

.zc-lots-combo__chevron::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0.5px;
    background: var(--gray-200);
    pointer-events: none;
}

.zc-lots-combo__main:hover,
.zc-lots-combo__chevron:hover {
    background: var(--gray-100);
}

.zc-lots-combo svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.zc-lots-tabs {
    position: relative;
    width: 100%;
    padding: 0 24px;
    box-sizing: border-box;
}

.zc-lots-tabs__line {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--gray-400);
    pointer-events: none;
}

.zc-lots-tab {
    position: relative;
    padding: 6px 16px;
    border: none;
    background: none;
    font-size: 16px;
    font-weight: var(--font-weight-normal);
    line-height: 24px;
    color: var(--gray-400);
    cursor: pointer;
}

.zc-lots-tab.active {
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.1px;
    color: var(--gray-900);
}

.zc-lots-tab.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--gray-900);
}

.zc-lots-body {
    display: flex;
    gap: 16px;
    width: 100%;
    min-height: 480px;
    padding: 18px 24px;
    box-sizing: border-box;
}

.zc-lots-col--list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: clamp(220px, 22%, 300px);
    flex-shrink: 0;
}

.zc-lots-col--editor {
    flex: 1;
    min-width: 0;
}

.zc-lots-col--budget {
    width: 320px;
    flex-shrink: 0;
    align-self: flex-start;
    position: sticky;
    top: 0;
}

.zc-lots-add {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border: none;
    border-radius: 12px;
    background: var(--gray-50);
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    line-height: 20px;
    color: var(--gray-900);
    cursor: pointer;
    transition: background-color 0.15s ease;
    box-sizing: border-box;
}

.zc-lots-add:hover {
    background: var(--gray-100);
}

.zc-lots-add svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.zc-lots-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    max-height: calc(100vh - 360px);
    overflow-y: auto;
    padding-right: 4px;
}

/* Lot / doc list item */
.zc-lot-item {
    position: relative;
    background: var(--white);
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.zc-lot-item:not(.is-selected):hover {
    background: var(--gray-50);
}

.zc-lot-item__border {
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: 8px;
    border: 1px solid var(--gray-200);
    transition: border-color 0.15s ease;
}

.zc-lot-item:hover .zc-lot-item__border {
    border-color: var(--gray-400);
}

.zc-lot-item.is-selected .zc-lot-item__border {
    border-color: var(--gray-900);
}

.zc-lot-item.is-error .zc-lot-item__border {
    border: 1.5px solid var(--error-base, #d92d20);
}

.zc-lot-item.is-error {
    animation: zc-lot-pulse 600ms ease-out;
}

.zc-lot-item__row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
}

.zc-lot-item__num {
    width: 28px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    line-height: 24px;
    letter-spacing: 0.1px;
    color: var(--gray-900);
    text-align: center;
}

.zc-lot-item__main {
    flex: 1 0 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
    justify-content: center;
}

.zc-lot-item__title {
    width: 100%;
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.42;
    color: var(--gray-900);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.zc-lot-item__params {
    display: flex;
    align-items: center;
    gap: 4px;
    width: 100%;
    flex-shrink: 0;
}

.zc-lot-item__param {
    font-size: 12px;
    font-weight: var(--font-weight-medium);
    line-height: 14px;
    color: var(--gray-500);
    white-space: nowrap;
}

.zc-lot-item__dot {
    width: 2px;
    height: 2px;
    border-radius: 999px;
    background: var(--gray-500);
    flex-shrink: 0;
}

.zc-lot-item__right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.zc-lot-item__actions {
    display: none;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.zc-lot-item:hover .zc-lot-item__actions {
    display: flex;
}

.zc-lot-item__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 6px;
    border: none;
    border-radius: 8px;
    background: var(--gray-50);
    color: var(--gray-900);
    cursor: pointer;
    box-sizing: border-box;
}

.zc-lot-item__action:hover {
    background: var(--gray-100);
}

.zc-lot-item__action svg {
    width: 20px;
    height: 20px;
}

.zc-lot-item__status {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    position: relative;
}

.zc-lot-item__status--draft {
    display: block;
}

.zc-lot-item__status--draft::after {
    content: '';
    position: absolute;
    top: 9.38%;
    bottom: 9.38%;
    left: 50%;
    transform: translateX(-50%);
    aspect-ratio: 1 / 1;
    border-radius: 999px;
    border: 1px dashed var(--gray-400);
    box-sizing: border-box;
}

.zc-lot-item__status svg {
    width: 100%;
    height: 100%;
}

.zc-lot-item__badge {
    flex-shrink: 0;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: var(--font-weight-medium);
    line-height: 12px;
    color: var(--error-base, #d92d20);
    background: var(--error-light, #fee4e2);
}

.zc-lot-item--doc .zc-lot-item__row {
    gap: 12px;
}

.zc-lot-item--doc .zc-lot-item__title {
    font-weight: var(--font-weight-medium);
    line-height: 20px;
}

.zc-lot-item__desc {
    font-size: 13px;
    font-weight: var(--font-weight-normal);
    line-height: 16px;
    color: var(--gray-500);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.zc-doc-status {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.zc-doc-status--valid {
    background: var(--success-dark);
    color: var(--white);
}

.zc-doc-status--incomplete {
    background: rgba(255, 153, 0, 0.15);
}

.zc-doc-status--incomplete.is-error {
    background: var(--error-light, #fee4e2);
}

.zc-doc-status__dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--orange-600);
}

.zc-doc-status--incomplete.is-error .zc-doc-status__dot {
    background: var(--error-base, #d92d20);
}

.zc-lot-item__icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: var(--gray-50);
    color: var(--gray-900);
    cursor: pointer;
    flex-shrink: 0;
}

.zc-lot-item__icon-btn:hover {
    background: var(--gray-100);
}

.zc-lot-item__icon-btn svg {
    width: 20px;
    height: 20px;
}

/* Editor card */
.zc-lots-editor-card {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 420px;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    background: var(--white);
    overflow: hidden;
    box-sizing: border-box;
}

.zc-lots-editor-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 420px;
    padding: 64px 16px;
    box-sizing: border-box;
    font-size: 14px;
    color: var(--gray-500);
    text-align: center;
}

.zc-lots-editor {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.zc-lots-editor__head {
    position: relative;
    flex-shrink: 0;
    width: 100%;
}

.zc-lots-editor__head::after {
    content: '';
    position: absolute;
    inset: 0;
    border-bottom: 0.5px solid var(--gray-200);
    pointer-events: none;
}

.zc-lots-editor__head-inner {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 12px 16px;
    box-sizing: border-box;
    gap: 8px;
}

.zc-lots-editor__title {
    flex: 1;
    min-width: 0;
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    line-height: 24px;
    color: var(--gray-900);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.zc-lots-editor__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.zc-lots-editor__body {
    flex: 1;
    overflow-y: auto;
}

.zc-lots-editor__body-inner {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.zc-lots-editor__body-inner--doc {
    gap: 20px;
}

.zc-lots-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    align-items: flex-start;
}

.zc-lots-field__label {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 13px;
    font-weight: var(--font-weight-normal);
    line-height: 16px;
    color: var(--gray-500);
}

.zc-lots-field__label.is-error {
    color: var(--error-base, #d92d20);
}

.zc-lots-field__req {
    color: var(--error-base, #d92d20);
    margin-left: 2px;
}

.zc-lots-field__error {
    font-size: 12px;
    line-height: 14px;
    color: var(--error-base, #d92d20);
}

.zc-lots-field__section {
    font-size: 14px;
    font-weight: var(--font-weight-normal);
    line-height: 20px;
    color: var(--gray-500);
}

.zc-lots-field-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-start;
    width: 100%;
}

.zc-lots-field-row .zc-lots-field {
    flex: 1 1 120px;
    width: auto;
    min-width: 0;
}

/* Макс. цена без НДС */
.zc-lots-field-row .zc-lots-field--price {
    flex: 1.2 1 140px;
}

/* НДС */
.zc-lots-field-row .zc-lots-field--vat {
    flex: 0.8 1 100px;
}

.zc-lots-input {
    position: relative;
    width: 100%;
    background: var(--white);
    border-radius: 12px;
    box-sizing: border-box;
}

.zc-lots-input__border {
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    transition: border-color 0.15s ease;
}

.zc-lots-input:focus-within .zc-lots-input__border {
    border: 1.5px solid var(--gray-900);
}

.zc-lots-input.is-error .zc-lots-input__border {
    border: 1.5px solid var(--error-base, #d92d20);
}

.zc-lots-input__inner {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    padding: 12px;
    box-sizing: border-box;
}

.zc-lots-input input,
.zc-lots-input select {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    font-weight: var(--font-weight-normal);
    line-height: 20px;
    color: var(--gray-900);
    appearance: none;
    -webkit-appearance: none;
}

.zc-lots-input input::placeholder {
    color: var(--gray-400);
}

.zc-lots-input__icon {
    flex-shrink: 0;
    display: inline-flex;
    color: var(--gray-900);
}

.zc-lots-input__icon svg {
    width: 20px;
    height: 20px;
}

.zc-lots-input__chevron {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--gray-900);
    pointer-events: none;
}

.zc-lots-add-field {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    padding: 8px 12px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    background: var(--white);
    font-size: 13px;
    font-weight: var(--font-weight-semibold);
    line-height: 14px;
    color: var(--gray-900);
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.zc-lots-add-field:hover {
    background: var(--gray-50);
}

.zc-lots-add-field svg {
    width: 20px;
    height: 20px;
}

.zc-lots-upload {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.zc-lots-upload__zone {
    position: relative;
    width: 100%;
    border-radius: 12px;
    cursor: pointer;
    box-sizing: border-box;
}

.zc-lots-upload__zone::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    border: 1px dashed var(--gray-400);
    pointer-events: none;
}

.zc-lots-upload__zone.is-drag {
    background: var(--gray-50);
}

.zc-lots-upload__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px 32px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.zc-lots-upload__icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--gray-50);
    color: var(--gray-900);
    padding: 8px;
    box-sizing: border-box;
}

.zc-lots-upload__icon svg {
    width: 24px;
    height: 24px;
}

.zc-lots-upload__text {
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    letter-spacing: 0.1px;
    line-height: 24px;
    color: var(--gray-900);
}

.zc-lots-upload__text .zc-lots-upload__link {
    color: var(--primary-900);
}

.zc-lots-upload__hints {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 14px;
    line-height: 20px;
    color: var(--gray-500);
}

.zc-lots-upload__file {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.zc-lots-upload__file-main {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.zc-lots-upload__ext {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--gray-50);
    font-size: 11px;
    font-weight: var(--font-weight-medium);
    line-height: 12px;
    color: var(--gray-500);
}

.zc-lots-upload__name {
    font-size: 14px;
    line-height: 20px;
    color: var(--gray-900);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.zc-lots-upload__size {
    font-size: 13px;
    line-height: 14px;
    color: var(--gray-500);
}

.zc-lots-upload__remove {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border: none;
    border-radius: 8px;
    background: var(--gray-50);
    color: var(--gray-900);
    cursor: pointer;
}

.zc-lots-upload__remove:hover {
    background: var(--gray-100);
}

.zc-lots-upload input[type="file"] {
    display: none;
}

.zc-lots-textarea {
    position: relative;
    width: 100%;
    background: var(--white);
    border-radius: 12px;
    box-sizing: border-box;
}

.zc-lots-textarea__border {
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
}

.zc-lots-textarea__inner {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 6px 12px;
    width: 100%;
    box-sizing: border-box;
}

.zc-lots-textarea textarea {
    width: 100%;
    min-height: 56px;
    border: none;
    outline: none;
    resize: none;
    background: transparent;
    font-size: 14px;
    line-height: 20px;
    color: var(--gray-900);
    font-family: inherit;
}

.zc-lots-textarea textarea::placeholder {
    color: var(--gray-400);
}

.zc-lots-textarea__counter {
    display: flex;
    justify-content: flex-end;
    font-size: 14px;
    line-height: 20px;
    color: var(--gray-400);
}

.zc-lots-check {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.zc-lots-check__box {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    border: 0.7px solid var(--gray-400);
    background: var(--white);
    box-sizing: border-box;
    color: var(--white);
}

.zc-lots-check.is-checked .zc-lots-check__box {
    border: none;
    background: var(--primary-900);
}

.zc-lots-check__label {
    font-size: 14px;
    line-height: 24px;
    color: var(--gray-900);
}

.zc-lots-editor-divider {
    width: 100%;
    height: 1px;
    background: var(--gray-50);
}

/* Budget panel */
.zc-lots-budget {
    background: var(--white);
    border-radius: 16px;
    border: 0.5px solid var(--gray-400);
    overflow: hidden;
}

.zc-lots-budget__head {
    padding: 18px 16px;
    border-bottom: 0.5px solid var(--gray-200);
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    line-height: 24px;
    letter-spacing: 0.1px;
    color: var(--gray-900);
}

.zc-lots-budget__body {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 16px;
}

.zc-lots-budget__rows {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.zc-lots-budget__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    line-height: 24px;
    gap: 12px;
}

.zc-lots-budget__row > span:first-child {
    font-size: 16px;
    font-weight: var(--font-weight-normal);
    color: var(--gray-500);
}

.zc-lots-budget__row > span:last-child {
    font-size: 18px;
    font-weight: var(--font-weight-medium);
    color: var(--gray-900);
    white-space: nowrap;
}

.zc-lots-budget__row > span.is-synced {
    color: var(--success-dark);
}

.zc-lots-budget__divider {
    width: 100%;
    height: 1px;
    background: var(--gray-200);
}

.zc-lots-budget__synced {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(224, 247, 232, 1);
    color: var(--success-dark);
    font-size: 13px;
    font-weight: var(--font-weight-medium);
    line-height: 20px;
    box-sizing: border-box;
}

.zc-lots-budget__actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.zc-lots-budget__btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px 16px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.42;
    color: var(--gray-900);
    background: var(--gray-50);
    cursor: pointer;
    box-sizing: border-box;
    transition: background-color 0.15s ease;
}

.zc-lots-budget__btn--primary {
    background: var(--gray-50);
}

.zc-lots-budget__btn:hover {
    background: var(--gray-100);
}

/* Footer inside card */
.zc-step-lots .zc-lots-footer {
    margin: 0;
    padding: 14px 24px;
    border-top: 1px solid var(--gray-200);
    background: var(--white);
    gap: 12px;
    position: relative;
}

.zc-step-lots .zc-lots-footer .manage-buttons-right {
    gap: 10px;
}

.zc-step-lots .zc-lots-footer .manage-button.button.large {
    --btn-radius: 14px;
    --btn-padding-px: 24px;
    --btn-padding-py: 16px;
    border-radius: 14px;
    letter-spacing: 0.1px;
}

.zc-step-lots .zc-lots-footer .manage-button.button.back {
    width: 169px;
}

/* Preview */
.zc-lots-preview {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.zc-lots-preview__head {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    padding-bottom: 24px;
}

.zc-lots-preview__title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
}

.zc-lots-preview__title {
    font: var(--text-font-h2);
    color: var(--gray-900);
}

.zc-lots-preview__hint {
    font-size: 14px;
    line-height: 20px;
    color: var(--gray-500);
}

.zc-lots-preview__section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.zc-lots-preview__section--docs {
    margin-top: 32px;
}

.zc-lots-preview__section-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.zc-lots-preview__section-title {
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    line-height: 24px;
    color: var(--gray-900);
}

.zc-lots-preview__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    padding: 2px 10px;
    border-radius: 999px;
    background: var(--gray-50);
    font-size: 13px;
    font-weight: var(--font-weight-medium);
    line-height: 16px;
    color: var(--gray-500);
    box-sizing: border-box;
}

.zc-lots-preview__section-hint {
    font-size: 13px;
    line-height: 16px;
    color: var(--gray-500);
}

.zc-lots-preview-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 48px 16px;
    border-radius: 12px;
    border: 1px dashed var(--gray-200);
    box-sizing: border-box;
}

.zc-lots-preview-empty__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--gray-50);
    color: var(--gray-500);
}

.zc-lots-preview-empty__text {
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    line-height: 20px;
    color: var(--gray-500);
}

.zc-lots-preview-table-wrap {
    width: 100%;
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
}

.zc-lots-preview-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 860px;
}

.zc-lots-preview-table.is-prequal {
    min-width: 520px;
}

.zc-lots-preview-table th {
    position: sticky;
    top: 0;
    background: var(--white);
    padding: 10px 16px;
    font-size: 13px;
    font-weight: var(--font-weight-semibold);
    line-height: 16px;
    color: var(--gray-500);
    text-align: left;
    white-space: nowrap;
    border-bottom: 1px solid var(--gray-200);
}

.zc-lots-preview-table th.is-center,
.zc-lots-preview-table td.is-center {
    text-align: center;
}

.zc-lots-preview-table td {
    padding: 12px 16px;
    font-size: 14px;
    line-height: 20px;
    color: var(--gray-900);
    border-bottom: 1px solid var(--gray-100);
}

.zc-lots-preview-table tbody tr {
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.zc-lots-preview-table tbody tr:hover {
    background: var(--gray-50);
}

.zc-lots-preview-table .is-muted {
    color: var(--gray-400);
}

.zc-lots-preview-table .is-medium {
    font-weight: var(--font-weight-medium);
}

.zc-lots-preview-table .is-semibold {
    font-weight: var(--font-weight-semibold);
}

.zc-lots-preview-edit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    background: none;
    color: var(--gray-500);
    cursor: pointer;
}

.zc-lots-preview-edit-btn:hover {
    background: var(--gray-50);
}

.zc-lots-preview-footer {
    margin: 28px 0 0;
    padding: 14px 0;
    border-top: 1px solid var(--gray-200);
    background: transparent;
    position: sticky;
    bottom: 0;
    z-index: 10;
}

.zc-lots-preview-footer .manage-button.button.large {
    --btn-radius: 14px;
    --btn-padding-px: 24px;
    --btn-padding-py: 16px;
    border-radius: 14px;
    letter-spacing: 0.1px;
}

.zc-lots-preview-footer .js-lots-exit-preview {
    background: var(--white);
    border: 1px solid var(--gray-200);
    color: var(--gray-900);
}

.zc-lots-preview-footer .js-lots-exit-preview:hover {
    background: var(--gray-50);
}

/* ===== Step Invitation ===== */

/* Сброс глобального отступа у карточки типа отправки */
.zc-step-invitation .creation-card {
    margin-bottom: 0;
}

.zc-step-invitation {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

/* Прямые .zc-inv-card дети .zc-step-invitation растягиваются на всю ширину */
.zc-step-invitation > .zc-inv-card {
    width: 100%;
}

/* Общая карточка */
.zc-inv-card {
    padding: 12px 16px;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    background: var(--white);
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-sizing: border-box;
}

.zc-inv-card__title {
    font: var(--text-font-h4);
    color: var(--gray-900);
    margin: 0;
}

.zc-inv-card__hint {
    font-size: 14px;
    font-weight: var(--font-weight-normal);
    line-height: 20px;
    color: var(--gray-500);
    margin: 0;
}

/* Тип отправки: радио-кнопки */
/* Карточка "Тип отправки" — точная копия стилей "Доступ к процедуре" */
.zc-inv-send-type-card {
    margin-bottom: 0;
}

.zc-inv-send-type-card .zc-inv-send-radios {
    margin-top: 14px;
    margin-bottom: 0;
}

/* Сброс глобального padding с creation-radio-wrap */
.zc-inv-send-type-card .zc-inv-send-radios > .creation-radio-wrap {
    flex: 1 1 0;
    min-width: 0;
    display: block;
    padding: 0;
    margin: 0;
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.zc-inv-send-type-card .zc-inv-send-radios > .creation-radio-wrap:hover {
    background: var(--gray-50);
}

.zc-inv-send-type-card .zc-inv-send-radios > .creation-radio-wrap:has(input[type="radio"]:checked) {
    background: var(--gray-50);
}

.zc-inv-send-type-card .zc-inv-send-radios > .creation-radio-wrap > input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    pointer-events: none;
}

.zc-inv-send-type-card .zc-option-inner {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px;
    width: 100%;
    box-sizing: border-box;
}

.zc-inv-send-type-card .zc-option-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
    min-width: 0;
}

.zc-inv-send-type-card .radio-text {
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    line-height: 24px;
    color: var(--gray-900);
}

.zc-inv-send-type-card .zc-option-copy > .creation-card-hint {
    margin: 0;
    font-size: 14px;
    font-weight: var(--font-weight-normal);
    line-height: 20px;
    color: var(--gray-500);
}

.zc-inv-send-type-card .radio-ui {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    border: 1px solid var(--gray-300);
    border-radius: 50%;
    background: var(--white);
    box-sizing: border-box;
    flex-shrink: 0;
    position: relative;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.zc-inv-send-type-card .radio-ui::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    margin: 0;
    border-radius: 50%;
    background: var(--primary-900);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.2s ease;
}

.zc-inv-send-type-card .creation-radio-wrap:has(input[type="radio"]:checked) .radio-ui {
    border-color: var(--primary-900);
}

.zc-inv-send-type-card .creation-radio-wrap:has(input[type="radio"]:checked) .radio-ui::before {
    transform: translate(-50%, -50%) scale(1);
}

.zc-inv-send-type-card .creation-radio-wrap:hover .radio-ui {
    border-color: var(--primary-900);
}

/* Основная строка: поставщики + правая панель */
.zc-inv-main-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

/* Карточка поставщиков — иерархия как в StepSupplierInvitation */
.zc-inv-suppliers-card {
    flex: 1;
    min-width: 0;
    gap: 0;
    padding: 0;
    overflow: hidden;
}

.zc-inv-suppliers-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 12px 0;
}

.zc-inv-block-top {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.zc-inv-suppliers__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    min-height: 48px;
}

.zc-inv-suppliers__head-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

/* Кнопка «Загрузить файлом» + chevron (split-button) */
.zc-inv-upload-combo {
    position: relative;
    flex-shrink: 0;
}

.zc-inv-upload-split {
    display: flex;
    align-items: stretch;
}

.zc-inv-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    border: none;
    border-radius: 8px 0 0 8px;
    background: var(--gray-50);
    font-size: 12px;
    font-weight: var(--font-weight-semibold);
    line-height: 14px;
    color: var(--gray-900);
    cursor: pointer;
}

.zc-inv-upload-btn:hover {
    opacity: 0.9;
}

.zc-inv-upload-chevron {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: none;
    border-left: 1px solid var(--gray-200);
    border-radius: 0 8px 8px 0;
    background: var(--gray-50);
    color: var(--gray-900);
    cursor: pointer;
}

.zc-inv-upload-chevron:hover {
    background: var(--gray-100);
}

.zc-inv-upload-chevron .js-inv-chevron-icon {
    transition: transform 0.2s;
}

.zc-inv-upload-combo.is-open .js-inv-chevron-icon {
    transform: rotate(180deg);
}

.zc-inv-upload-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 4px);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    min-width: 180px;
    z-index: 20;
    overflow: hidden;
}

.zc-inv-upload-dropdown__item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: var(--font-weight-normal);
    line-height: 20px;
    color: var(--gray-900);
    text-decoration: none;
    transition: background 0.1s;
}

.zc-inv-upload-dropdown__item:hover {
    background: var(--gray-50);
}

.zc-inv-tabs-wrap {
    padding: 0 16px;
}

.zc-inv-tabs {
    position: relative;
    display: flex;
    width: 100%;
}

.zc-inv-tabs__line {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--gray-400);
    pointer-events: none;
}

.zc-inv-tab {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    display: inline-block;
    padding: 6px 16px;
    margin: 0;
    height: auto;
    min-height: 0;
    border: none;
    outline: none;
    box-shadow: none;
    border-radius: 0;
    background: none;
    font-size: 14px;
    font-weight: var(--font-weight-normal);
    line-height: 24px;
    color: var(--gray-400);
    cursor: pointer;
}

.zc-inv-tab.active {
    color: var(--gray-900);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.1px;
}

.zc-inv-tab.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--gray-900);
    z-index: 1;
}

.zc-inv-block-search {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 0 16px;
}

.zc-inv-search {
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    background: var(--white);
}

.zc-inv-search__row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
}

.zc-inv-search__input {
    flex: 1;
    min-width: 0;
    padding: 0;
    border: none;
    font-size: 14px;
    line-height: 24px;
    color: var(--gray-900);
    background: transparent;
    outline: none;
}

.zc-inv-search__input::placeholder {
    color: #a3a3a3;
}

.zc-inv-search__icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-900);
}

.zc-inv-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 12px;
    max-height: 380px;
    overflow-y: auto;
}

.zc-inv-list__empty {
    padding: 24px 0;
    text-align: center;
    font-size: 14px;
    color: var(--gray-500);
}

.zc-inv-list__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    cursor: pointer;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
}

.zc-inv-list__checkbox {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 1px solid var(--gray-300);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.1s, background 0.1s;
}

.zc-inv-list__item.is-checked .zc-inv-list__checkbox {
    background: var(--primary-900);
    border-color: var(--primary-900);
}

.zc-inv-list__name {
    font-size: 14px;
    font-weight: var(--font-weight-normal);
    line-height: 24px;
    color: var(--gray-900);
}

/* Правая панель: выбранные поставщики */
.zc-inv-selected-card {
    flex: 0 0 280px;
    width: 280px;
    max-width: 280px;
    align-self: flex-start;
    gap: 0;
    padding: 0;
    overflow: hidden;
}

.zc-inv-selected__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    line-height: 24px;
    letter-spacing: 0.1px;
    color: var(--gray-900);
}

.zc-inv-selected__head .zc-inv-card__title {
    font-size: 14px;
    letter-spacing: 0.1px;
}

.zc-inv-selected__head .js-inv-selected-count {
    font-weight: var(--font-weight-normal);
}

.zc-inv-selected__empty {
    padding: 8px 16px 24px;
    font-size: 14px;
    line-height: 20px;
    color: var(--gray-500);
    text-align: center;
}

.zc-inv-selected__content {
    padding: 0 8px 16px;
}

.zc-inv-selected-card .zc-inv-selected__clear {
    display: block;
    margin: 0 0 4px;
    min-height: 0;
    height: auto;
    padding: 4px 8px;
    border-radius: 0;
    box-shadow: none;
    line-height: 20px;
    text-shadow: none;
    font-size: 12px;
    font-weight: var(--font-weight-medium);
    color: var(--error-base, #d92d20);
    background: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.1s;
}

.zc-inv-selected-card .zc-inv-selected__clear:hover {
    background: transparent;
    box-shadow: none;
    top: 0;
    text-decoration: underline;
    opacity: 0.7;
}

.zc-inv-selected__items {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0;
    max-height: 360px;
    overflow-y: auto;
}

.zc-inv-selected__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 6px;
    transition: background 0.1s;
}

.zc-inv-selected__item:hover {
    background: var(--gray-50);
}

.zc-inv-selected__item-name {
    font-size: 13px;
    font-weight: var(--font-weight-normal);
    line-height: 20px;
    color: var(--gray-900);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

.zc-inv-selected-card .zc-inv-selected__item-remove {
    margin: 0;
    min-height: 0;
    min-width: 0;
    border-radius: 0;
    box-shadow: none;
    text-shadow: none;
    line-height: 1;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    padding: 0;
    transition: color 0.1s;
}

.zc-inv-selected-card .zc-inv-selected__item-remove:hover {
    background: transparent;
    box-shadow: none;
    top: 0;
    color: var(--error-base, #d92d20);
}

/* Пригласить вне системы */
.zc-inv-email-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.zc-inv-email-input {
    flex: 1;
    min-width: 0;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    font-size: 14px;
    line-height: 20px;
    color: var(--gray-900);
    background: var(--white);
    outline: none;
}

.zc-inv-email-input::placeholder {
    color: #a3a3a3;
}

.zc-inv-email-row .button.secondary {
    flex-shrink: 0;
}

.zc-inv-email-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.zc-inv-email-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    font-size: 13px;
    font-weight: var(--font-weight-medium);
    color: var(--gray-900);
}

.zc-inv-email-tag__remove {
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    padding: 0;
    transition: color 0.1s;
}

.zc-inv-email-tag__remove:hover {
    color: var(--gray-900);
}

/* Текст приглашения: превью */
.zc-inv-preview {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.zc-inv-preview__label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.zc-inv-preview__label {
    font-size: 13px;
    font-weight: var(--font-weight-semibold);
    line-height: 18px;
    color: var(--gray-900);
}

.zc-inv-preview__badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #EFF8FF;
    font-size: 11px;
    font-weight: var(--font-weight-medium);
    line-height: 16px;
    color: #0070B8;
}

.zc-inv-preview__box {
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    overflow: hidden;
    background: var(--gray-50);
}

.zc-inv-preview__top {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}

.zc-inv-preview__avatar {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary-900);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.zc-inv-preview__from {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.zc-inv-preview__from-title {
    font-size: 13px;
    font-weight: var(--font-weight-semibold);
    line-height: 17px;
    color: var(--gray-900);
}

.zc-inv-preview__from-sub {
    font-size: 11px;
    font-weight: var(--font-weight-normal);
    line-height: 15px;
    color: var(--gray-500);
}

.zc-inv-preview__body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 16px 18px;
}

.zc-inv-preview__quote {
    padding: 10px 14px;
    border-radius: 6px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-left: 3px solid var(--primary-900);
    font-size: 14px;
    font-weight: var(--font-weight-normal);
    line-height: 22px;
    color: var(--gray-900);
}

.zc-inv-preview__extra {
    font-size: 14px;
    font-weight: var(--font-weight-normal);
    line-height: 22px;
    color: var(--gray-900);
    white-space: pre-wrap;
}

.zc-inv-preview__extra-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 6px;
    background: var(--gray-100);
    border: 1px dashed var(--gray-300);
    font-size: 12px;
    line-height: 18px;
    color: var(--gray-500);
}

/* Разделитель */
.zc-inv-separator {
    display: flex;
    align-items: center;
    gap: 10px;
}

.zc-inv-separator span:first-child,
.zc-inv-separator span:last-child {
    flex: 1;
    height: 1px;
    background: var(--gray-200);
    display: block;
}

.zc-inv-separator__label {
    flex: none !important;
    height: auto !important;
    background: none !important;
    font-size: 11px;
    font-weight: var(--font-weight-normal);
    line-height: 14px;
    color: var(--gray-400);
    white-space: nowrap;
}

/* Поле дополнительного сообщения */
.zc-inv-msg-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.zc-inv-msg-field__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.zc-inv-msg-field__label {
    font-size: 13px;
    font-weight: var(--font-weight-medium);
    line-height: 18px;
    color: var(--gray-900);
}

.zc-inv-msg-field__opt {
    font-weight: var(--font-weight-normal);
    color: var(--gray-500);
}

.zc-inv-msg-counter {
    font-size: 11px;
    font-weight: var(--font-weight-normal);
    line-height: 16px;
    color: var(--gray-400);
    font-variant-numeric: tabular-nums;
}

.zc-inv-msg-counter.is-limit {
    color: var(--error-base, #d92d20);
}

.zc-inv-msg-textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    font-size: 14px;
    font-weight: var(--font-weight-normal);
    line-height: 22px;
    color: var(--gray-900);
    background: var(--white);
    resize: none;
    outline: none;
    transition: border-color 0.15s;
    font-family: inherit;
}

.zc-inv-msg-textarea:focus {
    border-color: var(--gray-900);
}

.zc-inv-msg-field__help {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: var(--font-weight-normal);
    line-height: 18px;
    color: var(--gray-500);
}

/* Футер */
.zc-inv-footer {
    margin: 0;
    padding-top: 14px;
    padding-bottom: 0;
}

/* Кнопка «Опубликовать» — отключённое состояние */
.zc-inv-footer .js-tender-publish:disabled {
    background: var(--gray-100);
    color: var(--gray-400);
    pointer-events: none;
}

/* Адаптив */
@media (max-width: 900px) {
    .zc-inv-send-type-card .tender-creation-radios {
        flex-direction: column;
    }
    .zc-inv-main-row {
        flex-direction: column;
    }
    .zc-inv-selected-card {
        width: 100%;
    }
}

/* Поставщик: поиск списка тендеров (layout SupplierTendersPage) */
.supplier-tenders__panel {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    padding: 24px;
    border-radius: 24px;
    background: var(--gray-50);
}

.supplier-tenders__search {
    position: relative;
    width: 100%;
    min-height: 64px;
    box-sizing: border-box;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    background: var(--white);
    cursor: pointer;
    transition: border-color 150ms ease, border-width 100ms ease;
}

.supplier-tenders__search:hover {
    border-color: var(--gray-900);
}

.supplier-tenders__search:focus-within {
    cursor: text;
}

.supplier-tenders__search:focus-within:has(.js-tenders-search:placeholder-shown) {
    border-color: var(--gray-200);
    border-width: 1px;
}

.supplier-tenders__search:hover:focus-within:has(.js-tenders-search:placeholder-shown) {
    border-color: var(--gray-900);
}

.supplier-tenders__search:focus-within:has(.js-tenders-search:not(:placeholder-shown)) {
    border-width: 1.5px;
    border-color: var(--gray-900);
}

.supplier-tenders__search-row {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 64px;
    box-sizing: border-box;
    padding: 16px;
}

.supplier-tenders__search-field {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    cursor: text;
}

.supplier-tenders__search-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--gray-900);
}

.supplier-tenders__search-icon svg {
    width: 24px;
    height: 24px;
}

.supplier-tenders__search-input {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    outline: none;
    box-shadow: none;
    background: transparent;
    font-size: 18px;
    font-weight: var(--font-weight-regular);
    line-height: 24px;
    color: var(--gray-900);
    cursor: text;
}

.supplier-tenders__search-input::placeholder {
    color: var(--gray-400);
    opacity: 1;
}

.supplier-tenders__search-input::-webkit-search-decoration,
.supplier-tenders__search-input::-webkit-search-cancel-button,
.supplier-tenders__search-input::-webkit-search-results-button,
.supplier-tenders__search-input::-webkit-search-results-decoration {
    display: none;
    -webkit-appearance: none;
    appearance: none;
}

.supplier-tenders__advanced,
.supplier-tenders__facet {
    margin: 0;
    top: 0;
    box-shadow: none;
    font-family: inherit;
    font-weight: var(--font-weight-regular);
    text-align: left;
    appearance: none;
    -webkit-appearance: none;
}

.supplier-tenders__advanced:hover,
.supplier-tenders__advanced:active,
.supplier-tenders__facet:hover,
.supplier-tenders__facet:active {
    top: 0;
    margin: 0;
    box-shadow: none;
}

.supplier-tenders__advanced {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 16px;
    font-weight: var(--font-weight-regular);
    line-height: 24px;
    color: var(--gray-400);
    cursor: pointer;
    white-space: nowrap;
}

.supplier-tenders__advanced:hover,
.supplier-tenders__advanced:active {
    color: var(--gray-400);
    background: transparent;
}

.supplier-tenders__advanced-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--gray-300);
}

.supplier-tenders__advanced-icon svg {
    width: 20px;
    height: 20px;
}

.supplier-tenders__facets {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
    max-width: 100%;
}

.supplier-tenders__facet {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 48px;
    min-width: 0;
    box-sizing: border-box;
    padding: 0 12px;
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    background: var(--white);
    color: var(--gray-400);
    font-size: 16px;
    font-weight: var(--font-weight-regular);
    line-height: 24px;
    text-align: left;
    cursor: pointer;
}

.supplier-tenders__facet:hover,
.supplier-tenders__facet:active {
    color: var(--gray-400);
    background: var(--white);
    border-color: var(--gray-200);
}

.supplier-tenders__facet--tags {
    flex: 278 1 0;
}

.supplier-tenders__facet--status {
    flex: 200 1 0;
}

.supplier-tenders__facet--deadline {
    flex: 274 1 0;
}

.supplier-tenders__facet--place {
    flex: 261 1 0;
}

.supplier-tenders__facet--price {
    flex: 219 1 0;
    border-radius: 12px;
}

.supplier-tenders__facet-label {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.supplier-tenders__facet svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--gray-900);
}

.supplier-tenders__facet--tags svg,
.supplier-tenders__facet--status svg,
.supplier-tenders__facet--deadline svg,
.supplier-tenders__facet--place svg {
    width: 14px;
    height: 8px;
}

button.supplier-tenders__reset,
button.supplier-tenders__reset:disabled:not(.outlined) {
    flex: 0 0 auto;
    height: 48px;
    margin: 0;
    padding: 0 16px;
    border: 1px solid var(--gray-200) !important;
    border-radius: 14px;
    background: var(--white) !important;
    box-shadow: none !important;
    color: var(--gray-900) !important;
    -webkit-text-fill-color: var(--gray-900) !important;
    font-family: inherit;
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    line-height: 24px;
    white-space: nowrap;
    opacity: 1 !important;
    pointer-events: auto;
}

.supplier-tenders__reset {
    cursor: pointer;
}

.supplier-tenders__reset:hover:not(:disabled),
.supplier-tenders__reset:active:not(:disabled) {
    top: 0;
    margin: 0;
    background: var(--gray-50) !important;
    border-color: var(--gray-900);
    box-shadow: none;
    color: var(--gray-900) !important;
}

.supplier-tenders__reset:disabled {
    cursor: default;
}

.supplier-tenders .buyer-tenders__body {
    gap: 18px;
}

.supplier-tenders__tabs {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
    width: fit-content;
    max-width: 100%;
    padding: 4px;
    border-radius: 14px;
    background: var(--gray-50);
}

.supplier-tenders__tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    box-sizing: border-box;
    margin: 0;
    padding: 4px 14px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    box-shadow: none;
    color: var(--gray-400);
    font-family: inherit;
    font-size: 14px;
    font-weight: var(--font-weight-regular);
    line-height: 20px;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
}

.supplier-tenders__tab.is-active {
    background: var(--white);
    box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.08);
    color: var(--gray-900);
    font-weight: var(--font-weight-semibold);
}

.supplier-tenders__tab-count {
    font-size: 12px;
    font-weight: var(--font-weight-medium);
    line-height: 20px;
    color: var(--gray-400);
}

.supplier-tenders__section-title {
    font: var(--text-font-h2);
    color: var(--gray-900);
}

.supplier-tenders .buyer-tenders__list {
    gap: 18px;
}

.supplier-tenders .supplier-tender-card {
    display: flex;
    align-items: stretch;
    gap: 24px;
    box-sizing: border-box;
    padding: 22px 24px;
    border: 1px solid var(--gray-200);
    border-radius: 24px;
    background: var(--white);
    cursor: pointer;
}

.supplier-tenders .supplier-tender-card:hover {
    border-color: var(--gray-400);
}

.supplier-tender-card__main {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.supplier-tender-card__date-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.supplier-tender-card__date {
    font-size: 14px;
    font-weight: var(--font-weight-regular);
    line-height: 20px;
    color: var(--gray-400);
}

.supplier-tender-card__status {
    flex-shrink: 0;
    padding: 4px 8px;
    border-radius: 10px;
    background: var(--gray-50);
    color: var(--gray-900);
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.42;
    white-space: nowrap;
}

.supplier-tender-card__status--success {
    background: var(--green-100);
    color: var(--success-dark);
}

.supplier-tender-card__status--warning {
    background: var(--orange-50);
    color: var(--orange-600);
}

.supplier-tender-card__status--error {
    background: var(--error-light);
    color: var(--error-base);
}

.supplier-tender-card__status--info {
    background: var(--primary-100);
    color: var(--primary-700);
}

.supplier-tender-card__info {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.supplier-tender-card__heading {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 2px;
}

.supplier-tender-card__titles {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

h3.supplier-tender-card__title {
    margin: 0;
    font: var(--text-font-h2);
    color: var(--gray-900);
}

.supplier-tender-card__number {
    font-size: 16px;
    font-weight: var(--font-weight-regular);
    line-height: 24px;
    color: var(--gray-900);
}

.supplier-tender-card__tags {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px;
}

.supplier-tender-card__req {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-sizing: border-box;
    padding: 6px 12px;
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    line-height: 24px;
    color: var(--gray-900);
    white-space: nowrap;
}

.supplier-tender-card__req svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--gray-500);
}

.supplier-tender-card__chip svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: var(--gray-300);
}

.supplier-tender-card__chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.supplier-tender-card__chip-label {
    padding: 6px 10px;
    border-radius: 10px;
    background: var(--gray-100);
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    line-height: 24px;
    color: var(--gray-900);
}

.supplier-tender-card__place {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.supplier-tender-card__place-row {
    display: flex;
    align-items: center;
    gap: 24px;
}

.supplier-tender-card__place-row--org {
    justify-content: space-between;
}

.supplier-tender-card__org {
    display: flex;
    align-items: center;
    gap: 24px;
    min-width: 0;
}

.supplier-tender-card__place-label {
    flex-shrink: 0;
    width: 89px;
    font-size: 14px;
    font-weight: var(--font-weight-light);
    line-height: 20px;
    color: var(--gray-400);
}

.supplier-tender-card__org .supplier-tender-card__place-label {
    width: auto;
}

.supplier-tender-card__place-value {
    font-size: 16px;
    font-weight: var(--font-weight-light);
    line-height: 24px;
    color: var(--gray-900);
}

.supplier-tender-card__side {
    flex: 0 0 auto;
    display: flex;
    align-items: flex-start;
    align-self: stretch;
    gap: 24px;
    box-sizing: border-box;
    padding-left: 24px;
    border-left: 1px solid var(--gray-200);
}

.supplier-tender-card__offer {
    flex: 0 0 312px;
    width: 312px;
    max-width: 312px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

button.supplier-tender-card__fav {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-200) !important;
    border-radius: 8px;
    background: var(--white) !important;
    box-shadow: none !important;
    color: var(--gray-200) !important;
    -webkit-text-fill-color: var(--gray-200);
    cursor: pointer;
}

button.supplier-tender-card__fav:hover,
button.supplier-tender-card__fav:active {
    top: 0;
    margin: 0;
    background: var(--gray-50) !important;
    border-color: var(--gray-200) !important;
    box-shadow: none !important;
    color: var(--gray-200) !important;
}

.supplier-tender-card__fav svg {
    width: 20px;
    height: 20px;
    color: var(--gray-200);
}

.supplier-tender-card__price,
.supplier-tender-card__deadline {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.supplier-tender-card__side-label {
    font-size: 16px;
    font-weight: var(--font-weight-regular);
    line-height: 24px;
    color: var(--gray-400);
}

.supplier-tender-card__price-value {
    font: var(--text-font-h1);
    color: var(--gray-900);
}

.supplier-tender-card__deadline-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.supplier-tender-card__deadline-value {
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    line-height: 24px;
    letter-spacing: 0.1px;
    color: var(--gray-900);
}

.supplier-tender-card__days {
    padding: 6px 10px;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    line-height: 24px;
    color: var(--gray-900);
    white-space: nowrap;
}

/* Ниже ширины трёхколоночного макета лотов — складываем колонки */



.buyer-tender-evaluation {
    flex-direction: column;
    gap: 16px;
    padding-top: 8px;
}

.buyer-tender-evaluation__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.buyer-tender-evaluation__titles {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    flex: 1 1 280px;
}

.buyer-tender-evaluation__title {
    margin: 0;
    font: var(--text-font-h4);
    color: var(--gray-900);
}

.buyer-tender-evaluation__hint {
    margin: 0;
}

.buyer-tender-evaluation__actions {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.buyer-tender-evaluation__actions .js-buyer-start-review[hidden] {
    display: none !important;
}

.buyer-tender-evaluation__started {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--green-50, #ecfdf3);
    color: var(--green-700, #027a48);
    font-size: 13px;
    line-height: 18px;
    font-weight: 600;
}

.buyer-tender-evaluation__started[hidden] {
    display: none !important;
}

.buyer-tender-evaluation__loading,
.buyer-tender-evaluation__error {
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 20px;
}

.buyer-tender-evaluation__loading {
    background: var(--gray-50);
    color: var(--gray-600);
}

.buyer-tender-evaluation__error {
    background: #fef3f2;
    color: #b42318;
}

.buyer-tender-evaluation__empty {
    padding: 20px;
    border: 1px dashed var(--gray-200);
    border-radius: 12px;
    background: var(--white);
}

.buyer-tender-evaluation__empty-title {
    margin: 0 0 6px;
    font-size: 15px;
    line-height: 22px;
    font-weight: 600;
    color: var(--gray-900);
}

.buyer-tender-ranking__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.buyer-tender-ranking__empty {
    padding: 16px;
    color: var(--gray-600);
    font-size: 14px;
}

.buyer-tender-ranking__card {
    margin: 0;
    padding: 14px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    background: var(--white);
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.buyer-tender-ranking__card:hover {
    border-color: var(--gray-300);
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
}

.buyer-tender-ranking__row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.buyer-tender-ranking__rank {
    flex-shrink: 0;
    min-width: 40px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--gray-50);
    color: var(--gray-900);
    font-size: 13px;
    font-weight: 700;
}

.buyer-tender-ranking__main {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.buyer-tender-ranking__name {
    margin: 0;
    font-size: 15px;
    line-height: 22px;
    font-weight: 600;
    color: var(--gray-900);
}

.buyer-tender-ranking__meta {
    margin: 0;
    font-size: 13px;
    line-height: 18px;
    color: var(--gray-500);
}

.buyer-tender-ranking__total {
    flex-shrink: 0;
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
    color: var(--gray-900);
    white-space: nowrap;
}

.buyer-tender-ranking__toggle {
    align-self: flex-start;
    margin-top: 6px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--primary, #175cd3);
    font-size: 13px;
    line-height: 18px;
    cursor: pointer;
}

.buyer-tender-ranking__items {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.buyer-tender-ranking__item {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    padding: 8px 10px;
    border-radius: 8px;
    background: var(--gray-50);
    font-size: 13px;
    line-height: 18px;
}

.buyer-tender-ranking__item-rank {
    color: var(--gray-600);
    font-weight: 600;
}

.buyer-tender-ranking__item-name {
    color: var(--gray-800);
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.buyer-tender-ranking__item-price {
    color: var(--gray-900);
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 720px) {
    .buyer-tender-ranking__row {
        flex-wrap: wrap;
    }

    .buyer-tender-ranking__total {
        width: 100%;
        padding-left: 54px;
    }
}

/* Results — сводка как OverviewV2 + таблица сравнения предложений */
.buyer-tender-results {
    flex-direction: column;
    gap: 16px;
    padding-top: 8px;
}

.buyer-tender-results__loading,
.buyer-tender-results__error {
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 20px;
}

.buyer-tender-results__loading {
    background: var(--gray-50);
    color: var(--gray-600);
}

.buyer-tender-results__error {
    background: #fef3f2;
    color: #b42318;
}

.buyer-tender-results__empty {
    padding: 20px;
    border: 1px dashed var(--gray-200);
    border-radius: 12px;
    background: var(--white);
}

.buyer-tender-results__empty-title {
    margin: 0 0 6px;
    font-size: 15px;
    line-height: 22px;
    font-weight: 600;
    color: var(--gray-900);
}

.buyer-tender-results__body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.buyer-tender-results__body[hidden],
.buyer-tender-results__method[hidden],
.buyer-tender-results__badge[hidden],
.buyer-tender-results__winner[hidden],
.buyer-tender-results__winner-total[hidden],
.buyer-tender-results__finished-wo[hidden],
.buyer-tender-results__unassigned[hidden],
.buyer-tender-results__stat[hidden],
.buyer-tender-results__summary-actions .button[hidden] {
    display: none !important;
}

/* Карточка-сводка OverviewV2: bg-card + border + radius-lg + p-5, заголовок внутри */
.buyer-tender-results__summary {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px 24px;
    padding: 20px;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    background: var(--white);
}

.buyer-tender-results__summary-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    flex: 1 1 320px;
}

.buyer-tender-results__title {
    margin: 0;
    font: var(--text-font-h4);
    color: var(--gray-900);
}

.buyer-tender-results__stats {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px 32px;
}

.buyer-tender-results__stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.buyer-tender-results__stat-label {
    font-size: 13px;
    line-height: 16px;
    font-weight: 400;
    color: var(--gray-500);
}

.buyer-tender-results__stat-value {
    font-size: 15px;
    line-height: 20px;
    font-weight: 600;
    color: var(--gray-900);
}

.buyer-tender-results__unassigned {
    margin: 0;
    font-size: 13px;
    line-height: 18px;
    color: var(--orange-800, #d9741a);
}

.buyer-tender-results__badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 4px 10px;
    border-radius: 999px;
    border: none;
    background: var(--gray-100);
    color: var(--gray-700);
    font-size: 13px;
    line-height: 18px;
    font-weight: 600;
}

/* DsBadge warning — «ещё не выбраны» / в процессе */
.buyer-tender-results__badge.is-draft {
    background: var(--orange-50, #fff9ef);
    color: var(--orange-800, #d9741a);
}

/* DsBadge success — выбран / завершён */
.buyer-tender-results__badge.is-done {
    background: var(--green-50, #ecfdf3);
    color: var(--green-700, #027a48);
}

.buyer-tender-results__winner,
.buyer-tender-results__finished-wo {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 12px;
    border-top: 1px solid var(--gray-200);
}

.buyer-tender-results__winner-total {
    font-size: 13px;
    line-height: 18px;
    color: var(--gray-600);
}

.buyer-tender-results__summary-actions {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

.buyer-tender-results__summary-actions .button {
    min-height: 40px;
}

.buyer-tender-results__summary-actions .button:disabled,
.buyer-tender-results__summary-actions .button[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
}

/* Метод выбора: подпись + segmented-контрол */
.buyer-tender-results__method {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
}

.buyer-tender-results__method-label {
    margin: 0;
    font-size: 13px;
    line-height: 18px;
    font-weight: 400;
    color: var(--gray-500);
}

/* DsTabs type=segmented: Gray/50 track, radius 14, white selected + soft shadow */
.buyer-tender-results__mode {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 4px;
    border-radius: 14px;
    background: var(--gray-50);
    width: fit-content;
    max-width: 100%;
}

.buyer-tender-results__mode-btn {
    appearance: none;
    border: 0;
    margin: 0;
    padding: 8px 14px;
    border-radius: 10px;
    background: transparent;
    color: var(--gray-500);
    font-family: inherit;
    font-size: 13px;
    line-height: 18px;
    font-weight: 400;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.buyer-tender-results__mode-btn:hover {
    color: var(--gray-800);
}

.buyer-tender-results__mode-btn.is-active {
    background: var(--white);
    color: var(--gray-900);
    font-weight: 600;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.08);
}

.buyer-tender-results__mode-btn:focus-visible {
    outline: 2px solid var(--gray-900);
    outline-offset: 2px;
}

/* Таблица «поставщики × позиции»: горизонтальный скролл, залипающая первая колонка */
.buyer-results-table {
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    background: var(--white);
    overflow: hidden;
}

.buyer-results-table__empty {
    margin: 0;
    padding: 20px;
    color: var(--gray-600);
    font-size: 14px;
    line-height: 20px;
}

.buyer-results-table__scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.buyer-results-table__table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: auto;
}

.buyer-results-table__corner,
.buyer-results-table__position {
    position: sticky;
    left: 0;
    z-index: 2;
    background: var(--white);
    text-align: left;
    vertical-align: top;
    min-width: 200px;
    max-width: 280px;
    padding: 14px 16px;
    border-right: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-100);
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    color: var(--gray-900);
}

.buyer-results-table__corner {
    z-index: 3;
    background: var(--gray-50);
    font-size: 13px;
    line-height: 16px;
    font-weight: 400;
    color: var(--gray-500);
    border-bottom: 1px solid var(--gray-200);
}

.buyer-results-table__supplier {
    min-width: 200px;
    padding: 14px 16px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    border-left: 1px solid var(--gray-100);
    text-align: left;
    vertical-align: top;
}

.buyer-results-table__supplier.is-winner {
    background: var(--green-50, #ecfdf3);
    box-shadow: inset 0 3px 0 var(--green-600, #039855);
}

.buyer-results-table__supplier-name,
.buyer-results-table__supplier-total,
.buyer-results-table__winner-badge {
    display: block;
}

.buyer-results-table__supplier-name {
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    color: var(--gray-900);
}

.buyer-results-table__supplier-total {
    margin-top: 2px;
    font-size: 13px;
    line-height: 18px;
    color: var(--gray-600);
}

.buyer-results-table__supplier .button {
    margin-top: 10px;
    min-height: 32px;
    padding: 6px 12px;
    font-size: 13px;
    line-height: 18px;
    white-space: nowrap;
}

.buyer-results-table__winner-badge {
    width: fit-content;
    margin-top: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--white);
    border: 1px solid var(--green-200, #a6f4c5);
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
    color: var(--green-700, #027a48);
}

.buyer-results-table__cell {
    min-width: 160px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--gray-100);
    border-left: 1px solid var(--gray-100);
    vertical-align: top;
    font-size: 14px;
    line-height: 20px;
    color: var(--gray-900);
}

.buyer-results-table__table tbody tr:last-child .buyer-results-table__cell,
.buyer-results-table__table tbody tr:last-child .buyer-results-table__position {
    border-bottom: 0;
}

.buyer-results-table__price {
    display: block;
    font-weight: 600;
}

.buyer-results-table__line-total {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    line-height: 18px;
    color: var(--gray-500);
}

.buyer-results-table__empty-cell {
    color: var(--gray-400);
}

.buyer-results-table__cell.is-selectable {
    cursor: pointer;
    transition: background 0.15s ease, box-shadow 0.15s ease;
}

.buyer-results-table__cell.is-selectable:hover {
    background: var(--gray-50);
}

.buyer-results-table__cell.is-selectable:focus-visible {
    outline: 2px solid var(--gray-900);
    outline-offset: -2px;
}

/* Выбранная ячейка / колонка победителя — мягкий success-тинт без «зелёной лужи» */
.buyer-results-table__cell.is-selected {
    background: var(--green-50, #ecfdf3);
    box-shadow: inset 3px 0 0 var(--green-600, #039855);
}

.buyer-results-table__cell.is-winner {
    background: var(--green-50, #ecfdf3);
}

/* Диалоги завершения выбора */
.buyer-winner-dialog {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.buyer-winner-dialog__text,
.buyer-winner-dialog__warning {
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    color: var(--gray-700);
}

.buyer-winner-dialog__warning {
    padding: 12px 14px;
    border-radius: 10px;
    background: var(--orange-50, #fff9ef);
    color: var(--orange-800, #d9741a);
}

.buyer-winner-dialog__summary {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    background: var(--gray-50);
}

.buyer-winner-dialog__row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
}

.buyer-winner-dialog__row--stacked {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
}

.buyer-winner-dialog__label {
    font-size: 13px;
    line-height: 18px;
    color: var(--gray-500);
}

.buyer-winner-dialog__value {
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    color: var(--gray-900);
    text-align: right;
}

.buyer-winner-dialog__items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.buyer-winner-dialog__item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    font-size: 13px;
    line-height: 18px;
}

.buyer-winner-dialog__item-name {
    color: var(--gray-600);
}

.buyer-winner-dialog__item-value {
    font-weight: 600;
    color: var(--gray-900);
    text-align: right;
}

.buyer-winner-dialog__input {
    width: 100%;
    min-height: 88px;
    resize: vertical;
    box-sizing: border-box;
}

.buyer-winner-dialog__error {
    margin: 0;
    font-size: 13px;
    line-height: 18px;
    color: #b42318;
}

.buyer-winner-dialog__footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
}

.swal2-popup.modal:has(.buyer-winner-dialog) .swal2-actions {
    display: none;
}

@media (max-width: 720px) {
    .buyer-tender-results__summary {
        padding: 16px;
    }

    .buyer-tender-results__summary-actions {
        width: 100%;
        justify-content: stretch;
    }

    .buyer-tender-results__summary-actions .button {
        flex: 1 1 auto;
    }

    .buyer-tender-results__method {
        flex-direction: column;
        align-items: flex-start;
    }

    .buyer-tender-results__mode {
        width: 100%;
    }

    .buyer-tender-results__mode-btn {
        flex: 1 1 auto;
        text-align: center;
    }

    .buyer-results-table__corner,
    .buyer-results-table__position {
        min-width: 140px;
        max-width: 160px;
        padding: 12px;
    }

    .buyer-results-table__supplier,
    .buyer-results-table__cell {
        min-width: 150px;
        padding: 12px;
    }

    .buyer-winner-dialog__footer {
        flex-direction: column-reverse;
    }
}

.cabinet-content {
    min-width: 0;
}

.cabinet-container.tender-create {
    display: flex;
    flex-direction: column;
    min-width: 0;
    max-width: 1464px;
    box-sizing: border-box;
    container: tender-wizard / inline-size;
}

.cabinet-container.tender-create.is-wide {
    max-width: 1464px;
}

.tender-create .creation-container,
.tender-create .js-tender-step-panel {
    min-width: 0;
}

.tender-create .tender-creation-upper {
    flex-wrap: wrap;
}

.tender-create .creation-title {
    min-width: 0;
    overflow-wrap: anywhere;
}

.tender-create .tender-creation-upper-buttons {
    flex-wrap: wrap;
    max-width: 100%;
}

@container tender-wizard (max-width: 1400px) {
    .zc-step-lots .zc-lots-body {
        flex-wrap: wrap;
    }

    .zc-step-lots .zc-lots-col--list {
        width: clamp(200px, 24%, 280px);
    }

    .zc-step-lots .zc-lots-col--editor {
        flex: 1 1 0;
    }

    .zc-step-lots .zc-lots-col--budget {
        width: 100%;
        position: static;
    }
}

@container tender-wizard (max-width: 900px) {
    .zc-step-lots .zc-lots-col--list,
    .zc-step-lots .zc-lots-col--editor {
        width: 100%;
        flex: 1 1 100%;
    }

    .zc-step-invitation .zc-inv-main-row {
        flex-direction: column;
        align-items: stretch;
    }

    .zc-step-invitation .zc-inv-selected-card {
        width: 100%;
        box-sizing: border-box;
    }
}

@container tender-wizard (max-width: 720px) {
    .creation-steps {
        overflow-x: auto;
        align-items: stretch;
    }

    .creation-steps .creation-step {
        flex: 0 0 160px;
    }

    .zc-lots-card__title-row {
        flex-wrap: wrap;
    }
}

.tender-create .zc-step-lots,
.tender-create .zc-lots-edit,
.tender-create .zc-lots-preview,
.tender-create .zc-lots-body > * {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.tender-create .zc-lots-card__title-row,
.tender-create .zc-lots-preview__title-row,
.tender-create .zc-lots-footer,
.tender-create .zc-lots-preview-footer,
.tender-create .zc-lots-footer .manage-buttons-right,
.tender-create .zc-lots-preview-footer .manage-buttons-right {
    flex-wrap: wrap;
}

.tender-create .zc-lots-combo {
    min-width: 0;
    max-width: 100%;
}

.tender-create .zc-lots-combo__main {
    min-width: 0;
    white-space: normal;
    text-align: left;
}

@container tender-wizard (max-width: 720px) {
    .zc-step-lots .zc-lots-body {
        padding: 16px;
        min-height: 0;
    }

    .zc-step-lots .zc-lots-card__title-row,
    .zc-step-lots .zc-lots-footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .zc-step-lots .zc-lots-footer .manage-buttons-right,
    .zc-step-lots .zc-lots-preview-footer .manage-buttons-right {
        width: 100%;
    }

    .zc-step-lots .zc-lots-footer .manage-buttons-right > .button,
    .zc-step-lots .zc-lots-preview-footer .manage-buttons-right > .button {
        flex: 1 1 180px;
        width: auto;
        white-space: normal;
    }
}

.zc-inv-suppliers-card .zc-inv-list {
    min-width: 0;
    overflow-x: hidden;
}

.zc-inv-suppliers-card .zc-inv-list__item {
    appearance: none;
    box-sizing: border-box;
    margin: 0;
    min-height: 0;
    height: auto;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    text-shadow: none;
    font: inherit;
    white-space: normal;
    color: var(--gray-900);
}

.zc-inv-suppliers-card .zc-inv-list__item:hover,
.zc-inv-suppliers-card .zc-inv-list__item:active {
    top: 0;
    background: transparent;
    box-shadow: none;
    color: var(--gray-900);
}

.zc-inv-suppliers-card .zc-inv-list__name {
    min-width: 0;
    overflow-wrap: anywhere;
}

.zc-inv-suppliers-card .zc-inv-search__input {
    width: 0;
    min-height: 0;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.zc-inv-suppliers-card .zc-inv-upload-btn,
.zc-inv-suppliers-card .zc-inv-upload-chevron {
    margin: 0;
    min-height: 0;
    height: auto;
    box-shadow: none;
    text-shadow: none;
}

.zc-inv-suppliers-card .zc-inv-upload-btn:hover,
.zc-inv-suppliers-card .zc-inv-upload-chevron:hover {
    top: 0;
    box-shadow: none;
}

@container tender-wizard (max-width: 720px) {
    .zc-inv-suppliers__head {
        flex-wrap: wrap;
    }
}

.tender-create .creation-container--body {
    max-width: 1044px;
}

.tender-create .creation-container--body.is-wide {
    max-width: 1464px;
}

.tender-create .creation-container--header {
    width: 100%;
    min-width: 0;
}

.tender-create .creation-steps {
    min-height: 40px;
    align-items: stretch;
}

.tender-create .creation-step::before,
.tender-create .creation-step.next::before {
    border-style: solid;
    border-color: var(--gray-300);
}

.tender-create .creation-step.is-current {
    font-weight: var(--font-weight-semibold);
}

.tender-create .creation-step.is-current::after {
    background: var(--success-dark);
}



.tender-create .creation-step.completed::before {
    border-color: var(--success-dark);
}

.tender-create .js-step-validation-banner {
    margin-top: -12px;
    margin-bottom: 16px;
}

.cabinet-container.tender-create .creation-step.is-invalid::before,
.cabinet-container.tender-create .creation-step.is-invalid.completed::before {
    -webkit-mask: none;
    mask: none;
    background: transparent;
    border: 1px solid var(--error-base, #d92d20);
}

.cabinet-container.tender-create .creation-container .tender-form-card {
    box-sizing: border-box;
    min-width: 0;
    padding: 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--input-radius-otp);
    background: var(--white);
}

.cabinet-container.tender-create .creation-container .tender-form-card--sectioned {
    padding: 0;
}

.tender-create .tender-form-card__head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.cabinet-container.tender-create .tender-form-card .tender-form-card__title {
    margin: 0;
    padding: 0;
    font: var(--text-font-h4);
    color: var(--gray-900);
}

.cabinet-container.tender-create .tender-form-card .tender-form-card__hint {
    margin: 0;
    font: var(--text-font-p3);
    font-weight: var(--font-weight-normal);
    color: var(--gray-500);
}

.tender-create .tender-form-card .zc-lots-card__title-row {
    padding-left: 16px;
    padding-right: 16px;
}

.tender-create .tender-form-card .zc-inv-suppliers-inner {
    padding-top: 16px;
    padding-bottom: 16px;
}

.tender-create .zc-basic-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tender-create .zc-basic-card:first-child {
    gap: 24px;
}

.tender-create .zc-basic-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tender-create .zc-basic-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.tender-create .zc-basic-field .input-title,
.tender-create .zc-basic-field .tenders-search.notification {
    margin: 0;
}

.tender-create .zc-basic-field .creation-card-results-tags:empty {
    display: none;
}

.tender-create .zc-prequal-search {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 480px;
    box-sizing: border-box;
}

.tender-create .zc-prequal-search .input {
    flex: 1;
    min-width: 0;
    max-width: none;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.tender-create .zc-prequal-search > svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.tender-create .js-approval-period-fields {
    gap: 12px;
    min-width: 0;
}

.tender-create .js-approval-period-fields .date-picker {
    min-width: 0;
    box-sizing: border-box;
}

@container tender-wizard (max-width: 600px) {
    .zc-step-privacy .zc-procedure-radios,
    .zc-step-privacy .js-approval-period-fields.visible {
        flex-direction: column;
    }

    .zc-step-privacy .js-approval-period-fields .date-picker {
        width: 100%;
    }
}

.tender-create .zc-step-privacy .js-past-prequal-wrap {
    padding: 12px;
    border-radius: var(--input-radius-sm);
    background: var(--gray-50);
    box-sizing: border-box;
}

.tender-create .zc-step-privacy .js-past-prequal-block.visible {
    margin-top: 16px;
    gap: 8px;
}

.tender-create .zc-step-privacy .zc-prequal-search {
    max-width: 544px;
}

.tender-create .zc-step-privacy .zc-invites-inner {
    gap: 16px;
}

.tender-create .zc-step-privacy .zc-invites-field {
    max-width: none;
}

.tender-create .zc-step-privacy .zc-invites-field .select2-container {
    max-width: 500px;
}

.cabinet-container.tender-create .zc-step-params .zc-check-row__copy--tight > .tender-form-card__hint {
    font: var(--text-font-p4);
    font-weight: var(--font-weight-normal);
    line-height: 16px;
}

.tender-create .zc-step-params .zc-renewal-inner,
.tender-create .zc-step-params .zc-renewal-inner.visible {
    max-width: 530px;
}

.tender-create .zc-step-params .zc-renewal-select {
    min-width: 0;
}

.tender-create .zc-step-params .zc-min-step-radios .zc-check-row__main {
    align-items: center;
    gap: 8px;
}

.tender-create .zc-step-params .zc-min-step-value .increment-button {
    appearance: none;
    margin: 0;
    min-height: 0;
    height: auto;
    border: 0;
    line-height: 16px;
    background: transparent;
    box-shadow: none;
    text-shadow: none;
}

.tender-create .zc-step-params .zc-min-step-value .increment-button.active {
    background: var(--white);
    color: var(--gray-900);
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.08);
}

.tender-create .zc-step-params .zc-min-step-value .increment-button:hover {
    top: 0;
    color: var(--gray-900);
}

.tender-create .zc-step-params .zc-min-step-value .input-box {
    width: 160px;
    max-width: 100%;
    box-sizing: border-box;
}

.tender-create .zc-step-params .zc-min-step-value .input-box input {
    flex: 1;
    width: 0;
    min-width: 0;
}

.tender-create .zc-step-params .zc-min-step-value .input-box svg,
.tender-create .zc-step-params .zc-min-step-value .input-suffix {
    flex-shrink: 0;
}

.tender-create .zc-step-params .zc-vat-radios,
.tender-create .zc-step-params .zc-date-item__fields {
    flex-wrap: wrap;
}

.tender-create .zc-step-params .zc-date-field {
    min-width: 0;
}

.tender-create .zc-step-params .zc-date-field .date-picker {
    box-sizing: border-box;
    min-width: 0;
}

@container tender-wizard (max-width: 600px) {
    .zc-step-params .zc-date-field {
        width: 100%;
    }

    .zc-step-params .zc-renewal-inner,
    .zc-step-params .zc-min-step-radios {
        padding-left: 0;
    }
}

.tender-create .tender-form-section__title {
    margin: 0;
    font: var(--text-font-p2);
    font-weight: var(--font-weight-normal);
    color: var(--gray-900);
}

.tender-create .tender-form-field__label {
    margin: 0;
    font: var(--text-font-p3);
    font-weight: var(--font-weight-normal);
    color: var(--gray-500);
}

.tender-create .tender-form-field__help {
    margin: 0;
    font: var(--text-font-p4);
    font-weight: var(--font-weight-normal);
    color: var(--gray-500);
}

.tender-create .zc-step-params .zc-date-field {
    gap: 8px;
}

.tender-create .zc-step-params .zc-date-item__titles {
    gap: 4px;
}

.tender-create .zc-step-params .zc-date-field .date-picker input {
    min-width: 0;
    font: var(--text-font-p2);
    font-weight: var(--font-weight-normal);
}

.tender-create .zc-step-params .zc-add-info-field {
    gap: 8px;
    min-width: 0;
}

.tender-create .zc-add-info-field .input-box {
    box-sizing: border-box;
    min-width: 0;
}

.tender-create .zc-add-info-field .input-box input {
    flex: 1;
    min-width: 0;
    width: 0;
    font: var(--text-font-p2);
    font-weight: var(--font-weight-normal);
}

.tender-create .button.tender-form-add-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: fit-content;
    max-width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 8px 12px;
    border: 1px solid var(--gray-200);
    border-radius: var(--button-radius-sm);
    box-shadow: none;
    background: var(--white);
    color: var(--gray-900);
    font: var(--text-font-l2);
    white-space: normal;
    text-align: left;
}

.tender-create .button.tender-form-add-button:hover {
    top: 0;
    background: var(--gray-50);
    color: var(--gray-900);
    box-shadow: none;
}

.tender-create .button.tender-form-add-button svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.tender-create .add-info-extra-list:empty,
.tender-create .npc-criteria-list:empty {
    display: none;
}

.tender-create .zc-add-info-field .add-info-extra-row {
    min-width: 0;
    max-width: 100%;
}

.tender-create .zc-step-payment .zc-payment-body,
.tender-create .zc-step-payment .zc-payment-group,
.tender-create .zc-step-payment .zc-payment-field {
    min-width: 0;
}

.tender-create .zc-step-payment .zc-payment-label {
    font: var(--text-font-p3);
    font-weight: var(--font-weight-normal);
}

.tender-create .zc-step-payment .zc-textarea {
    border-radius: var(--input-radius-md);
}

.tender-create .zc-step-payment .zc-textarea:focus-within {
    border-width: 1px;
    box-shadow: inset 0 0 0 0.5px var(--gray-900);
}

.tender-create .zc-step-payment .zc-textarea textarea {
    font: var(--text-font-p2);
    font-weight: var(--font-weight-normal);
}

.tender-create .zc-step-payment .zc-textarea__counter {
    font: var(--text-font-p4);
    font-weight: var(--font-weight-normal);
}

.tender-create .zc-step-payment .button.tender-form-add-button span {
    font: inherit;
    color: inherit;
}

.tender-create .zc-step-payment .zc-payment-field .select2-container .select2-selection {
    --slct-radius: var(--select-radius-md);
    border-radius: var(--select-radius-md) !important;
    font: var(--text-font-p2);
    font-weight: var(--font-weight-normal);
}

.tender-create .zc-step-payment .zc-consent-text {
    font: var(--text-font-p3);
    font-weight: var(--font-weight-normal);
}

@container tender-wizard (max-width: 600px) {
    .zc-step-payment .zc-payment-actions > .tender-form-add-button {
        width: 100%;
        justify-content: flex-start;
    }
}

.tender-create .zc-lots-preview__title {
    margin: 0;
    font: var(--text-font-h4);
}

.tender-create .zc-lots-preview__hint {
    margin: 0;
    font: var(--text-font-p3);
    font-weight: var(--font-weight-normal);
}

.tender-create .zc-lots-preview__section-title {
    font: var(--text-font-l1);
}

.tender-create .zc-lots-preview__badge {
    font: var(--text-font-p4);
    font-weight: var(--font-weight-medium);
}

.tender-create .zc-lots-preview-table-wrap {
    box-sizing: border-box;
    min-width: 0;
    border-radius: var(--input-radius-sm);
}

.tender-create .zc-lots-preview-edit-btn {
    margin: 0;
    padding: 0;
    min-height: 0;
    box-shadow: none;
    border-radius: var(--button-radius-sm);
}

.tender-create .zc-lots-preview-edit-btn:hover {
    top: 0;
    box-shadow: none;
}

.tender-create .zc-lots-preview-footer {
    background: var(--white);
}

.supplier-application__header,
.supplier-application__heading {
    display: flex;
    align-items: center;
    gap: 24px;
}

.supplier-application__header {
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.supplier-application__heading {
    flex: 1;
    min-width: 0;
}

.supplier-application__heading h1 {
    margin: 0;
    font: var(--text-font-h3);
    font-weight: var(--font-weight-medium);
    color: var(--gray-900);
}

.supplier-application__body {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding-top: 24px;
}

.supplier-application__content {
    flex: 1;
    min-width: 0;
    padding-right: 24px;
    border-right: 1px solid var(--gray-200);
}

.supplier-application__section + .supplier-application__section {
    margin-top: 40px;
}

.supplier-application__aside h2 {
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-200);
    color: var(--gray-900);
    font: var(--text-font-h4);
}

.supplier-application__copy-value {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.supplier-application__copy-value + .supplier-application__copy-value {
    margin-top: 8px;
}

.supplier-application__copy-value > span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.supplier-application .supplier-application__copy {
    --btn-padding-px: 0;
    --btn-padding-py: 0;
    --btn-height: 20px;
    --btn-radius: 0;
    --btn-text-color: var(--gray-300);
    flex: 0 0 20px;
    width: 20px;
    align-self: flex-start;
    margin-top: 2px;
    box-sizing: border-box;
}

.supplier-application .supplier-application__copy:hover {
    --btn-text-color: var(--gray-700);
}

.supplier-application .supplier-application__copy.is-copied {
    --btn-text-color: var(--success-dark);
}

.supplier-application__copy svg {
    flex: none;
    width: 20px;
    height: 20px;
}

.supplier-application__fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
}

.supplier-application__fields dt {
    margin-bottom: 8px;
}

.supplier-application__fields dd {
    margin: 0;
    overflow-wrap: anywhere;
}

.supplier-application__aside {
    flex: 0 0 304px;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--gray-200) 60%, var(--white));
    border-radius: var(--button-radius-md);
    background: var(--white);
}

.supplier-application__aside h2 {
    display: flex;
    align-items: center;
    min-height: 48px;
    box-sizing: border-box;
    margin: 0;
    padding: 12px 16px;
    border-bottom-color: color-mix(in srgb, var(--gray-200) 60%, var(--white));
    font: var(--text-font-p2);
    font-weight: var(--font-weight-medium);
}

.supplier-application__aside-content {
    padding: 16px;
}

.supplier-application__aside .supplier-application__fields {
    gap: 24px;
}

.supplier-application__aside dt {
    margin-bottom: 4px;
    color: var(--gray-500);
    font: var(--text-font-p3);
    font-weight: var(--font-weight-regular);
}

.supplier-application__aside dd {
    color: var(--gray-900);
    font: var(--text-font-p2);
    font-weight: var(--font-weight-regular);
}

.supplier-application__aside .supplier-tender-card__status {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    box-sizing: border-box;
    padding: 6px 10px;
    border-radius: var(--badge-radius-xl);
    font: var(--text-font-p3);
    font-weight: var(--font-weight-medium);
    white-space: normal;
}

.supplier-application__actions {
    display: flex;
    flex-direction: column;
    gap: 24px;
    border-top: 1px solid var(--gray-200);
    margin-top: 16px;
    padding-top: 12px;
}

.supplier-application__edit {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.supplier-application__actions .button {
    width: 100%;
}

.supplier-application__hint {
    margin: 0;
    font: var(--text-font-p4);
    font-weight: var(--font-weight-regular);
    color: var(--gray-500);
}

.supplier-application__error {
    margin: 0;
    color: var(--error-base);
    font: var(--text-font-p3);
}

@media (max-width: 900px) {
    .supplier-application__body {
        flex-direction: column;
    }

    .supplier-application__content {
        width: 100%;
        padding-right: 0;
        border-right: 0;
    }

    .supplier-application__aside {
        width: 100%;
        flex-basis: auto;
    }
}

.supplier-application-positions__table-wrap {
    overflow-x: auto;
    border: 1px solid var(--gray-200);
    border-radius: var(--button-radius-md);
}

.supplier-application .supplier-application-positions__table {
    width: 100%;
    min-width: 760px;
    margin: 0;
    border-collapse: collapse;
    font: var(--text-font-p2);
    font-weight: var(--font-weight-regular);
    color: var(--gray-900);
}

.supplier-application-positions__table caption {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}

.supplier-application .supplier-application-positions__table th,
.supplier-application .supplier-application-positions__table td {
    padding: 10px 12px;
    border: 0;
    border-bottom: 1px solid var(--gray-100);
    background: var(--white);
    font: inherit;
    text-align: left;
    vertical-align: middle;
}

.supplier-application .supplier-application-positions__table th {
    border-bottom-color: var(--gray-200);
    color: var(--gray-500);
    font: var(--text-font-p3);
    font-weight: var(--font-weight-medium);
}

.supplier-application .supplier-application-positions__table tbody tr:last-child td {
    border-bottom: 0;
}

.supplier-application-positions__table td:nth-child(2) {
    min-width: 160px;
    overflow-wrap: anywhere;
}

.supplier-application-positions__table td:nth-child(4),
.supplier-application-positions__table td:nth-child(6),
.supplier-application-positions__table td:nth-child(7) {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.supplier-application-positions__totals {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 12px;
    padding: 16px;
    border-radius: var(--button-radius-md);
    background: var(--gray-50);
    font: var(--text-font-p2);
    font-weight: var(--font-weight-regular);
    color: var(--gray-900);
}

.supplier-application-positions__totals h2 {
    margin: 0;
    font: var(--text-font-h3);
    font-weight: var(--font-weight-medium);
}

.supplier-application-positions__totals dl {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-self: flex-start;
    min-width: 220px;
    max-width: 100%;
    margin: 0;
}

.supplier-application-positions__totals dl > div {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.supplier-application-positions__totals dt {
    color: var(--gray-500);
}

.supplier-application-positions__totals dd {
    margin: 0;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.supplier-application-positions__totals .supplier-application-positions__gross {
    border-top: 1px solid var(--gray-200);
    padding-top: 12px;
    margin-top: 4px;
}

.supplier-application-positions__gross dt {
    color: var(--gray-900);
}

.supplier-application-positions__gross dd {
    font-weight: var(--font-weight-semibold);
}

.supplier-application-positions__empty {
    margin: 0;
    color: var(--gray-500);
    font: var(--text-font-p2);
    font-weight: var(--font-weight-regular);
}

.supplier-application__list-item + .supplier-application__list-item {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
}

.supplier-application__list-item h3,
.supplier-application__list-item p {
    margin-top: 0;
}

.supplier-application__list-item p:last-child {
    margin-bottom: 0;
}

.supplier-application__list-item a {
    color: var(--primary-600);
    text-decoration: underline;
}
