/* vacancies.css — public vacancies catalog */

.vac-main {
    padding: 16px 0 48px;
}

.vac-wrap {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 16px;
}

.vac-hero {
    margin-bottom: 24px;
    text-align: center;
}

.vac-hero__intro {
    max-width: 640px;
    margin: 0 auto;
}

.vac-hero__lead {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
}

.vac-hero__hint {
    margin: 10px 0 0;
    font-size: 14px;
    line-height: 1.55;
}

.vac-hero h1 {
    margin: 0 0 8px;
    font-size: clamp(22px, 5vw, 28px);
    font-weight: 700;
    color: var(--lg-blue);
    line-height: 1.25;
}

.vac-parent-note {
    margin: 12px 0 0;
    padding: 10px 14px;
    border-radius: 10px;
    background: #fef3c7;
    color: #92400e;
    font-size: 14px;
}

.vac-filters {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

@media (min-width: 640px) {
    .vac-filters {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .vac-filters {
        grid-template-columns: repeat(3, 1fr);
    }

    .vac-filters--pool {
        grid-template-columns: repeat(2, 1fr);
        max-width: 520px;
    }
}

.vac-main-tabs {
    display: flex;
    gap: 8px;
    margin: 0 auto 20px;
    flex-wrap: wrap;
}

.vac-main-tabs--center {
    justify-content: center;
}

.vac-main-tabs__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 16px;
    border: 1px solid var(--lg-border);
    border-radius: 999px;
    background: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    color: var(--lg-muted);
}

.vac-main-tabs__btn.is-active {
    border-color: var(--lg-blue);
    background: var(--lg-blue);
    color: #fff;
    box-shadow: 0 2px 8px rgba(15, 45, 82, .12);
}

.vac-seo-block {
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
}

.vac-seo-block__title {
    margin: 0 0 8px;
    font-size: 15px;
    color: var(--lg-blue);
}

.vac-pane[hidden] { display: none; }

.vac-hero__intro[hidden] { display: none; }

.vac-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.vac-card__publisher-link {
    color: var(--lg-blue);
    text-decoration: none;
    font-weight: 600;
}

.vac-card__date {
    margin: 6px 0 0;
    font-size: 12px;
    color: var(--lg-muted);
}

.vac-pool-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
}

.vac-pool-badge--open { background: #d1fae5; color: #047857; }
.vac-pool-badge--seeking { background: #e0f2fe; color: #0369a1; }

.vac-pool-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    padding: 0 16px 16px;
}

.vac-pool-card {
    padding: 0;
    overflow: hidden;
}

.vac-pool-card:not(.vac-pool-card--ready) {
    padding: 16px;
}

.vac-pool-card:not(.vac-pool-card--ready) .vac-pool-card__actions {
    padding: 0;
    margin-top: 12px;
}

.vac-pool-card--ready {
    cursor: pointer;
}

.vac-pool-card--ready .vac-card__btn {
    padding-bottom: 8px;
}

.vac-filter {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    color: var(--lg-muted);
}

.vac-filter input,
.vac-filter select {
    width: 100%;
    box-sizing: border-box;
    min-height: 44px;
    padding: 11px 12px;
    border: 1px solid var(--lg-border);
    border-radius: 10px;
    font: inherit;
    font-size: 16px;
    color: var(--lg-text);
    background: var(--lg-bg, #fff);
}

.vac-filter input:focus,
.vac-filter select:focus {
    outline: none;
    border-color: rgba(5, 150, 105, .45);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, .12);
}

.vac-list {
    display: grid;
    gap: 12px;
}

.vac-empty {
    text-align: center;
    padding: 32px 16px;
}

.vac-card {
    border: 1px solid var(--lg-border);
    border-radius: 14px;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
}

.vac-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 16px rgba(15, 45, 82, .06);
}

.vac-card__btn {
    display: block;
    width: 100%;
    padding: 16px;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    font: inherit;
    color: inherit;
}

.vac-card__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.vac-card__title {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    color: var(--lg-blue);
    line-height: 1.3;
    flex: 1 1 200px;
}

.vac-card__salary {
    font-size: 14px;
    font-weight: 600;
    color: var(--lg-emerald);
    white-space: nowrap;
}

.vac-card__publisher {
    margin: 0 0 6px;
    font-size: 14px;
    color: var(--lg-text);
}

.vac-card__rating {
    margin-left: 8px;
    color: #d97706;
    font-size: 13px;
}

.vac-card__tags,
.vac-card__city {
    margin: 4px 0 0;
    font-size: 13px;
    color: var(--lg-muted);
}

.vac-modal .lg-spec-modal__foot {
    padding: 12px 16px 16px;
    border-top: 1px solid var(--lg-border);
}

/* Fallback: модалки вакансий должны быть fixed-overlay даже если lg-specialties.css не подгрузился */
.vac-modal.lg-spec-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    box-sizing: border-box;
    overflow: hidden;
    overscroll-behavior: contain;
}

.vac-modal.lg-spec-modal[hidden] {
    display: none !important;
}

.vac-modal .lg-spec-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 45, 82, .45);
}

.vac-modal .lg-spec-modal__panel {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(520px, 100%);
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    max-height: min(90dvh, 720px);
    overflow: hidden;
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--lg-border);
    box-shadow: 0 18px 48px rgba(15, 45, 82, .16);
}

.vac-modal .lg-spec-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--lg-border);
    flex-shrink: 0;
    background: #fff;
}

.vac-modal .lg-spec-modal__head h3 {
    margin: 0;
    font-size: 17px;
    color: var(--lg-blue);
}

.vac-modal .lg-spec-modal__close {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--lg-muted);
    cursor: pointer;
    font-family: inherit;
}

.vac-modal .lg-spec-modal__body {
    flex: 1;
    min-height: 0;
    min-width: 0;
    padding: 14px 16px;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.vac-detail__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
}

.vac-detail__chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 10px;
    background: var(--lg-bg-alt, #eef2f7);
    color: var(--lg-blue);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

.vac-detail__chip i {
    color: var(--lg-emerald);
    font-size: 12px;
    width: 1em;
    text-align: center;
}

.vac-detail__block {
    margin: 0 0 16px;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid var(--lg-border);
    background: #fff;
}

.vac-detail__block-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: var(--lg-muted);
}

.vac-detail__block-title i {
    color: var(--lg-emerald);
}

.vac-detail__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.vac-detail__tag {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(5, 150, 105, .1);
    color: var(--lg-emerald);
    font-size: 13px;
    font-weight: 600;
}

.vac-detail__desc {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    white-space: pre-wrap;
    color: var(--lg-blue);
}

.vac-detail__portfolio {
    margin: 0;
    padding-left: 1.2em;
    line-height: 1.6;
}

.vac-detail__portfolio a {
    color: var(--lg-emerald);
}

.vac-detail__publisher {
    padding: 14px;
    border-radius: 14px;
    background: var(--lg-bg-alt, #eef2f7);
    margin-bottom: 16px;
    border: 1px solid transparent;
}

.vac-detail__publisher a {
    color: var(--lg-blue);
    font-weight: 700;
    text-decoration: none;
    font-size: 15px;
}

.vac-detail__publisher a:hover {
    color: var(--lg-emerald);
}

.vac-detail__publisher-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.vac-detail__publisher-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.vac-detail__type {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: #e0f2fe;
    color: #0369a1;
    margin-bottom: 12px;
}

.vac-detail__type--offer {
    background: rgba(5, 150, 105, .12);
    color: var(--lg-emerald);
}

.vac-detail__type--seeking {
    background: #e0f2fe;
    color: #0369a1;
}

.vac-apply-template-wrap {
    margin-bottom: 12px;
}

.vac-apply-template-wrap select {
    width: 100%;
    box-sizing: border-box;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--lg-border);
    border-radius: 10px;
    background: #fff;
    font: inherit;
    color: inherit;
}

.vac-apply-save-template {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.4;
    color: var(--lg-text, #0f2d52);
    cursor: pointer;
}

.vac-apply-save-template input {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    accent-color: var(--lg-emerald, #059669);
}

/* ——— Vacancies hub app-shell ——— */
.lg-page-vacancies-hub {
    --vac-mint: #e8f8f1;
    --vac-mint-deep: #d1fae5;
    --vac-dock-h: 72px;
    min-height: 100dvh;
    background:
        radial-gradient(ellipse 80% 40% at 100% 0%, var(--vac-mint) 0%, transparent 55%),
        radial-gradient(ellipse 60% 30% at 0% 100%, var(--vac-mint) 0%, transparent 50%),
        var(--lg-bg);
}

.lg-page-vacancies-hub .vac-hub-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(248, 250, 252, .92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--lg-border);
    padding-top: env(safe-area-inset-top, 0);
}

.vac-hub-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: 720px;
    margin: 0 auto;
    padding: 10px 16px;
}

.vac-hub-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--lg-blue);
    font-weight: 800;
    font-size: 18px;
    min-width: 0;
}

.vac-hub-brand__icon {
    display: block;
    border-radius: 8px;
}

.vac-hub-brand__z {
    color: var(--lg-emerald);
}

.vac-hub-main {
    padding: 8px 0 calc(var(--vac-dock-h) + 20px + env(safe-area-inset-bottom, 0));
    max-width: 720px;
    margin: 0 auto;
}

.vac-hub-wrap {
    padding: 0 16px 24px;
}

.vac-hub-wrap--chat {
    display: flex;
    flex-direction: column;
    min-height: calc(100dvh - 120px - var(--vac-dock-h));
}

.vac-chat-sidebar {
    min-width: 0;
}

.vac-chat-stage {
    display: contents;
}

.vac-chat-empty {
    display: none;
}

.vac-hub-pane[hidden] { display: none !important; }

.lg-page-vacancies-hub .lg-spec-modal[hidden],
.lg-page-vacancies-hub .cb-modal[hidden] {
    display: none !important;
    pointer-events: none !important;
}

.vac-hub-hero {
    margin: 12px 0 20px;
    text-align: left;
}

.vac-hub-hero--compact {
    margin-bottom: 16px;
}

.vac-hub-hero h1 {
    margin: 0 0 8px;
    font-size: clamp(22px, 5.5vw, 28px);
    font-weight: 800;
    color: var(--lg-blue);
    line-height: 1.25;
    letter-spacing: -.02em;
}

.vac-hub-hero__lead {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: var(--lg-muted);
    max-width: 36em;
}

.vac-hub-search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    margin-bottom: 16px;
    background: #fff;
    border: 1px solid var(--lg-border);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(15, 45, 82, .06);
}

.vac-hub-search-row {
    display: flex;
    align-items: stretch;
    gap: 8px;
    margin-bottom: 12px;
}

.vac-hub-search--compact {
    flex: 1 1 auto;
    min-width: 0;
    margin-bottom: 0;
    padding: 8px 12px;
    min-height: 44px;
    border-radius: 12px;
    box-shadow: none;
}

.vac-hub-search--compact input {
    font-size: 14px;
}

.vac-filters-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 0 0 auto;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid var(--lg-border);
    border-radius: 12px;
    background: #fff;
    color: var(--lg-blue);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}

.vac-filters-toggle:hover {
    border-color: rgba(5, 150, 105, .35);
}

.vac-filters-toggle.is-open,
.vac-filters-toggle.has-filters {
    border-color: rgba(5, 150, 105, .45);
    background: rgba(5, 150, 105, .08);
    color: var(--lg-emerald);
}

.vac-filters-toggle:focus-visible {
    outline: 2px solid var(--lg-emerald);
    outline-offset: 2px;
}

.vac-filters-toggle__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lg-emerald);
    flex-shrink: 0;
}

@media (max-width: 420px) {
    .vac-filters-toggle span:not(.vac-filters-toggle__dot) {
        display: none;
    }
}

.vac-hub-search i {
    color: var(--lg-muted);
    flex-shrink: 0;
}

.vac-hub-search input {
    flex: 1;
    border: 0;
    outline: none;
    background: transparent;
    font: inherit;
    font-size: 15px;
    color: var(--lg-blue);
    min-width: 0;
}

.vac-hub-search input::placeholder {
    color: var(--lg-muted);
}

.vac-feed-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 8px;
    margin: 0 0 14px;
}

.vac-feed-toolbar .vac-type-toggle {
    flex: 1 1 calc(50% - 4px);
    min-width: 120px;
}

.vac-type-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--lg-border);
    border-radius: 12px;
    background: #fff;
    color: var(--lg-muted);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -.01em;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
}

.vac-type-toggle i {
    font-size: 14px;
    flex-shrink: 0;
}

.vac-type-toggle.is-on {
    border-color: rgba(5, 150, 105, .45);
    background: rgba(5, 150, 105, .1);
    color: var(--lg-emerald);
    box-shadow: inset 0 0 0 1px rgba(5, 150, 105, .12);
}

.vac-type-toggle:hover {
    border-color: rgba(5, 150, 105, .35);
    color: var(--lg-blue);
}

.vac-type-toggle:focus-visible {
    outline: 2px solid var(--lg-emerald);
    outline-offset: 2px;
}

.vac-hub-filters--compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}

@media (max-width: 520px) {
    .vac-hub-filters--compact {
        grid-template-columns: 1fr;
    }
}

.vac-hub-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
    align-items: stretch;
}

.vac-hub-action {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    min-height: 120px;
    padding: 16px;
    border: 1px solid var(--lg-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(15, 45, 82, .05);
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: var(--lg-blue);
    transition: border-color .15s ease, box-shadow .15s ease, transform .1s ease;
}

.vac-hub-action:hover {
    border-color: rgba(5, 150, 105, .35);
    box-shadow: 0 6px 18px rgba(5, 150, 105, .1);
}

.vac-hub-action:active { transform: scale(.98); }

.vac-hub-action:focus-visible {
    outline: 2px solid var(--lg-emerald);
    outline-offset: 2px;
}

.vac-hub-action__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--vac-mint-deep);
    color: var(--lg-emerald);
    font-size: 16px;
    flex-shrink: 0;
}

.vac-hub-action__label {
    display: block;
    width: 100%;
    min-height: 2.7em;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -.01em;
}

.vac-pool-section {
    margin: 4px 0 10px;
    padding: 0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: var(--lg-emerald);
}

.vac-pool-section--rest {
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid var(--lg-border);
    color: var(--lg-muted);
}

.vac-type-badge {
    display: inline-flex;
    align-items: center;
    margin-bottom: 6px;
    padding: 3px 9px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .01em;
    text-transform: uppercase;
}

.vac-type-badge--offer {
    background: rgba(5, 150, 105, .12);
    color: var(--lg-emerald);
}

.vac-type-badge--seeking {
    background: rgba(15, 45, 82, .08);
    color: var(--lg-blue);
}

.vac-card__head .vac-card__title {
    margin-top: 0;
}

.vac-hub-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.vac-hub-section-head h2 {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    color: var(--lg-blue);
}

.vac-hub-link {
    border: 0;
    background: none;
    color: var(--lg-emerald);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    padding: 4px 0;
}

.vac-hub-link:hover { text-decoration: underline; }

.vac-hub-link:focus-visible {
    outline: 2px solid var(--lg-emerald);
    outline-offset: 2px;
}

.vac-hub-rail {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px 2px 12px;
    margin: 0 -16px 20px;
    padding-left: 16px;
    padding-right: 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.vac-hub-mini {
    flex: 0 0 168px;
    scroll-snap-align: start;
}

.vac-hub-mini__btn {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    min-height: 140px;
    padding: 14px;
    border: 1px solid var(--lg-border);
    border-radius: 16px;
    background: #fff;
    text-align: left;
    font: inherit;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(15, 45, 82, .04);
    transition: border-color .15s ease;
}

.vac-hub-mini__btn:hover {
    border-color: rgba(5, 150, 105, .4);
}

.vac-hub-mini__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--lg-blue);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vac-hub-mini__meta,
.vac-hub-mini__city {
    font-size: 12px;
    color: var(--lg-muted);
    line-height: 1.35;
}

.vac-hub-mini__city i {
    margin-right: 4px;
    color: var(--lg-emerald);
}

.vac-hub-filters {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

@media (min-width: 640px) {
    .vac-hub-filters {
        grid-template-columns: repeat(2, 1fr);
    }
}

.vac-hub-list .vac-card {
    background: #fff;
}

.vac-hub-wrap--pool {
    padding-top: 8px;
}

.vac-filters--compact {
    margin-bottom: 12px;
    gap: 8px;
}

.vac-filters--compact .vac-filter span {
    font-size: 12px;
    font-weight: 700;
    color: var(--lg-muted);
}

.vac-hub-toggle {
    display: none;
}

.vac-hub-toggle__hint {
    display: none;
}

.vac-hub-subtabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.vac-hub-subtabs__btn {
    flex: 1;
    min-height: 40px;
    border: 1px solid var(--lg-border);
    border-radius: 999px;
    background: #fff;
    color: var(--lg-muted);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.vac-hub-subtabs__btn.is-active {
    background: rgba(5, 150, 105, .12);
    border-color: transparent;
    color: var(--lg-emerald);
}

.vac-hub-apps-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vac-hub-admin-chat {
    margin: 0 0 12px;
}

.vac-hub-admin-chat-only {
    margin: 8px 4px 0;
    font-size: 13px;
    line-height: 1.45;
}

.vac-hub-app--admin {
    border-color: rgba(15, 45, 82, .16);
    background: rgba(15, 45, 82, .03);
}

.vac-hub-app--admin:hover {
    border-color: rgba(15, 45, 82, .32);
}

.vac-hub-app--admin.is-active {
    border-color: rgba(15, 45, 82, .42);
    box-shadow: 0 0 0 2px rgba(15, 45, 82, .14);
    background: rgba(15, 45, 82, .06);
}

.vac-hub-app--admin .vac-hub-app__ava--glyph {
    background: var(--lg-blue, #0f2d52);
    color: #fff;
}

.vac-hub-app {
    margin: 0;
    padding: 0;
    background: #fff;
    border: 1px solid rgba(15, 45, 82, .08);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 45, 82, .04);
    transition: border-color .18s ease, box-shadow .18s ease;
}

.vac-hub-app:hover {
    border-color: rgba(5, 150, 105, .28);
    box-shadow: 0 12px 28px rgba(15, 45, 82, .08);
}

.vac-hub-app.is-active {
    border-color: rgba(5, 150, 105, .45);
    box-shadow: 0 0 0 2px rgba(5, 150, 105, .18);
    background: rgba(5, 150, 105, .04);
}

.vac-hub-app__hit {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px;
    border: 0;
    background: transparent;
    text-align: left;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

.vac-hub-app__hit:focus-visible {
    outline: 2px solid var(--lg-emerald);
    outline-offset: -2px;
}

.vac-hub-app__hit:active {
    background: rgba(15, 45, 82, .03);
}

.vac-hub-app__ava {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    object-fit: cover;
    flex-shrink: 0;
    background: linear-gradient(145deg, #e8f8f1, #eef2f7);
    border: 1px solid rgba(15, 45, 82, .06);
}

.vac-hub-app__ava--glyph {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--lg-emerald);
    font-size: 18px;
}

.vac-hub-app__body {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.vac-hub-app__top {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.vac-hub-app__name {
    margin: 0;
    min-width: 0;
    flex: 1;
    font-size: 15px;
    font-weight: 800;
    color: var(--lg-blue);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vac-hub-app__sub {
    margin: 0;
    font-size: 13px;
    color: var(--lg-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vac-hub-app__preview {
    margin: 2px 0 0;
    font-size: 13px;
    line-height: 1.35;
    color: var(--lg-blue);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vac-hub-app__status {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    background: var(--vac-mint);
    color: var(--lg-emerald);
}

.vac-hub-app__status.is-new {
    background: rgba(15, 45, 82, .06);
    color: var(--lg-blue);
}

.vac-hub-app__status.is-mid {
    background: #e0f2fe;
    color: #0369a1;
}

.vac-hub-app__status.is-ok {
    background: var(--vac-mint);
    color: var(--lg-emerald);
}

.vac-hub-app__status.is-bad {
    background: #fee2e2;
    color: #b91c1c;
}

.vac-hub-app__go {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--lg-muted);
    background: rgba(15, 45, 82, .04);
    font-size: 12px;
}

.vac-hub-brand-block {
    min-width: 0;
}

.vac-hub-brand-block .lg-brand {
    text-decoration: none;
}

.vac-hub-brand-block .lg-brand-block__page {
    display: block;
}

.vac-hub-dock {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0));
    z-index: 400;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    gap: 2px;
    min-height: 58px;
    padding: 6px 8px;
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(15, 45, 82, .08);
    border-radius: 22px;
    box-shadow:
        0 8px 28px rgba(15, 45, 82, .12),
        0 2px 8px rgba(15, 45, 82, .06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    pointer-events: auto;
    isolation: isolate;
}

.vac-hub-dock__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 46px;
    padding: 4px 2px;
    border: 0;
    background: transparent;
    color: var(--lg-muted);
    text-decoration: none;
    font: inherit;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.15;
    text-align: center;
    cursor: pointer;
    border-radius: 14px;
    transition: color .15s ease, background .15s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    pointer-events: auto;
}

.vac-hub-dock__item i {
    font-size: 16px;
    pointer-events: none;
}

.vac-hub-dock__item span {
    pointer-events: none;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vac-hub-dock__item.is-active,
.vac-hub-dock__item:hover {
    color: var(--lg-emerald);
}

.vac-hub-dock__item.is-active {
    background: rgba(5, 150, 105, .1);
}

.vac-hub-dock__item:focus-visible {
    outline: 2px solid var(--lg-emerald);
    outline-offset: -2px;
}

.vac-hub-dock__create {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0 auto;
    border: 0;
    border-radius: 50%;
    background: var(--lg-emerald);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(5, 150, 105, .32);
    transition: background .15s ease, transform .1s ease, box-shadow .15s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.vac-hub-dock__create:hover {
    background: #047857;
    box-shadow: 0 6px 16px rgba(5, 150, 105, .4);
}

.vac-hub-dock__create:active {
    transform: scale(.96);
}

.vac-hub-dock__create:focus-visible {
    outline: 2px solid var(--lg-emerald);
    outline-offset: 3px;
}

.vac-hub-mini__ava,
.vac-card__ava,
.vac-detail__ava {
    display: block;
    object-fit: cover;
    background: var(--lg-bg);
    flex-shrink: 0;
}

.vac-hub-mini__ava {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    margin-bottom: 4px;
}

.vac-card__top {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 8px;
}

.vac-card__ava {
    width: 48px;
    height: 48px;
    border-radius: 12px;
}

.vac-card__top .vac-card__head {
    flex: 1;
    min-width: 0;
}

.vac-detail__publisher-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vac-detail__ava {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

/* Chat */
.vac-chat-threads {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vac-chat-thread-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px;
    border: 1px solid var(--lg-border);
    border-radius: 14px;
    background: #fff;
    text-align: left;
    font: inherit;
    cursor: pointer;
}

.vac-chat-thread-item:hover {
    border-color: rgba(5, 150, 105, .35);
}

.vac-chat-thread-item__ava {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--lg-bg);
}

.vac-chat-thread-item__body {
    min-width: 0;
    flex: 1;
}

.vac-chat-thread-item__body strong {
    display: block;
    color: var(--lg-blue);
    font-size: 14px;
    margin-bottom: 2px;
}

.vac-chat-thread-item__preview {
    display: block;
    font-size: 13px;
    color: var(--lg-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vac-chat-thread {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: calc(100dvh - 100px - var(--vac-dock-h));
    margin: 0 -16px;
    background: #f3f6fa;
    border-radius: 16px 16px 0 0;
    border: 1px solid var(--lg-border);
    border-bottom: 0;
    overflow: hidden;
}

.vac-chat-thread__head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(15, 45, 82, .08);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(12px);
    flex-shrink: 0;
    z-index: 2;
}

.vac-chat-back,
.vac-chat-menu-btn {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 12px;
    background: rgba(15, 45, 82, .05);
    color: var(--lg-blue);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .15s ease;
}

.vac-chat-back:hover,
.vac-chat-menu-btn:hover,
.vac-chat-back:focus-visible,
.vac-chat-menu-btn:focus-visible {
    background: rgba(5, 150, 105, .12);
    color: var(--lg-emerald);
}

.vac-chat-thread__meta {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.vac-chat-thread__meta strong {
    font-size: 15px;
    font-weight: 800;
    color: var(--lg-blue);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vac-chat-status {
    font-size: 12px;
    font-weight: 600;
    color: var(--lg-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vac-chat-decide {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 12px 10px;
    border-bottom: 1px solid rgba(15, 45, 82, .08);
    background: #f7f9fc;
    flex-shrink: 0;
}

.vac-chat-decide .lg-btn {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
    font-size: 13px;
    padding: 10px 12px;
}

.vac-chat-thread__tools {
    position: relative;
    flex-shrink: 0;
}

.vac-chat-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 180px;
    padding: 6px;
    border-radius: 14px;
    border: 1px solid rgba(15, 45, 82, .1);
    background: #fff;
    box-shadow: 0 14px 36px rgba(15, 45, 82, .16);
    z-index: 5;
}

.vac-chat-menu__item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 11px 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--lg-blue);
    cursor: pointer;
    text-align: left;
}

.vac-chat-menu__item:hover,
.vac-chat-menu__item:focus-visible {
    background: rgba(15, 45, 82, .05);
}

.vac-chat-menu__item--danger {
    color: #b91c1c;
}

.vac-chat-menu__item--danger:hover,
.vac-chat-menu__item--danger:focus-visible {
    background: #fee2e2;
}

.vac-chat-messages {
    flex: 1 1 0;
    min-height: 0;
    overflow-y: auto;
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background:
        radial-gradient(ellipse 70% 40% at 100% 0%, rgba(232, 248, 241, .7) 0%, transparent 55%),
        #f3f6fa;
    -webkit-overflow-scrolling: touch;
}

.vac-chat-bubble {
    max-width: 82%;
    padding: 10px 12px 8px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.45;
    white-space: pre-wrap;
    word-break: break-word;
    box-shadow: 0 4px 14px rgba(15, 45, 82, .05);
}

.vac-chat-bubble--cover {
    opacity: .98;
}

.vac-chat-bubble--mine {
    align-self: flex-end;
    background: linear-gradient(160deg, #059669 0%, #047857 100%);
    color: #fff;
    border-bottom-right-radius: 6px;
}

.vac-chat-bubble--peer {
    align-self: flex-start;
    background: #fff;
    color: var(--lg-blue);
    border: 1px solid rgba(15, 45, 82, .08);
    border-bottom-left-radius: 6px;
}

.vac-chat-bubble__sender {
    display: block;
    margin-bottom: 2px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .01em;
    color: var(--lg-emerald, #059669);
}

.vac-chat-bubble__time {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    opacity: .72;
    text-align: right;
}

.vac-chat-phone {
    display: inline;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
    transition: opacity .15s;
}

.vac-chat-phone:hover {
    opacity: .85;
}

.vac-chat-phone:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
    border-radius: 3px;
}

.vac-chat-bubble--peer .vac-chat-phone {
    color: var(--lg-emerald, #059669);
}

.vac-chat-bubble--mine .vac-chat-phone {
    color: #fff;
    text-decoration-color: rgba(255, 255, 255, .75);
}

.vac-chat-compose {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0));
    border-top: 1px solid rgba(15, 45, 82, .08);
    background: #fff;
    backdrop-filter: blur(12px);
    flex: 0 0 auto;
    flex-shrink: 0;
    position: relative;
    z-index: 5;
}

.vac-chat-compose input {
    flex: 1;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid rgba(15, 45, 82, .1);
    border-radius: 999px;
    background: #f8fafc;
    font: inherit;
    font-size: 15px;
}

.vac-chat-compose input:focus {
    outline: none;
    border-color: rgba(5, 150, 105, .45);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, .12);
}

.vac-chat-compose .lg-btn {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

body.vac-chat-open {
    overflow: hidden;
    padding-bottom: 0 !important;
}

body.vac-chat-open .vac-hub-header,
body.vac-chat-open .vac-hub-dock {
    display: none !important;
}

body.vac-chat-open .lg-app-dock,
body.vac-chat-open.lg-has-app-dock .lg-app-dock {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

body.vac-chat-open .vac-hub-main {
    padding: 0;
    max-width: none;
    margin: 0;
    min-height: 100dvh;
}

body.vac-chat-open #vacPaneApps,
body.vac-chat-open .vac-hub-wrap--chat {
    min-height: 100dvh;
    height: 100dvh;
    margin: 0;
    padding: 0;
}

/* Stage becomes the fullscreen shell — fixes Android PWA clipping compose */
body.vac-chat-open .vac-chat-stage {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 500;
    width: auto;
    height: auto;
    max-height: 100dvh;
    max-height: 100svh;
    background: #f3f6fa;
    overflow: hidden;
}

body.vac-chat-open .vac-chat-thread {
    position: relative;
    inset: auto;
    z-index: auto;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    max-height: none;
    margin: 0;
    border: 0;
    border-radius: 0;
    overflow: hidden;
}

body.vac-chat-open .vac-chat-thread__head {
    padding-top: max(10px, env(safe-area-inset-top, 0px));
}

body.vac-chat-open .vac-chat-compose {
    padding-bottom: max(10px, env(safe-area-inset-bottom, 0px));
}

@media (min-width: 720px) {
    .vac-hub-dock {
        left: 50%;
        right: auto;
        width: min(440px, calc(100% - 32px));
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .vac-hub-action,
    .vac-hub-dock__item,
    .vac-hub-dock__create,
    .vac-hub-mini__btn {
        transition: none;
    }
}


/* Create button moved from dock into feed toolbar */
.vac-hub-create-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-left: auto;
    min-height: 40px;
    padding: 8px 12px;
    white-space: nowrap;
}

.vac-hub-create-btn i {
    font-size: 13px;
}

@media (min-width: 900px) {
    body.vac-hub-tab-apps .vac-hub-main {
        max-width: 1120px;
        padding-bottom: calc(var(--vac-dock-h) + 16px + env(safe-area-inset-bottom, 0));
    }

    .vac-hub-wrap--chat {
        display: grid;
        grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
        gap: 0;
        align-items: stretch;
        min-height: calc(100dvh - 112px - var(--vac-dock-h));
        max-height: calc(100dvh - 112px - var(--vac-dock-h));
        margin: 0 16px;
        padding: 0;
        border: 1px solid rgba(15, 45, 82, .1);
        border-radius: 16px;
        overflow: hidden;
        background: #fff;
        box-shadow: 0 10px 30px rgba(15, 45, 82, .05);
    }

    .vac-chat-sidebar {
        display: flex;
        flex-direction: column;
        min-height: 0;
        overflow: hidden;
        border-right: 1px solid rgba(15, 45, 82, .08);
        background: #fff;
    }

    .vac-chat-sidebar .vac-hub-hero {
        margin: 0;
        padding: 14px 14px 8px;
        flex-shrink: 0;
    }

    .vac-chat-sidebar .vac-hub-hero h1 {
        margin: 0;
        font-size: 18px;
        font-weight: 800;
    }

    .vac-chat-sidebar .vac-hub-subtabs {
        margin: 0 14px 10px;
        flex-shrink: 0;
    }

    .vac-chat-sidebar .vac-hub-apps-list {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        padding: 0 10px 12px;
        gap: 6px;
        -webkit-overflow-scrolling: touch;
    }

    .vac-chat-sidebar .vac-hub-app {
        border-radius: 12px;
        box-shadow: none;
    }

    .vac-chat-sidebar .vac-hub-app__hit {
        padding: 10px;
        gap: 10px;
    }

    .vac-chat-sidebar .vac-hub-app__ava {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }

    .vac-chat-sidebar .vac-hub-app__name {
        font-size: 14px;
    }

    .vac-chat-sidebar .vac-hub-app__sub,
    .vac-chat-sidebar .vac-hub-app__preview {
        font-size: 12px;
    }

    .vac-chat-sidebar .vac-hub-app__preview {
        -webkit-line-clamp: 1;
    }

    .vac-chat-sidebar .vac-hub-app__go {
        display: none;
    }

    .vac-chat-stage {
        display: flex;
        flex-direction: column;
        min-width: 0;
        min-height: 0;
        background: #eef3f8;
    }

    .vac-chat-empty:not([hidden]) {
        display: flex;
        flex: 1;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 32px 24px;
        text-align: center;
        color: var(--lg-muted, #64748b);
    }

    .vac-chat-empty[hidden] {
        display: none !important;
    }

    .vac-chat-empty__icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 56px;
        height: 56px;
        margin-bottom: 4px;
        border-radius: 16px;
        background: rgba(15, 45, 82, .05);
        color: var(--lg-blue, #0f2d52);
        font-size: 22px;
    }

    .vac-chat-empty__title {
        margin: 0;
        font-size: 16px;
        font-weight: 800;
        color: var(--lg-blue, #0f2d52);
    }

    .vac-chat-empty__hint {
        margin: 0;
        max-width: 28ch;
        font-size: 13px;
        line-height: 1.45;
    }

    .vac-chat-thread {
        flex: 1;
        min-height: 0;
        height: auto;
        margin: 0;
        border: 0;
        border-radius: 0;
        background: #eef3f8;
    }

    .vac-chat-thread[hidden] {
        display: none !important;
    }

    .vac-chat-back {
        display: none;
    }

    .vac-chat-thread__head {
        padding: 10px 14px;
    }

    .vac-chat-messages {
        padding: 14px 18px;
        gap: 8px;
    }

    .vac-chat-bubble {
        max-width: min(68%, 460px);
        padding: 9px 12px 7px;
        font-size: 13.5px;
        box-shadow: 0 2px 8px rgba(15, 45, 82, .04);
    }

    .vac-chat-compose {
        padding: 10px 14px;
        gap: 8px;
    }

    .vac-chat-compose input {
        min-height: 42px;
        padding: 10px 14px;
        font-size: 14px;
    }

    .vac-chat-compose .lg-btn {
        width: 42px;
        height: 42px;
    }

    .vac-chat-decide {
        padding: 8px 14px;
        gap: 8px;
    }

    .vac-chat-decide .lg-btn {
        min-height: 36px;
        padding: 6px 12px;
        font-size: 13px;
    }

    /* На ПК не уходим в fullscreen-чат */
    body.vac-chat-open {
        overflow: auto;
        padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important;
    }

    body.vac-chat-open .vac-hub-header {
        display: block !important;
    }

    body.vac-chat-open .vac-hub-dock {
        display: grid !important;
    }

    body.vac-chat-open .lg-app-dock,
    body.vac-chat-open.lg-has-app-dock .lg-app-dock {
        display: grid !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    body.vac-chat-open .vac-hub-main {
        padding: 8px 0 calc(var(--vac-dock-h) + 16px + env(safe-area-inset-bottom, 0));
        max-width: 1120px;
        margin: 0 auto;
        min-height: 0;
    }

    body.vac-chat-open #vacPaneApps,
    body.vac-chat-open .vac-hub-wrap--chat {
        min-height: calc(100dvh - 112px - var(--vac-dock-h));
        height: auto;
        max-height: calc(100dvh - 112px - var(--vac-dock-h));
        margin: 0 16px;
        padding: 0;
    }

    body.vac-chat-open .vac-chat-stage {
        position: static;
        inset: auto;
        z-index: auto;
        display: flex;
        flex-direction: column;
        height: auto;
        max-height: none;
        overflow: hidden;
        background: #eef3f8;
    }

    body.vac-chat-open .vac-chat-thread {
        position: static;
        inset: auto;
        z-index: auto;
        margin: 0;
        border: 0;
        border-radius: 0;
        height: auto;
        max-height: none;
        min-height: 0;
        flex: 1 1 auto;
    }

    body.vac-chat-open .vac-chat-thread__head,
    body.vac-chat-open .vac-chat-compose {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    body.vac-chat-open .vac-chat-compose {
        padding-bottom: 10px;
    }
}

@media (max-width: 767px) {
    .lg-page-vacancies-hub.lg-has-app-dock .vac-hub-main {
        padding-bottom: 12px;
    }
}

/* ── Skeleton loading UI for Talent Pool & Vacancies ── */
@keyframes lgSkeletonShimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.vac-skeleton-card {
    pointer-events: none;
    user-select: none;
    border-color: #e2e8f0;
    background: #fff;
    margin-bottom: 12px;
}

.vac-skeleton-box {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: lgSkeletonShimmer 1.5s ease-in-out infinite;
    border-radius: 8px;
}

@media (prefers-reduced-motion: reduce) {
    .vac-skeleton-box {
        animation: none;
        background: #f1f5f9;
    }
}

.vac-skeleton-ava {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    flex-shrink: 0;
}

.vac-skeleton-title {
    width: 120px;
    height: 20px;
    border-radius: 6px;
}

.vac-skeleton-badge {
    width: 160px;
    height: 24px;
    border-radius: 9999px;
}

.vac-skeleton-line {
    height: 14px;
    margin-top: 10px;
    border-radius: 5px;
}

.vac-skeleton-line--sub {
    width: 82%;
    height: 15px;
    margin-top: 6px;
    margin-bottom: 12px;
}

.vac-skeleton-line--text {
    width: 95%;
}

.vac-skeleton-line--short {
    width: 65%;
    margin-top: 8px;
}

.vac-skeleton-section {
    width: 230px;
    height: 18px;
    margin: 16px 0 12px;
    border-radius: 6px;
}

