:root {
    --ink: #20252b;
    --muted: #707780;
    --line: #e1e4e8;
    --surface: #ffffff;
    --surface-soft: #f5f6f7;
    --accent: #ffd451;
    --accent-strong: #f2bd23;
    --blue: #1588b8;
    --blue-dark: #0d6f99;
    --green: #248b61;
    --green-soft: #e7f7ef;
    --premium-soft: #fff8d8;
    --shadow: none;
    --radius: 16px;
    --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--surface-soft);
    font-family: Arial, "Helvetica Neue", sans-serif;
    font-size: 14px;
    line-height: 1.43;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    border-bottom: 1px solid var(--line);
}
.site-header__inner { min-height: 66px; display: grid; grid-template-columns: 210px minmax(360px, 1fr) auto; gap: 24px; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.brand__mark { width: 36px; height: 36px; display: grid; place-items: center; background: var(--accent); color: #151515; border-radius: 8px; font-size: 18px; }
.brand__name { font-size: 18px; white-space: nowrap; }
.header-search { position: relative; display: flex; min-width: 0; border: 1px solid #cfd4da; border-radius: 10px; background: #fff; padding: 3px; }
.header-search:focus-within { border-color: #b59a36; box-shadow: 0 0 0 1px #b59a36; }
.header-search__field { min-width: 0; flex: 1; display: flex; align-items: center; gap: 10px; padding: 0 14px; color: var(--muted); }
.header-search input { width: 100%; min-width: 0; height: 36px; border: 0; outline: 0; color: var(--ink); background: transparent; }
.search-suggestions { position: absolute; top: calc(100% + 7px); right: 0; left: 0; z-index: 70; overflow: hidden; background: #fff; border: 1px solid #d8dde3; border-radius: 10px; box-shadow: 0 10px 28px rgba(29, 37, 45, .13); }
.search-suggestions[hidden] { display: none; }
.search-suggestions__item { width: 100%; display: block; padding: 11px 14px; color: var(--ink); background: #fff; border: 0; border-bottom: 1px solid #edf0f2; text-align: left; cursor: pointer; font-size: 14px; line-height: 1.35; }
.search-suggestions__item:last-child { border-bottom: 0; }
.search-suggestions__item:hover, .search-suggestions__item.is-active { background: #fff5c4; }
.header-admin { min-height: 36px; padding: 0 14px; color: #fff; background: #20252b; border: 0; border-radius: 8px; font-size: 13px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.header-admin:hover { background: #090b0d; }

.button { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 8px; padding: 0 18px; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .16s ease, border-color .16s ease; }
.button--primary { color: #29200a; background: var(--accent); }
.button--primary:hover { background: var(--accent-strong); }
.button--secondary { color: #fff; background: var(--blue); }
.button--secondary:hover { background: var(--blue-dark); }
.button--ghost { color: var(--ink); background: #fff; border: 1px solid var(--line); }
.button--wide { width: 100%; }

.catalog-hero { background: #fff; border-bottom: 1px solid var(--line); padding: 20px 0 18px; }
.breadcrumbs { margin-bottom: 20px; color: var(--muted); font-size: 13px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.breadcrumbs li { display: flex; align-items: center; gap: 10px; }
.breadcrumbs li:not(:last-child)::after { content: '›'; color: #aab1ba; font-size: 17px; line-height: 1; }
.breadcrumbs a:hover { color: var(--blue); }
.catalog-hero__heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; }
h1 { margin: 0; font-size: 24px; line-height: 1.3; font-weight: 600; letter-spacing: 0; }
.catalog-hero__heading p { margin: 5px 0 0; color: var(--muted); font-size: 14px; }
.country-chips { display: flex; gap: 8px; overflow-x: auto; padding: 18px 0 0; scrollbar-width: thin; }
.country-chip { flex: 0 0 auto; padding: 8px 14px; color: #4d5663; background: #fff; border: 1px solid #d7dce2; border-radius: 8px; font-size: 14px; font-weight: 500; }
.country-chip:hover, .country-chip.is-active { color: #201a09; background: var(--accent); border-color: var(--accent); }

.catalog-section { padding: 24px 0 64px; }
.catalog-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; align-items: start; }
.filter-sidebar { position: sticky; top: 82px; max-height: calc(100vh - 102px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #cfd5dc transparent; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; box-shadow: none; }
.filter-sidebar__head { display: flex; align-items: center; justify-content: space-between; font-size: 17px; margin-bottom: 16px; }
.filter-sidebar__head button { display: none; border: 0; background: transparent; font-size: 30px; color: var(--muted); }
.filter-group + .filter-group { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.filter-group__title { margin-bottom: 8px; color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.filter-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 2px 0; padding: 8px 9px; border-radius: 7px; font-size: 14px; }
.filter-link:hover { background: var(--surface-soft); }
.filter-link.is-active { color: #17130a; background: #ffdf72; font-weight: 600; }
.filter-link b { min-width: 28px; padding: 2px 7px; color: var(--muted); background: #edf0f3; border-radius: 999px; text-align: center; font-size: 12px; }
.filter-link.is-active b { color: #6d5400; background: rgba(255,255,255,.55); }
.filter-link--premium { color: #8b6500; }
.primary-country-star { color: #e0a800; font-size: 13px; }
.country-more { margin-top: 5px; }
.country-more > summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px; color: var(--blue-dark); border-radius: 7px; cursor: pointer; font-size: 14px; font-weight: 600; list-style: none; }
.country-more > summary::-webkit-details-marker { display: none; }
.country-more > summary:hover { background: #eef7fb; }
.country-more > summary::after { content: '⌄'; margin-left: auto; color: var(--muted); transition: transform .16s ease; }
.country-more[open] > summary::after { transform: rotate(180deg); }
.country-more > summary b { min-width: 28px; padding: 2px 7px; color: var(--muted); background: #edf0f3; border-radius: 999px; text-align: center; font-size: 12px; }
.country-more__list { max-height: 330px; margin-top: 5px; padding: 5px 3px 4px 0; overflow-y: auto; border-top: 1px solid var(--line); scrollbar-width: thin; }
.filter-static { margin-top: 20px; border-top: 1px solid var(--line); }
.filter-accordion { border-bottom: 1px solid var(--line); }
.filter-accordion > summary { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 2px; cursor: pointer; list-style: none; color: #424b57; font-size: 14px; font-weight: 600; }
.filter-accordion > summary::-webkit-details-marker { display: none; }
.filter-accordion > summary span { width: 8px; height: 8px; flex: 0 0 auto; border-right: 2px solid #9099a4; border-bottom: 2px solid #9099a4; transform: rotate(45deg) translate(-2px, -2px); transition: transform .16s ease; }
.filter-accordion[open] > summary span { transform: rotate(225deg) translate(-1px, -1px); }
.filter-options { display: grid; gap: 8px; padding: 0 2px 15px; }
.filter-option { display: flex; align-items: flex-start; gap: 9px; color: #555f6c; cursor: pointer; font-size: 13px; line-height: 1.35; }
.filter-option input { width: 16px; height: 16px; flex: 0 0 auto; margin: 1px 0 0; accent-color: var(--blue); }
.filter-option:hover span { color: var(--blue-dark); }
.filter-note { margin-top: 25px; padding: 16px; background: #f0f8fc; border-radius: 14px; }
.filter-note strong { color: var(--blue-dark); }
.filter-note p { margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.filter-overlay { display: none; }

.catalog-toolbar { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 12px; color: var(--muted); font-size: 13px; }
.catalog-toolbar strong { margin-left: 5px; color: var(--ink); font-weight: 500; }
.search-result { color: var(--blue-dark); }
.vacancy-list { display: grid; gap: 14px; }
.vacancy-card, .vacancy-detail { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.vacancy-card { padding: 24px; }
.vacancy-card--premium { border-color: #e5c965; background: #fff; }
.vacancy-card--premium::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--accent); }
.vacancy-card--promoted { border-color: #dfbe42; background: #fff8d8; }
.vacancy-card--promoted::before { width: 5px; background: #e8b600; }
.premium-label { position: absolute; top: 20px; right: 22px; color: #725800; background: #fff8d8; border: 1px solid #ead57b; border-radius: 6px; padding: 4px 8px; font-size: 11px; font-weight: 600; text-transform: none; letter-spacing: 0; }
.premium-label--promoted { color: #5b4300; background: #ffe16f; border-color: #dfbe42; }
.vacancy-card__content { max-width: 780px; }
.vacancy-card__content h2, .vacancy-card__content h3 { max-width: calc(100% - 100px); margin: 4px 0 3px; font-size: 21px; font-weight: 500; line-height: 1.33; letter-spacing: 0; }
.vacancy-card__content p { margin: 10px 0; color: #535b64; line-height: 1.5; }
.vacancy-card__eyebrow { color: var(--muted); font-size: 13px; font-weight: 400; }
.vacancy-card__salary { margin-top: 6px; font-size: 18px; font-weight: 400; line-height: 1.45; }
.vacancy-card__badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 11px 0; }
.vacancy-card__badges span { padding: 4px 7px; color: #4d555f; background: #f1f3f5; border-radius: 5px; font-size: 12px; font-weight: 400; }
.vacancy-card__company-row { display: flex; align-items: center; gap: 10px; margin: 11px 0; }
.vacancy-card__company-logo, .vacancy-card__company-placeholder { width: 36px; height: 36px; flex: 0 0 36px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.vacancy-card__company-logo { display: block; object-fit: contain; padding: 4px; }
.vacancy-card__company-placeholder { display: grid; place-items: center; color: #4f5963; background: #f4f5f6; font-size: 15px; font-weight: 600; }
.vacancy-card__company { margin: 0 !important; color: var(--ink) !important; font-weight: 500; }
.vacancy-card__contact { display: inline-flex; align-items: center; gap: 7px; color: var(--blue-dark); font-weight: 600; }
.vacancy-card__contact::after { content: '→'; }
.phone-number { white-space: nowrap; font-variant-numeric: tabular-nums; }
.phone-number__hidden { display: inline-block; filter: blur(3px); opacity: .72; user-select: none; pointer-events: none; }
.vacancy-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 17px; padding-top: 16px; border-top: 1px solid var(--line); }
.vacancy-card__footer span { color: var(--muted); font-size: 12px; }
.empty-state { padding: 70px 30px; background: #fff; border: 1px dashed #ced4db; border-radius: var(--radius); text-align: center; }
.empty-state__icon { width: 64px; height: 64px; display: grid; place-items: center; margin: 0 auto 18px; color: var(--blue-dark); background: #eaf6fb; border-radius: 50%; font-size: 30px; }
.empty-state h2 { margin: 0; }
.empty-state p { margin: 8px 0 24px; color: var(--muted); }
.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 7px; margin-top: 28px; }
.pagination a, .pagination span { min-width: 38px; height: 38px; display: grid; place-items: center; border-radius: 8px; color: var(--ink); background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.pagination span { border-color: transparent; background: transparent; color: var(--muted); }
.pagination a:hover { border-color: var(--blue); color: var(--blue-dark); }
.pagination a.is-active { color: #17130a; background: var(--accent); border-color: var(--accent); }
.pagination__arrow { color: var(--blue-dark) !important; }

.detail-section { padding: 24px 0 72px; }
.detail-container > .breadcrumbs { margin: 4px 0 22px; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; align-items: start; }
.vacancy-detail { padding: 32px; }
.vacancy-detail .vacancy-card__content { max-width: none; }
.vacancy-detail .vacancy-card__content h1,
.vacancy-detail .vacancy-card__content h2 { font-size: 28px; font-weight: 500; line-height: 1.3; }
.vacancy-card__full-description { max-width: 760px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); color: #394149; font-size: 15px; line-height: 1.6; }
.vacancy-card__full-description p { margin: 0 0 14px; color: inherit; }
.vacancy-card__full-description ul, .vacancy-card__full-description ol { margin: 0 0 18px; padding-left: 24px; }
.vacancy-card__full-description li { margin: 7px 0; }
.vacancy-card__full-description a { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 2px; }
.vacancy-card__contacts { max-width: 760px; margin-top: 24px; padding: 18px 20px; background: #f5f7f8; border: 1px solid var(--line); border-radius: 10px; }
.vacancy-card__contacts h3 { max-width: none; margin: 0 0 10px; font-size: 17px; font-weight: 600; }
.vacancy-card__contacts p { margin: 7px 0; color: var(--ink); }
.vacancy-card__contacts a { color: var(--blue-dark); font-weight: 600; }
.detail-aside { position: sticky; top: 84px; }
.detail-aside__card { padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: none; }
.detail-aside__label { display: block; color: var(--muted); font-size: 13px; }
.detail-aside strong { display: block; margin-top: 4px; font-size: 18px; font-weight: 600; }
.detail-aside p { color: var(--muted); font-size: 14px; }
.not-found { min-height: 62vh; display: grid; place-items: center; text-align: center; }
.not-found span { color: var(--accent-strong); font-size: 70px; font-weight: 900; }
.not-found p { color: var(--muted); }

.resume-modal { width: min(680px, calc(100% - 28px)); max-height: min(88vh, 820px); margin: auto; padding: 0; color: var(--ink); background: #fff; border: 0; border-radius: 16px; box-shadow: 0 24px 70px rgba(19,25,32,.24); overflow: auto; }
.resume-modal::backdrop { background: rgba(26,31,37,.42); backdrop-filter: blur(5px); }
.resume-modal__panel { padding: 28px; }
.resume-modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.resume-modal__head h2 { margin: 0; font-size: 24px; font-weight: 600; line-height: 1.3; }
.resume-modal__head p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.resume-modal__close { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; margin: -5px -5px 0 0; padding: 0; color: #59616a; background: #f1f3f5; border: 0; border-radius: 8px; font-size: 24px; line-height: 1; cursor: pointer; }
.resume-modal__close:hover { color: #111; background: #e7eaed; }
.resume-form { display: grid; gap: 20px; }
.resume-form__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 100px; gap: 14px; }
.resume-field { display: grid; gap: 7px; min-width: 0; }
.resume-field > span, .resume-contact legend { color: #3f464e; font-size: 13px; font-weight: 600; }
.resume-field small { color: var(--muted); font-weight: 400; }
.resume-field input, .resume-field textarea { width: 100%; min-width: 0; padding: 10px 11px; color: var(--ink); background: #fff; border: 1px solid #cfd4da; border-radius: 8px; outline: 0; }
.resume-field input { height: 42px; }
.resume-field textarea { min-height: 84px; resize: vertical; line-height: 1.45; }
.resume-field input:focus, .resume-field textarea:focus { border-color: #8b772d; box-shadow: 0 0 0 2px rgba(181,154,54,.14); }
.resume-field--wide { grid-column: 1 / -1; }
.resume-contact { display: grid; gap: 13px; margin: 0; padding: 18px; border: 1px solid var(--line); border-radius: 10px; }
.resume-contact legend { padding: 0 6px; }
.resume-contact__switch { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.resume-contact__switch label { cursor: pointer; }
.resume-contact__switch input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.resume-contact__switch span { height: 40px; display: grid; place-items: center; color: #4b535c; background: #f3f4f5; border: 1px solid transparent; border-radius: 8px; font-weight: 600; }
.resume-contact__switch input:checked + span { color: #201a09; background: #fff8d8; border-color: #dfc45f; }
.resume-contact__switch input:focus-visible + span { outline: 2px solid #8b772d; outline-offset: 2px; }
.resume-contact__value[hidden] { display: none; }
.resume-contact__input { display: flex; align-items: center; height: 42px; overflow: hidden; background: #fff; border: 1px solid #cfd4da; border-radius: 8px; }
.resume-contact__input:focus-within { border-color: #8b772d; box-shadow: 0 0 0 2px rgba(181,154,54,.14); }
.resume-contact__prefix { flex: 0 0 auto; padding-left: 11px; color: #5f6670; font-size: 15px; font-weight: 600; }
.resume-field .resume-contact__input input { height: 40px; padding-left: 4px; border: 0; border-radius: 0; box-shadow: none; }
.resume-contact__input.is-whatsapp .resume-contact__prefix { display: none; }
.resume-field .resume-contact__input.is-whatsapp input { padding-left: 11px; }
.resume-contact__hint { margin: -3px 0 0; color: var(--muted); font-size: 13px; }
.resume-contact__hint a { color: var(--blue-dark); font-weight: 600; }
.resume-contact__hint a[hidden] { display: none; }
.resume-agreement { display: flex; align-items: flex-start; gap: 10px; color: #626a73; font-size: 12px; line-height: 1.45; cursor: pointer; }
.resume-agreement input { width: 17px; height: 17px; flex: 0 0 auto; margin: 1px 0 0; accent-color: #20252b; }
.resume-form__submit { width: 100%; min-height: 44px; }
.resume-form__submit:disabled { opacity: .65; cursor: wait; }
.resume-form__message { padding: 12px 14px; border-radius: 8px; font-size: 13px; line-height: 1.45; }
.resume-form__message--success { color: #176242; background: #e8f7ef; border: 1px solid #bde5cf; }
.resume-form__message--error { color: #862e38; background: #fff1f2; border: 1px solid #edc9cd; }
.resume-toast { position: fixed; z-index: 1200; top: 82px; right: 24px; display: flex; align-items: center; gap: 10px; width: min(440px, calc(100vw - 32px)); padding: 14px 15px; color: #174e2b; background: #f0faf3; border: 1px solid #b8ddc3; border-radius: 10px; box-shadow: 0 10px 30px rgba(24,34,29,.16); font-size: 14px; font-weight: 600; line-height: 1.4; }
.resume-toast__icon { display: grid; place-items: center; flex: 0 0 24px; width: 24px; height: 24px; color: #fff; background: #27834a; border-radius: 50%; font-size: 14px; }
.resume-toast > span:nth-child(2) { flex: 1 1 auto; }
.resume-toast button { flex: 0 0 auto; padding: 2px 4px; color: #52705c; background: transparent; border: 0; font-size: 22px; line-height: 1; cursor: pointer; }
.resume-form__honeypot { position: absolute !important; left: -10000px !important; top: auto !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.site-footer { padding: 35px 0; color: #ccd3dc; background: #1d2530; }
.site-footer__inner { display: flex; justify-content: space-between; gap: 30px; }
.site-footer p { margin: 5px 0 0; color: #8f9aa8; }
.site-footer a { color: #fff; }
.mobile-filter-button { display: none; }

/* Admin */
.admin-body { background: #eef1f4; }
.admin-header { color: #fff; background: #1d2530; }
.admin-header__inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.admin-header .brand__mark { width: 36px; height: 36px; font-size: 18px; }
.admin-header .brand__name { font-size: 18px; }
.admin-nav { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.admin-nav a, .admin-nav button { color: #dbe1e8; }
.admin-nav form { margin: 0; }
.admin-nav button { padding: 0; border: 0; background: transparent; cursor: pointer; }
.admin-main { padding-top: 38px; padding-bottom: 80px; }
.admin-page-head { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 24px; }
.admin-page-head h1 { font-size: 34px; }
.admin-page-head p { margin: 7px 0 0; color: var(--muted); }
.flash, .form-error { margin-bottom: 20px; padding: 14px 18px; border-radius: 12px; }
.flash--success { color: #176242; background: #ddf5e9; border: 1px solid #b6e8ce; }
.flash--error, .form-error { color: #8b2934; background: #fff0f1; border: 1px solid #f1c7cc; }
.form-error ul { margin-bottom: 0; }
.admin-filters { display: grid; grid-template-columns: repeat(3, minmax(170px, 1fr)) auto; gap: 14px; align-items: end; margin-bottom: 20px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.admin-filters label > span { display: block; margin-bottom: 7px; color: #4d5662; font-size: 13px; font-weight: 750; }
.admin-filters select { width: 100%; height: 42px; padding: 0 34px 0 11px; color: var(--ink); background: #fff; border: 1px solid #cfd5dc; border-radius: 9px; outline: 0; }
.admin-filters select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21,136,184,.12); }
.admin-filters__actions { display: flex; gap: 8px; }
.admin-filters__actions .button { min-height: 42px; padding: 10px 17px; }
.admin-filters__result { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 13px; }
.admin-table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 17px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.admin-table th { color: var(--muted); background: #f8f9fa; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table small { display: block; margin-top: 3px; color: var(--muted); }
.admin-table__actions { text-align: right !important; }
.admin-table__actions a { color: var(--blue-dark); font-weight: 700; }
.admin-table__empty { padding: 34px 18px !important; color: var(--muted); text-align: center !important; }
.status-list { display: flex; flex-wrap: wrap; gap: 5px; }
.status { display: inline-flex; padding: 4px 8px; color: #5d6671; background: #edf0f3; border-radius: 999px; font-size: 12px; }
.status--live { color: var(--green); background: var(--green-soft); }
.status--premium { color: #866300; background: var(--premium-soft); }
.login-card { max-width: 430px; margin: 65px auto; padding: 35px; background: #fff; border-radius: 20px; box-shadow: var(--shadow); }
.login-card h1 { font-size: 30px; }
.login-card > p { color: var(--muted); }
.admin-form { display: grid; gap: 20px; }
.admin-form label > span, .country-admin-row label > span { display: block; margin-bottom: 7px; color: #4d5662; font-size: 13px; font-weight: 750; }
.admin-form input[type="text"], .admin-form input[type="password"], .admin-form input[type="number"], .admin-form textarea, .country-admin-row input[type="number"] { width: 100%; border: 1px solid #cfd5dc; border-radius: 10px; padding: 12px 13px; color: var(--ink); background: #fff; outline: 0; }
.admin-form input:focus, .admin-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21,136,184,.12); }
.admin-form textarea { min-height: 390px; resize: vertical; font: 13px/1.55 Consolas, "Courier New", monospace; }
.admin-form fieldset { margin: 0; padding: 16px; border: 1px solid var(--line); border-radius: 12px; }
.admin-form legend { padding: 0 6px; font-weight: 750; }
.checkbox-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.check-row { display: inline-flex !important; align-items: center; gap: 9px; cursor: pointer; }
.check-row > span { margin: 0 !important; color: var(--ink) !important; font-size: 14px !important; }
.check-row input { width: 18px; height: 18px; accent-color: var(--blue); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: end; }
.toggle-stack { display: flex; gap: 18px; padding-bottom: 11px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.editor-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(390px, .8fr); gap: 24px; align-items: start; }
.editor-panel, .editor-preview-panel { padding: 25px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.editor-preview-panel { position: sticky; top: 24px; }
.editor-preview-panel__head { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.editor-preview-panel__head span { color: var(--muted); font-size: 12px; }
.editor-preview-panel .vacancy-card { box-shadow: none; }
.country-admin-list { display: grid; gap: 12px; margin-bottom: 20px; }
.country-admin-row { display: grid; grid-template-columns: 1fr 130px 130px; gap: 25px; align-items: center; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.country-admin-row small { display: block; color: var(--muted); }

@media (max-width: 900px) {
    .site-header__inner { grid-template-columns: auto 1fr auto; gap: 16px; }
    .brand__name { display: none; }
    .header-search { min-width: 0; }
    .catalog-grid { grid-template-columns: 230px minmax(0, 1fr); gap: 20px; }
    .filter-sidebar { padding: 17px; }
    .editor-grid { grid-template-columns: 1fr; }
    .editor-preview-panel { position: static; }
    .admin-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
    .resume-toast { top: 70px; right: 16px; left: 16px; width: auto; }
    .container { width: min(calc(100% - 28px), var(--container)); }
    .site-header { position: static; }
    .site-header__inner { min-height: 70px; grid-template-columns: auto 1fr; }
    .site-header .brand__name { display: inline; font-size: 18px; }
    .site-header .brand__mark { width: 36px; height: 36px; font-size: 18px; }
    .header-search { grid-column: 1 / -1; grid-row: 2; margin-bottom: 12px; }
    .header-search .button { padding-inline: 17px; }
    .header-admin { justify-self: end; grid-column: 2; grid-row: 1; }
    .admin-page-head { align-items: flex-start; flex-direction: column; }
    .admin-filters { grid-template-columns: 1fr; padding: 15px; }
    .admin-filters__actions .button { flex: 1 1 auto; }
    .catalog-hero { padding-top: 18px; }
    .breadcrumbs { margin-bottom: 21px; font-size: 12px; }
    .catalog-hero__heading { align-items: flex-start; }
    .catalog-hero__heading h1 { font-size: 23px; }
    .catalog-hero__heading p { font-size: 14px; }
    .hero-trust { display: none; }
    .country-chips { margin-right: -14px; padding-top: 19px; }
    .catalog-section { padding-top: 18px; }
    .catalog-grid { display: block; }
    .filter-overlay { position: fixed; inset: 0; z-index: 89; display: block; visibility: hidden; opacity: 0; background: rgba(16,23,31,.55); transition: .2s ease; }
    .filter-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 90; width: min(88vw, 340px); max-height: none; overflow-y: auto; border: 0; border-radius: 0 20px 20px 0; padding-bottom: 90px; transform: translateX(-103%); transition: transform .22s ease; }
    .filter-sidebar__head button { display: block; }
    .filters-open { overflow: hidden; }
    .filters-open .filter-sidebar { transform: translateX(0); }
    .filters-open .filter-overlay { visibility: visible; opacity: 1; }
    .catalog-toolbar { min-height: auto; margin-bottom: 12px; }
    .catalog-toolbar > div { display: grid; gap: 2px; }
    .catalog-toolbar strong { margin: 0; }
    .vacancy-card { padding: 20px 18px 17px; border-radius: 12px; }
    .premium-label { position: static; display: inline-flex; margin-bottom: 10px; }
    .vacancy-card__content h2, .vacancy-card__content h3 { max-width: none; font-size: 21px; }
    .vacancy-card__salary { font-size: 18px; }
    .vacancy-card__footer { align-items: flex-start; flex-direction: column; gap: 10px; }
    .vacancy-card__footer .button { width: 100%; }
    .mobile-filter-button { position: fixed; right: 16px; bottom: 18px; z-index: 70; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; color: #2b2106; background: var(--accent); border: 0; border-radius: 8px; box-shadow: 0 4px 14px rgba(29,37,48,.16); font-weight: 600; }
    .detail-layout { display: block; }
    .vacancy-detail { padding: 26px 20px; }
    .vacancy-detail .vacancy-card__content h2 { font-size: 24px; }
    .detail-aside { position: static; margin-top: 18px; }
    .resume-modal { width: min(100% - 20px, 680px); max-height: calc(100vh - 20px); border-radius: 12px; }
    .resume-modal__panel { padding: 20px 18px; }
    .resume-modal__head { gap: 14px; margin-bottom: 18px; }
    .resume-modal__head h2 { font-size: 21px; }
    .resume-form { gap: 17px; }
    .resume-form__grid { grid-template-columns: 1fr; }
    .resume-field--wide { grid-column: auto; }
    .resume-contact { padding: 15px; }
    .site-footer__inner { flex-direction: column; }
    .admin-header__inner { align-items: flex-start; flex-direction: column; padding-block: 15px; }
    .admin-header .brand__name { display: inline; }
    .admin-nav { width: 100%; gap: 13px; overflow-x: auto; }
    .admin-page-head { align-items: flex-start; flex-direction: column; gap: 16px; }
    .admin-page-head h1 { font-size: 28px; }
    .checkbox-grid, .form-row { grid-template-columns: 1fr; }
    .country-admin-row { grid-template-columns: 1fr; gap: 14px; }
    .editor-panel, .editor-preview-panel { padding: 17px; }
    .admin-main { padding-top: 25px; }
}
