/* ══ Вакансии Курьер Москва — общий стиль (job-board) ══
   Вынесен из index.html 2026-07-14. Токены + шапка/hero/фильтры/карточки/футер. */

    /* ── Токены ───────────────────────────── */
    :root {
      --bg:         #F2F4F8;
      --surface:    #FFFFFF;
      --dark:       #0F1724;
      --dark-muted: #3A4559;
      --accent:     #F43926;
      --accent-dk:  #C92C1C;
      --tag-bg:     #EFF1F6;
      --border:     #E2E5EE;
      --text:       #1C2333;
      --muted:      #6B7694;
      --green:      #1A8F1A;
      --green-bg:   rgba(45,190,44,.1);
      --accent-bg:  rgba(244,57,38,.07);
      --radius:     10px;
      --shadow:     0 2px 12px rgba(15,23,36,.07);
      --shadow-hover: 0 6px 24px rgba(15,23,36,.13);

      /* Цвета веток метро Москвы */
      --m1:  #EE1D23; /* Сокольническая */
      --m2:  #2DBE2C; /* Замоскворецкая */
      --m3:  #0033A0; /* Арбатско-Покровская */
      --m4:  #009FE3; /* Филёвская */
      --m5:  #894E25; /* Кольцевая */
      --m6:  #F58220; /* Калужско-Рижская */
      --m7:  #8B1A4A; /* Таганско-Краснопресненская */
      --m8:  #F4D93F; /* Калининская */
      --m9:  #8E9399; /* Серпуховско-Тимирязевская */
      --m10: #BAD233; /* Люблинско-Дмитровская */
      --m11: #82C0E9; /* Большая Кольцевая */
      --m12: #DEA8C0; /* Бутовская */
      --mck: #E5243F; /* МЦК */
    }

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

    body {
      font-family: 'Inter', sans-serif;
      background: var(--bg);
      color: var(--text);
      font-size: 15px;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    a { color: inherit; text-decoration: none; }
    img { max-width: 100%; display: block; }

    /* ── Header ───────────────────────────── */
    .header {
      position: sticky; top: 0; z-index: 100;
      background: var(--dark);
      box-shadow: 0 2px 16px rgba(0,0,0,.25);
    }
    .header-inner {
      max-width: 1200px; margin: 0 auto;
      padding: 0 20px;
      height: 60px;
      display: flex; align-items: center; gap: 24px;
    }
    .logo {
      font-family: 'Montserrat', sans-serif;
      font-weight: 800; font-size: 18px;
      color: #fff;
      white-space: nowrap;
      display: flex; align-items: center; gap: 8px;
    }
    .logo-icon {
      width: 30px; height: 30px;
      background: var(--accent);
      border-radius: 8px;
      display: flex; align-items: center; justify-content: center;
    }
    .logo-icon svg { width: 18px; height: 18px; fill: #fff; }

    .header-search {
      flex: 1; max-width: 480px;
      display: flex; gap: 0;
    }
    .header-search input {
      flex: 1;
      padding: 8px 14px;
      border: none;
      border-radius: var(--radius) 0 0 var(--radius);
      font-family: 'Inter', sans-serif;
      font-size: 14px;
      background: rgba(255,255,255,.1);
      color: #fff;
      outline: none;
    }
    .header-search input::placeholder { color: rgba(255,255,255,.45); }
    .header-search input:focus { background: rgba(255,255,255,.15); }
    .header-search button {
      padding: 8px 16px;
      background: var(--accent);
      border: none; cursor: pointer;
      border-radius: 0 var(--radius) var(--radius) 0;
      color: #fff;
      font-size: 14px; font-weight: 600;
      font-family: 'Inter', sans-serif;
      transition: background .2s;
    }
    .header-search button:hover { background: var(--accent-dk); }

    .header-nav {
      display: flex; gap: 20px; margin-left: auto;
    }
    .header-nav a {
      color: rgba(255,255,255,.7);
      font-size: 14px; font-weight: 500;
      transition: color .2s;
    }
    .header-nav a:hover { color: #fff; }

    /* ── Hero ───────────────────────────── */
    .hero {
      background: var(--dark);
      padding: 48px 20px 56px;
      position: relative;
      overflow: hidden;
    }
    .hero::before {
      content: '';
      position: absolute;
      right: -60px; top: -60px;
      width: 420px; height: 420px;
      background: radial-gradient(circle, rgba(244,57,38,.18) 0%, transparent 70%);
      pointer-events: none;
    }
    .hero-inner {
      max-width: 1200px; margin: 0 auto;
      position: relative; z-index: 1;
    }
    .hero-eyebrow {
      font-size: 13px; font-weight: 600; letter-spacing: .08em;
      color: var(--accent);
      text-transform: uppercase;
      margin-bottom: 12px;
    }
    .hero h1 {
      font-family: 'Montserrat', sans-serif;
      font-weight: 900; font-size: clamp(28px, 4vw, 46px);
      color: #fff;
      line-height: 1.1;
      margin-bottom: 16px;
    }
    .hero h1 span { color: var(--accent); }
    .hero-sub {
      color: rgba(255,255,255,.6);
      font-size: 16px; max-width: 520px;
      margin-bottom: 32px;
    }
    .hero-stats {
      display: flex; gap: 32px; flex-wrap: wrap;
    }
    .hero-stat { }
    .hero-stat-val {
      font-family: 'Montserrat', sans-serif;
      font-size: 28px; font-weight: 800;
      color: #fff;
    }
    .hero-stat-label {
      font-size: 12px; color: rgba(255,255,255,.5);
      margin-top: 2px;
    }

    /* ── Filter Bar ───────────────────────── */
    .filters-bar {
      background: var(--surface);
      border-bottom: 1px solid var(--border);
      position: sticky; top: 60px; z-index: 90;
    }
    .filters-inner {
      max-width: 1200px; margin: 0 auto;
      padding: 0 20px;
      display: flex; align-items: center; gap: 8px;
      overflow-x: auto; -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      height: 52px;
    }
    .filters-inner::-webkit-scrollbar { display: none; }

    .filter-label {
      font-size: 12px; font-weight: 600;
      color: var(--muted); white-space: nowrap;
      margin-right: 4px;
    }
    .filter-btn {
      display: flex; align-items: center; gap: 6px;
      padding: 6px 14px;
      border: 1.5px solid var(--border);
      border-radius: 20px;
      background: transparent;
      font-family: 'Inter', sans-serif;
      font-size: 13px; font-weight: 500;
      color: var(--dark-muted);
      cursor: pointer; white-space: nowrap;
      transition: all .18s;
    }
    .filter-btn:hover, .filter-btn.active {
      border-color: var(--accent);
      color: var(--accent);
      background: rgba(244,57,38,.05);
    }
    .filter-btn .arrow { font-size: 10px; opacity: .6; }
    .filter-divider {
      width: 1px; height: 24px;
      background: var(--border);
      flex-shrink: 0; margin: 0 4px;
    }
    .filter-reset {
      font-size: 13px; color: var(--muted);
      background: none; border: none;
      cursor: pointer; white-space: nowrap;
      padding: 6px 8px;
      transition: color .2s;
    }
    .filter-reset:hover { color: var(--accent); }

    /* ── Layout ───────────────────────────── */
    .main {
      max-width: 1200px; margin: 0 auto;
      padding: 28px 20px 60px;
      display: grid;
      grid-template-columns: 260px 1fr;
      gap: 28px;
      align-items: start;
    }

    /* ── Sidebar ───────────────────────────── */
    .sidebar {
      position: sticky; top: 120px;
      display: flex; flex-direction: column; gap: 16px;
    }
    .sidebar-card {
      background: var(--surface);
      border-radius: var(--radius);
      border: 1px solid var(--border);
      padding: 20px;
    }
    .sidebar-title {
      font-family: 'Montserrat', sans-serif;
      font-size: 13px; font-weight: 700;
      letter-spacing: .04em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 14px;
    }

    /* Salary range */
    .salary-inputs {
      display: flex; gap: 8px; align-items: center;
    }
    .salary-inputs input {
      flex: 1; padding: 8px 10px;
      border: 1.5px solid var(--border);
      border-radius: 8px;
      font-family: 'Inter', sans-serif; font-size: 13px;
      color: var(--text); outline: none;
      transition: border-color .18s;
    }
    .salary-inputs input:focus { border-color: var(--accent); }
    .salary-sep { color: var(--muted); font-size: 12px; }

    /* Checkbox filters */
    .check-list { display: flex; flex-direction: column; gap: 10px; }
    .check-item {
      display: flex; align-items: center; gap: 10px;
      cursor: pointer;
    }
    .check-item input[type="checkbox"] {
      width: 16px; height: 16px;
      accent-color: var(--accent);
      cursor: pointer;
    }
    .check-label { font-size: 14px; color: var(--text); }
    .check-count { margin-left: auto; font-size: 12px; color: var(--muted); }

    /* Metro filter */
    .metro-lines { display: flex; flex-direction: column; gap: 8px; }
    .metro-line-item {
      display: flex; align-items: center; gap: 8px;
      cursor: pointer;
      padding: 6px 8px; margin: 0 -8px;
      border-radius: 8px;
      transition: background .15s;
    }
    .metro-line-item:hover { background: var(--tag-bg); }
    .metro-line-dot {
      width: 14px; height: 14px; border-radius: 50%;
      flex-shrink: 0;
    }
    .metro-line-name { font-size: 13px; flex: 1; }
    .metro-line-num { font-size: 12px; color: var(--muted); }

    .sidebar-cta {
      background: var(--accent);
      border-radius: var(--radius);
      padding: 20px;
      text-align: center;
    }
    .sidebar-cta h3 {
      font-family: 'Montserrat', sans-serif;
      font-size: 14px; font-weight: 700;
      color: #fff; margin-bottom: 8px;
    }
    .sidebar-cta p { font-size: 12px; color: rgba(255,255,255,.75); margin-bottom: 14px; }
    .sidebar-cta a {
      display: block;
      background: #fff; color: var(--accent);
      padding: 9px; border-radius: 8px;
      font-size: 13px; font-weight: 700;
      transition: opacity .2s;
    }
    .sidebar-cta a:hover { opacity: .9; }

    /* ── Content ───────────────────────────── */
    .content {}
    .content-header {
      display: flex; align-items: center; justify-content: space-between;
      margin-bottom: 16px; flex-wrap: wrap; gap: 10px;
    }
    .content-count {
      font-family: 'Montserrat', sans-serif;
      font-size: 15px; font-weight: 700;
      color: var(--dark);
    }
    .content-count span { color: var(--muted); font-weight: 500; }

    .sort-select {
      padding: 7px 12px;
      border: 1.5px solid var(--border);
      border-radius: 8px;
      font-family: 'Inter', sans-serif; font-size: 13px;
      color: var(--dark-muted); background: var(--surface);
      cursor: pointer; outline: none;
    }

    /* ── Job Cards ───────────────────────────── */
    .job-list { display: flex; flex-direction: column; gap: 12px; }

    .job-card {
      background: var(--surface);
      border-radius: var(--radius);
      border: 1px solid var(--border);
      padding: 18px 20px;
      display: flex; align-items: flex-start; gap: 16px;
      box-shadow: var(--shadow);
      transition: box-shadow .2s, transform .2s, border-color .2s;
      position: relative;
      overflow: hidden;
      cursor: pointer;
    }
    .job-card:hover {
      box-shadow: var(--shadow-hover);
      transform: translateY(-1px);
      border-color: rgba(244,57,38,.2);
    }

    /* Подпись ветки метро — левая полоса */
    .job-card::before {
      content: '';
      position: absolute;
      left: 0; top: 0; bottom: 0;
      width: 4px;
      background: var(--line-color, var(--border));
      border-radius: var(--radius) 0 0 var(--radius);
    }

    .job-card.featured {
      border: 1.5px solid rgba(244,57,38,.3);
    }
    .job-card.featured::after {
      content: 'ТОП';
      position: absolute; top: 12px; right: 14px;
      font-size: 10px; font-weight: 700;
      color: var(--accent); letter-spacing: .05em;
      background: rgba(244,57,38,.1);
      padding: 3px 7px; border-radius: 4px;
    }

    .company-logo {
      width: 48px; height: 48px;
      border-radius: 10px;
      background: var(--tag-bg);
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
      font-size: 20px;
      font-weight: 800;
      color: var(--dark-muted);
      border: 1px solid var(--border);
    }

    .job-info { flex: 1; min-width: 0; }
    .job-title {
      font-family: 'Montserrat', sans-serif;
      font-size: 15px; font-weight: 700;
      color: var(--dark);
      margin-bottom: 4px;
      line-height: 1.3;
      transition: color .18s;
    }
    .job-card:hover .job-title { color: var(--accent); }

    .job-company {
      font-size: 13px; color: var(--muted);
      margin-bottom: 10px;
    }

    .job-tags {
      display: flex; flex-wrap: wrap; gap: 6px;
      margin-bottom: 12px;
    }
    .tag {
      display: inline-flex; align-items: center; gap: 5px;
      padding: 4px 10px;
      border-radius: 6px;
      font-size: 12px; font-weight: 500;
      background: var(--tag-bg); color: var(--dark-muted);
      white-space: nowrap;
    }
    .tag.metro {
      color: #fff;
      background: var(--line-color, var(--muted));
    }
    .tag.salary {
      background: rgba(45,190,44,.1);
      color: #1a7a19;
      font-weight: 600;
    }
    .tag svg { width: 12px; height: 12px; }

    .job-footer {
      display: flex; align-items: center; justify-content: space-between;
      flex-wrap: wrap; gap: 8px;
    }
    .job-meta {
      font-size: 12px; color: var(--muted);
      display: flex; gap: 14px; align-items: center;
    }
    .job-meta-item { display: flex; align-items: center; gap: 4px; }
    .job-meta-item svg { width: 12px; height: 12px; opacity: .6; }

    .btn-apply {
      padding: 8px 20px;
      background: var(--accent);
      color: #fff; border: none; border-radius: 8px;
      font-family: 'Inter', sans-serif;
      font-size: 13px; font-weight: 600;
      cursor: pointer; transition: background .2s;
      white-space: nowrap;
    }
    .btn-apply:hover { background: var(--accent-dk); }
    .btn-apply.outline {
      background: transparent;
      border: 1.5px solid var(--border);
      color: var(--dark-muted);
    }
    .btn-apply.outline:hover { border-color: var(--accent); color: var(--accent); background: rgba(244,57,38,.04); }

    /* ── Pagination ───────────────────────── */
    .pagination {
      display: flex; gap: 6px; justify-content: center;
      margin-top: 28px; flex-wrap: wrap;
    }
    .page-btn {
      width: 36px; height: 36px;
      display: flex; align-items: center; justify-content: center;
      border: 1.5px solid var(--border);
      border-radius: 8px;
      background: var(--surface);
      font-size: 14px; font-weight: 500;
      cursor: pointer; transition: all .18s;
      color: var(--dark-muted);
    }
    .page-btn:hover { border-color: var(--accent); color: var(--accent); }
    .page-btn.active {
      background: var(--accent); color: #fff;
      border-color: var(--accent);
    }

    /* ── SEO Text ───────────────────────────── */
    .seo-section {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 28px;
      margin-top: 28px;
    }
    .seo-section h2 {
      font-family: 'Montserrat', sans-serif;
      font-size: 18px; font-weight: 700;
      margin-bottom: 12px;
    }
    .seo-section p { font-size: 14px; color: var(--dark-muted); line-height: 1.7; margin-bottom: 10px; }
    .seo-section h3 {
      font-family: 'Montserrat', sans-serif;
      font-size: 15px; font-weight: 700;
      margin: 18px 0 8px;
    }

    /* ── Popular Links ───────────────────────── */
    .popular-section {
      margin-top: 20px;
    }
    .popular-title {
      font-family: 'Montserrat', sans-serif;
      font-size: 13px; font-weight: 700;
      color: var(--muted);
      text-transform: uppercase; letter-spacing: .05em;
      margin-bottom: 12px;
    }
    .popular-links {
      display: flex; flex-wrap: wrap; gap: 8px;
    }
    .popular-link {
      padding: 7px 14px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 20px;
      font-size: 13px; color: var(--dark-muted);
      transition: all .18s;
    }
    .popular-link:hover { border-color: var(--accent); color: var(--accent); }

    /* ── Footer ───────────────────────────── */
    .footer {
      background: var(--dark);
      padding: 40px 20px 24px;
      margin-top: 60px;
    }
    .footer-inner {
      max-width: 1200px; margin: 0 auto;
      display: grid;
      grid-template-columns: 1.4fr repeat(3, 1fr);
      gap: 32px; margin-bottom: 36px;
    }
    .footer-brand .logo { margin-bottom: 12px; }
    .footer-brand p { font-size: 13px; color: rgba(255,255,255,.45); line-height: 1.6; }

    .footer-col h4 {
      font-family: 'Montserrat', sans-serif;
      font-size: 12px; font-weight: 700;
      color: rgba(255,255,255,.4);
      text-transform: uppercase; letter-spacing: .06em;
      margin-bottom: 14px;
    }
    .footer-col a {
      display: block; margin-bottom: 9px;
      font-size: 13px; color: rgba(255,255,255,.6);
      transition: color .2s;
    }
    .footer-col a:hover { color: #fff; }

    .footer-bottom {
      max-width: 1200px; margin: 0 auto;
      padding-top: 20px;
      border-top: 1px solid rgba(255,255,255,.1);
      display: flex; justify-content: space-between;
      align-items: center; flex-wrap: wrap; gap: 10px;
    }
    .footer-bottom p { font-size: 12px; color: rgba(255,255,255,.35); }
    .footer-bottom-links { display: flex; gap: 20px; }
    .footer-bottom-links a { font-size: 12px; color: rgba(255,255,255,.35); transition: color .2s; }
    .footer-bottom-links a:hover { color: rgba(255,255,255,.7); }

    /* ── Responsive ───────────────────────── */
    @media (max-width: 900px) {
      .main { grid-template-columns: 1fr; }
      .sidebar { position: static; }
      .footer-inner { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 600px) {
      .header-nav { display: none; }
      .hero { padding: 32px 20px 40px; }
      .hero-stats { gap: 20px; }
      .footer-inner { grid-template-columns: 1fr; }
      .job-card { flex-direction: column; gap: 12px; }
      .company-logo { width: 40px; height: 40px; }
    }
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { transition: none !important; }
    }

/* ══ Страница вакансии (vacancy.html) ══
   Вынесено из vacancy.html 2026-07-14. */

    /* ── Breadcrumbs ── */
    .breadcrumbs {
      background: var(--surface);
      border-bottom: 1px solid var(--border);
    }
    .breadcrumbs-inner {
      max-width: 1200px; margin: 0 auto;
      padding: 10px 20px;
      display: flex; align-items: center; gap: 6px;
      font-size: 13px; color: var(--muted);
    }
    .breadcrumbs-inner a { color: var(--muted); }
    .breadcrumbs-inner a:hover { color: var(--accent); }
    .breadcrumbs-sep { opacity: .4; }
    .breadcrumbs-inner span:last-child { color: var(--text); }

    /* ── Page layout ── */
    .page {
      max-width: 1200px; margin: 0 auto;
      padding: 28px 20px 60px;
      display: grid;
      grid-template-columns: 1fr 340px;
      gap: 28px;
      align-items: start;
    }

    /* Vacancy header card */
    .vacancy-header {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 28px;
      box-shadow: var(--shadow);
      position: relative;
      overflow: hidden;
      margin-bottom: 20px;
    }
    .vacancy-header::before {
      content: '';
      position: absolute; left: 0; top: 0; bottom: 0;
      width: 5px;
      background: var(--m2);
    }
    .vh-top {
      display: flex; gap: 18px; align-items: flex-start;
      margin-bottom: 20px;
    }
    .company-logo-lg {
      width: 64px; height: 64px;
      border-radius: 14px;
      background: var(--tag-bg);
      display: flex; align-items: center; justify-content: center;
      font-size: 18px; font-weight: 800; color: var(--dark-muted);
      border: 1px solid var(--border); flex-shrink: 0;
      letter-spacing: -.5px;
    }
    .vh-eyebrow {
      font-size: 12px; font-weight: 600;
      color: var(--m2); letter-spacing: .05em;
      text-transform: uppercase; margin-bottom: 6px;
    }
    .vh-title {
      font-family: 'Montserrat', sans-serif;
      font-size: clamp(19px, 2.5vw, 24px);
      font-weight: 800; color: var(--dark); line-height: 1.2;
      margin-bottom: 6px;
    }
    .vh-company { font-size: 14px; color: var(--muted); }

    /* Key params */
    .key-params {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
      gap: 12px; margin-bottom: 22px;
    }
    .kp-item { background: var(--bg); border-radius: 10px; padding: 14px 16px; }
    .kp-label {
      font-size: 11px; color: var(--muted);
      font-weight: 600; text-transform: uppercase; letter-spacing: .05em;
      margin-bottom: 5px;
    }
    .kp-value { font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 700; color: var(--dark); }
    .kp-value.green { color: var(--green); }

    /* Tags row (vacancy page — reuses .tag/.tag.metro from job listing) */
    .tags-row { display: flex; flex-wrap: wrap; gap: 8px; }

    /* Content cards */
    .content-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 24px 28px;
      box-shadow: var(--shadow);
      margin-bottom: 16px;
    }
    .card-title {
      font-family: 'Montserrat', sans-serif;
      font-size: 16px; font-weight: 700;
      color: var(--dark); margin-bottom: 16px;
      padding-bottom: 12px;
      border-bottom: 1px solid var(--border);
    }
    .card-title span {
      display: inline-block;
      width: 3px; height: 16px;
      background: var(--accent);
      border-radius: 2px;
      margin-right: 10px;
      vertical-align: middle;
    }
    .vacancy-desc p { color: var(--dark-muted); margin-bottom: 12px; line-height: 1.75; }
    .vacancy-desc strong { color: var(--dark); }

    /* Lists */
    .req-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
    .req-list li {
      display: flex; align-items: flex-start; gap: 10px;
      font-size: 14px; color: var(--dark-muted); line-height: 1.5;
    }
    .req-list li::before {
      content: '';
      width: 7px; height: 7px; border-radius: 50%;
      background: var(--accent); flex-shrink: 0;
      margin-top: 7px;
    }
    .req-list li.check::before {
      content: '✓';
      width: auto; height: auto; border-radius: 0;
      background: none; color: var(--green);
      font-weight: 700; font-size: 13px;
      margin-top: 2px;
    }

    /* Условия таблица */
    .cond-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .cond-item { background: var(--bg); border-radius: 8px; padding: 14px 16px; }
    .cond-key { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
    .cond-val { font-size: 14px; font-weight: 600; color: var(--dark); }

    /* Map placeholder */
    .map-placeholder {
      background: linear-gradient(135deg, #e8edf5 0%, #d8e0ee 100%);
      border-radius: 10px; height: 200px;
      display: flex; align-items: center; justify-content: center;
      position: relative; overflow: hidden;
    }
    .map-placeholder::before {
      content: '';
      position: absolute; inset: 0;
      background: repeating-linear-gradient(
        45deg, rgba(255,255,255,0) 0, rgba(255,255,255,0) 10px,
        rgba(255,255,255,.3) 10px, rgba(255,255,255,.3) 11px
      );
    }
    .map-placeholder-inner { position: relative; z-index: 1; text-align: center; }
    .map-placeholder-inner p { font-size: 13px; color: var(--muted); margin-top: 8px; }
    .map-pin { font-size: 40px; filter: drop-shadow(0 4px 8px rgba(0,0,0,.2)); }

    /* Sidebar */
    .vacancy-sidebar { display: flex; flex-direction: column; gap: 16px; }

    .apply-card {
      background: var(--surface);
      border: 2px solid var(--accent);
      border-radius: var(--radius);
      padding: 24px;
      box-shadow: var(--shadow);
      position: sticky; top: 80px;
    }
    .apply-salary { font-family: 'Montserrat', sans-serif; font-size: 28px; font-weight: 900; color: var(--green); margin-bottom: 4px; }
    .apply-salary-note { font-size: 12px; color: var(--muted); margin-bottom: 20px; }

    .btn-main {
      display: block; width: 100%;
      padding: 14px; border: none;
      background: var(--accent); color: #fff;
      border-radius: 10px; cursor: pointer;
      font-family: 'Montserrat', sans-serif;
      font-size: 15px; font-weight: 700;
      text-align: center;
      transition: background .2s, transform .15s;
      margin-bottom: 10px;
    }
    .btn-main:hover { background: var(--accent-dk); transform: translateY(-1px); }

    .btn-sec {
      display: block; width: 100%;
      padding: 11px; border: 1.5px solid var(--border);
      background: transparent; color: var(--dark-muted);
      border-radius: 10px; cursor: pointer;
      font-family: 'Inter', sans-serif;
      font-size: 14px; font-weight: 500;
      text-align: center; transition: all .2s;
    }
    .btn-sec:hover { border-color: var(--accent); color: var(--accent); }

    .apply-note { font-size: 11px; color: var(--muted); text-align: center; margin-top: 12px; line-height: 1.5; }
    .apply-divider { height: 1px; background: var(--border); margin: 18px 0; }
    .apply-meta-row { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--dark-muted); margin-bottom: 10px; }
    .apply-meta-icon { color: var(--accent); font-size: 16px; flex-shrink: 0; }
    .apply-meta-val { font-weight: 600; }

    /* Company card */
    .company-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 20px;
      box-shadow: var(--shadow);
    }
    .company-card-header { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
    .company-logo-sm {
      width: 48px; height: 48px; border-radius: 10px;
      background: var(--tag-bg);
      display: flex; align-items: center; justify-content: center;
      font-size: 14px; font-weight: 800;
      border: 1px solid var(--border);
      flex-shrink: 0;
    }
    .company-card-name { font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 700; margin-bottom: 2px; }
    .company-card-meta { font-size: 12px; color: var(--muted); }
    .company-desc { font-size: 13px; color: var(--dark-muted); line-height: 1.6; margin-bottom: 14px; }
    .company-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .company-stat { text-align: center; padding: 10px; background: var(--bg); border-radius: 8px; }
    .company-stat-val { font-family: 'Montserrat', sans-serif; font-size: 16px; font-weight: 800; color: var(--dark); }
    .company-stat-label { font-size: 11px; color: var(--muted); margin-top: 2px; }

    /* Share / save */
    .action-row { display: flex; gap: 10px; }
    .action-btn {
      flex: 1; padding: 10px;
      border: 1.5px solid var(--border);
      border-radius: 10px; background: var(--surface);
      font-family: 'Inter', sans-serif;
      font-size: 13px; font-weight: 500;
      color: var(--dark-muted); cursor: pointer;
      text-align: center; transition: all .18s;
      display: flex; align-items: center; justify-content: center; gap: 6px;
    }
    .action-btn:hover { border-color: var(--accent); color: var(--accent); }

    /* Related vacancies */
    .related-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 20px;
      box-shadow: var(--shadow);
    }
    .related-title { font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 700; margin-bottom: 14px; color: var(--dark); }
    .related-list { display: flex; flex-direction: column; gap: 10px; }
    .related-item {
      display: flex; gap: 10px; align-items: center;
      padding: 10px; border-radius: 8px;
      border: 1px solid var(--border); background: var(--bg);
      cursor: pointer; transition: all .18s;
      position: relative; overflow: hidden;
    }
    .related-item::before {
      content: '';
      position: absolute; left: 0; top: 0; bottom: 0;
      width: 3px; background: var(--line-color, var(--border));
    }
    .related-item:hover { border-color: var(--accent-bg); }
    .related-item-logo {
      width: 36px; height: 36px; border-radius: 8px;
      background: var(--tag-bg); border: 1px solid var(--border);
      display: flex; align-items: center; justify-content: center;
      font-size: 11px; font-weight: 800; flex-shrink: 0;
    }
    .related-item-info { min-width: 0; }
    .related-item-title { font-size: 13px; font-weight: 600; color: var(--dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .related-item-sal { font-size: 12px; color: var(--green); font-weight: 500; }

    /* Responsive — vacancy page */
    @media (max-width: 900px) {
      .page { grid-template-columns: 1fr; }
      .apply-card { position: static; }
      .vacancy-sidebar { order: -1; }
    }
    @media (max-width: 600px) {
      .cond-grid { grid-template-columns: 1fr; }
      .key-params { grid-template-columns: 1fr 1fr; }
    }

/* ─── "Скоро" — неактивные пункты категорий/ссылок до создания страницы ─── */
[title="Страница в разработке"] {
  opacity: .5;
  cursor: default;
  pointer-events: none;
}
