:root {
    --bg: #f4f7fb;
    --card: #ffffff;
    --text: #172033;
    --muted: #667085;
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-soft: #dbeafe;
    --green: #16a34a;
    --green-soft: #dcfce7;
    --border: #e5eaf2;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    --radius: 22px;
}

.admin-vk-settings-form,
.admin-vk-preview-form {
    display: grid;
    gap: 14px;
}

.admin-vk-settings-form label,
.admin-vk-preview-form label {
    display: grid;
    gap: 7px;
    color: #334155;
    font-size: 14px;
}

.admin-vk-settings-form input,
.admin-vk-settings-form select,
.admin-vk-preview-form textarea {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid #dcebfd;
    border-radius: 5px;
    background: #ffffff;
    color: #172033;
    font: inherit;
    font-weight: 400;
}

.admin-vk-preview-form textarea {
    min-height: 260px;
    padding: 12px;
    resize: vertical;
    line-height: 1.45;
}

.admin-check-row {
    display: inline-flex !important;
    grid-template-columns: auto 1fr;
    align-items: center;
    width: fit-content;
}

.admin-check-row input {
    width: auto;
    min-height: 0;
}

.admin-vk-settings-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.admin-vk-settings-actions,
.admin-vk-preview-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-vk-preview-actions .admin-vk-cancel-reason {
    flex: 1 0 100%;
}

.admin-vk-preview-actions .admin-vk-cancel-reason textarea {
    min-height: 86px;
}


.admin-vk-queue-actions {
    display: grid;
    gap: 12px;
    margin: 0 0 18px;
    padding: 14px;
    border: 1px solid #dcebfd;
    border-radius: 5px;
    background: #f8fbff;
}

.admin-vk-queue-actions form,
.admin-vk-queue-clear-form label {
    display: flex;
    align-items: end;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-vk-queue-clear-form label {
    flex: 1 1 360px;
}

.admin-vk-queue-clear-form span {
    flex: 1 0 100%;
    color: #334155;
    font-size: 13px;
}

.admin-vk-queue-clear-form input {
    flex: 1 1 280px;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid #dcebfd;
    border-radius: 5px;
    background: #ffffff;
    color: #172033;
    font: inherit;
    font-weight: 400;
}

.admin-vk-queue-table {
    display: grid;
    gap: 12px;
    margin: 0 0 20px;
    padding: 14px;
    border: 1px solid #e5eaf2;
    border-radius: 5px;
    background: #ffffff;
}

.admin-vk-queue-table__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.admin-vk-queue-table__head h3 {
    margin: 0;
    color: #172033;
    font-size: 18px;
    font-weight: 600;
}

.admin-vk-queue-table__head span {
    color: #667085;
    font-size: 13px;
}

.admin-vk-queue-row-form {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-vk-queue-row-form input {
    min-width: 220px;
    min-height: 36px;
    padding: 0 10px;
    border: 1px solid #dcebfd;
    border-radius: 5px;
    background: #ffffff;
    color: #172033;
    font: inherit;
    font-weight: 400;
}
.admin-vk-oauth-box {
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid #dcebfd;
    border-radius: 5px;
    background: #f8fbff;
}

.admin-vk-oauth-box code {
    display: inline-block;
    max-width: 100%;
    padding: 3px 7px;
    border-radius: 5px;
    background: #ffffff;
    overflow-wrap: anywhere;
}

.admin-vk-preview-layout {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(320px, 1fr);
    gap: 18px;
    align-items: start;
}

.admin-vk-preview-image {
    padding: 10px;
    border: 1px solid #dcebfd;
    border-radius: 5px;
    background: #f8fbff;
}

.admin-vk-preview-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.admin-vk-vacancy-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #dcebfd;
    border-radius: 5px;
    background: #f8fbff;
}

.admin-vk-vacancy-line a {
    color: #1d4ed8;
    text-decoration: none;
}

.admin-vk-vacancy-line a:hover {
    color: #13ad8f;
}

@media (max-width: 980px) {
    .admin-vk-settings-grid,
    .admin-vk-preview-layout {
        grid-template-columns: 1fr;
    }
}

.admin-body {
    min-height: 100vh;
    background: #eef3f8;
}

.admin-login-body {
    display: grid;
    place-items: center;
    padding: 18px;
}

.admin-login-shell {
    width: min(100%, 440px);
}

.admin-login-card {
    display: grid;
    gap: 22px;
    padding: 26px;
    border-radius: 5px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .14);
}

.admin-login-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #0f172a;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
}

.admin-login-card__head h1 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(25px, 4vw, 34px);
}

.admin-login-card__head p {
    margin: 8px 0 0;
    color: #64748b;
    line-height: 1.5;
}

.admin-login-form {
    display: grid;
    gap: 14px;
}

.admin-login-form label {
    display: grid;
    gap: 7px;
    color: #334155;
    font-weight: 400;
}

.admin-login-form input {
    width: 100%;
    min-height: 48px;
    padding: 0 13px;
    border: 1px solid #dcebfd;
    border-radius: 5px;
    background: #ffffff;
    color: #0f172a;
    font: inherit;
}

.admin-login-errors {
    display: grid;
    gap: 6px;
    padding: 12px 14px;
    border-radius: 5px;
    background: #fee2e2;
    color: #991b1b;
}

.admin-login-errors p {
    margin: 0;
}

.admin-login-secondary {
    display: inline-flex;
    justify-content: center;
    color: #2563eb;
    text-decoration: none;
}

body.admin-modal-open {
    overflow: hidden;
}

body.admin-sidebar-open {
    overflow: hidden;
}

.admin-shell {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    min-height: 100vh;
}

.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 22px;
    background: #101827;
    color: #ffffff;
    overflow: auto;
}

.admin-sidebar-backdrop {
    display: none;
}

.admin-sidebar__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.admin-sidebar__close,
.admin-menu-toggle {
    border: 0;
    border-radius: 5px;
    font: inherit;
    cursor: pointer;
}

.admin-sidebar__close {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, .1);
    color: #ffffff;
    font-size: 28px;
    line-height: 1;
}

.admin-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 42px;
    padding: 0 13px;
    background: #101827;
    color: #ffffff;
    font-weight: 400;
}

.admin-menu-toggle span[aria-hidden="true"] {
    position: relative;
    display: block;
    width: 18px;
    height: 12px;
    border-top: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
}

.admin-menu-toggle span[aria-hidden="true"]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 18px;
    border-top: 2px solid currentColor;
}

.admin-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
}

.admin-brand__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 5px;
    background: #2563eb;
    color: #ffffff;
    font-size: 13px;
    letter-spacing: .06em;
}

.admin-nav {
    display: grid;
    gap: 8px;
    margin-top: 34px;
}

.admin-nav a,
.admin-sidebar__footer a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 5px;
    color: rgba(255, 255, 255, .78);
    text-decoration: none;
    font-weight: 400;
}

.admin-nav a:hover,
.admin-nav a.is-active {
    background: rgba(255, 255, 255, .1);
    color: #ffffff;
}

.admin-nav a {
    justify-content: space-between;
    gap: 10px;
}

.admin-nav-badge {
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    background: #ef4444;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 1;
    font-weight: 400;
}

.admin-nav-badge.is-hidden {
    display: none;
}

.admin-sidebar__footer {
    display: grid;
    gap: 4px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.admin-main {
    min-width: 0;
    padding: 24px;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.admin-kicker {
    display: inline-block;
    margin-bottom: 6px;
    color: #64748b;
    font-size: 13px;
}

.admin-topbar h1 {
    margin: 0;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.08;
}

.admin-user {
    display: grid;
    justify-items: end;
    padding: 12px 14px;
    border-radius: 5px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
}

.admin-user span {
    font-weight: 600;
}

.admin-user small,
.admin-muted {
    color: #64748b;
}

.admin-content {
    display: grid;
    gap: 18px;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.admin-two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.admin-card {
    min-width: 0;
    padding: 20px;
    border-radius: 5px;
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, .07);
}

.admin-card h2 {
    margin: 0;
    font-size: clamp(19px, 1.6vw, 23px);
}

.admin-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.admin-stat-card dl {
    display: grid;
    gap: 11px;
    margin: 16px 0 0;
}

.admin-stat-card dl div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #edf2f7;
}

.admin-stat-card dl div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.admin-stat-card dt {
    color: #64748b;
}

.admin-stat-card dd {
    margin: 0;
    color: #0f172a;
    font-size: 22px;
    font-weight: 700;
}

.admin-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

.admin-table th,
.admin-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #edf2f7;
    text-align: left;
    vertical-align: top;
}

.admin-table th {
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
}

.admin-list-card {
    display: grid;
    gap: 18px;
    position: relative;
}

.admin-list-card.is-loading,
.admin-settings-card.is-loading {
    pointer-events: none;
}

.admin-list-card.is-loading::after,
.admin-settings-card.is-loading::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 5;
    border-radius: 5px;
    background: rgba(255, 255, 255, .68);
    backdrop-filter: blur(2px);
}

.admin-list-card.is-loading::before,
.admin-settings-card.is-loading::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 6;
    width: 34px;
    height: 34px;
    margin: -17px 0 0 -17px;
    border: 3px solid #dbeafe;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: admin-spin .8s linear infinite;
}

.admin-settings-card {
    position: relative;
    display: grid;
    gap: 18px;
}

.admin-settings-form {
    display: grid;
    gap: 18px;
}

.admin-settings-group {
    display: grid;
    gap: 14px;
    padding: 16px;
    border: 1px solid #edf2f7;
    border-radius: 5px;
    background: #f8fafc;
}

.admin-settings-group h3 {
    margin: 0;
    font-size: 19px;
}

.admin-settings-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.admin-setting-field {
    display: grid;
    gap: 7px;
    min-width: 0;
    padding: 13px;
    border-radius: 5px;
    background: #ffffff;
}

.admin-setting-field--textarea {
    grid-column: 1 / -1;
}

.admin-setting-field__label {
    color: #0f172a;
    font-weight: 600;
}

.admin-setting-field small {
    color: #64748b;
    line-height: 1.35;
}

.admin-setting-field input[type="number"],
.admin-setting-field input[type="text"],
.admin-setting-field input[type="password"],
.admin-setting-field select,
.admin-setting-field textarea {
    width: 100%;
    border: 1px solid #dcebfd;
    border-radius: 5px;
    background: #ffffff;
    color: #172033;
    font: inherit;
}

.admin-setting-field input[type="number"],
.admin-setting-field input[type="text"],
.admin-setting-field input[type="password"],
.admin-setting-field select {
    height: 42px;
    padding: 0 12px;
}

.admin-setting-field textarea {
    min-height: 130px;
    padding: 12px;
    resize: vertical;
    line-height: 1.5;
}

.admin-setting-field--bool {
    align-content: start;
}

.admin-switch {
    position: relative;
    display: inline-flex;
    width: 54px;
    height: 30px;
}

.admin-switch input {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.admin-switch span {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: #cbd5e1;
    cursor: pointer;
    transition: background .18s ease;
}

.admin-switch span::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(15, 23, 42, .2);
    transition: transform .18s ease;
}

.admin-switch input:checked + span {
    background: #2563eb;
}

.admin-switch input:checked + span::after {
    transform: translateX(24px);
}

.admin-settings-actions {
    display: flex;
    justify-content: flex-end;
}

.admin-edit-form {
    position: relative;
    display: grid;
    gap: 18px;
}

.admin-edit-form.is-loading {
    pointer-events: none;
    opacity: .72;
}

.admin-edit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.admin-edit-grid label {
    display: grid;
    gap: 7px;
    min-width: 0;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
}

.admin-edit-grid input,
.admin-edit-grid select,
.admin-edit-grid textarea {
    width: 100%;
    min-width: 0;
    border: 1px solid #dcebfd;
    border-radius: 5px;
    background: #ffffff;
    color: #0f172a;
    font: inherit;
    font-weight: 400;
}

.admin-edit-grid input,
.admin-edit-grid select {
    height: 42px;
    padding: 0 12px;
}

.admin-edit-grid textarea {
    resize: vertical;
    padding: 11px 12px;
    line-height: 1.45;
}

.admin-edit-field--wide {
    grid-column: 1 / -1;
}

.admin-edit-help {
    color: #64748b;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.45;
}

.admin-edit-grid textarea[readonly],
.admin-edit-grid input[readonly] {
    background: #f8fafc;
    color: #475569;
}

.admin-edit-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.admin-cron-card {
    position: relative;
}

.admin-cron-card.is-loading {
    pointer-events: none;
}

.admin-cron-card.is-loading::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    border-radius: 5px;
    background: rgba(255, 255, 255, .72);
    backdrop-filter: blur(2px);
}

.admin-cron-card.is-loading::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 4;
    width: 34px;
    height: 34px;
    margin: -17px 0 0 -17px;
    border: 3px solid #dbeafe;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: admin-spin .8s linear infinite;
}

.admin-cron-note {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
    padding: 14px;
    border-radius: 5px;
    background: #f8fafc;
    color: #334155;
}

.admin-cron-note code,
.admin-cron-command code {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    padding: 8px 10px;
    border-radius: 5px;
    background: #0f172a;
    color: #e0f2fe;
    font-size: 13px;
}

.admin-health-block {
    display: grid;
    gap: 14px;
    margin: 0 0 22px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    background: #ffffff;
}

.admin-health-block__head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

.admin-health-block h3 {
    margin: 0;
    color: #0f172a;
    font-size: 18px;
}

.admin-health-block__head p {
    margin: 6px 0 0;
    color: #64748b;
}

.admin-health-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.admin-health-item {
    display: grid;
    gap: 8px;
    min-width: 0;
    padding: 14px;
    border-radius: 5px;
    background: #f8fafc;
}

.admin-health-item__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #0f172a;
    font-weight: 600;
}

.admin-health-item p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.45;
}

.admin-health-details {
    display: grid;
    gap: 10px;
}

.admin-health-details details {
    border-radius: 5px;
    background: #f8fafc;
    padding: 12px 14px;
}

.admin-health-details summary {
    cursor: pointer;
    color: #0f172a;
    font-weight: 600;
}

.admin-health-log {
    max-height: 280px;
    margin: 12px 0 0;
    overflow: auto;
    white-space: pre-wrap;
    color: #0f172a;
    font-size: 13px;
}

.admin-metro-line {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #0f172a;
    white-space: nowrap;
}

.admin-metro-dot {
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.admin-cron-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.admin-cron-task {
    display: grid;
    gap: 14px;
    min-width: 0;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    background: #ffffff;
}

.admin-cron-task__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.admin-cron-task h3,
.admin-cron-recent h3 {
    margin: 0;
    color: #0f172a;
    font-size: 18px;
}

.admin-cron-task p {
    margin: 6px 0 0;
    color: #64748b;
}

.admin-cron-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}

.admin-cron-meta div {
    min-width: 0;
}

.admin-cron-meta dt {
    color: #64748b;
    font-size: 12px;
}

.admin-cron-meta dd {
    margin: 3px 0 0;
    color: #0f172a;
}

.admin-cron-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-cron-actions small {
    color: #64748b;
}

.admin-cron-recent {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.admin-cron-log-row td {
    background: #f8fafc;
}

.admin-cron-log-row pre {
    max-height: 260px;
    margin: 10px 0 0;
    overflow: auto;
    white-space: pre-wrap;
    color: #0f172a;
    font-size: 13px;
}

@keyframes admin-spin {
    to {
        transform: rotate(360deg);
    }
}

.admin-list-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.admin-list-head h2 {
    margin: 0;
}

.admin-list-head p {
    margin: 8px 0 0;
    color: #64748b;
}

.admin-list-total {
    display: grid;
    justify-items: end;
    min-width: 110px;
}

.admin-list-total span {
    color: #0f172a;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.admin-list-total small {
    color: #64748b;
}

.admin-list-side {
    display: grid;
    justify-items: end;
    gap: 10px;
}

.admin-balance-cell {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.admin-balance-cell strong {
    color: #0f172a;
    font-weight: 600;
}

.admin-filters {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
    align-items: end;
    gap: 12px;
    padding: 14px;
    border-radius: 5px;
    background: #f8fafc;
}

.admin-filters label {
    display: grid;
    gap: 6px;
    color: #475569;
    font-size: 13px;
}

.admin-filters input,
.admin-filters select {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #dcebfd;
    border-radius: 5px;
    background: #ffffff;
    color: #172033;
    font: inherit;
}

.admin-filters__actions {
    display: flex;
    gap: 8px;
}

.admin-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border: 0;
    border-radius: 5px;
    background: #2563eb;
    color: #ffffff;
    font: inherit;
    font-weight: 400;
    text-decoration: none;
    cursor: pointer;
}

.admin-btn--light {
    background: #ffffff;
    color: #2563eb;
    box-shadow: inset 0 0 0 1px #dcebfd;
}

.admin-btn--small {
    min-height: 34px;
    padding: 0 12px;
    font-size: 13px;
}

.admin-btn--danger {
    background: #dc2626;
    color: #ffffff;
}

.admin-bulk-bar {
    position: sticky;
    top: 12px;
    z-index: 20;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px;
    border: 1px solid #dcebfd;
    border-radius: 5px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 12px 34px rgba(15, 23, 42, .08);
    backdrop-filter: blur(8px);
}

.admin-bulk-select-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 10px;
    border-radius: 5px;
    background: #f8fafc;
    color: #0f172a;
    cursor: pointer;
}

.admin-bulk-select-all input,
.admin-table-check input {
    width: 17px;
    height: 17px;
    accent-color: #2563eb;
}

.admin-bulk-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-bulk-counter {
    margin-left: auto;
    color: #64748b;
    font-size: 13px;
}

.admin-table-check {
    width: 42px;
    text-align: center !important;
}

.admin-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    background: #eef2f7;
    color: #475569;
    font-size: 12px;
    font-weight: 400;
    white-space: nowrap;
}

.admin-badge--green {
    background: #dcfce7;
    color: #15803d;
}

.admin-badge--red {
    background: #fee2e2;
    color: #b91c1c;
}

.admin-badge--blue {
    background: #dbeafe;
    color: #1d4ed8;
}

.admin-badge--gray {
    background: #eef2f7;
    color: #475569;
}

.admin-stacked {
    display: grid;
    gap: 4px;
}

.admin-stacked strong {
    color: #0f172a;
    font-weight: 600;
}

.admin-stacked small {
    color: #64748b;
    line-height: 1.35;
}

.admin-source-cell {
    width: 100%;
    min-width: 360px;
}

.admin-source-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-source-title {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    max-width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.admin-source-title:hover strong,
.admin-source-title:focus-visible strong {
    color: #1d4ed8;
}

.admin-source-title:focus-visible {
    outline: 2px solid rgba(37, 99, 235, .35);
    outline-offset: 3px;
    border-radius: 5px;
}

.admin-source-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    width: 100%;
    max-width: none;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #edf2f7;
}

.admin-source-links__label {
    color: #64748b;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
}

.admin-source-link {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 9px;
    border-radius: 5px;
    background: #f1f5f9;
    color: #0f172a;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.admin-source-link:hover {
    background: #eef6ff;
    color: #1d4ed8;
}

.admin-parser-link-stats {
    display: grid;
    gap: 7px;
    justify-items: start;
}

.admin-parser-link-stats__numbers {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 26px;
    font-size: 14px;
    font-weight: 600;
}

.admin-parser-link-stat--success {
    color: #15803d;
}

.admin-parser-link-stat--error {
    color: #b91c1c;
}

.admin-parser-link-stat--pending {
    color: #1d4ed8;
}

.admin-parser-link-stat--warning {
    color: #b45309;
}

.admin-parser-link-stat--muted,
.admin-parser-link-stat-separator {
    color: #94a3b8;
}

.admin-source-report-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 0 9px;
    border-radius: 5px;
    background: #f1f5f9;
    color: #0f172a;
    font-size: 12px;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.admin-source-report-link:hover {
    background: #eef6ff;
    color: #1d4ed8;
}

.admin-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.admin-pagination a,
.admin-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 5px;
    background: #f8fafc;
    color: #2563eb;
    text-decoration: none;
}

.admin-pagination span.is-active {
    background: #2563eb;
    color: #ffffff;
}

.admin-row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    min-width: 190px;
}

.admin-moderation-card {
    display: grid;
    gap: 18px;
    position: relative;
}

.admin-moderation-list {
    display: grid;
    gap: 16px;
}

.admin-moderation-item {
    position: relative;
    display: grid;
    gap: 14px;
    padding: 16px;
    border: 1px solid #dcebfd;
    border-radius: 5px;
    background: #ffffff;
}

.admin-moderation-item.is-loading {
    pointer-events: none;
}

.admin-moderation-item.is-loading::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 5;
    border-radius: 5px;
    background: rgba(255, 255, 255, .72);
    backdrop-filter: blur(2px);
}

.admin-moderation-item.is-loading::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 6;
    width: 32px;
    height: 32px;
    margin: -16px 0 0 -16px;
    border: 3px solid #dbeafe;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: admin-spin .8s linear infinite;
}

.admin-moderation-item__head,
.admin-moderation-title,
.admin-moderation-meta,
.admin-moderation-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-moderation-item__head {
    justify-content: space-between;
    gap: 12px;
}

.admin-moderation-item__head time {
    color: #64748b;
    font-size: 13px;
}

.admin-moderation-title__id {
    color: #0f172a;
    font-weight: 600;
}

.admin-moderation-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, .85fr));
    gap: 12px;
}

.admin-moderation-panel,
.admin-moderation-message,
.admin-moderation-note {
    min-width: 0;
    padding: 13px;
    border-radius: 5px;
    background: #f8fafc;
}

.admin-moderation-panel h3 {
    margin: 5px 0 8px;
    font-size: clamp(17px, 1.4vw, 20px);
    line-height: 1.2;
}

.admin-moderation-panel h3 a {
    color: #0f172a;
    text-decoration: none;
}

.admin-moderation-panel h3 a:hover {
    color: #2563eb;
}

.admin-moderation-label {
    display: block;
    margin-bottom: 6px;
    color: #64748b;
    font-size: 12px;
}

.admin-moderation-meta {
    align-items: flex-start;
    color: #64748b;
    font-size: 13px;
    line-height: 1.35;
}

.admin-moderation-meta span {
    overflow-wrap: anywhere;
}

.admin-moderation-message p,
.admin-moderation-note p {
    margin: 0;
    color: #0f172a;
    overflow-wrap: anywhere;
}

.admin-moderation-note {
    border: 1px solid #dbeafe;
    background: #eff6ff;
}

.admin-moderation-note strong {
    display: block;
    margin-bottom: 6px;
    color: #1d4ed8;
}

.admin-moderation-note small {
    display: block;
    margin-top: 8px;
    color: #64748b;
}

.admin-moderation-actions {
    display: grid;
    gap: 10px;
}

.admin-moderation-actions label {
    display: grid;
    gap: 6px;
    color: #475569;
    font-size: 13px;
}

.admin-moderation-actions textarea {
    width: 100%;
    min-height: 86px;
    resize: vertical;
    padding: 10px 12px;
    border: 1px solid #dcebfd;
    border-radius: 5px;
    background: #ffffff;
    color: #172033;
    font: inherit;
}

.admin-inline-action {
    min-height: 32px;
    padding: 0 10px;
    border: 0;
    border-radius: 5px;
    background: #eef6ff;
    color: #1d4ed8;
    font: inherit;
    font-size: 12px;
    font-weight: 400;
    cursor: pointer;
}

.admin-inline-action--red {
    background: #fee2e2;
    color: #b91c1c;
}

.admin-toast {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 4000;
    max-width: min(360px, calc(100vw - 32px));
    padding: 13px 16px;
    border-radius: 5px;
    background: #16a34a;
    color: #ffffff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .18);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .18s ease, transform .18s ease;
}

.admin-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.admin-toast--error {
    background: #dc2626;
}

.admin-inline-action--view {
    background: #f1f5f9;
    color: #0f172a;
}

.admin-row-actions .admin-inline-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 11px;
    border: 1px solid #dcebfd;
    border-radius: 5px;
    background: #f8fbff;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    box-sizing: border-box;
    appearance: none;
}

.admin-row-actions .admin-inline-action:hover {
    background: #eef6ff;
    color: #1d4ed8;
}

.admin-row-actions .admin-inline-action--red {
    border-color: #fecaca;
    background: #fff5f5;
    color: #b91c1c;
}

.admin-row-actions .admin-inline-action--red:hover {
    background: #fee2e2;
    color: #b91c1c;
}

.admin-modal {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: grid;
    place-items: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease;
}

.admin-modal.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.admin-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .58);
    backdrop-filter: blur(2px);
}

.admin-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(940px, 100%);
    max-height: min(820px, calc(100vh - 48px));
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    border-radius: 5px;
    background: #ffffff;
    box-shadow: 0 28px 80px rgba(15, 23, 42, .28);
    overflow: hidden;
    transform: translateY(12px);
    transition: transform .18s ease;
}

.admin-modal.is-visible .admin-modal__dialog {
    transform: translateY(0);
}

.admin-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    border-bottom: 1px solid #edf2f7;
}

.admin-modal__head h2 {
    margin: 0;
    font-size: clamp(21px, 2vw, 28px);
}

.admin-modal__close {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #f1f5f9;
    color: #0f172a;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.admin-modal__body {
    min-width: 0;
    overflow: auto;
    padding: 20px;
}

.admin-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
}

.admin-detail-grid div {
    min-width: 0;
    padding: 12px;
    border-radius: 5px;
    background: #f8fafc;
}

.admin-detail-grid dt {
    margin-bottom: 5px;
    color: #64748b;
    font-size: 12px;
}

.admin-detail-grid dd {
    margin: 0;
    color: #0f172a;
    overflow-wrap: anywhere;
}

.admin-detail-block {
    margin-top: 18px;
    padding: 16px;
    border-radius: 5px;
    background: #f8fafc;
}

.admin-dialog-thread h3 {
    margin-top: 0;
}

.admin-dialog-messages {
    display: grid;
    gap: 12px;
}

.admin-dialog-message {
    display: grid;
    gap: 8px;
    padding: 13px;
    border: 1px solid #dcebfd;
    border-radius: 5px;
    background: #ffffff;
}

.admin-dialog-message--system {
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.admin-dialog-message header,
.admin-dialog-message footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #64748b;
    font-size: 12px;
}

.admin-dialog-message header strong {
    color: #0f172a;
    font-weight: 600;
}

.admin-dialog-message p {
    margin: 0;
    color: #0f172a;
    overflow-wrap: anywhere;
    white-space: normal;
}

.admin-detail-block h3 {
    margin: 0 0 10px;
    font-size: 18px;
}

.admin-detail-block p {
    margin: 0;
    color: #334155;
    line-height: 1.55;
}

.admin-detail-block pre {
    margin: 0;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    color: #334155;
}

.admin-feedback-reply-form {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
    display: grid;
    gap: 12px;
}

.admin-feedback-reply-form label {
    display: grid;
    gap: 8px;
    color: #0f172a;
    font-weight: 400;
}

.admin-feedback-reply-form textarea {
    width: 100%;
    min-height: 150px;
    padding: 12px 14px;
    border: 1px solid #dcebfd;
    border-radius: 5px;
    background: #ffffff;
    color: #0f172a;
    resize: vertical;
    font: inherit;
}

.admin-feedback-reply-form.is-loading {
    opacity: .65;
    pointer-events: none;
}

@media (max-width: 980px) {
    .admin-shell {
        display: block;
        min-height: 100vh;
    }

    .admin-sidebar {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 1001;
        width: min(86vw, 330px);
        height: 100dvh;
        max-width: 100%;
        overflow-y: auto;
        overscroll-behavior: contain;
        transform: translateX(-105%);
        transition: transform .22s ease;
        box-shadow: 28px 0 60px rgba(15, 23, 42, .28);
    }

    .admin-body.admin-sidebar-open .admin-sidebar {
        transform: translateX(0);
    }

    .admin-sidebar-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1000;
        display: block;
        background: rgba(15, 23, 42, .56);
        opacity: 0;
        pointer-events: none;
        transition: opacity .2s ease;
    }

    .admin-body.admin-sidebar-open .admin-sidebar-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    .admin-sidebar__close,
    .admin-menu-toggle {
        display: inline-flex;
    }

    .admin-nav {
        grid-template-columns: 1fr;
        margin-top: 20px;
    }

    .admin-sidebar__footer {
        grid-template-columns: 1fr;
    }

    .admin-grid,
    .admin-two-col {
        grid-template-columns: 1fr;
    }

    .admin-main {
        padding: 16px;
    }

    .admin-topbar {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
        gap: 12px;
    }

    .admin-topbar__title {
        min-width: 0;
    }

    .admin-topbar h1 {
        overflow-wrap: anywhere;
    }

    .admin-user {
        grid-column: 1 / -1;
        justify-items: start;
    }

    .admin-list-head {
        flex-direction: column;
    }

    .admin-list-total {
        justify-items: start;
    }

    .admin-list-side {
        justify-items: stretch;
        width: 100%;
    }

    .admin-filters {
        grid-template-columns: 1fr;
    }

    .admin-filters__actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-bulk-bar {
        position: static;
        display: grid;
        grid-template-columns: 1fr;
    }

    .admin-bulk-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-bulk-counter {
        margin-left: 0;
    }

    .admin-settings-grid {
        grid-template-columns: 1fr;
    }

    .admin-edit-grid {
        grid-template-columns: 1fr;
    }

    .admin-edit-actions {
        display: grid;
    }

    .admin-health-grid,
    .admin-cron-grid,
    .admin-cron-meta {
        grid-template-columns: 1fr;
    }

    .admin-cron-task__head {
        display: grid;
    }

    .admin-cron-actions {
        display: grid;
    }

    .admin-settings-actions {
        display: grid;
    }

    .admin-moderation-filters {
        grid-template-columns: 1fr;
    }

    .admin-moderation-grid {
        grid-template-columns: 1fr;
    }

    .admin-moderation-buttons {
        display: grid;
        grid-template-columns: 1fr;
    }

    .admin-modal {
        padding: 12px;
    }

    .admin-modal__dialog {
        max-height: calc(100vh - 24px);
    }

    .admin-detail-grid {
        grid-template-columns: 1fr;
    }
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 10% 0%, #dbeafe 0, transparent 30%),
        radial-gradient(circle at 90% 10%, #dcfce7 0, transparent 26%),
        var(--bg);
    line-height: 1.45;
}

button:not([class]) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border: 0;
    border-radius: 5px;
    background: var(--primary);
    color: #ffffff;
    font: inherit;
    font-weight: 400;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

button,
input[type="button"],
input[type="submit"],
input[type="reset"],
[role="button"],
.btn,
.btn-light,
.button,
.button-outline,
.add-vacancy-btn,
.search-btn,
.vacancy-list-card__details,
.vacancy-view-stats {
    font-weight: 400 !important;
}

button:not([class]):hover {
    background: var(--primary-dark);
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.18);
}

button:not([class]):active {
    transform: translateY(1px);
}

button:not([class]):disabled {
    cursor: not-allowed;
    opacity: .6;
    box-shadow: none;
}

.container {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

.auth-page {
    padding: 40px 0;
}

.auth-form {
    background: #ffffff;
    padding: 24px;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.auth-seo-text {
    margin-top: 28px;
    background: #ffffff;
    padding: 24px;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.auth-seo-text h2 {
    margin: 0 0 12px;
}

.auth-seo-text p {
    margin: 0;
    color: #475569;
    line-height: 1.65;
}

.auth-seo-text p + p {
    margin-top: 12px;
}

.payment-method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.payment-method-card {
    display: grid;
    grid-template-columns: 22px 82px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-width: 0;
    padding: 12px;
    border: 1px solid #dcebfd;
    border-radius: 5px;
    background: #f8fbff;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.payment-method-card:has(input:checked) {
    border-color: #13ad8f;
    background: #f0fdfa;
    box-shadow: 0 12px 26px rgba(19, 173, 143, .12);
}

.payment-method-card input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #13ad8f;
}

.payment-method-card__logo {
    display: block;
    width: 82px;
    height: 36px;
    overflow: hidden;
    border-radius: 5px;
    background: #ffffff;
}

.payment-method-card__logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.payment-method-card__text {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.payment-method-card__text strong {
    color: #111827;
    font-weight: 600;
}

.payment-method-card__text small {
    color: #64748b;
    line-height: 1.35;
}

.vacancy-create-landing > .container {
    max-width: 1180px;
}

.vacancy-create-landing__hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
    gap: 24px;
    align-items: stretch;
    margin-top: 10px;
}

.vacancy-create-landing__content,
.vacancy-create-landing__card,
.vacancy-create-landing__steps article {
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(220, 234, 253, .9);
    border-radius: 5px;
    box-shadow: var(--shadow);
}

.vacancy-create-landing__content {
    position: relative;
    overflow: hidden;
    padding: clamp(24px, 4vw, 44px);
}

.vacancy-create-landing__content::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -110px;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(19, 173, 143, .18), rgba(37, 99, 235, .08) 48%, transparent 70%);
    pointer-events: none;
}

.vacancy-create-landing__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: #e8f8f4;
    color: #0f8f76;
    font-size: 14px;
    font-weight: 400;
}

.vacancy-create-landing__content h1 {
    max-width: 760px;
    margin: 18px 0 0;
}

.vacancy-create-landing__lead {
    max-width: 720px;
    margin: 18px 0 0;
    color: #475569;
    font-size: clamp(16px, 1.35vw, 19px);
    line-height: 1.65;
}

.vacancy-create-landing__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.vacancy-create-landing__actions .button,
.vacancy-create-landing__actions .button-outline {
    min-height: 48px;
    border-radius: 5px;
}

.vacancy-create-landing__card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    padding: 24px;
}

.vacancy-create-landing__card-title {
    color: #0f172a;
    font-size: 18px;
    font-weight: 600;
}

.vacancy-create-landing__card ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.vacancy-create-landing__card li {
    position: relative;
    padding-left: 24px;
    color: #475569;
    line-height: 1.45;
}

.vacancy-create-landing__card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #13ad8f;
    box-shadow: 0 0 0 5px rgba(19, 173, 143, .12);
}

.vacancy-create-landing__price {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 4px;
}

.vacancy-create-landing__price span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 11px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    font-size: 14px;
}

.vacancy-create-landing__steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.vacancy-create-landing__steps article {
    padding: 22px;
}

.vacancy-create-landing__steps span {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    font-weight: 600;
}

.vacancy-create-landing__steps h2 {
    margin: 14px 0 0;
}

.vacancy-create-landing__steps p {
    margin: 10px 0 0;
    color: #64748b;
    line-height: 1.55;
}

@media (max-width: 780px) {
    .vacancy-create-landing__hero,
    .vacancy-create-landing__steps {
        grid-template-columns: 1fr;
    }

    .vacancy-create-landing__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .vacancy-create-landing__actions .button,
    .vacancy-create-landing__actions .button-outline {
        width: 100%;
    }
}

.form-row {
    margin-bottom: 16px;
}

.form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-row input,
.form-row select {
    width: 100%;
    height: 44px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    padding: 0 12px;
    box-sizing: border-box;
}

.specialization-combobox {
    position: relative;
}

.specialization-native-select {
    display: none !important;
}

.form-row .specialization-combobox__button {
    width: 100%;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid #dcebfd;
    border-radius: 5px;
    background: #fff;
    color: #111827;
    padding: 0 12px;
    font-weight: 400;
    text-align: left;
}

.specialization-combobox__value {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.specialization-combobox__icon {
    flex: 0 0 auto;
    color: #64748b;
    font-size: 18px;
    line-height: 1;
}

.specialization-combobox__panel {
    position: absolute;
    z-index: 1200;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    overflow: hidden;
    border: 1px solid #dcebfd;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

.form-row .specialization-combobox__search {
    width: calc(100% - 16px);
    height: 40px;
    margin: 8px;
    border: 1px solid #dcebfd;
    border-radius: 5px;
    background: #f8fbff;
    padding: 0 10px;
}

.specialization-combobox__list {
    max-height: 260px;
    overflow-y: auto;
    padding: 4px;
}

.form-row .specialization-combobox__option {
    width: 100%;
    height: auto;
    min-height: 38px;
    display: block;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: #111827;
    padding: 9px 10px;
    font-weight: 400;
    text-align: left;
}

.form-row .specialization-combobox__option:hover,
.form-row .specialization-combobox__option[aria-selected="true"] {
    background: #eef6ff;
}

.specialization-combobox__empty {
    padding: 12px 14px 14px;
    color: #64748b;
    font-size: 14px;
}

.form-row button {
    height: 46px;
    padding: 0 20px;
    border: 0;
    border-radius: 5px;
    background: #2563eb;
    color: #ffffff;
    cursor: pointer;
    font-weight: 600;
}

.alert {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 5px;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
}

.auth-links {
    margin-top: 16px;
}

.auth-links a {
    color: #2563eb;
    text-decoration: none;
}

.auth-actions .button-outline {
    min-height: 48px;
    border-radius: 5px;
    color: var(--text);
}

.auth-actions .button-outline:hover {
    color: var(--text);
}

textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    padding: 12px;
    box-sizing: border-box;
    font-family: inherit;
    resize: vertical;
}

.cabinet-page {
    padding: 40px 0;
}

.profile-card {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 24px;
    background: #fff;
    border-radius: 5px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    margin-bottom: 24px;
}

.company-profile-card {
    position: relative;
    padding-right: 82px;
}

.company-report-icon-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #f97316;
}

.company-report-icon-btn:hover {
    border-color: #fed7aa;
    background: #fff7ed;
}

.company-report-icon-btn .favorite-icon-off {
    width: 24px;
    height: 24px;
}

.profile-card__avatar img,
.profile-avatar-placeholder {
    width: 180px;
    height: 180px;
    border-radius: 5px;
    object-fit: scale-down;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.list-entry-card {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 16px;
    background: #fff;
    border-radius: 5px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    margin-bottom: 20px;
}

.list-entry-card__avatar {
    width: 88px;
    height: 88px;
    border-radius: 5px;
    overflow: hidden;
    background: #fff;
}

.list-entry-card__avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.vacancy-view-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(290px, 330px);
    gap: 20px;
    align-items: start;
}

.vacancy-view-main,
.vacancy-view-company {
    min-width: 0;
}

.vacancy-view-card {
    display: block;
}

.vacancy-page .breadcrumbs + .vacancy-view-layout,
.public-resume-page .breadcrumbs + .profile-card {
    margin-top: 15px;
}

.vacancy-view-stats {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    width: 100%;
    margin-bottom: 10px;
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
}

.vacancy-view-stats__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: #2563eb;
}

.vacancy-view-stats__icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.vacancy-view-stats__today {
    color: #16a34a;
}

.vacancy-view-partner-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 0 10px;
    margin-left: auto;
    border-radius: 999px;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 13px;
    line-height: 1;
    white-space: nowrap;
}

@media (max-width: 680px) {
    .vacancy-view-stats__mobile-hide {
        display: none;
    }

    .vacancy-view-partner-badge {
        margin-left: 0;
    }
}

.vacancy-view-title-row {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(72px, 1fr);
    gap: 16px;
    align-items: start;
}

.vacancy-inactive-notice {
    display: grid;
    gap: 5px;
    margin: 10px 0 16px;
    padding: 14px 16px;
    border: 1px solid #fed7aa;
    border-left: 4px solid #f59e0b;
    border-radius: 5px;
    background: #fff7ed;
    color: #7c2d12;
    line-height: 1.45;
}

.vacancy-inactive-notice strong {
    color: #9a3412;
    font-size: 16px;
    font-weight: 600;
}

.vacancy-inactive-notice span {
    color: #9a3412;
}

.vacancy-view-layout--inactive .vacancy-view-card,
.vacancy-view-layout--inactive .vacancy-company-card {
    border-color: #e5e7eb;
    background: #f8fafc;
    box-shadow: none;
    filter: grayscale(.18);
    opacity: .84;
}

.vacancy-view-card--inactive .vacancy-view-salary,
.vacancy-view-card--inactive .vacancy-view-stats,
.vacancy-view-card--inactive .vacancy-company-location,
.vacancy-view-card--inactive .vacancy-safe-text,
.vacancy-view-card--inactive p,
.vacancy-view-card--inactive h2 {
    color: #64748b;
}

.vacancy-view-title-row h1 {
    margin-top: 0;
}

.vacancy-view-title-side {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 10px;
}

.resume-view-title-side {
    align-items: center;
}

.resume-view-title-side .resume-view-stats {
    margin: 0 auto 0 0;
}

.public-resume-page .resume-view-title-row {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    margin-bottom: 24px;
}

.public-resume-page .resume-view-title-side {
    justify-content: flex-end;
    width: max-content;
    max-width: 100%;
}

.vacancy-view-title-side .favorite-icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
}

.vacancy-view-title-side .favorite-icon-btn .favorite-icon-off,
.vacancy-view-title-side .favorite-icon-btn .favorite-icon-on {
    width: 24px;
    height: 20px;
}

.vacancy-share-icon-btn {
    color: #2563eb;
}

.vacancy-share-icon-btn:hover,
.vacancy-share-icon-btn:focus-visible {
    background: #eef5ff;
    color: #1d4ed8;
}

.share-popover {
    position: fixed;
    z-index: 2600;
    width: min(260px, calc(100vw - 24px));
    padding: 10px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
    border: 1px solid rgba(148, 163, 184, 0.22);
}

.share-popover__title {
    margin: 0 0 8px;
    color: #475569;
    font-size: 13px;
    font-weight: 400;
}

.share-popover__links {
    display: grid;
    gap: 6px;
}

.share-popover__link,
.share-popover__copy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 38px;
    padding: 8px 10px;
    border: 0;
    border-radius: 8px;
    background: #f4f7fb;
    color: #0f172a;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    cursor: pointer;
}

.share-popover__link:hover,
.share-popover__copy:hover {
    background: #e7f0ff;
    color: #1d4ed8;
}

.share-popover__status {
    min-height: 18px;
    margin-top: 8px;
    color: #16a34a;
    font-size: 12px;
}

.vacancy-view-salary {
    margin: -5px 0 16px;
    color: #1d4ed8;
    font-size: clamp(19px, 1.7vw, 22px);
    font-weight: 600;
    line-height: 1.2;
}

.vacancy-view-location {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.vacancy-view-location__icon {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    color: #2563eb;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 21s7-5.3 7-12a7 7 0 1 0-14 0c0 6.7 7 12 7 12Zm0-9.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 21s7-5.3 7-12a7 7 0 1 0-14 0c0 6.7 7 12 7 12Zm0-9.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
}

.vacancy-view-location-summary {
    margin: -2px 0 30px;
}

.vacancy-company-card {
    grid-template-columns: 1fr;
    gap: 16px;
    justify-items: center;
    text-align: center;
}

.vacancy-company-card__avatar {
    width: 150px;
    height: 150px;
    padding: 4px;
    border: 1px solid #dbeafe;
    border-radius: 50%;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.vacancy-company-card__avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #f3f4f6;
}

.vacancy-company-card__title {
    margin: 0 0 12px;
    font-size: 22px;
    line-height: 1.2;
    text-align: center;
}

.vacancy-company-card__title-link {
    color: #111827;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.vacancy-company-card__title-link:hover {
    color: #2563eb;
}

.vacancy-company-location {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 0 12px;
    color: #475569;
    line-height: 1.45;
}

.vacancy-company-location .geo-current-btn__icon {
    margin-top: 2px;
}

.vacancy-company-metro {
    margin: 0 0 12px;
}

.vacancy-company-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    background: transparent;
    border: 0;
    padding: 0;
}

.vacancy-company-card__link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.related-vacancies-card {
    display: block;
    margin-top: 16px;
    padding: 18px;
}

.related-vacancies-card h2 {
    margin: 0 0 14px;
    color: #111827;
    font-size: 20px;
    line-height: 1.2;
}

.related-vacancies-list {
    display: grid;
    gap: 10px;
}

.related-vacancy-item {
    display: grid;
    gap: 5px;
    padding: 12px;
    border-radius: 5px;
    background: #f8fafc;
    color: #111827;
    text-decoration: none;
    transition: background .15s ease, transform .15s ease;
}

.related-vacancy-item:hover {
    background: #eef6ff;
    transform: translateY(-1px);
}

.related-vacancy-item__title {
    display: -webkit-box;
    overflow: hidden;
    color: #111827;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.related-vacancy-item__salary {
    color: #1d4ed8;
    font-size: 14px;
    font-weight: 600;
}

.related-vacancy-item__date {
    color: #64748b;
    font-size: 13px;
    line-height: 1.25;
}

@media (min-width: 981px) {
    .vacancy-view-company {
        position: sticky;
        top: var(--vacancies-sidebar-sticky-top, 90px);
    }
}

.list-entry-card__body {
    min-width: 0;
}

.profile-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.vacancy-response-actions {
    width: 75%;
    min-width: 320px;
}

.vacancy-response-form {
    width: 100%;
}

.vacancy-response-form__buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.vacancy-response-form__buttons .btn,
.vacancy-response-form__buttons button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    box-sizing: border-box;
    border: 0;
    margin: 0;
}

.vacancy-contact-request-inline {
    margin-top: 12px;
}

.vacancy-response-empty p {
    margin-top: 0;
    color: var(--muted);
}

.btn {
    display: inline-block;
    padding: 12px 18px;
    background: #2563eb;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
}

.btn-light {
    background: #e5e7eb;
    color: #111827;
}

.avatar-crop-wrapper {
    max-width: 420px;
}

.avatar-upload-form {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}

.avatar-picker__box {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 60%;
    padding: 18px;
    border: 1px dashed #b7d4f8;
    border-radius: 5px;
    background: rgba(244, 247, 251, 0.86);
    cursor: pointer;
    box-sizing: border-box;
}

.avatar-picker__box input {
    margin-top: 6px;
    padding-top: 10px;
}

.avatar-picker__title {
    color: #0f172a;
    font-weight: 600;
}

.avatar-picker__hint,
.avatar-upload-status {
    color: #64748b;
    font-size: 13px;
    line-height: 1.4;
}

.avatar-preview-shell {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 260px;
}

.avatar-preview-shell[hidden] {
    display: none;
}

.avatar-preview-shell img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 1px solid #dbeafe;
    object-fit: cover;
    background: #f3f4f6;
}

.avatar-upload-status.is-error {
    color: #b91c1c;
}

@media (max-width: 700px) {
    .profile-card {
        grid-template-columns: 1fr;
    }

    .company-profile-card {
        padding-right: 72px;
    }

    .company-report-icon-btn {
        top: 16px;
        right: 16px;
    }

    .vacancy-view-layout {
        grid-template-columns: 1fr;
    }

    .vacancy-view-title-row {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px;
    }

    .vacancy-response-actions {
        width: 100%;
        min-width: 0;
    }

    .profile-card__avatar img,
    .profile-avatar-placeholder {
        width: 140px;
        height: 140px;
    }

    .avatar-picker__box {
        width: 100%;
    }

    .list-entry-card {
        grid-template-columns: 1fr;
    }

    .list-entry-card__avatar {
        width: 72px;
        height: 72px;
    }

    .vacancies-main .vacancy-list-card {
        grid-template-columns: 1fr;
        position: relative;
    }

    .vacancy-list-card__title {
        padding-right: 46px;
    }

    .vacancy-list-card__side {
        align-items: stretch;
        margin-top: 0;
    }

    .vacancy-list-card__salary {
        text-align: left;
    }
}

.history-table-wrap {
    overflow-x: auto;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    padding: 12px;
}

.history-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.history-table th,
.history-table td {
    text-align: left;
    padding: 12px;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: top;
}

.history-table th {
    background: #f9fafb;
    font-weight: 700;
}

.resume-spec-category {
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    padding: 14px;
    margin-bottom: 16px;
    background: #fff;
}

.resume-spec-category__title {
    font-weight: 700;
    margin-bottom: 10px;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
}

.birth-grid {
    display: grid;
    grid-template-columns: 100px 120px 120px;
    gap: 12px;
}

@media (max-width: 700px) {
    .checkbox-grid,
    .birth-grid {
        grid-template-columns: 1fr;
    }
}

.education-block {
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    padding: 16px;
    margin-bottom: 16px;
    background: #fff;
}

.education-block__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.skills-input-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.skills-input-row input {
    flex: 1 1 280px;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #eef2ff;
    color: #1e3a8a;
    border-radius: 5px;
    padding: 8px 12px;
    font-size: 14px;
}

.skill-tag__remove {
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    color: #1e3a8a;
    padding: 0;
}

.vacancy-additional-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 22px 0 0;
}

.vacancy-additional-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 11px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    font-size: 13px;
    line-height: 1.25;
}

.vacancy-condition-links {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid #e5eef8;
}

.vacancy-condition-links h2 {
    margin: 0 0 12px;
}

.vacancy-condition-links__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.vacancy-condition-links__list a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 7px 12px;
    border-radius: 5px;
    background: #eef6ff;
    color: #1d4ed8;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    text-decoration: none;
}

.vacancy-condition-links__list a:hover,
.vacancy-condition-links__list a:focus-visible {
    background: #dcebfd;
    color: #0f3ea8;
}

.checkbox-inline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.resume-view-block {
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.resume-view-block:last-child {
    border-bottom: 0;
}

.geo-search-block {
    position: relative;
}

.geo-search-results {
    display: none;
    position: absolute;
    z-index: 20;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    max-height: 260px;
    overflow-y: auto;
}

.geo-search-item {
    padding: 10px 12px;
    cursor: pointer;
    border-bottom: 1px solid #e5e7eb;
    background: #f3f4f6;
    color: #374151;
}

.geo-search-results .geo-search-item,
.hero-suggest-results .geo-search-item,
.hero-city-results .geo-search-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.geo-search-item__label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.geo-search-item__meta {
    color: #475569;
    font-size: 12px;
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    padding: 2px 8px;
    border-radius: 5px;
    border: 0;
    background: #eef3f9;
    font-weight: 600;
}

.geo-search-item:hover {
    background: #e9edf2;
}

.dialog-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 20px;
}

.dialog-sidebar {
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    overflow: hidden;
}

.dialog-sidebar-item {
    display: block;
    padding: 14px 16px;
    border-bottom: 1px solid #e5e7eb;
    text-decoration: none;
    color: #111827;
}

.dialog-sidebar-item.active,
.dialog-sidebar-item:hover {
    background: #f9fafb;
}

.dialog-main {
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    padding: 16px;
    display: flex;
    flex-direction: column;
    min-height: 600px;
}

.dialog-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 12px;
}

.dialog-closed-badge {
    padding: 8px 12px;
    border-radius: 5px;
    background: #fee2e2;
    color: #991b1b;
    white-space: nowrap;
    height: fit-content;
}

.dialog-messages {
    flex: 1;
    overflow-y: auto;
    padding: 12px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dialog-message {
    max-width: 75%;
    padding: 10px 12px;
    border-radius: 5px;
    background: #f3f4f6;
}

.dialog-message__sender {
    font-size: 12px;
    line-height: 1.2;
    color: #374151;
    font-weight: 600;
    margin-bottom: 5px;
}

.dialog-message.mine .dialog-message__sender {
    text-align: right;
    color: #1d4ed8;
}

.dialog-subject-type {
    color: #6b7280;
    font-weight: 500;
    margin-right: 6px;
}

.dialog-message.mine {
    align-self: flex-end;
    background: #dbeafe;
    text-align: left;
}

.dialog-message.mine .dialog-message__text {
    text-align: left;
}

.dialog-message.theirs {
    align-self: flex-start;
    background: #f3f4f6;
}

.dialog-message__time {
    font-size: 12px;
    color: #6b7280;
    margin-top: 6px;
}

.dialog-send-form {
    border-top: 1px solid #e5e7eb;
    padding-top: 12px;
    margin-top: 12px;
}

.dialog-send-form textarea {
    width: 100%;
    margin-bottom: 10px;
}

.dialog-send-form__hint {
    margin: -2px 0 10px;
    color: #6b7280;
    font-size: 12px;
}

@media (max-width: 900px) {
    .dialog-layout {
        grid-template-columns: 1fr;
    }

    .dialog-main {
        min-height: 480px;
    }
}

.dialog-message__meta {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    margin-top: 6px;
    font-size: 12px;
    color: #6b7280;
}

.dialog-message.theirs .dialog-message__meta {
    justify-content: flex-start;
}

.dialog-message__read {
    font-weight: 600;
}

.dialog-unread-badge {
    display: inline-flex;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    background: #2563eb;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    margin-top: 6px;
}


.dialog-message__read {
    font-size: 10px;
    color: #6b7280;
    margin-left: 6px;
    letter-spacing: -2px;
}

.dialog-message.mine .dialog-message__read {
    color: #2563eb; /* синий как в мессенджерах */
}

.dialog-main {
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    padding: 16px;
    display: flex;
    flex-direction: column;
    height: 78vh;
    min-height: 520px;
    max-height: 820px;
}

.dialog-messages {
    flex: 1;
    overflow-y: auto;
    padding: 12px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
}

@media (max-width: 900px) {
    .dialog-main {
        height: 72vh;
        min-height: 420px;
    }
}

.header-dialog-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.header-dialog-badge {
    display: inline-flex;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    background: #2563eb;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.dialog-unread-badge {
    display: inline-flex;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    background: #2563eb;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    margin-top: 6px;
}

.dialog-message__read {
    font-size: 13px;
    color: #2563eb;
    margin-left: 6px;
    letter-spacing: -2px;
}


.dialog-sidebar-item {
    display: block;
    position: relative;
    padding: 14px 16px;
    border-bottom: 1px solid #e5e7eb;
    text-decoration: none;
    color: #111827;
}

.dialog-unread-badge {
    position: absolute;
    bottom: 8px;
    right: 14px;
    display: inline-flex;
    min-width: 7px;
    height: 19px;
    padding: 0 6px;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    background: #2563eb;
    color: #fff;
    font-size: 8px;
    font-weight: 700;
}

.phrase-links-box {
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    padding: 16px;
    margin-bottom: 20px;
}

.phrase-links-box h2 {
    margin: 0 0 12px;
    font-size: 20px;
}

.phrase-links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.phrase-links-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    background: #f8fafc;
    border: 1px solid #dbeafe;
    color: #1f2937;
    border-radius: 5px;
    padding: 8px 12px;
}

.phrase-links-item strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    padding: 4px 8px;
    border-radius: 5px;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 12px;
}

.phrase-links-item:hover {
    border-color: #93c5fd;
    background: #eff6ff;
}

.phrase-links-item--active {
    border-color: #2563eb;
    background: #dbeafe;
}

.breadcrumbs {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #6b7280;
    font-size: 14px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    padding-right: 16px;
    overflow: hidden;
    white-space: nowrap;
}

.breadcrumbs-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #2563eb;
    cursor: pointer;
    flex: 0 0 auto;
}

.breadcrumbs-back:hover {
    background: #eef5ff;
}

.breadcrumbs-back svg {
    width: 18px;
    height: 18px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.breadcrumbs a {
    display: block;
    color: #2563eb;
    text-decoration: none;
    min-width: 0;
    max-width: 32%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 0 1 auto;
}

.breadcrumbs-current {
    display: block;
    color: #565656;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1 1 0;
}

.breadcrumbs > span:not(.breadcrumbs-current) {
    flex: 0 0 auto;
}

.breadcrumbs > * {
    min-width: 0;
}

.cabinet-page > .container > .breadcrumbs,
.auth-page > .container > .breadcrumbs {
    margin-bottom: 0;
}

.cabinet-page > .container > .breadcrumbs + h1,
.auth-page > .container > .breadcrumbs + h1 {
    margin-top: 0;
}

.vacancy-pagination-note {
    margin-top: 10px;
    color: #6b7280;
    font-size: 14px;
}

.vacancy-infinite-sentinel {
    margin-top: 10px;
    color: #6b7280;
    font-size: 14px;
    text-align: center;
    padding: 10px;
}

.vacancy-infinite-sentinel.is-loading {
    color: #2563eb;
}

.pagination-links {
    margin-top: 16px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.pagination-links__current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border-radius: 5px;
    background: #2563eb;
    color: #fff;
    font-weight: 600;
}

.dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.dialog-header__left {
    min-width: 0;
}

.dialog-subject-link {
    color: inherit;
    text-decoration: none;
}

.dialog-subject-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

.dialog-message-link {
    color: var(--primary);
    text-decoration: underline;
    word-break: break-word;
}

.dialog-header__right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.dialog-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 28px;
    line-height: 1;
    color: #666;
    background: transparent;
    transition: background 0.2s ease, color 0.2s ease;
}

.dialog-close:hover {
    background: #f3f4f6;
    color: #111;
}


.dialog-sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.dialog-sidebar-item__avatar {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 5px;
    overflow: hidden;
    background: #f2f2f2;
}

.dialog-sidebar-item__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dialog-sidebar-item__content {
    min-width: 0;
    flex: 1;
}

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

.dialog-header__user {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.dialog-header__avatar {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 5px;
    overflow: hidden;
    background: #f2f2f2;
}

.dialog-header__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dialog-header__left {
    min-width: 0;
}

.dialog-header__right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}


.dialog-sidebar-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #e5e7eb;
    text-decoration: none;
    color: #111827;
}

.dialog-sidebar-item__avatar {
    width: 46px;
    height: 46px;
    border-radius: 5px;
    overflow: hidden;
    flex: 0 0 46px;
    background: #f3f4f6;
}

.dialog-sidebar-item__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dialog-sidebar-item__content {
    min-width: 0;
    flex: 1;
}

.dialog-header__user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dialog-header__avatar {
    width: 52px;
    height: 52px;
    border-radius: 5px;
    overflow: hidden;
    background: #f3f4f6;
    flex: 0 0 52px;
}

.dialog-header__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dialog-header__content {
    min-width: 0;
}

/* СПИСОК ДИАЛОГОВ */
.dialog-list-full {
    width: 100%;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
}

.dialog-bulk-bar {
    margin-bottom: 12px;
}

.dialog-sidebar-row {
    position: relative;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: stretch;
    border-bottom: 1px solid #e5e7eb;
    background: #ffffff;
}

.dialog-sidebar-row:last-child {
    border-bottom: 0;
}

.dialog-sidebar-row__check {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-right: 1px solid #eef2f7;
}

.dialog-sidebar-row__check input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #2563eb;
    cursor: pointer;
}

.dialog-list-full.is-bulk-loading {
    opacity: 0.68;
    pointer-events: none;
}

/* СТРАНИЦА ДИАЛОГА */
.dialog-full {
    width: 100%;
}

/* ОСНОВНОЙ БЛОК ЧАТА */
.dialog-main {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

/* СООБЩЕНИЯ */
.dialog-messages {
    height: 60vh;
    overflow-y: auto;
}

.dialog-sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 16px;
    text-decoration: none;
    color: #111827;
    position: relative;
    min-width: 0;
    box-sizing: border-box;
}

/* БЛОК С ТЕКСТОМ */
.dialog-sidebar-item__content {
    flex: 1;
    min-width: 0;
}

/* ВЕРХНЯЯ СТРОКА */
.dialog-sidebar-item__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* НАЗВАНИЕ */
.dialog-sidebar-item__title {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* ВРЕМЯ */
.dialog-sidebar-item__time {
    font-size: 12px;
    color: #9ca3af;
    flex-shrink: 0;
    margin-left: 8px;
}

/* НИЖНЯЯ СТРОКА */
.dialog-sidebar-item__bottom {
    font-size: 14px;
    color: #6b7280;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* ГОЛУБОЙ ФОН */
.dialog-sidebar-item.has-unread {
    background: #eff6ff;
}

/* ХОВЕР */
.dialog-sidebar-item:hover {
    background: #f3f4f6;
}

/* ПОСЛЕДНЕЕ СООБЩЕНИЕ */
.dialog-sidebar-item__last-message {
    font-size: 13px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;

    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;

    margin-top: 2px;
}

.dialog-sidebar-item__last-message-text {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.dialog-sidebar-item__read-state {
    flex: 0 0 auto;
    color: #2563eb;
    font-size: 12px;
    font-weight: 600;
}

/* ЕСЛИ НЕПРОЧИТАННОЕ — делаем текст темнее */
.dialog-sidebar-item.has-unread .dialog-sidebar-item__last-message {
    color: #111827;
    font-weight: 500;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(244, 247, 251, 0.86);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid rgba(229, 234, 242, 0.9);
}

.site-main {
    position: relative;
    z-index: 1;
}

.site-header .container {
    width: min(1180px, calc(100% - 32px));
    max-width: 1180px;
    padding: 0;
}

.header-row {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-width: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #172033;
    text-decoration: none;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.03em;
    white-space: nowrap;
}

.logo-mark {
    width: 42px;
    height: 42px;
    display: block;
    flex: 0 0 42px;
}

.logo-mark img {
    display: block;
    width: 100%;
    height: 100%;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
    flex: 1 1 auto;
    justify-content: flex-end;
    max-width: calc(100% - 190px);
    min-width: 0;
}

.header-mobile-favorites,
.header-mobile-dialogs {
    display: none;
    position: relative;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 0;
    background: transparent;
    align-items: center;
    justify-content: center;
    color: #64748b;
    text-decoration: none;
    padding: 0;
}

.header-mobile-favorites__icon,
.header-mobile-dialogs__icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.header-mobile-dialogs__icon {
    width: 26px;
    height: 26px;
}

.header-mobile-favorites__icon svg,
.header-mobile-dialogs__icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.header-mobile-favorites + .header-mobile-dialogs {
    margin-left: 0;
}

.header-mobile-dialogs .header-dialog-badge,
.header-mobile-favorites .header-favorites-badge {
    position: absolute;
    top: -3px;
    right: -6px;
    min-width: 9px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #2563eb;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    color: #667085;
    font-size: 15px;
}

.main-nav a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}

.main-nav__favorites-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.main-nav__favorites-icon {
    width: 20px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.main-nav__favorites-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.main-nav__dialogs-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.main-nav__dialogs-icon {
    width: 20px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.main-nav__dialogs-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.main-nav__geo-btn {
    display: none;
}

.main-nav__top {
    display: none;
}

.main-nav__profile-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.main-nav__profile-icon {
    width: 20px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.main-nav__profile-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.main-nav a:hover {
    color: #2563eb;
}

.main-nav .add-vacancy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 18px;
    border-radius: 5px;
    border: 0;
    background: #2563eb;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22);
}

.main-nav .add-vacancy-btn:hover {
    color: #ffffff;
    background: #1d4ed8;
}

.header-menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    background: #ffffff;
    padding: 0;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
}

.header-menu-toggle__line {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 5px;
    background: #374151;
}

.main-nav__close {
    display: none;
}

.header-menu-backdrop {
    display: none;
}

.hero {
    padding: 54px 0 28px;
}

.hero .container {
    width: min(1180px, calc(100% - 32px));
    max-width: 1180px;
    padding: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.26fr 0.74fr;
    gap: 28px;
    align-items: stretch;
}

.hero-card {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(229, 234, 242, 0.9);
    border-radius: 5px;
    padding: 42px;
    box-shadow: var(--shadow);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 5px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 18px;
}

.hero h1 {
    margin: 0;
    font-size: clamp(34px, 5vw, 50px);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.hero-text {
    margin: 20px 0 28px;
    color: var(--muted);
    font-size: 18px;
    max-width: 650px;
}

.search-box {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 5px;
    padding: 10px;
    display: grid;
    grid-template-columns: 1fr 209px 150px;
    gap: 10px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

#heroSearchForm {
    background: rgb(244 247 251 / 22%);
}

.hero-keyword-field,
.hero-city-field {
    position: relative;
}

.hero-city-field::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 2;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 21s7-5.25 7-12a7 7 0 1 0-14 0c0 6.75 7 12 7 12Z' stroke='%2364748b' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M12 11.75a2.75 2.75 0 1 0 0-5.5 2.75 2.75 0 0 0 0 5.5Z' stroke='%2364748b' stroke-width='1.8'/%3E%3C/svg%3E") center / contain no-repeat;
}

.search-box .field {
    min-width: 0;
}

.field input,
.field select {
    width: 100%;
    height: 52px;
    border: 1px solid #dcebfd;
    outline: 0;
    background: #f8fafc;
    border-radius: 5px;
    padding: 0 16px;
    color: var(--text);
    font-size: 15px;
    box-sizing: border-box;
}

.hero-city-field input,
.search-box .hero-city-field input {
    padding-left: 42px;
}

.hero-suggest-results,
.hero-city-results {
    top: calc(100% + 8px);
    border-radius: 5px;
    z-index: 40;
}

.hero-suggest-results .geo-search-item,
.hero-city-results .geo-search-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    border: 0;
    background: #ffffff;
    text-align: left;
    font: inherit;
    color: #172033;
    text-decoration: none;
}

.hero-suggest-results .geo-search-item:hover,
.hero-city-results .geo-search-item:hover {
    background: #f9fafb;
}

.hero-suggest-item__meta {
    color: #64748b;
    font-size: 12px;
    white-space: nowrap;
}

.search-btn {
    border: 0;
    border-radius: 5px;
    background: var(--primary);
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
}

.search-btn::before {
    content: "";
    width: 18px;
    height: 18px;
    display: block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='20' y1='20' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
}

.quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.quick-links a {
    padding: 8px 12px;
    border-radius: 5px;
    background: #f1f5f9;
    color: #475569;
    font-size: 14px;
}

.section {
    padding: 34px 0;
}

.section .container {
    width: min(1180px, calc(100% - 32px));
    max-width: 1180px;
    padding: 0;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.section-head h1,
.section-head h2 {
    margin: 0;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.section-head p {
    margin: 8px 0 0;
    color: var(--muted);
    max-width: 760px;
}

.button-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 5px;
    border: 1px solid #dbe4f0;
    background: #ffffff;
    color: var(--text);
    font-weight: 700;
    text-decoration: none;
    box-sizing: border-box;
}

.button-outline:hover {
    border-color: #93c5fd;
    background: #f8fbff;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    min-width: 0;
}

.vacancy-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.cities-grid--full {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.city-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    min-height: 52px;
    padding: 0 14px;
    border-radius: 5px;
    border: 1px solid #dbe4f0;
    background: #ffffff;
    color: var(--text);
    text-decoration: none;
    box-sizing: border-box;
}

.city-link:hover {
    border-color: #93c5fd;
    background: #f8fbff;
}

.city-link__name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.city-link__count {
    flex: 0 0 auto;
    min-width: 28px;
    max-width: 78px;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: right;
    font-size: 13px;
    font-weight: 700;
    color: #1d4ed8;
}

.cities-grid-empty {
    grid-column: 1 / -1;
    padding: 14px 16px;
    border-radius: 5px;
    border: 1px dashed #dbe4f0;
    background: #ffffff;
    color: #64748b;
}

.vacancy-card {
    padding: 22px;
    border-radius: 5px;
    border: 1px solid #dbe4f0;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.vacancy-card h3 {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.25;
}

.vacancy-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.vacancy-favorite-form {
    margin: 0;
    line-height: 1;
}

.favorite-icon-btn {
    border: 1px solid #dbe4f0;
    background: #ffffff;
    color: #94a3b8;
    width: 34px;
    height: 34px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.favorite-icon-btn:hover {
    border-color: #93c5fd;
    background: #f8fbff;
}

.favorite-icon-btn .favorite-icon-off,
.favorite-icon-btn .favorite-icon-on {
    display: inline-flex;
    width: 20px;
    height: 16px;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.favorite-icon-btn .favorite-icon-off svg,
.favorite-icon-btn .favorite-icon-on svg {
    width: 100%;
    height: 100%;
    display: block;
}

.favorite-icon-btn .favorite-icon-on {
    display: none;
}

.favorite-icon-btn.is-active {
    color: #1d4ed8;
    border-color: #93c5fd;
    background: #eff6ff;
}

.favorite-icon-btn.is-active .favorite-icon-off {
    display: none;
}

.favorite-icon-btn.is-active .favorite-icon-on {
    display: inline;
}

.vacancy-head {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 6px;
}

.vacancy-head h3 {
    width: 100%;
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
    max-height: calc(1.25em * 2);
}

.vacancy-title-link {
    color: inherit;
    text-decoration: none;
}

.vacancy-title-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.salary {
    font-weight: 600;
    color: #1d4ed8;
    font-size: 0.98rem;
    text-align: left;
    justify-self: start;
    max-width: 100%;
}

.vacancy-meta {
    display: grid;
    gap: 8px;
    color: #64748b;
    font-size: 0.94rem;
}

.vacancy-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.vacancy-meta-item--location {
    margin-top: 2px;
}

.vacancy-meta-icon {
    width: 18px;
    height: 18px;
    color: #64748b;
    flex: 0 0 18px;
    margin-top: 1px;
}

.vacancy-meta-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.vacancy-meta-link {
    color: #1d4ed8;
    text-decoration: none;
}

.vacancy-meta-link:hover {
    text-decoration: underline;
}

.vacancy-tag {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 7px 12px;
    border-radius: 5px;
    background: rgba(22, 163, 74, 0.1);
    color: #15803d;
    font-weight: 700;
    font-size: 0.88rem;
}

.seo-box {
    padding: 28px;
    border-radius: 5px;
    border: 1px solid #dbe4f0;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.seo-box h2 {
    margin: 0 0 14px;
    font-size: clamp(24px, 2.6vw, 34px);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.seo-box p {
    margin: 0;
    color: #475569;
    line-height: 1.65;
}

.seo-box p + p {
    margin-top: 14px;
}

.legal-page {
    padding-top: 22px;
}

.legal-document {
    max-width: 980px;
    margin: 0 auto;
    padding: clamp(24px, 4vw, 44px);
    border: 1px solid #dcebfd;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(19, 173, 143, .08), rgba(29, 78, 216, .06)),
        #ffffff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .08);
}

.legal-document__header {
    display: grid;
    gap: 14px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(148, 163, 184, .28);
}

.legal-document__eyebrow {
    width: max-content;
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(19, 173, 143, .12);
    color: #0f766e;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .03em;
}

.legal-document h1 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(26px, 3.1vw, 42px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.legal-document__header p,
.legal-document__section p {
    margin: 0;
    color: #42526a;
    font-size: 16px;
    line-height: 1.72;
}

.legal-document__body {
    display: grid;
    gap: 24px;
    padding-top: 26px;
}

.legal-document__section {
    padding: 22px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(220, 235, 253, .9);
}

.legal-document__section h2 {
    margin: 0 0 12px;
    color: #172033;
    font-size: clamp(20px, 2vw, 25px);
    line-height: 1.22;
    letter-spacing: -0.02em;
}

.legal-document__section p + p {
    margin-top: 13px;
}

.payment-services-section {
    background:
        linear-gradient(135deg, rgba(19, 173, 143, .08), rgba(29, 78, 216, .04)),
        rgba(255, 255, 255, .86);
}

.payment-services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.payment-service-card {
    position: relative;
    display: grid;
    gap: 10px;
    min-height: 178px;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(220, 235, 253, .95);
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .06);
}

.payment-service-card__price {
    width: max-content;
    padding: 6px 11px;
    border-radius: 999px;
    background: #e9f9f5;
    color: #0f766e;
    font-size: 14px;
    font-weight: 600;
}

.payment-service-card h3 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(18px, 1.6vw, 21px);
    line-height: 1.25;
    letter-spacing: -0.015em;
}

.payment-service-card p {
    margin: 0;
    color: #516174;
    font-size: 15px;
    line-height: 1.6;
}

.legal-requisites dl {
    display: grid;
    gap: 10px;
    margin: 0;
}

.legal-requisites dl > div {
    display: grid;
    grid-template-columns: minmax(160px, 240px) 1fr;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(148, 163, 184, .22);
}

.legal-requisites dl > div:last-child {
    border-bottom: 0;
}

.legal-requisites dt {
    color: #64748b;
    font-weight: 500;
}

.legal-requisites dd {
    margin: 0;
    color: #0f172a;
    font-weight: 600;
}

.vacancies-seo-text {
    margin-top: 28px;
    padding: 28px;
    border-radius: 5px;
    border: 1px solid #dbe4f0;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.vacancies-seo-text h2 {
    margin: 0 0 14px;
    font-size: clamp(22px, 2.2vw, 30px);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.vacancies-seo-text p {
    margin: 0;
    color: #475569;
    line-height: 1.65;
}

.vacancies-seo-text p + p {
    margin-top: 14px;
}

.info-card {
    background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
    color: var(--text);
    border: 1px solid rgba(219, 228, 240, 0.9);
    border-radius: 5px;
    padding: 28px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
}

.info-card h2 {
    margin: 0 0 12px;
    font-size: 1.7rem;
    line-height: 1.15;
}

.info-card p {
    margin: 0;
    color: var(--muted);
}

.info-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.info-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(219, 228, 240, 0.9);
}

.info-dot {
    width: 12px;
    height: 12px;
    margin-top: 6px;
    border-radius: 5px;
    background: var(--green);
    flex: 0 0 12px;
    box-shadow: 0 0 0 6px rgba(22, 163, 74, 0.1);
}

.info-list strong {
    display: block;
    margin-bottom: 2px;
    color: var(--text);
    font-size: 0.98rem;
}

.info-list span {
    color: var(--muted);
    font-size: 14px;
}

.info-card .button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 5px;
    background: #2563eb;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.info-card .button:hover {
    background: #1d4ed8;
}

.footer {
    margin-top: 42px;
    background: #ffffff;
    color: #172033;
}

.footer .container {
    width: min(1180px, calc(100% - 32px));
    max-width: 1180px;
    padding: 0;
}

.footer-box {
    padding: 36px 0 18px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.footer .brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    color: #172033;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.02em;
}

.footer .brand-badge {
    width: 40px;
    height: 40px;
    display: block;
    flex: 0 0 40px;
}

.footer .brand-badge img {
    display: block;
    width: 100%;
    height: 100%;
}

.footer-note {
    margin: 0;
    color: #64748b;
    line-height: 1.6;
}

.footer-social {
    margin-top: 18px;
}

.footer-social-title {
    display: block;
    margin-bottom: 10px;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
}

.footer-social-links {
    display: grid;
    gap: 10px;
    justify-items: flex-start;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #eef5ff;
    color: #1d4ed8;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer-social-link:hover {
    background: #dbeafe;
    color: #1744bb;
    transform: translateY(-1px);
}

.footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border-radius: 50%;
    background: #2563eb;
    color: #ffffff;
}

.footer-social-icon svg {
    display: block;
    width: 15px;
    height: 15px;
    fill: currentColor;
}

.footer-title {
    margin: 4px 0 12px;
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.footer-links {
    display: grid;
    gap: 9px;
}

.footer-links a {
    color: #475569;
    text-decoration: none;
    line-height: 1.4;
}

.footer-links a:hover {
    color: #1d4ed8;
}

.footer-bottom {
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid #e5edf7;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: #64748b;
    font-size: 14px;
}

.footer-payment-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    white-space: nowrap;
}

.footer-payment-badge img {
    display: block;
    width: 92px;
    height: 30px;
    object-fit: contain;
    border-radius: 5px;
}

.geo-current-btn {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    min-height: 42px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    padding: 0 14px;
    background: #ffffff;
    color: #172033;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    min-width: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.header-controls > .geo-current-btn {
    width: clamp(150px, 16vw, 220px);
    max-width: clamp(150px, 16vw, 220px);
    flex: 0 1 clamp(150px, 16vw, 220px);
}

.geo-current-btn__caption {
    color: #6b7280;
    font-weight: 500;
    flex: 0 0 auto;
}

.geo-current-btn__icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 21s7-5.25 7-12a7 7 0 1 0-14 0c0 6.75 7 12 7 12Z' stroke='%2364748b' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M12 11.75a2.75 2.75 0 1 0 0-5.5 2.75 2.75 0 0 0 0 5.5Z' stroke='%2364748b' stroke-width='1.8'/%3E%3C/svg%3E") center / contain no-repeat;
}

#geoCurrentCityLabel {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.geo-modal[hidden] {
    display: none;
}

.geo-modal {
    position: fixed;
    inset: 0;
    z-index: 30000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-sizing: border-box;
}

.geo-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.5);
}

.geo-modal__dialog {
    position: relative;
    width: min(560px, calc(100vw - 24px));
    max-width: 560px;
    margin: 0;
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
    background: #ffffff;
    border-radius: 5px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    padding: 18px 16px 16px;
}

.geo-modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 5px;
    background: #f3f4f6;
    color: #374151;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
}

.geo-modal__title {
    margin: 0 0 16px;
    padding-right: 36px;
}

.geo-search-block--header .geo-search-results {
    top: calc(100% + 8px);
}

.geo-search-input-wrap {
    position: relative;
}

.geo-search-input-wrap #geoPickerInput {
    padding-right: 42px;
}

.form-row .geo-search-clear {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: #6b7280;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.form-row .geo-search-clear:hover {
    background: transparent;
    color: #374151;
}

.geo-search-item {
    width: 100%;
    text-align: left;
    border: 0;
    background: #f3f4f6;
    color: #374151;
    font: inherit;
}

@media (max-width: 680px) {
    :root {
        --mobile-header-offset: 72px;
    }

    .geo-modal {
        padding: 10px;
    }

    .geo-modal__dialog {
        width: calc(100vw - 20px);
        max-height: calc(100dvh - 20px);
        padding: 14px 12px 12px;
        border-radius: 5px;
    }

    .geo-modal__title {
        margin-bottom: 12px;
        font-size: 18px;
        line-height: 1.25;
    }
}

.geo-search-results .geo-search-item,
.hero-suggest-results .geo-search-item,
.hero-city-results .geo-search-item {
    background: #f3f4f6 !important;
    color: #374151 !important;
    border-bottom: 1px solid #e5e7eb !important;
}

.geo-search-results .geo-search-item:hover,
.hero-suggest-results .geo-search-item:hover,
.hero-city-results .geo-search-item:hover {
    background: #e7ebf0 !important;
}

.geo-search-results .geo-search-item:focus-visible,
.hero-suggest-results .geo-search-item:focus-visible,
.hero-city-results .geo-search-item:focus-visible {
    outline: 2px solid #cfd6de;
    outline-offset: -2px;
}

.geo-search-empty {
    padding: 12px;
    color: #6b7280;
}

.geo-country-link {
    border: 1px solid #d1d5db;
    border-radius: 5px;
    background: #ffffff;
    color: #111827;
    font-weight: 600;
    padding: 10px 12px;
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    text-align: left;
}

.geo-country-link:hover {
    background: #f9fafb;
}

.geo-popular {
    margin-top: 16px;
}

.geo-popular__title {
    font-weight: 700;
    margin-bottom: 10px;
}

.geo-popular__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.geo-popular-item {
    border: 1px solid #d1d5db;
    border-radius: 5px;
    padding: 8px 12px;
    background: #ffffff;
    color: #111827;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.geo-popular-item:hover {
    background: #f3f4f6;
}

.geo-quick-item__label {
    min-width: 0;
}

.geo-quick-item__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    padding: 2px 8px;
    border-radius: 5px;
    border: 0;
    background: #eef3f9;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.geo-modal-open {
    overflow: hidden;
}

@media (max-width: 980px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .vacancy-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .hero .container {
        width: min(100% - 22px, 1180px);
    }

    .hero {
        padding-top: 28px;
    }

    .hero-card,
    .info-card,
    .seo-box {
        border-radius: 5px;
        padding: 24px;
    }

    .section {
        padding: 24px 0;
    }

    .section .container {
        width: min(100% - 22px, 1180px);
    }

    .footer .container {
        width: min(100% - 22px, 1180px);
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 16px;
    }

    .button-outline {
        width: 100%;
    }

    .cities-grid,
    .cities-grid--full {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vacancy-grid {
        grid-template-columns: 1fr;
    }

    .search-box {
        grid-template-columns: 1fr;
    }

    .search-btn {
        height: 52px;
    }

    .vacancies-top-search {
        position: sticky;
        top: 64px;
        z-index: 190;
        margin: 0 0 16px;
        grid-template-columns: 1fr auto auto;
        column-gap: 0;
        row-gap: 8px;
        align-items: stretch;
    }

    .vacancies-top-search::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 100vw;
        transform: translateX(-50%);
        background: rgba(244, 247, 251, 0.86);
        z-index: -1;
        pointer-events: none;
    }

    .vacancies-top-search .hero-keyword-field,
    .vacancies-top-search .search-btn {
        grid-column: auto;
    }

    .resumes-top-search {
        grid-template-columns: 1fr auto auto;
    }

    .vacancies-top-search .hero-city-field {
        display: none;
    }

    .vacancies-top-search .hero-keyword-field input {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        border-right: 0;
    }

    .vacancies-top-search .search-btn {
        min-width: 0;
        width: 50px;
        padding: 0;
        font-size: 0;
        line-height: 0;
        gap: 0;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .vacancies-top-search .search-btn::before {
        width: 20px;
        height: 20px;
    }

    .vacancies-top-search .vacancies-mobile-filter-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 52px;
        margin-left: 8px;
    }

    .vacancies-mobile-filter-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.45);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.2s ease, visibility 0.2s ease;
        z-index: 10010;
    }

    .vacancies-mobile-filter-backdrop.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .vacancies-sidebar {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        width: min(360px, 92vw);
        height: 100dvh;
        margin: 0;
        padding: 14px 14px calc(84px + env(safe-area-inset-bottom));
        background: #ffffff;
        overflow-y: auto;
        box-shadow: -12px 0 34px rgba(15, 23, 42, 0.18);
        transform: translateX(105%);
        transition: transform 0.22s ease;
        z-index: 10020;
    }

    .vacancies-sidebar.is-open {
        transform: translateX(0);
    }

    .vacancies-sidebar .vacancies-filter-form {
        margin-bottom: 0;
        box-shadow: none;
        padding: 0 0 calc(28px + env(safe-area-inset-bottom));
    }

    .vacancies-sidebar-close {
        display: flex;
        align-items: center;
        justify-content: center;
        position: sticky;
        top: 0;
        width: 36px;
        height: 36px;
        margin: 0 0 8px auto;
        border: 1px solid #e5e7eb;
        background: #ffffff;
        color: #374151;
        cursor: pointer;
        z-index: 2;
    }

    .vacancies-sidebar-close svg {
        width: 18px;
        height: 18px;
        display: block;
        fill: none;
        stroke: currentColor;
        stroke-width: 2.2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .vacancies-filter-geo-row {
        display: block;
    }

    .vacancies-filter-desktop-geo {
        display: none;
    }

    #vacanciesFilterGeoMount {
        display: block;
    }

    #vacanciesFilterGeoMount .hero-city-results,
    #resumesFilterGeoMount .hero-city-results {
        z-index: 30010;
    }

    .vacancies-filter-form .vacancies-filter-close-btn {
        display: inline-flex;
    }

    .footer {
        margin-top: 28px;
    }

    .footer-box {
        padding: 28px 0 14px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-bottom {
        margin-top: 18px;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-payment-badge {
        white-space: normal;
    }

    body.vacancies-filter-open .site-header {
        z-index: 10000;
    }

    body.vacancies-filter-open .site-main {
        z-index: 10030;
    }
}

@media (max-width: 520px) {
    .cities-grid,
    .cities-grid--full {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .city-link {
        width: 100%;
        max-width: 100%;
        padding: 0 12px;
        gap: 8px;
    }
}

.main-nav__mobile-profile-card {
    display: none;
}

.main-nav__mobile-account-link {
    display: none;
}

.main-nav__mobile-divider,
.main-nav__mobile-bottom-link {
    display: none;
}

.main-nav__account-icon {
    width: 20px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.main-nav__account-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.main-nav__balance-value {
    margin-left: 4px;
    color: #2563eb;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

@media (max-width: 1000px) {
    html,
    body {
        overflow-x: hidden;
        overflow-x: clip;
    }

    .site-header .container {
        width: min(100% - 22px, 1180px);
    }

    .header-row {
        min-height: 64px;
    }

    .header-controls {
        width: auto;
        gap: 18px;
    }

    .header-controls > .geo-current-btn {
        display: none;
    }

    .header-mobile-favorites,
    .header-mobile-dialogs {
        display: inline-flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 86vw);
        max-width: 86vw;
        height: 100dvh;
        background: #ffffff;
        box-shadow: -12px 0 32px rgba(17, 24, 39, 0.2);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 16px;
        box-sizing: border-box;
        overflow-y: auto;
        transform: translate3d(105%, 0, 0);
        transition: transform .2s ease;
        z-index: 10020;
    }

    .main-nav a {
        padding: 12px 4px;
        border-bottom: 1px solid #f3f4f6;
        font-size: 15px;
    }

    .main-nav__mobile-account-link {
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

    .main-nav__primary-link {
        display: none;
    }

    .main-nav__mobile-divider {
        display: block;
        height: 1px;
        margin: 14px 0 4px;
        background: #e5e7eb;
    }

    .main-nav__mobile-bottom-link {
        display: block;
    }

    .main-nav__top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin-bottom: 8px;
    }

    .main-nav__geo-btn {
        display: inline-flex;
        align-items: center;
        justify-content: flex-start;
        gap: 8px;
        min-width: 0;
        max-width: calc(100% - 48px);
        min-height: 38px;
        padding: 8px 10px;
        border: 1px solid #dbeafe;
        border-radius: 5px;
        background: #f8fafc;
        color: #172033;
        font-size: 15px;
        font-weight: 600;
        text-align: left;
        cursor: pointer;
    }

    .main-nav__geo-btn span:last-child {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .main-nav .add-vacancy-btn {
        margin-top: 12px;
        border-bottom: 0;
        padding: 10px 14px;
    }

    .main-nav__mobile-profile-card {
        display: block;
        margin: 14px 0 0;
        padding: 16px 12px;
        border: 1px solid #e5e7eb;
        border-radius: 5px;
        background: #f8fafc;
        box-shadow: none;
    }

    .main-nav__mobile-profile-card .profile-dashboard-avatar {
        margin-bottom: 10px;
    }

    .main-nav__mobile-profile-card .profile-dashboard-avatar img,
    .main-nav__mobile-profile-card .profile-dashboard-avatar .profile-avatar-placeholder {
        width: 74px;
        height: 74px;
    }

    .main-nav__mobile-profile-card .profile-dashboard-info h2 {
        margin-bottom: 6px;
        font-size: 18px;
    }

    .main-nav__mobile-profile-card .profile-dashboard-info p {
        margin: 5px 0;
        font-size: 13px;
    }

    .main-nav__close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        align-self: flex-end;
        width: 36px;
        height: 36px;
        border: 1px solid #e5e7eb;
        border-radius: 5px;
        background: #ffffff;
        color: #374151;
        font-size: 24px;
        line-height: 1;
        cursor: pointer;
        margin: 0;
    }

    .header-menu-toggle {
        display: inline-flex;
    }

    .header-menu-backdrop {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100dvh;
        background: rgba(17, 24, 39, 0.48);
        opacity: 0;
        pointer-events: none;
        transition: opacity .2s ease;
        z-index: 10010;
    }

    body.header-menu-open {
        overflow: hidden;
    }

    body.header-menu-open .site-header {
        z-index: 10000;
    }

    body.header-menu-open .site-main {
        z-index: 1;
    }

    body.header-menu-open .main-nav {
        transform: translateX(0);
    }

    body.header-menu-open .header-menu-backdrop {
        opacity: 1;
        pointer-events: auto;
    }
}

.feedback-upload-box {
    border: 1px dashed #9ca3af;
    border-radius: 5px;
    padding: 12px;
    background: #f9fafb;
    transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}

.feedback-upload-box.is-dragover {
    border-color: #2563eb;
    background: #eff6ff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

.feedback-upload-box input[type="file"] {
    width: 100%;
}

.feedback-upload-hint {
    margin-top: 8px;
    color: #6b7280;
    font-size: 13px;
}

.feedback-preview {
    margin-top: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    padding: 12px;
    background: #fff;
}

.feedback-preview img {
    width: 100%;
    max-width: 420px;
    max-height: 320px;
    object-fit: contain;
    border-radius: 5px;
    border: 1px solid #e5e7eb;
    background: #f3f4f6;
}

.feedback-preview__meta {
    margin-top: 8px;
    margin-bottom: 10px;
    color: #4b5563;
    font-size: 13px;
}

.vacancy-metro {
    margin-bottom: 12px;
}

.vacancy-metro-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.vacancy-metro-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f3f4f6;
    border-radius: 5px;
    padding: 6px 10px;
    font-size: 14px;
    color: #111827;
}

.vacancy-metro-link {
    text-decoration: none;
    transition: background .18s ease, color .18s ease;
}

.vacancy-metro-link:hover {
    background: #e8f1ff;
    color: #1d4ed8;
}

.vacancy-metro-dot {
    width: 10px;
    height: 10px;
    border-radius: 5px;
    flex: 0 0 10px;
}

.filter-checkbox-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
}

.filter-checkbox-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    padding: 8px 12px;
    font-size: 14px;
    color: #111827;
}

.filter-checkbox-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
}

.filter-checkbox-item--metro {
    background: #fff;
}

.filter-dropdown-row {
    position: relative;
}

.filter-checkbox-dropdown {
    display: block;
    width: 100%;
}

.filter-checkbox-dropdown__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #dcebfd;
    border-radius: 5px;
    background: #ffffff;
    color: #111827;
    font-size: 14px;
    cursor: pointer;
    list-style: none;
    box-sizing: border-box;
}

.filter-checkbox-dropdown__summary::-webkit-details-marker {
    display: none;
}

.filter-checkbox-dropdown__summary::after {
    content: "";
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-right: 2px solid #64748b;
    border-bottom: 2px solid #64748b;
    transform: rotate(45deg);
    transition: transform .18s ease;
}

.filter-checkbox-dropdown[open] .filter-checkbox-dropdown__summary::after {
    transform: rotate(225deg);
}

.filter-checkbox-dropdown__summary strong {
    min-width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    border-radius: 999px;
    background: #e8f4ff;
    color: #2563eb;
    font-size: 12px;
    font-weight: 400;
}

.filter-checkbox-dropdown__summary strong:empty {
    display: none;
}

.filter-checkbox-dropdown__panel {
    margin-top: 8px;
    padding: 10px;
    border: 1px solid #e5eefb;
    border-radius: 5px;
    background: #f8fafc;
}

.filter-checkbox-list--dropdown {
    max-height: 260px;
    overflow: auto;
    padding-right: 4px;
}

.filter-checkbox-list--dropdown .filter-checkbox-item {
    width: 100%;
    box-sizing: border-box;
}

.filter-metro-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.filter-metro-dot {
    width: 10px;
    height: 10px;
    border-radius: 5px;
    flex: 0 0 10px;
}

.filter-metro-name {
    line-height: 1.2;
}

.filter-metro-link {
    color: inherit;
    text-decoration: none;
}

.filter-metro-link:hover {
    color: #2563eb;
    text-decoration: underline;
}

.report-modal[hidden] {
    display: none;
}

.report-modal {
    position: fixed;
    inset: 0;
    z-index: 13000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-sizing: border-box;
}

.report-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.55);
}

.report-modal__dialog {
    position: relative;
    width: calc(100% - 24px);
    max-width: 560px;
    max-height: calc(100dvh - 24px);
    margin: 0 auto;
    border-radius: 5px;
    background: #fff;
    padding: 20px;
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    box-sizing: border-box;
}

.report-modal__close {
    position: absolute;
    right: 10px;
    top: 8px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 5px;
    background: #f3f4f6;
    color: #111827;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.report-modal-open {
    overflow: hidden;
}

@media (max-width: 680px) {
    .report-modal {
        align-items: center;
        padding: 10px;
    }

    .report-modal__dialog {
        width: calc(100vw - 20px);
        max-width: calc(100vw - 20px);
        max-height: calc(100dvh - 20px);
        padding: 16px 12px 14px;
    }

    .report-modal__dialog h3 {
        margin-top: 0;
        padding-right: 38px;
        font-size: 18px;
        line-height: 1.25;
    }

    .report-modal__dialog textarea {
        min-height: 110px;
    }
}

body.vacancies-filter-open {
    overflow: hidden;
}

html.vacancies-filter-open,
body.vacancies-filter-open {
    overscroll-behavior: none;
    touch-action: none;
}

.vacancies-page .container {
    width: min(1180px, calc(100% - 32px));
    max-width: 1180px;
    padding: 0;
}

.vacancy-page .container {
    width: min(1180px, calc(100% - 32px));
    max-width: 1180px;
    padding: 0;
}

.cities-page {
    padding: 20px 0 40px;
}

.cities-page .container {
    width: min(1180px, calc(100% - 32px));
    max-width: 1180px;
    padding: 0;
}

.cities-headline {
    margin: 0 0 22px;
}

.cities-headline .breadcrumbs {
    margin: 4px 2px 10px;
}

.cities-page__lead {
    margin: 8px 2px 0;
    max-width: 760px;
    color: var(--muted);
}

.public-resume-page .container {
    width: min(1180px, calc(100% - 32px));
    max-width: 1180px;
    padding: 0;
}

.public-resume-page .profile-card {
    display: block;
    grid-template-columns: 1fr;
}

.public-resume-page .profile-card__info {
    min-width: 0;
}

.resume-view-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 1fr);
    gap: 28px;
    align-items: start;
}

.resume-view-head__content {
    min-width: 0;
}

.resume-view-head__photo {
    display: flex;
    justify-content: flex-end;
}

.resume-view-head__photo img {
    width: min(100%, 150px);
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid #dbeafe;
    background: #f3f4f6;
}

.vacancies-layout {
    display: grid;
    grid-template-columns: minmax(290px, 330px) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

@media (min-width: 981px) {
    .vacancies-sidebar {
        position: sticky;
        top: var(--vacancies-sidebar-sticky-top, 90px);
        align-self: start;
    }

    .vacancies-sidebar .vacancies-filter-form {
        margin-bottom: 0;
    }
}

.vacancies-main {
    min-width: 0;
}

.vacancies-main .vacancy-list-card {
    grid-template-columns: minmax(0, 7fr) minmax(190px, 3fr);
    align-items: stretch;
    gap: 18px;
    padding: 18px;
}

.vacancy-list-card__main {
    min-width: 0;
}

.vacancy-list-card__title {
    margin: 0 0 12px;
    font-size: 21px;
    line-height: 1.22;
}

.vacancy-list-card__title a {
    color: #172033;
    text-decoration: none;
}

.vacancy-list-card__title a:hover {
    color: #2563eb;
}

.vacancy-list-card__main p {
    margin: 0 0 10px;
    color: #475569;
}

.vacancy-list-card__company {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: 100%;
    margin: 0 0 12px;
    padding: 6px 10px;
    border-radius: 5px;
    background: #f0fdfa;
    color: #0f766e;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.25;
}

.vacancy-list-card__company a,
.vacancy-list-card__company span:last-child {
    min-width: 0;
    color: inherit;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vacancy-list-card__company a:hover {
    text-decoration: underline;
}

.vacancy-list-card__company-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 20h16V8l-6-4-6 4v12Zm4-8h2v2H8v-2Zm0 4h2v2H8v-2Zm4-4h2v2h-2v-2Zm0 4h2v2h-2v-2Zm4-4h2v2h-2v-2Zm0 4h2v2h-2v-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 20h16V8l-6-4-6 4v12Zm4-8h2v2H8v-2Zm0 4h2v2H8v-2Zm4-4h2v2h-2v-2Zm0 4h2v2h-2v-2Zm4-4h2v2h-2v-2Zm0 4h2v2h-2v-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.vacancy-list-card__side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    min-width: 0;
    margin-top: -5px;
}

.vacancy-list-card__side-head {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.vacancy-list-card__salary {
    width: 100%;
    color: #1d4ed8;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    text-align: right;
}

.vacancy-list-card__avatar {
    width: 96px;
    height: 96px;
}

.vacancy-list-card__details {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 5px;
    background: #2563eb;
    color: #ffffff;
    font-size: 14px;
    text-decoration: none;
    font-weight: 700;
    box-sizing: border-box;
}

.vacancy-list-card__details:hover {
    background: #1d4ed8;
    color: #ffffff;
}

.vacancy-list-card__bottom {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(132px, 1fr);
    align-items: center;
    gap: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(203, 213, 225, 0.55);
}

.vacancy-list-card__meta-bottom {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 16px;
    min-width: 0;
}

.vacancy-list-card__meta-item,
.vacancy-list-card__published {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.35;
    min-width: 0;
}

.vacancy-list-card__meta-icon {
    width: 17px;
    height: 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    flex: 0 0 17px;
}

.vacancy-list-card__meta-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.vacancy-list-card__bottom .vacancy-list-card__details {
    justify-self: end;
    background: #13ad8f;
}

.vacancy-list-card__bottom .vacancy-list-card__details:hover {
    background: #0f967c;
}

.vacancy-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 0;
    border-radius: 5px;
    background: #13ad8f;
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(19, 173, 143, 0.18);
}

.vacancy-contact-btn:hover {
    background: #0f967c;
    color: #ffffff;
}

.favorites-page .container {
    width: min(1180px, calc(100% - 32px));
    max-width: 1180px;
    padding: 0;
}

.favorites-page .vacancy-list {
    width: 100%;
}

.favorites-section-tabs {
    width: 100%;
    margin: 0 0 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.favorites-section-tabs .btn,
.favorites-section-tabs .btn-light {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.favorites-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    color: inherit;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.favorites-section-tabs .btn-light .favorites-tab-count {
    background: #eef3f9;
    color: #2563eb;
}

.favorites-page .list-entry-card {
    width: 100%;
}

.favorites-page .vacancy-list-card {
    grid-template-columns: minmax(0, 7fr) minmax(190px, 3fr);
    align-items: stretch;
    gap: 18px;
    padding: 18px;
    position: relative;
}

.favorites-page .vacancy-list-card__main {
    min-width: 0;
}

.favorites-page .list-entry-card.is-removing {
    position: relative;
    pointer-events: none;
}

.favorites-page .list-entry-card.is-removing > :not(.favorite-remove-loader) {
    filter: blur(2px);
    opacity: 0.45;
}

.favorite-remove-loader {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.54);
}

.favorite-remove-loader::before {
    content: "";
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 3px solid rgba(37, 99, 235, 0.18);
    border-top-color: #2563eb;
    animation: favoriteRemoveSpin 0.75s linear infinite;
}

@keyframes favoriteRemoveSpin {
    to {
        transform: rotate(360deg);
    }
}

.vacancies-filter-form,
.vacancies-sort-form {
    margin-bottom: 20px;
}

.vacancies-filter-form .profile-actions {
    display: block;
    margin-top: 12px;
}

.vacancies-filter-form .vacancies-filter-submit {
    width: 100%;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
}

.vacancies-filter-form .vacancies-filter-close-btn {
    display: none;
    width: 100%;
    min-height: 46px;
    margin-top: 10px;
    align-items: center;
    justify-content: center;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #111827;
    box-sizing: border-box;
}

.vacancies-filter-form .form-row {
    position: relative;
}

.vacancies-filter-form .form-row > label:first-child {
    padding-right: 116px;
}

.vacancies-filter-form .vacancies-inline-filter-submit {
    position: absolute;
    top: 0;
    right: 0;
    height: 28px;
    min-height: 28px;
    padding: 0 10px;
    border: 0;
    border-radius: 5px;
    background: #2563eb;
    color: #ffffff;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.18);
}

.vacancies-filter-form .vacancies-inline-filter-submit:hover {
    background: #1d4ed8;
}

.vacancies-top-search {
    margin-bottom: 16px;
    border-radius: 5px;
}

.resumes-top-search {
    grid-template-columns: minmax(0, 1fr) 209px 150px;
}

.resumes-filter-geo-row {
    display: none;
}

#resumesFilterGeoMount {
    display: none;
}

.resume-list-card .vacancy-list-card__side {
    justify-content: flex-start;
}

.resume-list-card .vacancy-list-card__avatar {
    margin-top: 0;
}

.vacancies-mobile-filter-btn {
    display: none;
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    color: #64748b;
    cursor: pointer;
}

.vacancies-mobile-filter-btn svg {
    width: 22px;
    height: 22px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.vacancies-mobile-filter-backdrop {
    display: none;
}

.vacancies-sidebar-close {
    display: none;
}

@media (max-width: 680px) {
    .vacancies-mobile-filter-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.48);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.2s ease, visibility 0.2s ease;
        z-index: 20000;
    }

    .vacancies-mobile-filter-backdrop.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .vacancies-sidebar {
        z-index: 20010;
    }

    body.vacancies-filter-open .site-header,
    body.vacancies-filter-open .site-main {
        z-index: auto;
    }
}

.vacancies-filter-geo-row {
    display: block;
}

.vacancies-filter-geo-row.resumes-filter-geo-row {
    display: none;
}

.vacancies-filter-desktop-geo {
    display: block;
    position: relative;
}

.vacancies-filter-desktop-geo::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 2;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 21s7-5.25 7-12a7 7 0 1 0-14 0c0 6.75 7 12 7 12Z' stroke='%2364748b' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M12 11.75a2.75 2.75 0 1 0 0-5.5 2.75 2.75 0 0 0 0 5.5Z' stroke='%2364748b' stroke-width='1.8'/%3E%3C/svg%3E") center / contain no-repeat;
}

#vacanciesFilterCityInput {
    padding-left: 42px;
}

#vacanciesFilterGeoMount {
    display: none;
}

#resumesFilterGeoMount {
    display: none;
}

@media (max-width: 680px) {
    .resumes-top-search {
        grid-template-columns: minmax(0, 1fr) 50px 42px;
    }

    .resumes-top-search .hero-keyword-field {
        min-width: 0;
    }

    .resumes-filter-geo-row.is-active {
        display: block;
    }

    #resumesFilterGeoMount {
        display: block;
    }
}

.vacancies-filter-geo-row .hero-city-field {
    margin: 0;
}

.salary-range-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
}

.vacancies-top-toolbar-form {
    margin-bottom: 14px;
}

.vacancies-headline {
    margin: 20px 0 20px;
}

.vacancies-headline .breadcrumbs {
    margin: 4px 2px 0;
}

.vacancies-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    margin: 0 2px;
    min-width: 0;
    max-width: 100%;
}

.vacancies-headline h1 {
    margin: 0;
    min-width: 0;
}

.vacancies-found-count {
    display: inline-flex;
    flex: 0 0 auto;
    white-space: nowrap;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

.vacancies-top-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 12px;
    align-items: center;
    padding-top: 4px;
}

.vacancies-top-toolbar-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.vacancies-top-toolbar-row label {
    font-size: 14px;
    color: #4b5563;
    white-space: nowrap;
}

.vacancies-top-toolbar-row select {
    height: 40px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    padding: 0 12px;
    background: #ffffff;
    color: #111827;
}


@media (max-width: 980px) {
    .vacancies-page .container {
        width: min(100% - 22px, 1180px);
    }

    .vacancy-page .container {
        width: min(100% - 22px, 1180px);
    }

    .public-resume-page .container {
        width: min(100% - 22px, 1180px);
    }

    .resume-view-head {
        grid-template-columns: 1fr;
    }

    .resume-view-head__photo {
        justify-content: flex-start;
    }

    .resume-view-head__photo img {
        width: min(100%, 260px);
    }

    .vacancies-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 680px) {
    .phrase-links-list {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 8px;
        margin: 0 -16px;
        padding: 0 16px 2px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .phrase-links-list::-webkit-scrollbar {
        display: none;
    }

    .phrase-links-item {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .cabinet-page.vacancies-page {
        padding: 0;
    }

    .cabinet-page.vacancy-page,
    .cabinet-page.public-resume-page {
        padding-top: 0;
    }

    .vacancy-page .detail-top-search,
    .public-resume-page .detail-top-search {
        margin-top: 0;
    }

    .vacancies-main .vacancy-list-card {
        grid-template-columns: 1fr;
    }

    .favorites-page .vacancy-list-card {
        grid-template-columns: 1fr;
    }

    .vacancy-list-card__side {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
        gap: 10px 12px;
        margin-top: 0;
    }

    .vacancy-list-card__side-head {
        grid-column: 2;
        grid-row: 1;
        justify-content: flex-end;
    }

    .vacancy-list-card .vacancy-favorite-form {
        position: absolute;
        top: 0;
        right: 0;
        margin: 10px 10px 0 0;
    }

    .vacancy-list-card__salary {
        grid-column: 1;
        grid-row: 1;
        text-align: left;
    }

    .vacancy-list-card__avatar {
        display: none;
    }

    .vacancy-list-card__bottom {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .vacancy-list-card__meta-bottom {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 8px 12px;
    }

    .vacancy-list-card__meta-bottom .vacancy-list-card__meta-item:not(.vacancy-list-card__published) {
        grid-column: 1;
    }

    .vacancy-list-card__published {
        grid-column: 2;
        grid-row: 1 / span 2;
        align-self: start;
        justify-self: end;
        text-align: right;
    }

    .vacancy-list-card__bottom .vacancy-list-card__details {
        justify-self: stretch;
    }

    .vacancies-sidebar-close {
        display: flex !important;
    }

    .vacancies-filter-form .vacancies-filter-close-btn {
        display: inline-flex !important;
    }
}


.profile-dashboard-page .container {
    width: min(1180px, calc(100% - 32px));
    max-width: 1180px;
    padding: 0;
}

.profile-dashboard-layout {
    display: grid;
    grid-template-columns: minmax(260px, 310px) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.profile-dashboard-sidebar {
    min-width: 0;
}

@media (min-width: 901px) {
    .profile-dashboard-sidebar {
        position: sticky;
        top: var(--profile-sidebar-sticky-top, 90px);
        align-self: start;
    }
}

.profile-dashboard-sidebar .profile-card {
    display: block;
    grid-template-columns: 1fr;
}

.profile-dashboard-card {
    text-align: center;
}

.profile-dashboard-avatar {
    margin-bottom: 16px;
}

.profile-dashboard-avatar img,
.profile-dashboard-avatar .profile-avatar-placeholder {
    width: 132px;
    height: 132px;
    border-radius: 50%;
    border: 1px solid #dbeafe;
    margin: 0 auto;
}

.profile-dashboard-info h2 {
    margin: 0 0 8px;
    font-size: 22px;
}

.profile-dashboard-info p {
    margin: 8px 0;
    color: #565656;
    overflow-wrap: anywhere;
}

.profile-dashboard-nav-card {
    margin-top: 16px;
    padding: 16px;
}

.profile-dashboard-nav {
    display: grid;
    gap: 8px;
}

.profile-dashboard-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 5px;
    color: #172033;
    text-decoration: none;
    font-weight: 600;
    background: #f8fafc;
}

.profile-dashboard-nav a:hover,
.profile-dashboard-nav a.is-active {
    background: #dbeafe;
    color: #1d4ed8;
}

.profile-dashboard-message-badge {
    flex: 0 0 auto;
}

.profile-dashboard-balance-value {
    color: #2563eb;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.profile-dashboard-main {
    min-width: 0;
}

.profile-dashboard-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.profile-dashboard-head h2 {
    margin: 0;
    font-size: 28px;
    letter-spacing: -0.03em;
}

.profile-dashboard-table-wrap {
    border-radius: 5px;
}

.profile-dashboard-table th,
.profile-dashboard-table td {
    vertical-align: top;
}

.profile-dashboard-row-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.profile-dashboard-row-actions form {
    display: inline-flex;
    margin: 0;
}

.profile-dashboard-row-actions .btn,
.profile-dashboard-row-actions .btn-light {
    min-height: 34px;
    padding: 0 10px;
    font-size: 13px;
}

.profile-dashboard-list {
    display: grid;
    gap: 16px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: visible;
}

.profile-dashboard-bulk-bar {
    position: sticky;
    top: 86px;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 0 0 14px;
    padding: 12px 14px;
    border: 1px solid #dbeafe;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(14px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.profile-dashboard-select-all,
.profile-dashboard-card-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #334155;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    user-select: none;
}

.profile-dashboard-select-all input,
.profile-dashboard-card-check input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #2563eb;
    cursor: pointer;
}

.profile-dashboard-bulk-bar .profile-dashboard-select-all {
    justify-content: center;
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid #dbe4f0;
    border-radius: 5px;
    background: #ffffff;
    color: #172033;
    font-size: 13px;
    line-height: 1.2;
}

.profile-dashboard-bulk-bar .profile-dashboard-select-all:hover {
    border-color: #93c5fd;
    background: #f8fbff;
    color: #2563eb;
}

.profile-dashboard-bulk-bar .profile-dashboard-select-all span {
    display: none;
}

.profile-dashboard-bulk-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
}

.profile-dashboard-entry {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(180px, 3fr);
    align-items: stretch;
    gap: 18px;
    padding: 18px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    position: relative;
    box-sizing: border-box;
    overflow: visible;
    margin-bottom: 0;
}

.profile-dashboard-card-check {
    z-index: 4;
    width: 24px;
    height: 24px;
    justify-content: center;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.10);
}

.profile-dashboard-card-check input {
    width: 16px;
    height: 16px;
}

.profile-dashboard-entry .vacancy-list-card__main {
    padding-left: 0;
}

.profile-dashboard-title-row {
    display: block;
    margin: 0 0 12px;
}

.profile-dashboard-title-row .vacancy-list-card__title {
    margin: 10px 0 0;
}

.vacancy-paid-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 8px;
}

.vacancy-paid-badges--view {
    margin-bottom: 10px;
}

.vacancy-paid-badges .vacancy-boost-badge,
.vacancy-paid-badges .vacancy-hot-badge,
.vacancy-paid-badges .vacancy-highlight-badge {
    margin-right: 0;
    vertical-align: 0;
}

.profile-dashboard-entry.is-menu-open,
.profile-dashboard-entry:has(.profile-dashboard-publish-menu[open]),
.profile-dashboard-entry:has(.profile-dashboard-services-menu[open]) {
    z-index: 30;
}

.profile-dashboard-entry .vacancy-list-card__main,
.profile-dashboard-entry .vacancy-list-card__side,
.profile-dashboard-entry .vacancy-list-card__bottom,
.profile-dashboard-entry .vacancy-list-card__meta-bottom {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.profile-dashboard-entry.is-removing {
    pointer-events: none;
}

.profile-dashboard-entry.is-removing > :not(.favorite-remove-loader):not(.profile-dashboard-card-message) {
    filter: blur(2px);
    opacity: 0.45;
}

.profile-dashboard-entry.has-action-message .favorite-remove-loader::before {
    display: none;
}

.profile-dashboard-card-message {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 6;
    max-width: min(420px, calc(100% - 32px));
    padding: 14px 18px;
    border-radius: 5px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
    text-align: center;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.18);
    transform: translate(-50%, -50%);
}

.profile-dashboard-card-message.is-success {
    background: #16a34a;
}

.profile-dashboard-card-message.is-error {
    background: #dc2626;
}

.profile-dashboard-card-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 12px;
}

.profile-dashboard-side-statuses {
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.profile-dashboard-status,
.profile-dashboard-placement {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eef3f9;
    color: #475569;
    font-size: 12px;
    font-weight: 400;
}

.profile-dashboard-status--published {
    background: #dcfce7;
    color: #15803d;
}

.profile-dashboard-status--archived,
.profile-dashboard-status--draft {
    background: #f1f5f9;
    color: #475569;
}

.profile-dashboard-status--employer_only {
    background: #dbeafe;
    color: #1d4ed8;
}

.profile-dashboard-status--blocked,
.profile-dashboard-status--expired {
    background: #fee2e2;
    color: #b91c1c;
}

.profile-dashboard-status--pending_moderation {
    background: #dbeafe;
    color: #1d4ed8;
}

.profile-dashboard-status--rejected_moderation {
    background: #fee2e2;
    color: #b91c1c;
}

.profile-dashboard-moderation-note {
    margin: 10px 0 0;
    padding: 10px 12px;
    border-radius: 5px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 14px;
    line-height: 1.45;
}

.profile-dashboard-moderation-note--rejected {
    background: #fff7ed;
    color: #9a3412;
}

.profile-dashboard-status--hot,
.vacancy-hot-badge {
    background: #fff1d6;
    color: #b45309;
}

.profile-dashboard-status--highlight,
.vacancy-highlight-badge {
    background: #eef2ff;
    color: #4338ca;
}

.profile-dashboard-hot-info {
    margin-top: 8px;
    color: #92400e;
    font-size: 12px;
    line-height: 1.35;
    text-align: right;
}

.profile-dashboard-highlight-info {
    margin-top: 8px;
    color: #4338ca;
    font-size: 12px;
    line-height: 1.35;
    text-align: right;
}

.vacancy-list-card--hot {
    border-color: #fbbf24;
    background: linear-gradient(135deg, #fffaf0 0%, #ffffff 58%);
    box-shadow: 0 16px 36px rgba(245, 158, 11, 0.12);
}

.vacancy-list-card--highlighted {
    position: relative;
    border-color: #93c5fd;
    background:
        linear-gradient(90deg, rgba(37, 99, 235, 0.08) 0, rgba(37, 99, 235, 0.03) 90px, rgba(255, 255, 255, 0) 180px),
        #ffffff;
    box-shadow:
        inset 4px 0 0 #2563eb,
        0 14px 32px rgba(37, 99, 235, 0.10);
}

.vacancy-card--hot {
    border-color: #fbbf24;
    background: linear-gradient(135deg, #fffaf0 0%, #ffffff 58%);
    box-shadow: 0 16px 36px rgba(245, 158, 11, 0.12);
}

.vacancy-card--highlighted {
    position: relative;
    border-color: #93c5fd;
    background:
        linear-gradient(90deg, rgba(37, 99, 235, 0.08) 0, rgba(37, 99, 235, 0.03) 90px, rgba(255, 255, 255, 0) 180px),
        #ffffff;
    box-shadow:
        inset 4px 0 0 #2563eb,
        0 14px 32px rgba(37, 99, 235, 0.10);
}

.vacancy-list-section-title {
    grid-column: 1 / -1;
    width: 100%;
    margin: 6px 0 2px;
    color: #92400e;
    font-size: 16px;
    font-weight: 400;
}

.vacancy-list-section-title--regular {
    margin-top: 12px;
    color: #475569;
}

.vacancy-hot-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    margin-right: 8px;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 400;
    vertical-align: 2px;
    white-space: nowrap;
}

.vacancy-highlight-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    margin-right: 8px;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 400;
    vertical-align: 2px;
    white-space: nowrap;
}

.profile-dashboard-placement--paid {
    background: #dcfce7;
    color: #15803d;
}

.profile-dashboard-placement--unpaid {
    background: #fee2e2;
    color: #b91c1c;
}

.profile-dashboard-views {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    color: #475569;
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
}

.profile-dashboard-views__today {
    color: #16a34a;
    font-weight: 400;
}

.profile-dashboard-card-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.profile-dashboard-entry__bottom {
    grid-template-columns: minmax(0, 30%) minmax(0, 70%);
    margin-top: 10px;
}

.profile-dashboard-publish-menu,
.profile-dashboard-services-menu {
    position: relative;
    display: inline-flex;
    margin: 0;
}

.profile-dashboard-publish-menu summary,
.profile-dashboard-services-menu summary {
    list-style: none;
    cursor: pointer;
}

.profile-dashboard-publish-menu summary::-webkit-details-marker,
.profile-dashboard-services-menu summary::-webkit-details-marker {
    display: none;
}

.profile-dashboard-publish-menu summary::after,
.profile-dashboard-services-menu summary::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    margin-left: 2px;
}

.profile-dashboard-publish-menu[open] summary::after,
.profile-dashboard-services-menu[open] summary::after {
    transform: rotate(225deg) translateY(-1px);
}

.profile-dashboard-publish-menu__list,
.profile-dashboard-services-menu__list {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    z-index: 50;
    min-width: 190px;
    padding: 6px;
    border: 1px solid #dbeafe;
    border-radius: 5px;
    background: #ffffff;
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.14);
}

.profile-dashboard-services-menu__list {
    min-width: 270px;
    max-width: calc(100vw - 24px);
}

.profile-dashboard-publish-menu__list .profile-dashboard-action-form {
    display: block;
    width: 100%;
}

.profile-dashboard-publish-menu__item,
.profile-dashboard-services-menu__item {
    display: flex;
    width: 100%;
    min-height: 34px;
    align-items: center;
    justify-content: flex-start;
    padding: 0 10px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: #0f172a;
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
    text-align: left;
}

.profile-dashboard-services-menu__item {
    gap: 10px;
    min-height: 54px;
}

.profile-dashboard-services-menu__item span:last-child {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
}

.profile-dashboard-services-menu__item strong {
    font-size: 13px;
    font-weight: 400;
    color: inherit;
}

.profile-dashboard-services-menu__item small {
    color: #64748b;
    font-size: 12px;
    line-height: 1.2;
}

.profile-dashboard-services-menu__item:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.profile-dashboard-publish-menu__item:hover,
.profile-dashboard-services-menu__item:not(:disabled):hover {
    background: #eff6ff;
    color: #2563eb;
}

.profile-dashboard-action-form {
    display: inline-flex;
    margin: 0;
}

.btn-delete-mobile-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.btn:not(.btn-delete-mobile-icon) .profile-dashboard-action-icon {
    margin-right: 7px;
    vertical-align: -3px;
}

.profile-dashboard-action-btn,
.profile-dashboard-action-disabled {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid #dbe4f0;
    border-radius: 5px;
    background: #ffffff;
    color: #172033;
    font: inherit;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
}

.profile-dashboard-action-btn:hover {
    border-color: #93c5fd;
    background: #f8fbff;
    color: #2563eb;
}

.profile-dashboard-action-btn--service {
    border-color: #bfdbfe;
    background: linear-gradient(135deg, #13ad8f 0%, #2563eb 100%);
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.18);
}

.profile-dashboard-action-btn--service:hover {
    border-color: #1d4ed8;
    background: linear-gradient(135deg, #109d82 0%, #1d4ed8 100%);
    color: #ffffff;
}

.profile-dashboard-action-btn--danger {
    color: #b91c1c;
}

.profile-dashboard-action-btn--danger:hover {
    border-color: #fecaca;
    background: #fff5f5;
    color: #991b1b;
}

.profile-dashboard-action-btn:disabled {
    cursor: wait;
    opacity: 0.7;
}

.profile-dashboard-action-disabled {
    cursor: default;
    color: #64748b;
    background: #f8fafc;
}

.profile-dashboard-action-icon {
    width: 17px;
    height: 17px;
    display: inline-block;
    flex: 0 0 17px;
    background-color: currentColor;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.profile-dashboard-action-icon--views {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.5 12s3.4-6 9.5-6 9.5 6 9.5 6-3.4 6-9.5 6-9.5-6-9.5-6Zm9.5 3a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.5 12s3.4-6 9.5-6 9.5 6 9.5 6-3.4 6-9.5 6-9.5-6-9.5-6Zm9.5 3a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E");
}

.profile-dashboard-action-icon--eye {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.5 12s3.4-6 9.5-6 9.5 6 9.5 6-3.4 6-9.5 6-9.5-6-9.5-6Zm9.5 3a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.5 12s3.4-6 9.5-6 9.5 6 9.5 6-3.4 6-9.5 6-9.5-6-9.5-6Zm9.5 3a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E");
}

.profile-dashboard-action-icon--eye-off {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m3.3 2 18.7 18.7-1.4 1.4-3.2-3.2A10.9 10.9 0 0 1 12 20C5.9 20 2.5 14 2.5 14a18 18 0 0 1 3.2-4.1L1.9 6.1 3.3 2Zm5.3 8.6A4 4 0 0 0 14.4 16l-1.8-1.8A2 2 0 0 1 10.4 12l-1.8-1.4ZM12 6c6.1 0 9.5 6 9.5 6a17.5 17.5 0 0 1-2.7 3.6l-2.1-2.1A4.9 4.9 0 0 0 10.5 7.3L8.9 5.7A10.8 10.8 0 0 1 12 6Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m3.3 2 18.7 18.7-1.4 1.4-3.2-3.2A10.9 10.9 0 0 1 12 20C5.9 20 2.5 14 2.5 14a18 18 0 0 1 3.2-4.1L1.9 6.1 3.3 2Zm5.3 8.6A4 4 0 0 0 14.4 16l-1.8-1.8A2 2 0 0 1 10.4 12l-1.8-1.4ZM12 6c6.1 0 9.5 6 9.5 6a17.5 17.5 0 0 1-2.7 3.6l-2.1-2.1A4.9 4.9 0 0 0 10.5 7.3L8.9 5.7A10.8 10.8 0 0 1 12 6Z'/%3E%3C/svg%3E");
}

.profile-dashboard-action-icon--edit {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 20h4.5L19 9.5 14.5 5 4 15.5V20Zm9.5-14L18 10.5'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 20h4.5L19 9.5 14.5 5 4 15.5V20Zm9.5-14L18 10.5'/%3E%3C/svg%3E");
}

.profile-dashboard-action-icon--publish {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 19h2V8l4 4 1.4-1.4L12 4.2l-6.4 6.4L7 12l4-4v11Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 19h2V8l4 4 1.4-1.4L12 4.2l-6.4 6.4L7 12l4-4v11Z'/%3E%3C/svg%3E");
}

.profile-dashboard-action-icon--archive {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 4h18v4H3V4Zm2 6h14v10H5V10Zm5 3v2h4v-2h-4Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 4h18v4H3V4Zm2 6h14v10H5V10Zm5 3v2h4v-2h-4Z'/%3E%3C/svg%3E");
}

.profile-dashboard-action-icon--pay {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 6h18v12H3V6Zm2 3v6h14V9H5Zm2 4h5v2H7v-2Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 6h18v12H3V6Zm2 3v6h14V9H5Zm2 4h5v2H7v-2Z'/%3E%3C/svg%3E");
}

.profile-dashboard-action-icon--delete {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 7h12l-1 14H7L6 7Zm3-4h6l1 2h5v2H3V5h5l1-2Zm1 7v8h2v-8h-2Zm4 0v8h2v-8h-2Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 7h12l-1 14H7L6 7Zm3-4h6l1 2h5v2H3V5h5l1-2Zm1 7v8h2v-8h-2Zm4 0v8h2v-8h-2Z'/%3E%3C/svg%3E");
}

.profile-dashboard-action-icon--phone {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 2h12v20H6V2Zm2 3v14h8V5H8Zm3 15h2v1h-2v-1Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 2h12v20H6V2Zm2 3v14h8V5H8Zm3 15h2v1h-2v-1Z'/%3E%3C/svg%3E");
}

.profile-dashboard-action-icon--reply {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 4h16v13H8l-4 4V4Zm4 5v2h8V9H8Zm0 4v2h5v-2H8Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 4h16v13H8l-4 4V4Zm4 5v2h8V9H8Zm0 4v2h5v-2H8Z'/%3E%3C/svg%3E");
}

.profile-dashboard-action-icon--lock {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10V8a5 5 0 0 1 10 0v2h2v12H5V10h2Zm2 0h6V8a3 3 0 0 0-6 0v2Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10V8a5 5 0 0 1 10 0v2h2v12H5V10h2Zm2 0h6V8a3 3 0 0 0-6 0v2Z'/%3E%3C/svg%3E");
}

.profile-dashboard-action-icon--services {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 7h14v2H5V7Zm2-4h10v2H7V3Zm2 8h6l1 2h4v8H4v-8h4l1-2Zm1.2 2-1 2H6v4h12v-4h-3.2l-1-2h-3.6Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 7h14v2H5V7Zm2-4h10v2H7V3Zm2 8h6l1 2h4v8H4v-8h4l1-2Zm1.2 2-1 2H6v4h12v-4h-3.2l-1-2h-3.6Z'/%3E%3C/svg%3E");
}

.profile-dashboard-action-icon--boost {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 3 4 11h5v8h6v-8h5L12 3Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 3 4 11h5v8h6v-8h5L12 3Z'/%3E%3C/svg%3E");
}

.profile-dashboard-action-icon--hot {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13 2s1 4-2 7c-2 2-4 4-4 7a5 5 0 0 0 10 0c0-2-1-4-3-5 1 3-1 5-3 5 2-4-1-5 2-9 1-2 0-5 0-5Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13 2s1 4-2 7c-2 2-4 4-4 7a5 5 0 0 0 10 0c0-2-1-4-3-5 1 3-1 5-3 5 2-4-1-5 2-9 1-2 0-5 0-5Z'/%3E%3C/svg%3E");
}

.profile-dashboard-action-icon--highlight {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m12 2 2.7 6.2 6.8.6-5.1 4.4 1.5 6.6L12 16.3l-5.9 3.5 1.5-6.6-5.1-4.4 6.8-.6L12 2Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m12 2 2.7 6.2 6.8.6-5.1 4.4 1.5 6.6L12 16.3l-5.9 3.5 1.5-6.6-5.1-4.4 6.8-.6L12 2Z'/%3E%3C/svg%3E");
}

.profile-dashboard-action-icon--vk {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.6 6.2c.1 5.7 3 9.1 8.1 9.1h.3v-3.2c1.9.2 3.3 1.6 3.9 3.2h2.9c-.8-2.4-2.6-3.9-3.8-4.5 1.2-.8 2.8-2.5 3.2-4.6h-2.6c-.6 1.7-2.1 3.4-3.6 3.5V6.2H9.4v6.1c-1.6-.4-3.6-2.2-3.7-6.1H3.6Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.6 6.2c.1 5.7 3 9.1 8.1 9.1h.3v-3.2c1.9.2 3.3 1.6 3.9 3.2h2.9c-.8-2.4-2.6-3.9-3.8-4.5 1.2-.8 2.8-2.5 3.2-4.6h-2.6c-.6 1.7-2.1 3.4-3.6 3.5V6.2H9.4v6.1c-1.6-.4-3.6-2.2-3.7-6.1H3.6Z'/%3E%3C/svg%3E");
}

.profile-dashboard-action-icon--tg {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21.5 4.3 18.3 19c-.2 1-.8 1.2-1.6.7l-4.5-3.3-2.2 2.1c-.2.2-.4.4-.9.4l.3-4.7 8.6-7.8c.4-.3-.1-.5-.6-.2L6.8 12.9 2.2 11.5c-1-.3-1-1 .2-1.5L20.3 3c.8-.3 1.5.2 1.2 1.3Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21.5 4.3 18.3 19c-.2 1-.8 1.2-1.6.7l-4.5-3.3-2.2 2.1c-.2.2-.4.4-.9.4l.3-4.7 8.6-7.8c.4-.3-.1-.5-.6-.2L6.8 12.9 2.2 11.5c-1-.3-1-1 .2-1.5L20.3 3c.8-.3 1.5.2 1.2 1.3Z'/%3E%3C/svg%3E");
}

.profile-dashboard-social-post-info {
    display: grid;
    gap: 4px;
    margin-top: 8px;
    color: #475569;
    font-size: 13px;
    line-height: 1.35;
    text-align: right;
}

.profile-dashboard-social-post-info span {
    display: inline-flex;
    justify-content: flex-end;
}

.profile-dashboard-social-post-info .is-queue {
    color: #1d4ed8;
}

.profile-dashboard-social-post-info .is-success {
    color: #15803d;
}

.profile-dashboard-social-post-info .is-error {
    color: #b91c1c;
}

.profile-dashboard-action-message {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1200;
    max-width: min(360px, calc(100vw - 36px));
    margin: 0;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.18);
}

.profile-service-modal[hidden] {
    display: none;
}

.profile-service-modal {
    position: fixed;
    inset: 0;
    z-index: 2200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.profile-service-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
}

.profile-service-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(430px, 100%);
    max-height: calc(100vh - 40px);
    overflow: auto;
    padding: 28px;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.24);
    text-align: center;
}

.profile-service-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #f1f5f9;
    color: #334155;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.profile-service-modal__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: #e0f2fe;
    color: #2563eb;
}

.profile-service-modal__icon .profile-dashboard-action-icon {
    width: 25px;
    height: 25px;
    flex-basis: 25px;
}

.profile-service-modal h2 {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 24px;
    line-height: 1.15;
}

.profile-service-modal p {
    margin: 0 0 18px;
    color: #475569;
    line-height: 1.5;
}

.profile-service-modal__price {
    margin: 0 0 18px;
    color: #0f172a;
    font-size: 28px;
    font-weight: 400;
}

.profile-service-modal__durations {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 14px;
}

.profile-service-modal__durations[hidden] {
    display: none;
}

.profile-service-modal__durations-title {
    grid-column: 1 / -1;
    color: #475569;
    font-size: 13px;
}

.profile-service-duration {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
    padding: 10px;
    border: 1px solid #dbeafe;
    border-radius: 5px;
    background: #f8fbff;
    cursor: pointer;
}

.profile-service-duration input {
    margin: 0;
    accent-color: #13ad8f;
}

.profile-service-duration span {
    color: #172033;
    font-size: 13px;
}

.profile-service-duration strong {
    color: #13ad8f;
    font-size: 13px;
    font-weight: 400;
}

.profile-service-modal__message {
    margin: 0 0 14px;
    padding: 10px 12px;
    border-radius: 5px;
    font-size: 14px;
    line-height: 1.35;
}

.profile-service-modal__message.is-success {
    background: #dcfce7;
    color: #15803d;
}

.profile-service-modal__message.is-error {
    background: #fee2e2;
    color: #b91c1c;
}

.profile-service-modal form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 0;
}

.profile-service-modal .search-btn,
.profile-service-modal .btn {
    width: 100%;
    min-height: 44px;
    border-radius: 5px;
    font-weight: 400;
}

.profile-service-modal .search-btn:disabled {
    cursor: not-allowed;
    opacity: 0.45;
    filter: grayscale(0.35);
    box-shadow: none;
}

.vacancy-boost-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    margin-right: 7px;
    border-radius: 50%;
    background: #e0f2fe;
    color: #2563eb;
    vertical-align: -3px;
}

.vacancy-boost-badge .profile-dashboard-action-icon {
    width: 15px;
    height: 15px;
    flex-basis: 15px;
}

.profile-service-modal-open {
    overflow: hidden;
}

.profile-dashboard-empty .profile-card__info {
    min-width: 0;
}

@media (max-width: 900px) {
    .profile-dashboard-layout {
        grid-template-columns: 1fr;
    }

    .profile-dashboard-page .profile-dashboard-sidebar {
        display: none;
    }

    .profile-dashboard-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .profile-dashboard-head--actions-only {
        display: none;
    }

    .profile-dashboard-entry__bottom {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .profile-dashboard-entry {
        grid-template-columns: 1fr;
    }

    .profile-dashboard-bulk-bar {
        align-items: stretch;
        flex-direction: column;
    }

    .profile-dashboard-bulk-actions {
        justify-content: flex-start;
    }

    .profile-dashboard-card-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 680px) {
    .profile-dashboard-page,
    .profile-dashboard-page > .container,
    .profile-dashboard-page .profile-dashboard-layout,
    .profile-dashboard-page .profile-dashboard-main {
        overflow: visible !important;
    }

    .profile-dashboard-page {
        padding: 16px 0;
    }

    .profile-dashboard-page .container {
        width: min(100% - 22px, 1180px);
    }

    .profile-dashboard-action-btn,
    .profile-dashboard-action-disabled {
        min-height: 32px;
        padding: 0 8px;
        font-size: 12px;
    }

    .profile-dashboard-card-actions {
        width: 100%;
        align-items: stretch;
    }

    .profile-dashboard-card-actions .profile-dashboard-services-menu {
        flex: 0 0 100%;
        width: 100%;
        margin-bottom: 10px;
    }

    .profile-dashboard-card-actions .profile-dashboard-action-btn--service {
        width: 100%;
        min-height: 40px;
    }

    .profile-dashboard-card-actions > .profile-dashboard-action-btn,
    .profile-dashboard-card-actions > .profile-dashboard-action-form,
    .profile-dashboard-card-actions > .profile-dashboard-publish-menu,
    .profile-dashboard-card-actions > .profile-dashboard-action-disabled {
        flex: 1 1 auto;
        min-width: 0;
    }

    .profile-dashboard-card-actions > .profile-dashboard-action-form .profile-dashboard-action-btn,
    .profile-dashboard-card-actions > .profile-dashboard-publish-menu > summary,
    .profile-dashboard-card-actions > .profile-dashboard-action-disabled {
        width: 100%;
    }

    .profile-dashboard-bulk-bar {
        position: sticky;
        top: 74px;
        z-index: 500;
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr);
        align-items: stretch;
        gap: 8px;
        padding: 10px;
        background: rgba(255, 255, 255, 0.94);
    }

    .profile-dashboard-bulk-actions {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        min-width: 0;
    }

    .profile-dashboard-bulk-bar .profile-dashboard-select-all {
        width: 42px;
        min-height: 32px;
        padding: 0;
        box-sizing: border-box;
    }

    .profile-dashboard-bulk-actions .profile-dashboard-action-btn {
        width: 100%;
    }

    .profile-dashboard-hot-info {
        grid-column: 2;
        grid-row: 2;
        align-self: start;
        text-align: right;
        justify-self: end;
        width: max-content;
        max-width: 100%;
    }

    .profile-dashboard-highlight-info {
        grid-column: 2;
        grid-row: 3;
        align-self: start;
        text-align: right;
        justify-self: end;
        width: max-content;
        max-width: 100%;
    }

    .profile-dashboard-views {
        font-size: 13px;
    }

    .profile-dashboard-entry .vacancy-list-card__meta-bottom {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 10px;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .profile-dashboard-entry .vacancy-list-card__meta-bottom::-webkit-scrollbar {
        display: none;
    }

    .profile-dashboard-entry .vacancy-list-card__meta-item {
        flex: 0 0 auto;
        min-width: auto;
    }

    .profile-dashboard-services-menu[open] .profile-dashboard-services-menu__list {
        visibility: hidden;
    }

}

@media (max-width: 680px) {
    .favorites-page .container {
        width: min(100% - 22px, 1180px);
    }

    .favorites-page .vacancy-list,
    .favorites-page .list-entry-card,
    .favorites-page .vacancy-list-card__main,
    .favorites-page .vacancy-list-card__side,
    .favorites-page .vacancy-list-card__bottom,
    .favorites-page .vacancy-list-card__meta-bottom {
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .favorites-page .vacancy-list {
        overflow-x: hidden;
    }

    .favorites-page .vacancy-list-card {
        width: 100%;
        padding: 14px 12px;
        overflow: hidden;
    }

    .favorites-page .vacancy-list-card__title,
    .favorites-page .vacancy-list-card__title a,
    .favorites-page .vacancy-list-card__main p,
    .favorites-page .vacancy-list-card__salary,
    .favorites-page .vacancy-list-card__meta-item {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .profile-dashboard-page .profile-dashboard-main,
    .dialog-list-full,
    .dialog-full,
    .dialog-main,
    .dialog-header,
    .dialog-messages,
    .dialog-send-form {
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .dialog-list-full,
    .dialog-full {
        overflow-x: hidden;
    }

    .dialog-sidebar-row {
        grid-template-columns: 38px minmax(0, 1fr);
    }

    .dialog-sidebar-row__check input {
        width: 17px;
        height: 17px;
    }

    .dialog-main {
        width: 100%;
        height: calc(100dvh - 180px);
        min-height: 430px;
        max-height: none;
        margin: 0;
        padding: 12px;
    }

    .dialog-header {
        align-items: flex-start;
        gap: 8px;
    }

    .dialog-header__user {
        min-width: 0;
        flex: 1 1 auto;
        gap: 8px;
    }

    .dialog-header__avatar {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        min-width: 42px;
    }

    .dialog-header__left {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .dialog-header__left strong {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 100%;
    }

    .dialog-header__right {
        flex: 0 0 auto;
        gap: 6px;
    }

    .dialog-closed-badge {
        max-width: 120px;
        padding: 6px 8px;
        font-size: 12px;
        white-space: normal;
        text-align: right;
    }

    .dialog-close {
        width: 32px;
        height: 32px;
        font-size: 24px;
    }

    .dialog-messages {
        height: auto;
        min-height: 0;
        overflow-x: hidden;
    }

    .dialog-message {
        max-width: min(88%, 100%);
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .dialog-message__meta {
        flex-wrap: wrap;
        gap: 6px;
    }

    .dialog-send-form {
        display: grid;
        gap: 8px;
    }

    .dialog-send-form textarea,
    .dialog-send-form button {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .dialog-sidebar-item {
        max-width: 100%;
        padding: 12px 10px;
        gap: 8px;
        box-sizing: border-box;
    }

    .dialog-sidebar-item__avatar {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        min-width: 40px;
    }

    .dialog-sidebar-item__top {
        min-width: 0;
        gap: 8px;
    }

    .dialog-sidebar-item__title {
        min-width: 0;
    }

    .dialog-unread-badge {
        right: 8px;
    }
}

.vacancy-edit-page > .container,
.resume-edit-page > .container {
    max-width: 1180px;
}

.vacancy-edit-page .auth-form,
.resume-edit-page .auth-form {
    width: 100%;
    box-sizing: border-box;
}
.vacancy-edit-page > .container,
.resume-edit-page > .container {
    box-sizing: border-box;
}

.vacancy-edit-page .form-row input[type="checkbox"],
.vacancy-edit-page .form-row input[type="radio"],
.resume-edit-page .form-row input[type="checkbox"],
.resume-edit-page .form-row input[type="radio"] {
    width: 16px;
    height: 16px;
    min-width: 16px;
    flex: 0 0 16px;
    margin: 1px 8px 0 0;
    padding: 0;
    accent-color: #13ad8f;
    vertical-align: middle;
}

.vacancy-edit-page .checkbox-grid label,
.resume-edit-page .checkbox-grid label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
    padding: 10px 12px;
    border-radius: 5px;
    background: #f8fafc;
    color: #111827;
    line-height: 1.35;
    overflow-wrap: anywhere;
    cursor: pointer;
}

.vacancy-edit-page .checkbox-grid label:hover,
.resume-edit-page .checkbox-grid label:hover {
    background: #eef6ff;
}

.vacancy-metro-picker__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 8px;
}

.vacancy-metro-picker__item {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 10px 12px;
    border-radius: 5px;
    background: #f8fafc;
    color: #111827;
    line-height: 1.35;
    cursor: pointer;
}

.vacancy-metro-picker__item:hover {
    background: #eef6ff;
}

.vacancy-metro-picker__dot {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    border-radius: 999px;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, .05);
}

.resume-edit-page .resume-spec-category {
    padding: 0;
    overflow: hidden;
}

.resume-edit-page .resume-spec-category__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 14px 16px;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.resume-edit-page .resume-spec-category__title::-webkit-details-marker {
    display: none;
}

.resume-edit-page .resume-spec-category__arrow {
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-right: 2px solid #64748b;
    border-bottom: 2px solid #64748b;
    transform: rotate(45deg);
    transition: transform .18s ease;
}

.resume-edit-page .resume-spec-category[open] .resume-spec-category__arrow {
    transform: rotate(225deg);
}

.resume-edit-page .resume-spec-category__body {
    padding: 0 14px 14px;
}

@media (max-width: 700px) {
    .auth-page,
    .cabinet-page {
        overflow-x: hidden;
    }

    .cabinet-page.vacancies-page,
    .cabinet-page.vacancy-page,
    .cabinet-page.public-resume-page {
        overflow: visible;
    }

    .auth-page > .container,
    .cabinet-page > .container {
        max-width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }

    .auth-page .auth-form,
    .cabinet-page .auth-form {
        width: 100%;
        max-width: 100%;
        padding: 14px;
        overflow: hidden;
    }

    .auth-page input,
    .auth-page select,
    .auth-page textarea,
    .cabinet-page input,
    .cabinet-page select,
    .cabinet-page textarea {
        max-width: 100%;
    }

    .auth-page .profile-actions,
    .cabinet-page .profile-actions {
        width: 100%;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .auth-page .profile-actions .btn,
    .auth-page .profile-actions button,
    .cabinet-page .profile-actions .btn,
    .cabinet-page .profile-actions button,
    .auth-page .btn,
    .auth-page button[type="submit"] {
        width: 100%;
        max-width: 100%;
        text-align: center;
        justify-content: center;
    }

    .auth-page p,
    .auth-page a,
    .cabinet-page p,
    .cabinet-page a {
        overflow-wrap: anywhere;
    }

    .vacancy-edit-page,
    .resume-edit-page {
        overflow-x: hidden;
    }

    .vacancy-edit-page > .container,
    .resume-edit-page > .container {
        max-width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }

    .vacancy-edit-page .auth-form,
    .resume-edit-page .auth-form {
        padding: 14px;
        max-width: 100%;
        overflow: hidden;
    }

    .vacancy-edit-page .profile-actions,
    .resume-edit-page .profile-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .vacancy-edit-page .profile-actions .btn,
    .vacancy-edit-page .profile-actions button,
    .resume-edit-page .profile-actions .btn,
    .resume-edit-page .profile-actions button {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }

    .vacancy-edit-page .birth-grid,
    .resume-edit-page .birth-grid {
        grid-template-columns: 1fr;
    }
}

.dialog-message.mine {
    align-self: flex-end;
    text-align: left;
}

.dialog-message.mine > div,
.dialog-message.mine .dialog-message__text,
.dialog-message.mine .dialog-message__sender {
    text-align: left;
}

.dialog-message.mine .dialog-message__meta {
    justify-content: flex-start;
    text-align: left;
}

/* Adaptive heading scale */
.hero h1 {
    font-size: clamp(27px, 4vw, 40px);
    line-height: 1;
}

.section-head h1,
.section-head h2 {
    font-size: clamp(21px, 2.4vw, 29px);
    line-height: 1.12;
}

.cabinet-page h1,
.auth-page h1,
.vacancies-headline h1,
.vacancy-view-title-row h1,
.public-resume-page .resume-view-title-row h1 {
    font-size: clamp(23px, 2.2vw, 30px);
    line-height: 1.12;
    letter-spacing: -0.025em;
}

.cabinet-page h2,
.auth-page h2,
.seo-text h2,
.profile-dashboard-head h2,
.profile-dashboard-info h2,
.phrase-links-box h2,
.related-vacancies-card h2 {
    font-size: clamp(18px, 1.65vw, 23px);
    line-height: 1.18;
    letter-spacing: -0.02em;
}

.cabinet-page h3,
.auth-page h3,
.footer-title {
    font-size: clamp(15px, 1.15vw, 18px);
    line-height: 1.22;
}

@media (max-width: 680px) {
    .cabinet-page h1,
    .auth-page h1,
    .vacancies-headline h1,
    .vacancy-view-title-row h1,
    .public-resume-page .resume-view-title-row h1 {
        font-size: clamp(21px, 6vw, 26px);
        line-height: 1.14;
        letter-spacing: -0.02em;
    }

    .cabinet-page h2,
    .auth-page h2,
    .seo-text h2,
    .profile-dashboard-head h2,
    .profile-dashboard-info h2,
    .phrase-links-box h2,
    .related-vacancies-card h2 {
        font-size: clamp(17px, 5vw, 21px);
        line-height: 1.2;
    }
}

.admin-city-search {
    position: relative;
}

.admin-city-search__results {
    position: absolute;
    z-index: 40;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    max-height: 260px;
    overflow: auto;
    padding: 6px;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
}

.admin-city-search__results button {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #111827;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.admin-city-search__results button:hover {
    background: #f3f6fb;
}

.admin-city-search__results small,
.admin-city-search__empty {
    color: #64748b;
    white-space: nowrap;
}

.admin-city-search__empty {
    display: block;
    padding: 10px 12px;
}

.vacancy-safe-text,
.company-safe-text {
    white-space: pre-line;
}

.company-about-collapse {
    position: relative;
    margin: 0 0 14px;
}

.company-about-collapse__content {
    line-height: 1.55;
}

.company-about-collapse.is-collapsible:not(.is-expanded) .company-about-collapse__content {
    max-height: calc(1.55em * 5);
    overflow: hidden;
}

.company-about-collapse.is-collapsible:not(.is-expanded)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 30px;
    height: 34px;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #ffffff 78%);
}

.company-about-collapse__toggle {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 8px 0 0;
    padding: 0;
    border: 0;
    border-bottom: 1px dashed currentColor;
    border-radius: 0;
    background: transparent;
    color: #1d4ed8;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
    cursor: pointer;
}

.company-about-collapse__toggle:hover {
    color: #13ad8f;
}

.company-about-collapse:not(.is-collapsible) .company-about-collapse__toggle {
    display: none;
}

.vacancy-safe-text ul,
.vacancy-safe-text ol,
.company-safe-text ul,
.company-safe-text ol {
    margin: 8px 0 0 20px;
    padding-left: 18px;
    white-space: normal;
}

.vacancy-safe-text li,
.company-safe-text li {
    margin: 4px 0;
}

@media (max-width: 680px) {
    .legal-document {
        padding: 20px;
        border-radius: 14px;
    }

    .legal-document__section {
        padding: 17px;
    }

    .payment-services-grid {
        grid-template-columns: 1fr;
    }

    .payment-service-card {
        min-height: 0;
        padding: 17px;
    }

    .legal-requisites dl > div {
        grid-template-columns: 1fr;
        gap: 5px;
    }
}
