/* Quiet, evolutionary refresh for registration and personal-area forms. */

.personal-area-shell .top-head {
    margin-bottom: 24px;
}

.personal-area-shell .top-head-bar.lk {
    display: flex;
    flex-wrap: wrap;
    border: 1px solid #e8e8e8;
    border-radius: var(--ui-radius);
    background: #fff;
    overflow: visible;
}

.personal-area-shell .top-head-bar.lk > li {
    float: none;
}

.personal-area-shell .top-head-bar.lk > li > a {
    font-weight: 600;
}

.account-form-page,
.account-auth-page {
    color: #333;
    font-family: 'PT Sans', sans-serif;
}

.account-form-page {
    max-width: 1080px;
    margin: 0 auto 56px;
}

.account-form-header {
    max-width: 760px;
    margin: 0 0 28px;
}

.account-form-header h1,
.auth-card__header h1,
.account-status-card h1 {
    margin: 7px 0 10px;
    color: #2f2f2f;
    font: 600 34px/42px 'PT Serif', serif;
    text-transform: none;
}

.account-form-header > p,
.auth-card__header > p,
.account-status-card > p {
    margin: 0;
    color: #626262;
    font-size: 17px;
    line-height: 25px;
}

.account-eyebrow {
    display: inline-block;
    color: var(--ui-accent-hover);
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.account-back-link,
.account-secondary-link {
    color: #176b91;
    text-decoration: none;
    border-bottom: 1px solid rgba(23, 107, 145, .28);
}

.account-back-link {
    display: table;
    margin-bottom: 20px;
    font-size: 14px;
}

.account-back-link:hover,
.account-secondary-link:hover {
    color: var(--ui-accent);
    border-bottom-color: rgba(230, 50, 65, .35);
}

.account-flow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin: 0 0 28px;
    padding: 0;
    border: 1px solid #e5e5e5;
    border-radius: var(--ui-radius);
    background: #e5e5e5;
    overflow: hidden;
    list-style: none;
}

.account-flow li {
    display: grid;
    grid-template-columns: 32px 1fr;
    grid-template-rows: auto auto;
    column-gap: 10px;
    align-items: center;
    min-height: 62px;
    margin: 0;
    padding: 12px 16px;
    left: auto;
    background: #fff;
}

.account-flow li > span {
    grid-row: 1 / span 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid #c9c9c9;
    border-radius: 50%;
    color: #777;
    font-size: 13px;
    font-weight: 700;
}

.account-flow li strong {
    align-self: end;
    color: #444;
    font-size: 15px;
    line-height: 18px;
}

.account-flow li small {
    align-self: start;
    color: #929292;
    font-size: 12px;
    line-height: 15px;
}

.account-flow li.is-complete > span {
    border-color: #6d9c37;
    background: #6d9c37;
    color: #fff;
}

.account-flow li.is-current {
    background: #fff8ed;
}

.account-flow li.is-current > span {
    border-color: var(--ui-accent);
    background: var(--ui-accent);
    color: #fff;
}

.form.account-form {
    padding: 0;
}

.account-section {
    margin: 0 0 18px;
    padding: 26px 28px 28px;
    border: 1px solid #e5e5e5;
    border-radius: var(--ui-radius);
    background: #fff;
    box-sizing: border-box;
}

.account-section__heading {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid #ececec;
}

.account-section__heading > span {
    display: flex;
    flex: 0 0 30px;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f4a23d;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.account-section__heading h2 {
    margin: 0 0 4px;
    color: #333;
    font: 600 22px/28px 'PT Serif', serif;
}

.account-section__heading p {
    margin: 0;
    color: #777;
    font-size: 14px;
    line-height: 20px;
}

.account-field {
    margin: 0 0 24px;
}

.account-field:last-child {
    margin-bottom: 0;
}

.account-form .account-field > label:first-child,
.account-form .account-field__label,
.account-form .vacancy-choice-field legend > label,
.account-form .vacancy-choice-field legend {
    display: block;
    margin: 0 0 9px;
    color: #353535;
    font-size: 15px;
    font-weight: 700;
    line-height: 20px;
}

.account-form .required {
    color: var(--ui-accent);
}

.account-form .iField,
.account-form .row .iField,
.auth-form .iField {
    width: 100%;
    height: 46px;
    padding: 0 13px;
    border: 1px solid #bdbdbd;
    border-radius: var(--ui-radius);
    background: #fff;
    box-sizing: border-box;
    float: none;
    color: #303030;
    font-size: 16px;
    line-height: 44px;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.account-form .iField:focus,
.auth-form .iField:focus,
.account-form .redactor_box:focus-within {
    border-color: #17749e;
    box-shadow: 0 0 0 3px rgba(23, 116, 158, .12);
    outline: none;
}

.account-form .iField::placeholder,
.auth-form .iField::placeholder {
    color: #999;
}

.field-help,
.field-meta,
.account-form .input-hint {
    color: #777;
    font-size: 13px;
    line-height: 18px;
}

.field-help {
    margin: 7px 0 0;
}

.field-meta {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin: -3px 0 11px;
}

.field-meta .field-help {
    margin: 0;
}

.selection-count {
    color: #176b91;
    white-space: nowrap;
}

.account-form .ferror {
    min-height: 0;
    margin: 6px 0 0;
    color: #c02f3a;
    font-size: 13px;
    line-height: 17px;
}

.account-error-summary,
.account-alert {
    margin: 0 0 22px;
    padding: 16px 18px;
    border: 1px solid #e0a4a9;
    border-radius: var(--ui-radius);
    background: #fff5f5;
    color: #7c252d;
    font-size: 14px;
    line-height: 20px;
}

.account-error-summary ul {
    margin: 8px 0 0 20px;
}

.account-alert p {
    margin: 5px 0 0;
}

.account-alert--success {
    border-color: #b7d69a;
    background: #f5faef;
    color: #416124;
}

.account-inline-note {
    margin: 0 0 26px;
    padding: 17px 18px;
    border-left: 4px solid #17749e;
    border-radius: var(--ui-radius);
    background: #f2f8fb;
    color: #35515e;
    font-size: 14px;
    line-height: 20px;
}

.account-inline-note--success {
    border-left-color: #6d9c37;
    background: #f5faef;
    color: #416124;
}

.account-inline-note--warning {
    border-left-color: #d49a32;
    background: #fffaf0;
    color: #68501f;
}

.account-inline-note--warning a {
    color: #8b5b00;
    font-weight: 600;
}

.account-inline-note p {
    margin: 4px 0 0;
}

.account-primary-button.round-button {
    width: auto;
    min-width: 220px;
    padding: 0 25px;
    border-color: var(--ui-accent);
    background: var(--ui-accent);
    color: #fff;
    line-height: 44px;
}

.account-primary-button.round-button:hover {
    border-color: var(--ui-accent-hover);
    background: var(--ui-accent-hover);
}

/* VK identity gate for private-item classified adverts */
.account-verification-card {
    box-sizing: border-box;
    max-width: 690px;
    margin: 28px auto 64px;
    padding: 36px 38px;
    border: 1px solid #dfe5eb;
    border-radius: var(--ui-radius);
    background: #fff;
    box-shadow: 0 10px 32px rgba(32, 55, 78, .08);
}

.account-verification-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: var(--ui-radius);
    background: #0077ff;
    color: #fff;
    font: 700 18px/1 'PT Sans', sans-serif;
}

.account-verification-card h2 {
    margin: 0 0 16px;
    font: 700 30px/36px 'PT Serif', serif;
    color: #263746;
}

.account-verification-card p {
    max-width: 590px;
    margin: 0 0 12px;
    font: 400 16px/24px 'PT Sans', sans-serif;
    color: #526272;
}

.account-verification-card__actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 26px;
}

.account-verification-card__topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.account-verification-card__badge {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 14px;
    border-radius: 18px;
    background: #eef7e8;
    color: #4c722d;
    font: 700 14px/20px 'PT Sans', sans-serif;
}

.account-verification-card--classified {
    max-width: 780px;
    margin-top: 18px;
    padding: 40px 44px;
}

.account-verification-card--classified h2 {
    max-width: 650px;
}

.account-verification-card__lead {
    font-size: 17px !important;
    line-height: 26px !important;
}

.account-verification-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 26px 0;
    padding: 0;
    list-style: none;
}

.account-verification-steps li {
    box-sizing: border-box;
    min-width: 0;
    padding: 18px;
    border-radius: var(--ui-radius);
    background: #f5f8fb;
}

.account-verification-steps li > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-bottom: 13px;
    border-radius: 50%;
    background: #0077ff;
    color: #fff;
    font: 700 14px/1 'PT Sans', sans-serif;
}

.account-verification-steps strong {
    display: block;
    color: #263746;
    font: 700 15px/20px 'PT Sans', sans-serif;
}

.account-verification-steps p {
    margin: 6px 0 0;
    color: #667583;
    font-size: 14px;
    line-height: 20px;
}

.account-verification-card__privacy {
    padding: 18px 20px;
    border-radius: var(--ui-radius);
    background: #fff8e9;
    color: #624f2f;
}

.account-verification-card__privacy strong {
    font: 700 15px/20px 'PT Sans', sans-serif;
}

.account-verification-card__privacy p {
    margin: 4px 0 0;
    color: #6d5c3d;
    font-size: 14px;
    line-height: 21px;
}

.account-verification-card__secondary {
    font-weight: 700;
}

.advert-vk-notice {
    position: relative;
    margin-bottom: 22px;
    padding-right: 160px;
}

.advert-vk-notice__link {
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    font-weight: 700;
}

@media (max-width: 700px) {
    .account-verification-card {
        margin: 16px 12px 40px;
        padding: 26px 22px;
    }

    .account-verification-card__actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .account-verification-card--classified {
        padding: 26px 22px;
        border-radius: var(--ui-radius);
    }

    .account-verification-card--classified h2 {
        font-size: 25px;
        line-height: 31px;
    }

    .account-verification-steps {
        grid-template-columns: 1fr;
    }

    .account-verification-steps li {
        display: grid;
        grid-template-columns: 32px 1fr;
        gap: 12px;
        padding: 15px;
    }

    .account-verification-steps li > span {
        margin: 0;
    }

    .account-verification-card__actions .account-primary-button {
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        text-align: center;
    }

    .advert-vk-notice {
        padding-right: 18px;
    }

    .advert-vk-notice__link {
        position: static;
        display: inline-block;
        margin-top: 10px;
        transform: none;
    }
}

/* Registration */

.account-auth-page {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 24px;
    align-items: start;
    max-width: 980px;
    margin: 14px auto 64px;
}

.auth-card,
.auth-help-card,
.account-status-card {
    border: 1px solid #e3e3e3;
    border-radius: var(--ui-radius);
    background: #fff;
    box-shadow: 0 8px 28px rgba(25, 25, 25, .06);
}

.auth-card {
    padding: 34px 38px 36px;
}

.auth-card__header {
    margin-bottom: 26px;
}

.auth-form__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.auth-form__row .account-field {
    min-width: 0;
}

.auth-form .account-field > label:first-child {
    display: block;
    margin-bottom: 8px;
    color: #353535;
    font-size: 15px;
    font-weight: 700;
}

.auth-form .account-field > label span {
    color: #888;
    font-size: 12px;
    font-weight: 400;
}

.auth-captcha {
    margin: 0 0 23px;
}

.auth-form__actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.auth-form__actions p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.auth-social {
    margin-top: 30px;
    text-align: center;
}

.auth-social--primary {
    margin: 0;
    padding: 19px;
    border: 1px solid #cfe3ff;
    border-radius: var(--ui-radius);
    background: #f4f8ff;
    text-align: left;
}

.auth-social--primary h2 {
    margin: 0 0 4px;
    color: #2f3d51;
    font-size: 18px;
    line-height: 23px;
}

.auth-social--primary > p {
    margin: 0 0 14px;
    color: #627083;
    font-size: 13px;
    line-height: 19px;
}

.auth-social .socials,
.auth-popup-social .socials {
    padding: 0;
}

.auth-social--primary .auth-service,
.auth-popup-social .auth-service {
    float: none;
    width: 100%;
    margin-bottom: 0;
}

.auth-social--primary .socials .auth-link {
    width: 100%;
    min-height: 48px;
    border-radius: var(--ui-radius);
    box-sizing: border-box;
    font-size: 17px;
}

.auth-social h2 {
    margin: 18px 0 4px;
    color: #444;
    font-size: 17px;
    font-weight: 700;
}

.auth-social > p {
    margin: 0 0 15px;
    color: #777;
    font-size: 13px;
}

.auth-social__divider {
    position: relative;
    height: 20px;
    color: #888;
    text-align: center;
}

.auth-social__divider:before {
    position: absolute;
    top: 10px;
    right: 0;
    left: 0;
    height: 1px;
    background: #e3e3e3;
    content: '';
}

.auth-social__divider span {
    position: relative;
    padding: 0 12px;
    background: #fff;
    font-size: 12px;
}

.auth-social__divider--form {
    height: 42px;
    line-height: 20px;
}

.auth-social__divider--form:before {
    top: 20px;
}

.auth-social__divider--form span {
    top: 10px;
    color: #777;
    font-size: 13px;
}

.auth-login-links {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin: -5px 0 24px;
    color: #666;
    font-size: 14px;
    line-height: 20px;
}

.auth-login-links a {
    color: #176b91;
    text-decoration: none;
    border-bottom: 1px solid rgba(23, 107, 145, .28);
}

.auth-login-links a:hover {
    color: var(--ui-accent);
    border-bottom-color: rgba(230, 50, 65, .35);
}

.auth-form__actions--login .account-primary-button {
    width: 100%;
}

.auth-benefits {
    margin: 0 0 23px;
    padding: 0;
    list-style: none;
}

.auth-benefits li {
    position: relative;
    margin: 0 0 10px;
    padding-left: 22px;
    left: auto;
    color: #626262;
    font-size: 14px;
    line-height: 20px;
}

.auth-benefits li:before {
    position: absolute;
    left: 0;
    color: #4d7c34;
    font-weight: 700;
    content: '✓';
}

.auth-secondary-button.round-button {
    display: block;
    width: 100%;
    padding: 0 18px;
    border-color: #d4dbe3;
    background: #fff;
    box-sizing: border-box;
    color: #176b91;
    line-height: 42px;
    text-align: center;
}

.auth-secondary-button.round-button:hover {
    border-color: #176b91;
    background: #f2f8fb;
    color: #176b91;
}

/* Login and registration popups */
.auth-popup-social {
    margin: 0 32px 20px;
    padding: 17px 18px;
    border: 1px solid #cfe3ff;
    border-radius: var(--ui-radius);
    background: #f4f8ff;
}

.auth-popup-social__title {
    margin: 0 0 3px;
    color: #2f3d51;
    font: 700 17px/22px 'PT Sans', sans-serif;
}

.auth-popup-social__text {
    margin: 0 0 12px;
    color: #627083;
    font: 400 13px/18px 'PT Sans', sans-serif;
}

.auth-popup-social .socials .auth-link {
    width: 100%;
    min-height: 46px;
    border-radius: var(--ui-radius);
    box-sizing: border-box;
}

.auth-popup-divider {
    position: relative;
    height: 28px;
    margin: 0 32px 14px;
    color: #777;
    text-align: center;
}

.auth-popup-divider:before {
    position: absolute;
    top: 10px;
    right: 0;
    left: 0;
    height: 1px;
    background: #e3e3e3;
    content: '';
}

.auth-popup-divider span {
    position: relative;
    padding: 0 10px;
    background: #fff;
    font: 400 12px/20px 'PT Sans', sans-serif;
}

.popup.popLog .auth-popup-submit {
    min-width: 122px;
    height: 42px;
    border: 1px solid #d92f40;
    border-radius: var(--ui-radius);
    background: #e33c4d;
    color: #fff;
    font: 700 16px/40px 'PT Sans', sans-serif;
    text-shadow: none;
    transition: background-color .2s ease, border-color .2s ease;
}

.popup.popLog .auth-popup-submit:hover,
.popup.popLog .auth-popup-submit:focus {
    border-color: #bd2031;
    background: #c9293a;
}

.popup.popReg .form .field.button {
    float: none;
    width: auto;
    margin: 0 32px;
    padding: 0;
}

.popup.popReg .form .field.button input[type="submit"] {
    width: 100%;
    height: 44px;
    margin-top: 18px;
    border: 1px solid #d92f40;
    border-radius: var(--ui-radius);
    background: #e33c4d;
    box-sizing: border-box;
    color: #fff;
    font: 700 16px/42px 'PT Sans', sans-serif;
    text-shadow: none;
}

.popup.popReg .form .field.button input[type="submit"]:hover,
.popup.popReg .form .field.button input[type="submit"]:focus {
    border-color: #bd2031;
    background: #c9293a;
}

.auth-help-card {
    position: sticky;
    top: 20px;
    padding: 28px 26px;
}

.auth-help-card h2 {
    margin: 8px 0 24px;
    color: #333;
    font: 600 22px/29px 'PT Serif', serif;
}

.account-route {
    margin: 0;
    padding: 0;
    list-style: none;
}

.account-route li {
    position: relative;
    display: flex;
    gap: 12px;
    margin: 0;
    padding: 0 0 24px;
    left: auto;
}

.account-route li:not(:last-child):after {
    position: absolute;
    top: 29px;
    bottom: 3px;
    left: 14px;
    width: 1px;
    background: #d9d9d9;
    content: '';
}

.account-route li > span {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 0 0 29px;
    align-items: center;
    justify-content: center;
    width: 29px;
    height: 29px;
    border: 1px solid #ccc;
    border-radius: 50%;
    background: #fff;
    color: #777;
    font-size: 12px;
    font-weight: 700;
}

.account-route li.is-current > span {
    border-color: var(--ui-accent);
    background: var(--ui-accent);
    color: #fff;
}

.account-route strong,
.account-route small {
    display: block;
}

.account-route strong {
    margin-top: 2px;
    color: #444;
    font-size: 15px;
    line-height: 18px;
}

.account-route small {
    margin-top: 2px;
    color: #888;
    font-size: 12px;
    line-height: 16px;
}

.auth-help-card__note {
    margin: 2px 0 0;
    padding: 14px;
    border-radius: var(--ui-radius);
    background: #f5faef;
    color: #4f672f;
    font-size: 13px;
    line-height: 19px;
}

/* Vacancy form */

.vacancy-form-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 252px;
    gap: 22px;
    align-items: start;
}

.vacancy-form-main {
    min-width: 0;
}

.vacancy-choice-field {
    min-width: 0;
    margin: 0 0 24px;
    padding: 0;
    border: 0;
}

.vacancy-editor-form input.hidden:not([type="hidden"]) {
    position: absolute;
    display: block;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    opacity: 0;
}

.vacancy-choice-grid {
    display: block;
}

.vacancy-choice-grid > span {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.vacancy-choice-grid .ncheckbox {
    position: relative;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 10px 11px;
    border: 1px solid #dedede;
    border-radius: var(--ui-radius);
    background: #fff;
    box-sizing: border-box;
    float: none;
    transition: border-color .15s ease, background-color .15s ease;
}

.vacancy-choice-grid .ncheckbox:hover {
    border-color: #a8bbc3;
    background: #f8fbfc;
}

.vacancy-choice-grid .ncheckbox.is-selected {
    border-color: #6d9c37;
    background: #f5faef;
}

.vacancy-choice-grid .ncheckbox.is-disabled {
    background: #f4f4f4;
    opacity: .55;
}

.vacancy-choice-grid .ncheckbox label {
    display: block;
    height: auto;
    min-height: 20px;
    color: #444;
    font-size: 14px;
    line-height: 20px;
}

.vacancy-choice-grid input:focus + label,
.employment-options .radio:focus-within,
.vacancy-consent input:focus + label {
    outline: 2px solid #17749e;
    outline-offset: 3px;
}

.employment-options {
    display: block;
}

.employment-options > span {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 180px));
    gap: 10px;
}

.employment-options .radio {
    position: relative;
    display: flex;
    align-items: center;
    width: auto;
    min-height: 52px;
    margin: 0;
    padding: 12px 13px 12px 46px;
    border: 1px solid #dedede;
    border-radius: var(--ui-radius);
    background: #fff !important;
    box-sizing: border-box;
    float: none;
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease;
}

.employment-options .radio.active,
.employment-options .radio.is-selected {
    border-color: #6d9c37;
    background: #f5faef !important;
}

.employment-options .radio:before {
    position: absolute;
    top: 50%;
    left: 15px;
    width: 18px;
    height: 18px;
    border: 2px solid #b8bec1;
    border-radius: 50%;
    background: #fff;
    box-sizing: border-box;
    content: '';
    transform: translateY(-50%);
}

.employment-options .radio.is-selected:before {
    border-color: var(--ui-accent);
}

.employment-options .radio.is-selected:after {
    position: absolute;
    top: 50%;
    left: 20px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ui-accent);
    content: '';
    transform: translateY(-50%);
}

.employment-options .radio input[type='radio'] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    opacity: 0;
}

.employment-options .radio label {
    display: block;
    width: 100%;
    margin: 0;
    color: #444;
    cursor: pointer;
    font-size: 14px;
    line-height: 20px;
}

.work-format-options > span {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vacancy-radio-help {
    margin: -3px 0 11px;
}

.salary-inputs {
    display: flex;
    gap: 10px;
    align-items: end;
    max-width: 500px;
}

.salary-inputs label {
    flex: 1;
    min-width: 0;
    color: #777;
    font-size: 13px;
}

.salary-inputs label > span {
    display: block;
    margin-bottom: 5px;
}

.account-form .salary-inputs .iField.price {
    width: 100%;
}

.salary-currency {
    padding-bottom: 11px;
    color: #555;
    font-size: 18px;
}

.vacancy-description-field #redactor_block,
.vacancy-description-field .redactor_box {
    width: 100%;
    box-sizing: border-box;
}

.vacancy-description-field .redactor_box {
    border-radius: var(--ui-radius);
    overflow: hidden;
}

.vacancy-legal-note {
    margin-top: 18px;
    padding: 14px 16px;
    border: 1px solid #ead7b8;
    border-radius: var(--ui-radius);
    background: #fffaf0;
    color: #62533e;
    font-size: 13px;
    line-height: 19px;
}

.vacancy-legal-note summary {
    cursor: pointer;
    color: #5d4a2e;
    font-weight: 700;
}

.vacancy-legal-note p {
    margin: 10px 0 0;
}

.vacancy-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
}

.vacancy-contact-grid .account-field:last-child {
    grid-column: 1 / span 2;
}

.vacancy-consent {
    position: relative;
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 9px;
    align-items: start;
    margin-top: 2px;
    padding: 14px 15px;
    border: 1px solid #e0e0e0;
    border-radius: var(--ui-radius);
    background: #fafafa;
}

.vacancy-consent .vacancy-consent__input {
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    float: none;
}

.vacancy-consent > label {
    display: block;
    min-height: 20px;
    margin: 0;
    color: #444;
    font-size: 14px;
    line-height: 20px;
}

.vacancy-consent .ferror {
    grid-column: 2;
}

.vacancy-form-aside {
    position: sticky;
    top: 18px;
}

.vacancy-summary-card {
    padding: 22px 20px;
    border: 1px solid #ddd;
    border-radius: var(--ui-radius);
    background: #f8fafb;
}

.vacancy-summary-card h2 {
    margin: 8px 0 8px;
    color: #333;
    font: 600 20px/26px 'PT Serif', serif;
}

.vacancy-summary-card > p {
    margin: 0;
    color: #666;
    font-size: 13px;
    line-height: 19px;
}

.vacancy-summary-card__company {
    margin: 13px 0 18px !important;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
}

.vacancy-summary-card__company strong {
    color: #333;
    font-size: 15px;
}

.vacancy-publication-offer {
    margin: 14px 0 13px;
    padding: 16px;
    border: 1px solid var(--ui-border);
    border-radius: var(--ui-radius);
    background: var(--ui-accent-soft);
}

.vacancy-publication-offer span,
.vacancy-publication-offer small {
    display: block;
    color: var(--ui-muted);
    font-size: 12px;
    line-height: 17px;
}

.vacancy-publication-offer strong {
    display: block;
    margin: 3px 0;
    color: var(--ui-accent);
    font: 700 29px/34px 'PT Serif', serif;
}

.vacancy-summary-list {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.vacancy-summary-list li {
    position: relative;
    margin: 0 0 10px;
    padding-left: 20px;
    left: auto;
    color: #626262;
    font-size: 12px;
    line-height: 17px;
}

.vacancy-summary-list li:before {
    position: absolute;
    top: 1px;
    left: 0;
    color: #6d9c37;
    font-weight: 700;
    content: '✓';
}

.vacancy-actions {
    position: sticky;
    z-index: 20;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    margin-top: 2px;
    padding: 17px 20px;
    border: 1px solid #dedede;
    border-radius: var(--ui-radius) var(--ui-radius) 0 0;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 -7px 20px rgba(0, 0, 0, .07);
}

.vacancy-actions > div {
    display: flex;
    gap: 17px;
    align-items: center;
}

.vacancy-actions > div > span {
    color: #888;
    font-size: 12px;
}

/* Company form and status */

.company-account-form .account-section .row {
    max-width: 660px;
}

.company-account-form .account-section .row .iField,
.company-account-form .account-section .row textarea.iField,
.company-account-form .account-section .row select.iField {
    width: 100%;
    max-width: 660px;
}

.company-account-form .account-section .row textarea.iField {
    min-height: 110px;
    padding: 10px 13px;
    line-height: 20px;
}

.company-account-form .input-hint {
    max-width: 660px;
    margin: 0 0 9px;
}

.company-account-form .row.buttons {
    display: flex;
    max-width: none;
    justify-content: flex-end;
    margin: 8px 0 0;
}

.account-status-card {
    max-width: 720px;
    padding: 34px 38px;
}

.account-status-card--compact {
    box-shadow: none;
}

.account-status-card--warning {
    border-color: #e7c7a5;
    background: #fffaf3;
}

.account-status-card h2 {
    margin: 0 0 8px;
    color: #333;
    font: 600 24px/31px 'PT Serif', serif;
}

.account-status-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 20px;
    align-items: center;
    margin-top: 25px;
}

@media all and (max-width: 1023px) {
    .account-form-page,
    .account-auth-page {
        padding-right: 16px;
        padding-left: 16px;
    }

    .vacancy-form-layout {
        grid-template-columns: minmax(0, 1fr) 230px;
    }
}

@media all and (max-width: 820px) {
    .account-auth-page,
    .vacancy-form-layout {
        grid-template-columns: 1fr;
    }

    .auth-help-card,
    .vacancy-form-aside {
        position: static;
    }

    .account-auth-page .auth-card {
        grid-row: 1;
    }

    .auth-help-card {
        grid-row: 2;
    }

    .vacancy-form-aside {
        grid-row: 1;
    }

    .vacancy-summary-card {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 0 20px;
    }

    .vacancy-summary-card .account-eyebrow,
    .vacancy-summary-card__company {
        grid-column: 1 / span 2;
    }

    .vacancy-summary-list {
        margin-top: 8px;
    }
}

@media all and (max-width: 600px) {
    .personal-area-shell .top-head-bar.lk {
        display: block;
        border-radius: 0;
    }

    .account-form-header h1,
    .auth-card__header h1,
    .account-status-card h1 {
        font-size: 28px;
        line-height: 35px;
    }

    .account-flow {
        grid-template-columns: 1fr;
    }

    .account-flow li {
        min-height: 50px;
        padding: 9px 13px;
    }

    .account-section,
    .auth-card,
    .auth-help-card,
    .account-status-card {
        padding: 22px 18px;
        border-radius: var(--ui-radius);
    }

    .account-section__heading {
        margin-bottom: 20px;
    }

    .auth-form__row,
    .vacancy-choice-grid > span,
    .vacancy-contact-grid,
    .vacancy-summary-card {
        grid-template-columns: 1fr;
    }

    .vacancy-contact-grid .account-field:last-child,
    .vacancy-summary-card .account-eyebrow,
    .vacancy-summary-card__company {
        grid-column: auto;
    }

    .employment-options > span {
        grid-template-columns: 1fr 1fr;
    }

    .work-format-options > span {
        grid-template-columns: 1fr;
    }

    .field-meta,
    .auth-form__actions,
    .auth-login-links,
    .vacancy-actions,
    .vacancy-actions > div {
        align-items: stretch;
        flex-direction: column;
    }

    .auth-login-links {
        gap: 8px;
    }

    .auth-popup-social {
        margin-right: 18px;
        margin-left: 18px;
        padding: 15px;
    }

    .auth-popup-divider {
        margin-right: 18px;
        margin-left: 18px;
    }

    .popup.popLog .form,
    .popup.popReg .form {
        padding-right: 18px;
        padding-left: 18px;
    }

    .popup.popLog .form .field,
    .popup.popReg .form .field,
    .popReg .form .field.row {
        width: 100%;
        margin: 0 0 18px;
        float: none;
    }

    .popup.popLog .form .iField,
    .popup.popReg .form .iField {
        width: 100%;
        box-sizing: border-box;
    }

    .popup.popLog .form .field.passwd-login {
        margin-top: 0;
    }

    .popup.popLog .auth-popup-submit {
        width: 100%;
        margin-top: 14px;
    }

    .popup.popReg .form .field.button {
        float: none;
        width: 100%;
        margin: 0 0 18px;
    }

    .selection-count {
        white-space: normal;
    }

    .auth-form__actions .round-button,
    .vacancy-actions .round-button,
    .company-account-form .round-button {
        width: 100%;
    }

    .vacancy-actions {
        position: static;
        align-items: stretch;
        border-radius: var(--ui-radius);
    }

    .vacancy-actions > div > span {
        display: none;
    }
}

/* Specialist service form */
.profi-form-page {
    max-width: 1120px;
    margin: 0 auto 56px;
    color: #333;
    font-family: 'PT Sans', sans-serif;
}

.profi-form-header {
    margin-bottom: 28px;
}

.profi-form-header h1 {
    margin: 7px 0 10px;
    color: #2f2f2f;
    font: 600 36px/44px 'PT Serif', serif;
    text-transform: none;
}

.profi-form-header > p {
    max-width: 790px;
    margin: 0;
    color: #626262;
    font-size: 17px;
    line-height: 25px;
}

.profi-section-rules ul {
    margin: 8px 0 0 18px;
    list-style: disc;
}

.profi-section-rules li + li {
    margin-top: 5px;
}

.profi-form-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 24px 0 0;
}

.profi-form-steps li {
    display: grid;
    min-width: 0;
    padding: 13px 14px;
    grid-template-columns: 34px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 10px;
    border: 1px solid #e2e5df;
    border-radius: var(--ui-radius);
    background: #fafbf9;
    box-sizing: border-box;
}

.profi-form-steps li > span {
    display: flex;
    width: 32px;
    height: 32px;
    grid-row: 1 / span 2;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #edf0ea;
    color: #666;
    font-weight: 700;
}

.profi-form-steps li.is-current {
    border-color: #e6b6bd;
    background: var(--ui-accent-soft);
}

.profi-form-steps li.is-current > span {
    background: var(--ui-accent);
    color: #fff;
}

.profi-form-steps strong {
    align-self: end;
    font-size: 14px;
    line-height: 18px;
}

.profi-form-steps small {
    overflow: hidden;
    color: #7b7b7b;
    font-size: 12px;
    line-height: 17px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.form.profi-form {
    padding: 0;
}

.profi-form-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 22px;
    align-items: start;
}

.profi-form-main {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.profi-form-section,
.profi-placement-card,
.profi-form-help {
    border: 1px solid #e2e5df;
    border-radius: var(--ui-radius);
    background: #fff;
    box-shadow: 0 2px 8px rgba(28, 42, 23, .05);
    box-sizing: border-box;
}

.profi-form-section {
    padding: 26px;
}

.profi-form-section__heading {
    display: grid;
    margin-bottom: 24px;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.profi-form-section__number {
    display: flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: var(--ui-radius);
    background: var(--ui-accent-soft);
    color: var(--ui-accent);
    font-size: 16px;
    font-weight: 700;
}

.profi-form-section__heading h2,
.profi-placement-card h2 {
    margin: 0 0 4px;
    color: #303030;
    font: 600 24px/31px 'PT Serif', serif;
    text-transform: none;
}

.profi-form-section__heading p {
    margin: 0;
    color: #747474;
    font-size: 14px;
    line-height: 20px;
}

.profi-fields-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.profi-fields-grid--service {
    grid-template-columns: minmax(190px, .7fr) minmax(0, 1.3fr);
}

.profi-fields-grid--details {
    margin-top: 20px;
    grid-template-columns: minmax(180px, .55fr) minmax(0, 1.45fr);
}

.profi-form .row.profi-field {
    min-width: 0;
    margin: 0;
}

.profi-form .row.profi-field--full {
    margin-top: 20px;
}

.profi-form .profi-field .name {
    margin: 0 0 7px;
    color: #333;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
}

.profi-form .profi-field .name label {
    font-weight: inherit;
}

.profi-form .profi-field .name span {
    color: #8a8a8a;
    font-size: 12px;
    font-weight: 400;
}

.profi-form .row.profi-field .iField,
.profi-form .row.profi-field .iField.full-size,
.profi-form .dropdown select {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #cbd0c8;
    border-radius: var(--ui-radius);
    background: #fff;
    font-size: 15px;
    box-sizing: border-box;
}

.profi-form .row.profi-field .iField:focus,
.profi-form .dropdown select:focus,
.profi-form .redactor_box:focus-within {
    border-color: var(--ui-accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(185, 50, 64, .12);
}

.profi-form .hint {
    width: auto;
    margin-top: 6px;
    color: #858585;
    font-size: 12px;
    line-height: 17px;
}

.profi-form .ferror {
    margin-top: 5px;
}

.profi-form #redactor_block,
.profi-form .redactor_box,
.profi-form .redactor_editor {
    width: 100% !important;
    box-sizing: border-box;
}

.profi-form .redactor_box {
    overflow: hidden;
    border: 1px solid #cbd0c8;
    border-radius: var(--ui-radius);
}

.profi-form .redactor_toolbar {
    border-bottom: 1px solid #e1e3df;
}

.profi-form .redactor_editor {
    min-height: 210px !important;
    border: 0 !important;
}

.profi-form .price-placeholder {
    float: none;
    width: 100%;
}

.profi-form .row.profi-field .iField.price {
    width: 100%;
    padding-right: 38px;
}

.profi-form .row .rub {
    right: 13px;
    top: 10px;
}

.profi-price-explanation {
    margin: -2px 0 11px;
    color: #687166;
    font-size: 13px;
    line-height: 18px;
}

.profi-price-choice {
    display: grid;
    gap: 8px;
}

.profi-price-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    border: 1px solid #d8ddd4;
    border-radius: var(--ui-radius);
    background: #fff;
    cursor: pointer;
    box-sizing: border-box;
}

.profi-price-option:hover {
    border-color: #aeb9a9;
    background: #fbfcfa;
}

.profi-price-option input {
    margin: 3px 0 0;
    flex: 0 0 auto;
}

.profi-price-option span,
.profi-price-option strong,
.profi-price-option small {
    display: block;
}

.profi-price-option strong {
    color: #293128;
    font-size: 14px;
    line-height: 19px;
}

.profi-price-option small {
    margin-top: 2px;
    color: #747d72;
    font-size: 12px;
    line-height: 17px;
}

.profi-price-amount {
    margin-top: 14px;
    padding: 14px;
    border-radius: var(--ui-radius);
    background: #f5f7f3;
}

.profi-price-amount .name {
    margin-top: 0;
}

.profi-photo-field {
    padding-left: 20px;
    border-left: 1px solid #e5e7e2;
}

.profi-photo-field .upload-images {
    margin-top: 11px;
}

.profi-photo-field .qq-upload-button {
    border: 1px dashed #bac1b6;
    border-radius: var(--ui-radius);
    background-color: #f7f9f6;
}

.profi-form .qq-upload-thumb {
    cursor: pointer;
}

.profi-choice-row {
    display: flex;
    min-height: 64px;
    margin: 0 !important;
    padding: 14px 0;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid #eceeea;
    box-sizing: border-box;
}

.profi-choice-row:first-of-type {
    border-top: 0;
}

.profi-choice-row strong,
.profi-choice-row small {
    display: block;
}

.profi-choice-row strong {
    margin-bottom: 3px;
    font-size: 15px;
    line-height: 20px;
}

.profi-choice-row small {
    color: #7b7b7b;
    font-size: 12px;
    line-height: 17px;
}

.profi-toggle-group {
    display: flex;
    flex: 0 0 auto;
    gap: 6px;
    padding: 3px;
    border-radius: var(--ui-radius);
    background: #f0f2ee;
}

.profi-toggle-group .radio {
    min-width: 54px;
    margin: 0;
    padding: 0;
    float: none;
    border-radius: var(--ui-radius);
    background: transparent;
    text-align: center;
}

.profi-toggle-group .radio.active {
    background: #fff;
    box-shadow: 0 1px 4px rgba(30, 42, 25, .12);
}

.profi-toggle-group .radio p,
.profi-toggle-group .radio label {
    display: block;
    margin: 0;
}

.profi-toggle-group .radio label {
    padding: 8px 12px;
    cursor: pointer;
    color: #555;
    font-size: 14px;
    font-weight: 700;
    line-height: 18px;
}

.profi-toggle-group .radio.active label {
    color: var(--ui-accent);
}

.profi-form .checkboxs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 16px;
}

.profi-form .ncheckbox {
    width: auto;
    min-width: 0;
    margin: 0;
    float: none;
}

.profi-form-aside {
    position: sticky;
    top: 18px;
}

.profi-placement-card {
    padding: 22px;
}

.profi-placement-card h2 {
    margin-top: 5px;
}

.profi-placement-card__intro {
    margin: 0 0 17px;
    color: #686868;
    font-size: 14px;
    line-height: 20px;
}

.profi-placement-card__status {
    display: flex;
    margin: 0 0 14px;
    padding: 11px 12px;
    justify-content: space-between;
    gap: 12px;
    border-radius: var(--ui-radius);
    background: #edf5e8;
    color: #416b2e;
    font-size: 13px;
}

.profi-plan-list {
    display: grid;
    gap: 9px;
}

.profi-plan-card {
    display: block;
    margin: 0;
    cursor: pointer;
}

.profi-plan-card__body {
    position: relative;
    display: grid;
    min-height: 74px;
    padding: 13px;
    grid-template-columns: 20px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    border: 1px solid #dfe2dc;
    border-radius: var(--ui-radius);
    background: #fff;
    color: #333;
    text-decoration: none;
    box-sizing: border-box;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.profi-plan-card:hover .profi-plan-card__body,
.profi-plan-card__link:hover,
.profi-plan-card__link:focus,
.profi-plan-card.is-selected .profi-plan-card__body {
    border-color: var(--ui-accent);
    background: var(--ui-accent-soft);
    box-shadow: 0 0 0 2px rgba(185, 50, 64, .1);
    color: #333;
    text-decoration: none;
}

.profi-plan-card__check {
    display: block;
    width: 18px;
    height: 18px;
    border: 2px solid #b6bcb2;
    border-radius: 50%;
    box-sizing: border-box;
}

.profi-plan-card.is-selected .profi-plan-card__check {
    border: 5px solid var(--ui-accent);
}

.profi-plan-card__link .profi-plan-card__check {
    position: relative;
    border-color: var(--ui-accent);
}

.profi-plan-card__link .profi-plan-card__check:after {
    position: absolute;
    top: 2px;
    left: 4px;
    width: 4px;
    height: 7px;
    border: solid var(--ui-accent);
    border-width: 0 2px 2px 0;
    content: '';
    transform: rotate(45deg);
}

.profi-plan-card__copy,
.profi-plan-card__price {
    display: block;
    min-width: 0;
}

.profi-plan-card__copy strong,
.profi-plan-card__copy small,
.profi-plan-card__price strong,
.profi-plan-card__price small {
    display: block;
}

.profi-plan-card__copy strong {
    font-size: 14px;
    line-height: 18px;
}

.profi-plan-card__copy small,
.profi-plan-card__price small {
    margin-top: 3px;
    color: #7b7b7b;
    font-size: 11px;
    line-height: 15px;
}

.profi-plan-card__price {
    text-align: right;
}

.profi-plan-card__price strong {
    color: #353535;
    font-size: 15px;
    line-height: 19px;
    white-space: nowrap;
}

.profi-plan-card__badge {
    position: absolute;
    top: -7px;
    right: 9px;
    padding: 2px 7px;
    border-radius: 10px;
    background: var(--ui-accent);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    line-height: 14px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.profi-plan-card--static {
    cursor: default;
}

.profi-plan-card--static .profi-plan-card__body {
    background: #f7f8f6;
}

.profi-placement-card__selection {
    margin: 14px 0 0;
    color: #3f692d;
    font-size: 13px;
    font-weight: 700;
    line-height: 18px;
}

.profi-placement-card__note {
    margin: 8px 0 0;
    color: #818181;
    font-size: 11px;
    line-height: 16px;
}

.profi-form-help {
    margin-top: 12px;
    padding: 18px 20px;
    background: #f9faf8;
}

.profi-form-help strong {
    font-size: 14px;
}

.profi-form-help ul {
    margin: 9px 0 0 17px;
    color: #6d6d6d;
    font-size: 13px;
    line-height: 20px;
    list-style: disc;
}

.profi-form-actions {
    display: flex;
    margin-top: 20px;
    padding: 19px 22px;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    border: 1px solid #dde3da;
    border-radius: var(--ui-radius);
    background: #f6f9f4;
    box-sizing: border-box;
}

.profi-form-actions strong,
.profi-form-actions span {
    display: block;
}

.profi-form-actions strong {
    margin-bottom: 3px;
    font-size: 15px;
    line-height: 20px;
}

.profi-form-actions span {
    color: #777;
    font-size: 13px;
    line-height: 18px;
}

.profi-form-actions .round-button {
    flex: 0 0 auto;
    min-width: 245px;
}

@media all and (max-width: 1020px) {
    .profi-form-layout {
        grid-template-columns: 1fr;
    }

    .profi-form-aside {
        position: static;
        grid-row: 1;
    }

    .profi-form-main {
        grid-row: 2;
    }

    .profi-plan-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .profi-form-help {
        display: none;
    }
}

@media all and (max-width: 720px) {
    .profi-form-header h1 {
        font-size: 30px;
        line-height: 38px;
    }

    .profi-form-header > p {
        font-size: 16px;
        line-height: 23px;
    }

    .profi-form-steps {
        gap: 6px;
    }

    .profi-form-steps li {
        display: block;
        padding: 10px 6px;
        text-align: center;
    }

    .profi-form-steps li > span {
        width: 28px;
        height: 28px;
        margin: 0 auto 6px;
        font-size: 12px;
    }

    .profi-form-steps strong {
        display: block;
        font-size: 12px;
        line-height: 16px;
    }

    .profi-form-steps small {
        display: none;
    }

    .profi-form-section,
    .profi-placement-card {
        padding: 20px 17px;
        border-radius: var(--ui-radius);
    }

    .profi-form-section__heading {
        margin-bottom: 20px;
    }

    .profi-form-section__heading h2,
    .profi-placement-card h2 {
        font-size: 22px;
        line-height: 28px;
    }

    .profi-fields-grid,
    .profi-fields-grid--service,
    .profi-fields-grid--details,
    .profi-plan-list {
        grid-template-columns: 1fr;
    }

    .profi-fields-grid {
        gap: 18px;
    }

    .profi-photo-field {
        padding: 18px 0 0;
        border-top: 1px solid #e5e7e2;
        border-left: 0;
    }

    .profi-choice-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 11px;
    }

    .profi-toggle-group {
        width: 100%;
        box-sizing: border-box;
    }

    .profi-toggle-group .radio {
        flex: 1 1 0;
    }

    .profi-form .checkboxs {
        grid-template-columns: 1fr;
    }

    .profi-form-actions {
        padding: 18px;
        align-items: stretch;
        flex-direction: column;
    }

    .profi-form-actions .round-button {
        width: 100%;
        min-width: 0;
    }
}

@media all and (max-width: 420px) {
    .profi-form-section__heading {
        grid-template-columns: 32px minmax(0, 1fr);
        gap: 9px;
    }

    .profi-form-section__number {
        width: 32px;
        height: 32px;
    }

    .profi-plan-card__body {
        grid-template-columns: 18px minmax(0, 1fr);
    }

    .profi-plan-card__price {
        grid-column: 2;
        text-align: left;
    }
}

@media all and (max-width: 380px) {
    .account-form-page,
    .account-auth-page {
        padding-right: 10px;
        padding-left: 10px;
    }

    .employment-options > span,
    .salary-inputs {
        display: grid;
        grid-template-columns: 1fr;
    }

    .salary-currency {
        display: none;
    }

    .auth-captcha {
        max-width: 100%;
        overflow: hidden;
    }

    .auth-captcha .g-recaptcha {
        transform: scale(.88);
        transform-origin: left top;
    }
}

/* Realty and private-item advert forms */
.classified-form-page {
    max-width: 940px;
}

.classified-form-header {
    max-width: 830px;
}

.classified-limit-note,
.classified-boundary-note {
    margin: 0 0 20px;
    padding: 18px 20px;
    border: 1px solid #ead8bd;
    border-radius: var(--ui-radius);
    background: #fff9ef;
    box-sizing: border-box;
    color: #4d4539;
}

.classified-limit-note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.classified-limit-note--success {
    border-color: #d2e4c8;
    background: #f4f9f1;
    color: #3f6430;
}

.classified-limit-note strong,
.classified-boundary-note strong {
    display: block;
    margin-bottom: 3px;
    font-size: 15px;
    line-height: 20px;
}

.classified-limit-note p,
.classified-boundary-note p {
    margin: 0;
    font-size: 14px;
    line-height: 20px;
}

.classified-limit-note > a {
    flex: 0 0 auto;
    color: #176b91;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px dashed rgba(23, 107, 145, .45);
}

.classified-boundary-note a {
    color: #176b91;
}

.form.classified-form {
    padding: 0;
}

.classified-form .classified-section {
    margin-bottom: 18px;
}

.classified-form .account-field > label:first-child span,
.classified-photo-field > label span {
    color: #858585;
    font-size: 12px;
    font-weight: 400;
}

.classified-choice-field {
    min-width: 0;
    padding: 0;
    border: 0;
}

.classified-choice-field legend {
    width: 100%;
    margin: 0 0 9px;
    padding: 0;
}

.classified-choice-field legend label {
    color: #353535;
    font-size: 15px;
    font-weight: 700;
    line-height: 20px;
}

.classified-radio-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.classified-radio-grid > span {
    display: contents;
}

.classified-radio-grid .radio {
    position: relative;
    min-width: 0;
    min-height: 46px;
    margin: 0;
    padding: 12px 12px 10px 42px;
    float: none;
    border: 1px solid #d8d8d8;
    border-radius: var(--ui-radius);
    background: #fff none;
    box-sizing: border-box;
}

.classified-radio-grid .radio.active {
    border-color: #dd9132;
    background: #fff9ef none;
    box-shadow: 0 0 0 2px rgba(240, 155, 39, .1);
}

.classified-radio-grid .radio:before {
    position: absolute;
    top: 13px;
    left: 14px;
    width: 18px;
    height: 18px;
    border: 1px solid #c8c8c8;
    border-radius: 50%;
    background: #fff;
    box-sizing: border-box;
    content: '';
}

.classified-radio-grid .radio.active:before {
    border: 5px solid var(--ui-accent);
}

.classified-radio-grid .radio p,
.classified-radio-grid .radio label {
    margin: 0;
    cursor: pointer;
    font-weight: 700;
    line-height: 20px;
}

.classified-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px 14px;
}

.classified-checkbox-grid > span {
    display: contents;
}

.classified-checkbox-grid .ncheckbox {
    width: auto;
    min-width: 0;
    margin: 0;
    float: none;
}

.classified-checkbox-grid .ncheckbox label {
    height: auto;
    min-height: 22px;
    box-sizing: border-box;
    line-height: 20px;
}

.classified-fields-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.classified-fields-grid--contacts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.classified-fields-grid .account-field {
    min-width: 0;
}

.classified-price-field {
    position: relative;
}

.classified-form .classified-price-field .iField {
    padding-right: 42px;
}

.classified-price-field > span {
    position: absolute;
    top: 11px;
    right: 14px;
    color: #777;
    font-size: 17px;
}

.classified-form .classified-textarea,
.classified-form textarea.iField {
    width: 100%;
    min-height: 170px;
    height: auto;
    padding: 12px 13px;
    box-sizing: border-box;
    line-height: 23px;
    resize: vertical;
}

.classified-publication-toggle {
    display: flex;
    margin: -4px 0 24px;
    padding: 13px 15px;
    align-items: center;
    gap: 18px;
    border: 1px solid #dce7d5;
    border-radius: var(--ui-radius);
    background: #f7faf5;
}

.classified-publication-toggle > div:first-child {
    min-width: 0;
    flex: 1 1 auto;
}

.classified-publication-toggle strong,
.classified-publication-toggle small {
    display: block;
}

.classified-publication-toggle small {
    margin-top: 2px;
    color: #777;
    font-size: 12px;
}

.classified-publication-toggle .checkboxs .checkbox {
    width: auto;
    min-width: 130px;
    margin: 0;
    float: none;
}

.classified-publication-toggle .checkbox p {
    height: 30px;
}

.classified-publication-toggle > .ferror {
    margin: 0;
}

.classified-photo-field .upload-images {
    margin-top: 11px;
}

.classified-photo-field .qq-upload-button {
    border: 1px dashed #c7bda9;
    border-radius: var(--ui-radius);
    background-color: #fcfaf6;
}

.classified-form .classified-loaded-images {
    margin-top: 14px;
}

.classified-form .classified-loaded-images img {
    display: block;
    width: 120px;
    max-height: 140px;
    object-fit: cover;
    border-radius: var(--ui-radius);
}

.classified-form-actions {
    display: flex;
    margin-top: 20px;
    padding: 19px 22px;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    border: 1px solid #e1ddd4;
    border-radius: var(--ui-radius);
    background: #faf8f3;
    box-sizing: border-box;
}

.classified-form-actions strong,
.classified-form-actions span {
    display: block;
}

.classified-form-actions strong {
    margin-bottom: 3px;
    font-size: 15px;
    line-height: 20px;
}

.classified-form-actions span {
    color: #777;
    font-size: 13px;
    line-height: 18px;
}

.classified-form-actions .round-button {
    flex: 0 0 auto;
    min-width: 220px;
}

@media all and (max-width: 780px) {
    .classified-radio-grid,
    .classified-checkbox-grid,
    .classified-fields-grid,
    .classified-fields-grid--contacts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media all and (max-width: 560px) {
    .classified-limit-note,
    .classified-form-actions,
    .classified-publication-toggle {
        align-items: stretch;
        flex-direction: column;
    }

    .classified-limit-note > a {
        align-self: flex-start;
    }

    .classified-radio-grid,
    .classified-checkbox-grid,
    .classified-fields-grid,
    .classified-fields-grid--contacts {
        grid-template-columns: 1fr;
    }

    .classified-form-actions .round-button {
        width: 100%;
        min-width: 0;
    }
}

/* Resume create/edit form */
.resume-editor {
    max-width: 1040px;
}

.resume-purpose-note {
    max-width: 760px;
}

.resume-purpose-note strong {
    color: #294a59;
}

.resume-purpose-note a {
    color: #176b91;
    font-weight: 700;
}

.resume-form-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 22px;
    align-items: start;
}

.resume-form-main {
    min-width: 0;
}

.resume-short-fields {
    display: grid;
    grid-template-columns: minmax(150px, .55fr) minmax(230px, 1fr);
    gap: 18px;
}

.resume-salary-input {
    position: relative;
}

.resume-form .resume-salary-input .iField {
    padding-right: 42px;
}

.resume-salary-input > span {
    position: absolute;
    top: 11px;
    right: 14px;
    color: #666;
    font-size: 18px;
}

.resume-photo-field .field-help {
    max-width: 620px;
}

.resume-photo-uploader {
    margin-top: 12px;
}

.resume-photo-uploader .qq-upload-button {
    min-height: 46px;
    padding: 12px 18px;
    border: 1px dashed #b5c6ce;
    border-radius: var(--ui-radius);
    background: #f7fafb;
    box-sizing: border-box;
    color: #176b91;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
}

.resume-loaded-photo {
    margin-top: 14px !important;
}

.resume-loaded-photo img {
    display: block;
    width: 120px;
    max-height: 150px;
    border-radius: var(--ui-radius);
    object-fit: cover;
}

.resume-publish-toggle {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 9px;
    align-items: start;
    margin-top: 2px;
    padding: 14px 15px;
    border: 1px solid #dce7d5;
    border-radius: var(--ui-radius);
    background: #f7faf5;
}

.resume-publish-toggle input {
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
}

.resume-publish-toggle label {
    margin: 0;
    color: #3f5335;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
}

.resume-publish-toggle .ferror {
    grid-column: 2;
}

.resume-form-aside {
    position: sticky;
    top: 18px;
}

.resume-purpose-card {
    padding: 22px 20px;
    border: 1px solid #d6e3e9;
    border-radius: var(--ui-radius);
    background: #f5fafc;
}

.resume-purpose-card h2 {
    margin: 8px 0 10px;
    color: #31434c;
    font: 600 20px/26px 'PT Serif', serif;
}

.resume-purpose-card p {
    margin: 0 0 11px;
    color: #596a72;
    font-size: 13px;
    line-height: 19px;
}

.resume-purpose-card__link {
    display: inline-block;
    margin-top: 6px;
    font-weight: 700;
}

@media all and (max-width: 820px) {
    .resume-form-layout {
        grid-template-columns: 1fr;
    }

    .resume-form-aside {
        display: none;
    }
}

@media all and (max-width: 600px) {
    .resume-short-fields {
        grid-template-columns: 1fr;
    }

    .resume-actions .round-button {
        width: 100%;
        min-width: 0;
    }
}
