﻿:root {
    --bg: #f5f7fb;
    --card-bg: #ffffff;
    --text: #1f2937;
    --muted: #6b7280;
    --border: #e5e7eb;
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --radius: 14px;
    --shadow: 0 4px 16px rgba(15, 23, 42, 0.06);

    /* Цвета публичного сайта (фирменный синий ТелеПилот) */
    --brand: #3f9bd6;
    --brand-dark: #2d7bb0;
    --brand-light: #eaf5fc;
    --dark-bg: #16223a;
}

* { box-sizing: border-box; }

/* Плавное раскрытие стандартных details в HR-панели (Chrome/Edge). */
@supports (interpolate-size: allow-keywords) and selector(details::details-content) {
    .app-layout { interpolate-size: allow-keywords; }
    .app-layout details::details-content {
        display: block;
        block-size: 0;
        overflow: clip;
        transition: block-size .32s cubic-bezier(.22, 1, .36, 1), content-visibility .32s allow-discrete;
    }
    .app-layout details[open]::details-content { block-size: auto; }
}

.app-layout details > summary::after,
.app-layout details .schedule-summary-chevron,
.app-layout details .interview-booking-chevron {
    transition: transform .28s cubic-bezier(.22, 1, .36, 1), color .2s ease;
}
.app-layout details[open] > summary::after { transform: rotate(180deg); }
.app-layout button,
.app-layout .button,
.app-layout summary,
.app-layout .modern-picker-display {
    transition-property: color, background-color, border-color, box-shadow, transform;
    transition-duration: .2s;
    transition-timing-function: cubic-bezier(.22, 1, .36, 1);
}
.app-layout button:focus:not(:focus-visible),
.app-layout .button:focus:not(:focus-visible),
.app-layout summary:focus:not(:focus-visible) { outline: none; }
.app-layout button:focus-visible,
.app-layout .button:focus-visible,
.app-layout summary:focus-visible {
    outline: 3px solid rgba(63, 155, 214, .24);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .app-layout details::details-content,
    .app-layout details > summary::after,
    .app-layout details .schedule-summary-chevron,
    .app-layout details .interview-booking-chevron,
    .app-layout button,
    .app-layout .button,
    .app-layout summary,
    .app-layout .modern-picker-display { transition-duration: .01ms !important; }
}

body {
    margin: 0;
    font-family: "Segoe UI", Roboto, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

a { text-decoration: none; color: inherit; }

/* ===== Sidebar layout (HR-панель) ===== */
.app-layout { display: flex; min-height: 100vh; }

.sidebar {
    width: 240px;
    background: #111827;
    color: #e5e7eb;
    display: flex;
    flex-direction: column;
    padding: 24px 16px;
    flex-shrink: 0;
}

.sidebar-logo { font-size: 20px; font-weight: 700; margin-bottom: 32px; color: #fff; }
.sidebar-logo span { color: var(--primary); }

.sidebar-nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.sidebar-nav a { padding: 10px 14px; border-radius: 10px; color: #cbd5e1; font-size: 14px; }
.sidebar-nav a:hover { background: #1f2937; color: #fff; }
.sidebar-nav a.active { background: var(--primary); color: #fff; }

.sidebar-logout { padding: 10px 14px; color: #f87171; font-size: 14px; }
.sidebar-logout-form { margin: 0; }
button.sidebar-logout { border: 0; background: transparent; font: inherit; text-align: left; cursor: pointer; }
.sidebar-logout:hover { color: #fca5a5; }

.main-content { flex: 1; padding: 24px 32px; max-width: calc(100% - 240px); }

.topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.topbar-title { font-size: 22px; font-weight: 700; }
.topbar-user { color: var(--muted); font-size: 14px; }

/* ===== Cards / stats ===== */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.stat-card { background: var(--card-bg); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.stat-label { color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.stat-value { font-size: 28px; font-weight: 700; }

.dashboard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.candidate-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; }

.panel { background: var(--card-bg); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; margin-bottom: 16px; }
.panel-header { font-weight: 700; margin-bottom: 14px; font-size: 15px; }

/* ===== Table ===== */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; color: var(--muted); font-weight: 600; padding: 10px 8px; border-bottom: 1px solid var(--border); font-size: 12px; text-transform: uppercase; }
.table td { padding: 12px 8px; border-bottom: 1px solid var(--border); }
.table tr:hover td { background: #f9fafb; }
.empty-row { text-align: center; color: var(--muted); padding: 24px; }

/* ===== Badges ===== */
.badge { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; display: inline-block; white-space: nowrap; }
.badge-new { background: #e0e7ff; color: #4338ca; }
.badge-review { background: #fef3c7; color: #92400e; }
.badge-invited { background: #dbeafe; color: #1d4ed8; }
.badge-scheduled { background: #cffafe; color: #0e7490; }
.badge-done { background: #ede9fe; color: #6d28d9; }
.badge-accepted { background: #dcfce7; color: #15803d; }
.badge-rejected { background: #fee2e2; color: #b91c1c; }
.badge-default { background: #f3f4f6; color: #374151; }

/* ===== Buttons ===== */
.button { display: inline-block; padding: 10px 18px; border-radius: 10px; font-size: 14px; font-weight: 600; border: none; cursor: pointer; transition: 0.15s; }
.button-primary { background: var(--primary); color: #fff; }
.button-primary:hover { background: var(--primary-dark); }
.button-secondary { background: #fff; border: 1px solid var(--border); color: var(--text); }
.button-small { padding: 6px 12px; font-size: 13px; }
.button-large { padding: 14px 28px; font-size: 16px; }
.button-block { width: 100%; }

/* ===== Forms ===== */
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; flex: 1; }
.form-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: flex-end; }
label { font-size: 13px; font-weight: 600; color: var(--muted); }
input, select, textarea {
    padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; font-size: 14px; font-family: inherit; background: #fff;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79,70,229,0.12); }

.filters-bar { display: flex; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.filters-bar input, .filters-bar select { min-width: 180px; }

.candidate-meta { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.history-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.history-list li { display: flex; justify-content: space-between; font-size: 13px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.history-list li span { color: var(--muted); }

/* Focused HR workspace */
.sidebar { width: 252px; padding: 26px 18px 18px; background: #142237; }
.sidebar-logo { margin: 0 8px 34px; font-size: 19px; letter-spacing: -.03em; }
.sidebar-logo span { color: #70c4e5; }
.sidebar-nav { gap: 6px; }
.sidebar-nav > a,
.sidebar-more > summary { min-height: 42px; display: flex; align-items: center; padding: 0 13px; border-radius: 10px; color: #c4d0dc; font-size: 14px; font-weight: 550; cursor: pointer; transition: background .16s ease, color .16s ease; }
.sidebar-nav > a:hover,
.sidebar-more > summary:hover { background: rgba(255,255,255,.08); color: #fff; }
.sidebar-nav > a.active { background: #e6f4fb; color: #236f98; font-weight: 700; }
.sidebar-more { margin-top: 8px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 12px; }
.sidebar-more > summary { list-style: none; justify-content: space-between; }
.sidebar-more > summary::-webkit-details-marker { display: none; }
.sidebar-more > summary::after { content: "⌄"; color: #8da2b6; font-size: 16px; }
.sidebar-more[open] > summary::after { content: "⌄"; }
.sidebar-subnav { display: grid; gap: 3px; padding: 5px 0 0 10px; }
.sidebar-subnav a { padding: 9px 12px; border-radius: 9px; color: #aebdcb; font-size: 13px; }
.sidebar-subnav a:hover { color: #fff; background: rgba(255,255,255,.07); }
.sidebar-subnav a.active { background: rgba(112,196,229,.15); color: #9de1fa; }
.sidebar-logout { padding: 10px 8px; }
.main-content { max-width: calc(100% - 252px); padding: 28px clamp(24px, 3.2vw, 48px); }
.topbar { min-height: 46px; margin-bottom: 24px; }
.topbar-title { color: #1c2d40; font-size: 21px; }
.topbar-user { display: flex; align-items: center; gap: 10px; color: #354b61; font-weight: 600; }
.topbar-role { padding: 6px 10px; border: 1px solid #dbe7ef; border-radius: 999px; color: #6c8297; font-size: 12px; font-weight: 500; }
.dashboard-welcome { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 2px 0 23px; }
.dashboard-eyebrow { margin: 0 0 7px; color: #438bb1; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.dashboard-welcome h1 { margin: 0; color: #172b40; font-size: clamp(24px, 2.2vw, 30px); letter-spacing: -.035em; }
.dashboard-welcome > div > p:last-child { margin: 7px 0 0; color: #738397; font-size: 14px; }
.dashboard-welcome .button { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; padding: 12px 16px; border-radius: 11px; background: #3299cc; box-shadow: 0 7px 18px rgba(50,153,204,.18); }
.dashboard-welcome .button span { display: inline-grid; min-width: 24px; height: 24px; place-items: center; padding: 0 6px; border-radius: 999px; background: rgba(255,255,255,.2); }
.dashboard-quick-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.dashboard-quick-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 3px 12px; min-height: 108px; padding: 17px 20px; border: 1px solid #e1eaf1; border-radius: 14px; background: #fff; box-shadow: 0 5px 18px rgba(31,55,78,.035); transition: transform .16s ease, box-shadow .16s ease; }
.dashboard-quick-card:hover { transform: translateY(-2px); box-shadow: 0 9px 24px rgba(31,55,78,.08); }
.dashboard-quick-card > span { color: #536b80; font-size: 13px; font-weight: 650; }
.dashboard-quick-card > strong { grid-column: 2; grid-row: 1 / span 2; color: #1c3850; font-size: 32px; line-height: 1; }
.dashboard-quick-card > small { color: #8a9aaa; font-size: 12px; }
.dashboard-quick-card-primary { border-color: #cae5f2; background: linear-gradient(125deg, #fff 35%, #f0f9fd); }
.dashboard-quick-card-primary > strong { color: #2489b9; }
.dashboard-work-grid { grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr); align-items: start; gap: 16px; }
.dashboard-panel { min-width: 0; padding: 21px 22px; border: 1px solid #e7edf2; border-radius: 15px; box-shadow: 0 5px 20px rgba(31,55,78,.04); }
.dashboard-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.dashboard-panel-heading h2 { margin: 0; color: #243b50; font-size: 16px; letter-spacing: -.015em; }
.dashboard-panel-heading p { margin: 5px 0 0; color: #8a9aaa; font-size: 12px; }
.dashboard-panel-heading > a { flex: 0 0 auto; color: #3189b7; font-size: 12px; font-weight: 650; }
.dashboard-candidate-list, .dashboard-interview-list { display: grid; }
.dashboard-candidate-row, .dashboard-interview-row { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px 2px; border-top: 1px solid #edf1f4; }
.dashboard-candidate-row:hover, .dashboard-interview-row:hover { background: #f8fbfd; }
.dashboard-candidate-avatar { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border-radius: 12px; background: #eaf5fa; color: #3486ad; font-size: 15px; font-weight: 750; }
.dashboard-candidate-main { display: grid; min-width: 0; flex: 1; gap: 4px; }
.dashboard-candidate-main strong { overflow: hidden; color: #2b4054; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-candidate-main small { overflow: hidden; color: #8795a4; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-candidate-row .badge { padding: 5px 8px; font-size: 10px; }
.dashboard-row-arrow { color: #9dafbd; font-size: 16px; }
.dashboard-interview-date { display: grid; width: 48px; height: 48px; flex: 0 0 48px; place-content: center; border: 1px solid #dcebf3; border-radius: 12px; background: #f2f9fc; text-align: center; }
.dashboard-interview-date strong { color: #317fa6; font-size: 14px; }
.dashboard-interview-date small { color: #8da1b0; font-size: 9px; }
.dashboard-interview-time { color: #317fa6; font-size: 13px; font-weight: 750; }
.dashboard-empty-state { display: grid; justify-items: center; gap: 7px; padding: 38px 18px; border-top: 1px solid #edf1f4; text-align: center; }
.dashboard-empty-state > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: #eaf6f1; color: #3b9c79; font-size: 18px; }
.dashboard-empty-state strong { color: #405a70; font-size: 13px; }
.dashboard-empty-state p { margin: 0; color: #8a9aaa; font-size: 12px; }
.dashboard-empty-state a { margin-top: 3px; color: #3189b7; font-size: 12px; font-weight: 650; }
.dashboard-attention-panel { margin-top: 16px; }
.dashboard-attention-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.dashboard-attention-list a { display: grid; gap: 4px; padding: 13px; border: 1px solid #f2e3ca; border-radius: 11px; background: #fffaf2; }
.dashboard-attention-list strong { color: #594a35; font-size: 13px; }
.dashboard-attention-list span, .dashboard-attention-list small { color: #8a7a64; font-size: 11px; }

@media (max-width: 1100px) {
    .dashboard-work-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
    .app-layout { display: block; }
    .sidebar { position: sticky; top: 0; z-index: 15; width: 100%; min-height: auto; flex-direction: row; align-items: center; gap: 18px; padding: 10px 16px; }
    .sidebar-logo { flex: 0 0 auto; margin: 0; font-size: 16px; }
    .sidebar-nav { flex-direction: row; align-items: center; gap: 4px; overflow-x: auto; }
    .sidebar-nav > a, .sidebar-more > summary { min-height: 38px; flex: 0 0 auto; padding: 0 10px; font-size: 12px; }
    .sidebar-more { position: relative; flex: 0 0 auto; margin: 0; border: 0; padding: 0; }
    .sidebar-subnav { position: absolute; top: calc(100% + 8px); right: 0; z-index: 20; min-width: 210px; padding: 8px; border: 1px solid #26394d; border-radius: 12px; background: #142237; box-shadow: 0 14px 28px rgba(14,28,43,.2); }
    .sidebar-logout-form { flex: 0 0 auto; }
    .sidebar-logout { white-space: nowrap; font-size: 12px !important; }
    .main-content { max-width: none; padding: 22px 20px; }
}
@media (max-width: 620px) {
    .sidebar { gap: 10px; padding: 9px 10px; }
    .sidebar-logo { display: none; }
    .sidebar-nav { flex: 1; }
    .sidebar-nav > a, .sidebar-more > summary { min-height: 36px; padding: 0 9px; font-size: 11px; white-space: nowrap; }
    .sidebar-logout { padding: 8px 4px; font-size: 11px !important; }
    .main-content { padding: 18px 14px; }
    .topbar { margin-bottom: 14px; }
    .topbar-title { font-size: 18px; }
    .topbar-user { gap: 5px; font-size: 11px; }
    .topbar-role { padding: 4px 7px; font-size: 10px; }
    .dashboard-welcome { align-items: flex-start; flex-direction: column; gap: 14px; }
    .dashboard-welcome .button { width: 100%; justify-content: center; }
    .dashboard-quick-stats { grid-template-columns: 1fr; gap: 9px; }
    .dashboard-quick-card { min-height: 84px; padding: 13px 16px; }
    .dashboard-panel { padding: 16px 14px; }
    .dashboard-panel-heading { align-items: flex-start; }
    .dashboard-panel-heading > a { font-size: 11px; }
    .dashboard-candidate-row, .dashboard-interview-row { gap: 8px; }
    .dashboard-candidate-row .badge { max-width: 95px; overflow: hidden; text-overflow: ellipsis; }
    .dashboard-attention-list { grid-template-columns: 1fr; }
}

/* Простая структура страницы собеседований */
.interviews-intro { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 2px 0 22px; }
.interviews-intro h1 { margin: 0 0 7px; color: #172b42; font-size: clamp(24px, 3vw, 32px); letter-spacing: -.035em; }
.interviews-intro > div:first-child > p:last-child { margin: 0; color: #718095; font-size: 14px; }
.interviews-total { min-width: 90px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 12px 18px; border: 1px solid #dce8f0; border-radius: 15px; background: #fff; }
.interviews-total strong { color: #168ac0; font-size: 25px; line-height: 1.1; }
.interviews-total span { margin-top: 4px; color: #718095; font-size: 12px; }
.interview-view-tabs { display: flex; gap: 6px; width: fit-content; margin: 0 0 18px; padding: 4px; border: 1px solid #e0e8ee; border-radius: 12px; background: #fff; }
.interview-view-tabs a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 13px; border-radius: 9px; color: #61758a; font-size: 12px; font-weight: 650; text-decoration: none; }
.interview-view-tabs a:hover { background: #f4f8fb; color: #1c3046; }
.interview-view-tabs a.is-active { background: #eaf6fc; color: #147eae; }
.interview-view-tabs a span { min-width: 21px; padding: 2px 6px; border-radius: 99px; background: rgba(27, 135, 184, .1); text-align: center; font-size: 11px; }
.interview-booking-panel { margin-bottom: 26px; padding: 0; overflow: hidden; }
.interview-booking-summary { display: flex; align-items: center; gap: 13px; padding: 19px 24px; cursor: pointer; list-style: none; }
.interview-booking-summary::-webkit-details-marker { display: none; }
.interview-section-heading-copy { display: grid; flex: 1; gap: 4px; }
.interview-section-heading-copy strong { color: #172b42; font-size: 16px; }
.interview-section-heading-copy small { color: #718095; font-size: 12px; }
.interview-booking-toggle-label { color: #167eae; font-size: 12px; font-weight: 650; }
.interview-booking-chevron { color: #167eae; font-size: 18px; line-height: 1; }
.interview-booking-panel[open] .interview-booking-chevron { transform: rotate(180deg); }
.interview-booking-content { padding: 0 24px 24px; }
.interview-booking-note { margin: -4px 0 12px; color: #718095; font-size: 12px; }
.interview-section-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 19px; }
.interview-step { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 34px; border-radius: 11px; background: #eaf6fc; color: #168ac0; font-size: 15px; font-weight: 750; }
.interview-section-heading h2, .interview-list-heading h2 { margin: 0; color: #172b42; font-size: 18px; }
.interview-section-heading p, .interview-list-heading p { margin: 4px 0 0; color: #718095; font-size: 13px; }
.interview-booking-form { display: grid; grid-template-columns: minmax(190px, 1.25fr) minmax(180px, 1fr) minmax(140px, .8fr) minmax(130px, .7fr) minmax(190px, 1.2fr) auto; align-items: start; gap: 12px; }
.interview-slot-picker { display: grid; grid-column: span 2; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; min-width: 0; }
.interview-slot-picker .form-group { min-width: 0; }
.interview-slot-picker select:disabled { cursor: not-allowed; background: #f3f6f8; color: #91a0af; }
.interview-available-hint { grid-column: 1 / -1; margin-top: -4px; color: #718095; font-size: 11px; }
.interview-overbook-warning { grid-column: 1 / -1; display: grid; gap: 5px; padding: 12px 14px; border: 1px solid #f4c47c; border-radius: 11px; background: #fff8eb; color: #754b13; }
.interview-overbook-warning[hidden] { display: none; }
.interview-overbook-warning > strong { font-size: 12px; }
.interview-overbook-warning > p { margin: 0; color: #785e39; font-size: 12px; line-height: 1.45; }
.interview-booking-form .interview-overbook-warning > label { display: flex; align-items: flex-start; gap: 8px; margin: 3px 0 0; color: #5e4a2d; font-size: 12px; line-height: 1.4; cursor: pointer; }
.interview-booking-form .interview-overbook-warning > label input { width: 16px; min-height: 16px; margin: 1px 0 0; padding: 0; border: 0; border-radius: 4px; accent-color: #d58a25; flex: 0 0 16px; }
.interview-assignee { color: #5e7187 !important; font-size: 11px !important; }
.interview-assignee-field { grid-column: span 2; }
.interview-no-free-times { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; border: 1px solid #dceaf1; border-radius: 12px; background: #f5fbfe; }
.interview-slot-picker > .interview-no-free-times { grid-column: 1 / -1; }
.interview-no-free-times p { margin: 0; color: #536b80; font-size: 13px; }
.interview-no-free-times a { color: #168ac0; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.interview-no-free-times a:hover { text-decoration: underline; }
.interview-booking-form .form-group, .interview-result-form .form-group { margin-bottom: 0; min-width: 0; }
.interview-booking-form label, .interview-result-form label { display: block; margin-bottom: 6px; color: #52657b; font-size: 12px; font-weight: 650; }
.interview-booking-form input, .interview-booking-form select, .interview-result-form input, .interview-result-form select, .interview-result-form textarea { width: 100%; min-height: 42px; border: 1px solid #d9e3eb; border-radius: 10px; padding: 9px 11px; background: #fff; color: #1c3046; font: inherit; font-size: 13px; }
.interview-booking-form input:focus, .interview-booking-form select:focus, .interview-result-form input:focus, .interview-result-form select:focus, .interview-result-form textarea:focus { outline: 3px solid rgba(44, 157, 211, .14); border-color: #49a9d7; }
.interview-booking-form > button { align-self: start; min-height: 42px; margin-top: 21px; padding-inline: 18px; white-space: nowrap; }
.optional-label { color: #97a4b1; font-weight: 400; }
.interview-list-section { min-width: 0; }
.interview-list-heading { display: flex; align-items: end; justify-content: space-between; margin: 0 0 13px; }
.interview-cards { display: grid; gap: 11px; }
.interview-card { display: grid; grid-template-columns: 56px minmax(170px, 1.4fr) minmax(72px, .45fr) minmax(140px, .85fr) auto; align-items: center; gap: 15px; padding: 16px 18px; border: 1px solid #e0e8ee; border-radius: 15px; background: #fff; box-shadow: 0 3px 12px rgba(34, 63, 86, .035); }
.interview-card-date { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 54px; border-radius: 12px; background: #eff8fc; color: #168ac0; }
.interview-card-date strong { font-size: 20px; line-height: 1.05; }
.interview-card-date span { margin-top: 3px; color: #698195; font-size: 11px; text-transform: lowercase; }
.interview-card-person { display: grid; gap: 4px; min-width: 0; }
.interview-card-person a { overflow: hidden; color: #1c3046; font-size: 15px; font-weight: 700; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.interview-card-person a:hover { color: #168ac0; }
.interview-card-person > span { overflow: hidden; color: #718095; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.interview-card-time { display: grid; gap: 3px; }
.interview-card-time span { color: #8290a0; font-size: 11px; }
.interview-card-time strong { color: #1c3046; font-size: 15px; }
.interview-card-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.interview-format { padding: 5px 9px; border-radius: 99px; background: #f4f6f8; color: #64758a; font-size: 11px; }
.interview-shared-time { padding: 5px 9px; border: 1px solid #f0d9ad; border-radius: 99px; background: #fff8eb; color: #8b6123; font-size: 11px; }
.interview-edit { position: relative; }
.interview-edit > summary { display: inline-flex; min-height: 36px; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid #d6e9f3; border-radius: 9px; background: #f3fafe; color: #167eae; font-size: 12px; font-weight: 700; cursor: pointer; list-style: none; white-space: nowrap; }
.interview-edit > summary::-webkit-details-marker { display: none; }
.interview-edit > summary::after { content: "⌄"; margin-left: 8px; font-size: 14px; }
.interview-edit[open] > summary::after { content: "⌄"; }
.interview-card-actions { display: flex; grid-column: 5; align-items: center; justify-content: flex-end; gap: 8px; min-width: 0; }
.interview-card-actions:has(.interview-edit[open]) { grid-column: 1 / -1; grid-row: auto; }
.interview-edit[open] { width: 100%; }
.interview-edit[open] > summary { display: flex; width: fit-content; margin-left: auto; }
.interview-archive-form { flex: 0 0 auto; }
.interview-archive-form button { min-height: 36px; padding: 0 11px; border: 1px solid #e1e8ee; border-radius: 9px; background: #fff; color: #697a8b; font: inherit; font-size: 12px; font-weight: 650; cursor: pointer; white-space: nowrap; }
.interview-archive-form button:hover { border-color: #bdd9e7; background: #f4fafe; color: #167eae; }
.interview-archive-form button.is-restore { border-color: #bce8d5; background: #f0fbf6; color: #21805a; }
.interview-archive-form button.is-restore:hover { background: #e2f7ed; }
.interview-assignment-form { display: flex; align-items: end; gap: 10px; margin-top: 12px; padding: 13px; border: 1px solid #e3ecf2; border-radius: 11px; background: #fff; }
.interview-assignment-form .form-group { flex: 1 1 260px; max-width: 420px; margin: 0; }
.interview-assignment-form label { display: block; margin-bottom: 6px; color: #52657b; font-size: 12px; font-weight: 650; }
.interview-assignment-form select { width: 100%; min-height: 40px; padding: 8px 10px; border: 1px solid #d9e3eb; border-radius: 9px; background: #fff; color: #1c3046; font: inherit; font-size: 13px; }
.interview-assignment-form > button { min-height: 40px; white-space: nowrap; }
.interview-result-form { display: grid; gap: 13px; margin-top: 13px; padding: 17px; border: 1px solid #e0eaf0; border-radius: 12px; background: #f9fcfe; }
.interview-form-help { margin: 0; color: #6c7d90; font-size: 12px; }
.interview-result-fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.interview-conditional[hidden] { display: none !important; }
.interview-reschedule-fields { display: grid; grid-column: span 2; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.interview-reschedule-fields .interview-slot-picker { grid-column: 1 / -1; }
.interview-result-form textarea { min-height: 68px; resize: vertical; }
.interview-result-form > .button { justify-self: start; min-height: 38px; padding: 0 17px; }
.interview-empty-state { display: grid; justify-items: center; padding: 45px 22px; text-align: center; }
.interview-empty-state > span { color: #42a7d5; font-size: 30px; }
.interview-empty-state h3 { margin: 10px 0 5px; color: #1c3046; font-size: 17px; }
.interview-empty-state p { max-width: 360px; margin: 0; color: #718095; font-size: 13px; line-height: 1.55; }
@media (max-width: 1080px) {
    .interview-booking-form { grid-template-columns: minmax(170px, 1.2fr) minmax(160px, 1fr) minmax(135px, .8fr) minmax(125px, .8fr); }
    .interview-slot-picker { grid-column: span 2; }
    .interview-note-field { grid-column: span 2; }
    .interview-assignee-field { grid-column: span 2; }
    .interview-card { grid-template-columns: 54px minmax(150px, 1fr) minmax(65px, .4fr) auto; }
    .interview-card-meta { grid-column: 2 / 4; }
    .interview-card-actions { grid-column: 4; grid-row: 1 / span 2; flex-direction: column; align-items: stretch; }
    .interview-result-form { grid-column: 1 / -1; }
    .interview-assignment-form { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
    .interviews-intro { align-items: flex-start; }
    .interview-booking-summary { padding: 17px 18px; }
    .interview-booking-content { padding: 0 18px 18px; }
    .interview-booking-form { grid-template-columns: 1fr 1fr; }
    .interview-interviewer-field { grid-column: 1 / -1; }
    .interview-slot-picker { grid-column: 1 / -1; }
    .interview-candidate-field, .interview-note-field { grid-column: 1 / -1; }
    .interview-booking-form > button { grid-column: 1 / -1; }
    .interview-booking-form > button { margin-top: 0; }
    .interview-card { grid-template-columns: 50px minmax(0, 1fr) auto; gap: 11px; padding: 14px; }
    .interview-card-date { grid-row: 1 / span 2; }
    .interview-card-person { grid-column: 2; }
    .interview-card-time { grid-column: 3; grid-row: 1; text-align: right; }
    .interview-card-meta { grid-column: 2 / 4; }
    .interview-card-actions { grid-column: 1 / -1; grid-row: auto; flex-direction: column; align-items: stretch; }
    .interview-edit > summary, .interview-edit[open] > summary { width: 100%; }
    .interview-archive-form button { width: 100%; }
    .interview-card-actions:has(.interview-edit[open]) { grid-column: 1 / -1; }
    .interview-assignment-form { align-items: stretch; flex-direction: column; }
    .interview-assignment-form .form-group { max-width: none; }
    .interview-result-fields { grid-template-columns: 1fr 1fr; }
    .interview-assignee-field { grid-column: 1 / -1; }
    .interview-reschedule-fields { grid-column: span 2; }
    .interview-reschedule-fields .interview-slot-picker { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
    .interviews-total { min-width: 70px; padding: 10px 12px; }
    .interview-booking-form { grid-template-columns: 1fr; }
    .interview-slot-picker { grid-column: 1; grid-template-columns: 1fr; }
    .interview-candidate-field, .interview-note-field, .interview-booking-form > button { grid-column: 1; }
    .interview-result-fields { grid-template-columns: 1fr; }
    .interview-assignee-field { grid-column: 1; }
    .interview-reschedule-fields { grid-column: 1; grid-template-columns: 1fr; }
    .interview-reschedule-fields .interview-slot-picker { grid-column: 1; }
    .interview-result-form { padding: 13px; }
    .interview-no-free-times { align-items: flex-start; flex-direction: column; }
    .interview-card-actions { align-items: stretch; flex-direction: column; }
    .interview-archive-form button { width: 100%; }
}

.muted { color: var(--muted); }

/* ===== Flash messages ===== */
.flash-messages { margin-bottom: 16px; }
.flash { background: #eef2ff; color: #3730a3; padding: 12px 16px; border-radius: 10px; margin-bottom: 8px; font-size: 14px; }
.flash-error { background: #fee2e2; color: #b91c1c; }
.flash-success { background: #dcfce7; color: #15803d; }

/* ===== Login page ===== */
.login-body { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: linear-gradient(135deg, #4f46e5, #111827); }
.login-card { background: #fff; border-radius: 18px; box-shadow: 0 12px 40px rgba(0,0,0,0.2); padding: 40px; width: 100%; max-width: 380px; }
.login-logo { font-size: 20px; font-weight: 700; margin-bottom: 20px; }
.login-logo span { color: var(--primary); }
.login-card h1 { font-size: 22px; margin: 0 0 4px; }
.login-subtitle { color: var(--muted); margin: 0 0 20px; font-size: 14px; }

/* ===== Public site: шапка ===== */
.public-header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 10; }
.public-header-inner { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; gap: 24px; }
.public-logo { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; text-decoration: none; }
.public-logo-mark { height: 54px; width: auto; display: block; }
.public-logo-copy { display: flex; flex-direction: column; gap: 3px; }
.public-logo-copy strong { color: #202a33; font-size: 20px; font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.public-logo-copy small { color: #258db2; font-size: 9px; font-weight: 700; letter-spacing: .12em; line-height: 1; }
.public-nav-link { color: var(--muted); font-size: 14px; }

.public-nav { display: flex; gap: 28px; flex: 1; justify-content: center; }
.public-nav a { color: var(--text); font-size: 14px; font-weight: 500; }
.public-nav a:hover { color: var(--brand); }

/* Кнопки публичного сайта используют фирменный синий, а не индиго дашборда */
.public-header .button-primary,
.public-hero .button-primary,
.vacancy-actions .button-primary,
.cta-card .button-primary,
.apply-form .button-primary { background: var(--brand); }
.public-header .button-primary:hover,
.public-hero .button-primary:hover,
.vacancy-actions .button-primary:hover,
.cta-card .button-primary:hover,
.apply-form .button-primary:hover { background: var(--brand-dark); }

/* ===== Секция-label с точкой (как на макете: "• О КОМПАНИИ") ===== */
.section-label { color: var(--brand); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 10px; }
.section-label::before { content: "•"; margin-right: 6px; }
.section-label.center { text-align: center; }
.section-label.light { color: #bfe3f8; }

.center { text-align: center; }

/* ===== Hero ===== */
.public-hero { padding: 70px 0 60px; background: radial-gradient(circle at top right, var(--brand-light), var(--bg)); text-align: left; }
.public-hero h1 { font-size: 40px; max-width: 600px; margin: 12px 0 16px; }
.public-hero p { color: var(--muted); max-width: 500px; margin-bottom: 28px; font-size: 16px; }

/* ===== О компании ===== */
.about-section { padding: 60px 0; }
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; align-items: start; }
.about-text h2 { font-size: 30px; margin: 0 0 14px; }
.about-lead { font-weight: 600; font-size: 16px; margin-bottom: 18px; }
.about-text p { color: var(--muted); line-height: 1.6; margin-bottom: 14px; }
.link-arrow { color: var(--brand); font-weight: 600; display: inline-block; margin-top: 6px; }
.link-arrow:hover { color: var(--brand-dark); }

.about-list { display: flex; flex-direction: column; gap: 22px; }
.about-item { display: flex; gap: 16px; }
.about-num { color: var(--brand); font-weight: 700; font-size: 14px; flex-shrink: 0; padding-top: 2px; }
.about-item h4 { margin: 0 0 4px; font-size: 16px; }
.about-item p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

/* ===== Вакансии: карусель ===== */
.vacancies-section { padding: 60px 0 80px; }
.vacancies-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; margin-bottom: 28px; }
.vacancies-head h2 { font-size: 28px; margin: 4px 0 8px; }
.vacancies-head .muted { max-width: 480px; font-size: 14px; }

.vacancies-controls { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.vacancies-count { color: var(--muted); font-size: 13px; }
.vacancies-count span { color: var(--text); font-weight: 700; }
.carousel-nav { display: flex; align-items: center; gap: 12px; }
.carousel-btn {
    width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border);
    background: #fff; cursor: pointer; font-size: 15px; color: var(--text);
}
.carousel-btn:hover { border-color: var(--brand); color: var(--brand); }
.carousel-btn:disabled { opacity: 0.4; cursor: default; }
.carousel-pos { font-size: 13px; color: var(--muted); font-weight: 600; }

.vacancies-viewport { overflow: hidden; }
.vacancies-track { display: flex; gap: 20px; transition: transform 0.3s ease; }

.vacancy-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 0 0 calc((100% - 40px) / 3);
}
.vacancy-tags { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.tag-lang { background: var(--brand-light); color: var(--brand-dark); font-size: 11px; font-weight: 700; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.tag-channel { color: var(--muted); font-size: 12px; }
.vacancy-card h3 { font-size: 18px; margin: 0 0 8px; }
.vacancy-card p { color: var(--muted); font-size: 14px; margin-bottom: 16px; }

.vacancy-info { border-top: 1px solid var(--border); padding-top: 12px; margin-bottom: 18px; }
.info-row { display: flex; justify-content: space-between; font-size: 13px; padding: 5px 0; }
.info-row span { color: var(--muted); }
.info-row strong { text-align: right; }

.vacancy-actions { display: flex; align-items: center; gap: 16px; margin-top: auto; }
.link-more { color: var(--muted); font-size: 13px; font-weight: 600; }
.link-more:hover { color: var(--brand); }

/* ===== Почему ТелеПилот ===== */
.why-section { padding: 60px 0; background: var(--brand-light); }
.why-section h2 { font-size: 28px; margin: 4px auto 10px; max-width: 520px; }
.why-section > .container > p { max-width: 560px; margin: 0 auto 32px; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--border); padding: 22px; }
.why-card-active { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(63,155,214,0.15); }
.why-num { color: var(--muted); font-size: 12px; font-weight: 700; }
.why-card h4 { margin: 10px 0 6px; font-size: 16px; }
.why-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

/* ===== Как устроиться ===== */
.steps-section { padding: 60px 0; }
.steps-section h2 { margin: 4px 0 32px; font-size: 28px; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.step-badge {
    width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff;
    display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; margin-bottom: 14px;
}
.step-card h4 { margin: 0 0 6px; font-size: 16px; }
.step-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

/* ===== CTA (короткая заявка) ===== */
.cta-section { padding: 70px 0; background: var(--dark-bg); color: #fff; }
.cta-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.cta-text h2 { font-size: 30px; margin: 0 0 14px; color: #fff; }
.cta-text p { color: #cbd9e8; margin-bottom: 20px; }
.cta-note { border-left: 3px solid var(--brand); padding-left: 14px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: #cbd9e8; }
.cta-note strong { color: #fff; }

.cta-card { background: #fff; color: var(--text); border-radius: var(--radius); padding: 28px; box-shadow: 0 12px 32px rgba(0,0,0,0.25); }
.cta-card h3 { margin: 0 0 8px; font-size: 18px; }
.cta-card p { margin: 0 0 18px; }

/* ===== Контакты ===== */
.contacts-section { padding: 60px 0 70px; }
.contacts-section h2 { margin: 4px 0 10px; font-size: 28px; }
.contacts-section > .container > p { margin-bottom: 32px; }
.contacts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-card {
    display: flex; align-items: center; gap: 14px; background: var(--card-bg);
    border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px;
}
.contact-card:hover { border-color: var(--brand); }
.contact-icon {
    width: 38px; height: 38px; border-radius: 10px; background: var(--brand-light); color: var(--brand-dark);
    display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; flex-shrink: 0;
}
.contact-card div { display: flex; flex-direction: column; flex: 1; }
.contact-card strong { font-size: 14px; }
.contact-card span { color: var(--muted); font-size: 13px; }
.contact-arrow { color: var(--muted); }

/* ===== Тёмный футер публичного сайта ===== */
.public-footer-dark { background: var(--dark-bg); color: #9fb0c3; padding: 22px 0; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 13px; }

/* ===== Форма отклика (страница /apply) ===== */
.apply-section { padding: 60px 0 80px; }
.apply-wrapper { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; }
.apply-info h1 { font-size: 30px; margin: 8px 0 12px; }
.apply-info p { color: var(--muted); }
.apply-form { background: var(--card-bg); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; }
.submit-button { width: 100%; margin-top: 8px; }
.form-policy { font-size: 12px; color: var(--muted); margin-top: 10px; }

.public-footer { text-align: center; padding: 24px 0; color: var(--muted); font-size: 13px; border-top: 1px solid var(--border); }

/* ===== Tablet / responsive (дашборд) ===== */
@media (max-width: 900px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .dashboard-grid, .candidate-grid, .apply-wrapper { grid-template-columns: 1fr; }
    .sidebar { width: 72px; padding: 20px 8px; }
    .sidebar-logo, .sidebar-nav a span, .sidebar-logout { font-size: 0; }
    .main-content { max-width: calc(100% - 72px); padding: 20px; }
}

/* ===== Tablet / responsive (публичный сайт) ===== */
@media (max-width: 900px) {
    .public-nav { display: none; }
    .about-grid { grid-template-columns: 1fr; }
    .vacancy-card { flex: 0 0 calc((100% - 20px) / 2); }
    .why-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-grid { grid-template-columns: 1fr; }
    .contacts-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .vacancy-card { flex: 0 0 100%; }
    .why-grid, .steps-grid { grid-template-columns: 1fr; }
}

/* ===== Выбор слота собеседования (страница /apply) ===== */
.slots-picker { display: flex; flex-direction: column; gap: 14px; }
.slots-day-label { font-weight: 700; font-size: 13px; margin-bottom: 6px; }
.slots-day-options { display: flex; flex-wrap: wrap; gap: 8px; }
.slot-option {
    border: 1px solid var(--border); border-radius: 8px; padding: 6px 14px;
    font-size: 13px; cursor: pointer; background: #fff;
}
.slot-option input { display: none; }
.slot-option:has(input:checked) {
    border-color: var(--brand); background: var(--brand-light); color: var(--brand-dark); font-weight: 700;
}

/* ===== Radio group (выбор страны) ===== */
.radio-group { display: flex; gap: 16px; flex-wrap: wrap; padding: 4px 0; }
.radio-option { display: flex; align-items: center; gap: 6px; font-weight: 500; color: var(--text); font-size: 14px; cursor: pointer; }
.radio-option input { width: auto; }

/* ===== Блок "готовы к переезду" в форме отклика ===== */
.relocation-box {
    background: #fff7ed;
    border: 1px solid #fdba74;
    border-radius: var(--radius);
    padding: 16px;
}
.relocation-box p { margin: 0 0 10px; font-size: 14px; }

/* ===== Страница подробностей вакансии ===== */
.vacancy-page { padding: 40px 0 80px; }
.vacancy-page-inner { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: start; }
.vacancy-page-main h1 { font-size: 28px; margin: 8px 0 20px; }
.vacancy-page-main h2 { font-size: 16px; margin: 24px 0 8px; }
.vacancy-page-main p { color: var(--text); font-size: 14px; line-height: 1.6; margin: 0; }

.vacancy-page-side { position: sticky; top: 90px; }
.vacancy-side-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
}

@media (max-width: 900px) {
    .vacancy-page-inner { grid-template-columns: 1fr; }
    .vacancy-page-side { position: static; }
}

/* ===== Страница вакансии: аккуратные блоки и списки (замена старых .vacancy-info-row) ===== */
.vacancy-page-lead { color: var(--muted); font-size: 15px; margin: 0 0 24px; }

.vacancy-block { margin-bottom: 22px; }
.vacancy-block h2 { font-size: 15px; text-transform: uppercase; letter-spacing: 0.03em; color: var(--brand-dark); margin: 0 0 10px; }
.vacancy-block p { margin: 0; color: var(--text); font-size: 14px; line-height: 1.7; }

.vacancy-block-highlight {
    background: var(--brand-light);
    border-radius: var(--radius);
    padding: 18px 20px;
}

.vacancy-list { margin: 0; padding: 0 0 0 20px; }
.vacancy-list li { color: var(--text); font-size: 14px; line-height: 1.7; margin-bottom: 4px; }

/* Серверные горизонтальные диаграммы в HR-аналитике */
.analytics-bar-track {
    width: 100%;
    min-width: 90px;
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #e8eef5;
}
.analytics-bar-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #258acb, #51b3dd);
}

/* Публичные вакансии: мягче типографика и проще сканировать условия */
.vacancies-head h2,
.vacancy-card h3,
.vacancy-page-main h1,
.vacancy-page-main h2 {
    color: #2b3a4e;
    font-weight: 600;
    letter-spacing: -0.015em;
}
.vacancy-card h3 { line-height: 1.4; }
.vacancy-page-main h1 { font-size: clamp(26px, 3vw, 34px); line-height: 1.2; margin-bottom: 12px; }
.vacancy-page-lead { line-height: 1.65; }
.vacancy-page-side .button-primary { background: var(--brand); }
.vacancy-page-side .button-primary:hover { background: var(--brand-dark); }
.vacancy-page-inner { grid-template-columns: minmax(0, 1fr) 240px; gap: 24px; }
.vacancy-hero-card {
    padding: 26px 28px 22px;
    background: linear-gradient(135deg, #fff 0%, #f8fbfe 100%);
    border: 1px solid #e4edf4;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(42, 74, 102, .055);
}
.vacancy-eyebrow { display: block; margin-bottom: 12px; color: var(--brand-dark); font-size: 11px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.vacancy-hero-card .vacancy-tags { margin-bottom: 10px; }
.vacancy-hero-card .tag-lang { font-size: 11px; letter-spacing: .035em; }
.vacancy-hero-card .tag-channel { font-size: 13px; }
.vacancy-hero-card h1 { margin-top: 0; font-size: clamp(30px, 3.2vw, 40px); }
.vacancy-page-main { min-width: 0; }
.vacancy-cta-title { display: block; color: #2b3a4e; font-size: 16px; font-weight: 600; }
.vacancy-cta-text { margin: 8px 0 16px !important; color: var(--muted) !important; font-size: 13px !important; line-height: 1.55 !important; }
.vacancy-side-card .button { display: block; text-align: center; }
.vacancy-side-card { border: 1px solid #e4edf4; box-shadow: 0 10px 28px rgba(42, 74, 102, .07); }

.vacancy-quick-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 22px 0 0;
}
.vacancy-quick-facts > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
    padding: 13px 14px;
    background: #f4f8fb;
    border: 1px solid #e8eff5;
    border-radius: 12px;
}
.vacancy-quick-facts span { color: #708095; font-size: 12px; }
.vacancy-quick-facts strong { color: #33445a; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.vacancy-extra-facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 14px; color: #718096; font-size: 12px; }
.vacancy-extra-facts strong { color: #43566d; font-weight: 600; }
.vacancy-details-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.vacancy-details-grid .vacancy-block {
    min-width: 0;
    margin: 0;
    padding: 17px 18px;
    background: #fff;
    border: 1px solid #e7edf3;
    border-radius: 12px;
}
.vacancy-details-grid .vacancy-block-wide { grid-column: 1 / -1; }
.vacancy-details-grid .vacancy-block h2 {
    margin: 0 0 9px;
    color: #49627c;
    font-size: 13px;
    letter-spacing: 0;
    text-transform: none;
}
.vacancy-details-grid .vacancy-block p,
.vacancy-details-grid .vacancy-list li { color: #526174; font-size: 15px; line-height: 1.65; }
.vacancy-list { padding-left: 18px; }
.vacancy-list li::marker { color: #79afd0; }
.vacancy-details-grid .vacancy-block-highlight { background: #f0f8fd; border-color: #d9edf8; }
.vacancy-bottom-apply { margin-top: 20px; }
.vacancy-mobile-apply { display: none; }

@media (max-width: 900px) {
    .vacancy-page { padding-top: 28px; }
    .vacancy-page-inner { grid-template-columns: 1fr; gap: 18px; }
    .vacancy-page-side { display: none; }
    .vacancy-mobile-apply { display: block; position: fixed; z-index: 20; right: 0; bottom: 0; left: 0; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid #e7edf3; box-shadow: 0 -6px 20px rgba(37,55,77,.08); backdrop-filter: blur(10px); }
    .vacancy-mobile-apply .button { display: block; text-align: center; background: var(--brand); }
    .vacancy-mobile-apply .button:hover { background: var(--brand-dark); }
    body:has(.vacancy-mobile-apply) { padding-bottom: 78px; }
}
@media (max-width: 600px) {
    .vacancy-page { padding: 22px 0 40px; }
    .vacancy-page-inner { padding-left: 18px; padding-right: 18px; }
    .vacancy-hero-card { padding: 20px 18px 17px; border-radius: 16px; }
    .vacancy-quick-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
    .vacancy-quick-facts > div { padding: 11px 12px; }
    .vacancy-quick-facts strong { font-size: 14px; }
    .vacancy-details-grid { grid-template-columns: 1fr; gap: 9px; }
    .vacancy-details-grid .vacancy-block-wide { grid-column: auto; }
    .vacancy-details-grid .vacancy-block { padding: 15px; }
    .vacancy-bottom-apply { display: none; }
}
@media (min-width: 901px) {
    .vacancy-quick-facts { margin-top: 22px; }
}

/* Главная: современная, более заметная секция вакансий */
.vacancies-section {
    position: relative;
    padding: 76px 0 84px;
    background: linear-gradient(180deg, #edf6fc 0%, #f5f8fb 100%);
    scroll-margin-top: 72px;
}
.vacancies-head { align-items: center; margin-bottom: 30px; }
.vacancies-head > div:first-child { max-width: 620px; }
.vacancies-head .section-label { color: #4389b4; font-size: 11px; letter-spacing: .12em; }
.vacancies-head h2 { margin: 0 0 9px; color: #20354a; font-size: clamp(30px, 3vw, 38px); line-height: 1.15; }
.vacancies-head .muted { max-width: 540px; margin: 0; color: #65768a; font-size: 15px; line-height: 1.6; }
.vacancies-count {
    padding: 9px 13px;
    border: 1px solid #dce9f2;
    border-radius: 999px;
    background: rgba(255,255,255,.75);
    color: #63758a;
    font-size: 13px;
}
.vacancies-count span { color: #276d98; font-size: 15px; }
.vacancies-controls { gap: 12px; }
.carousel-btn { width: 38px; height: 38px; color: #36566f; box-shadow: 0 3px 10px rgba(39,75,104,.06); }
.carousel-btn:not(:disabled):hover { background: #e4f2fa; border-color: #9cc9e1; }
.vacancies-track { gap: 20px; align-items: stretch; }
.vacancy-card {
    position: relative;
    min-height: 350px;
    overflow: hidden;
    padding: 23px;
    border: 1px solid #e1eaf1;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(33, 62, 87, .07);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.vacancy-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #45a4d4, #83c4e3);
    content: "";
}
.vacancy-card:hover { transform: translateY(-4px); border-color: #c7deed; box-shadow: 0 16px 34px rgba(33, 62, 87, .12); }
.vacancy-card .vacancy-tags { min-height: 28px; margin-bottom: 12px; }
.vacancy-card .tag-lang { padding: 5px 10px; background: #e9f5fb; color: #347ca6; font-size: 10px; letter-spacing: .035em; }
.vacancy-card .tag-channel { color: #718196; font-size: 12px; }
.vacancy-card h3 { margin-bottom: 9px; color: #253a50; font-size: 20px; line-height: 1.32; }
.vacancy-card > p { margin: 0 0 16px; color: #65758a; font-size: 14px; line-height: 1.55; }
.vacancy-salary {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding: 12px 13px;
    border: 1px solid #e2eff6;
    border-radius: 12px;
    background: #f4f9fc;
}
.vacancy-salary span { color: #718196; font-size: 12px; }
.vacancy-salary strong { color: #286f99; font-size: 16px; font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.vacancy-card .vacancy-info { margin: 12px 0 16px; padding-top: 9px; border-color: #edf1f5; }
.vacancy-card .info-row { padding: 4px 0; color: #52667b; font-size: 13px; }
.vacancy-card .info-row strong { color: #354a60; font-weight: 600; }
.vacancy-card .vacancy-actions { gap: 14px; }
.vacancy-card .vacancy-actions .button { padding: 10px 15px; border-radius: 9px; box-shadow: 0 4px 10px rgba(46, 135, 184, .15); }
.vacancy-card .link-more { color: #47718d; font-size: 13px; }
.vacancy-card .link-more:hover { color: #1f78aa; }

@media (max-width: 900px) {
    .vacancies-section { padding: 60px 0 68px; }
    .vacancies-head { align-items: flex-start; }
    .vacancy-card { min-height: 340px; }
}
@media (max-width: 600px) {
    .vacancies-section { padding: 48px 0 56px; }
    .vacancies-head { margin-bottom: 22px; }
    .vacancies-head > div:first-child { width: 100%; }
    .vacancies-head h2 { font-size: 30px; }
    .vacancies-head .muted { font-size: 14px; }
    .vacancies-controls { width: 100%; flex-direction: row; justify-content: space-between; align-items: center; }
    .vacancy-card { min-height: 0; padding: 21px; }
}

/* Главная: цельный современный первый экран и спокойная типографика */
.public-header-inner,
.public-hero-inner,
.vacancies-section > .container,
.about-section > .container,
.why-section > .container,
.steps-section > .container,
.cta-section > .container,
.contacts-section > .container,
.public-footer-dark > .container { max-width: 1240px; }
.section-label::before { content: none; }
.section-label { font-size: 11px; letter-spacing: .12em; }
.public-hero {
    position: relative;
    overflow: hidden;
    padding: 76px 0 70px;
    background: linear-gradient(115deg, #f5f8fc 0%, #edf6fc 58%, #e5f2fa 100%);
}
.public-hero-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr); align-items: center; gap: 48px; }
.public-hero-copy { max-width: 640px; }
.public-hero h1 { max-width: 640px; margin: 14px 0 18px; color: #20354a; font-size: clamp(38px, 5vw, 58px); font-weight: 650; line-height: 1.08; letter-spacing: -.04em; }
.public-hero p { max-width: 560px; margin: 0 0 28px; color: #63768a; font-size: 17px; line-height: 1.7; }
.public-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.public-hero-actions .button { box-shadow: 0 8px 20px rgba(45,123,176,.2); }
.hero-secondary-link { color: #42657f; font-size: 14px; font-weight: 600; }
.hero-secondary-link:hover { color: var(--brand-dark); }
.hero-visual { position: relative; display: grid; min-height: 270px; place-items: center; isolation: isolate; }
.hero-visual::before { position: absolute; z-index: -1; width: 250px; height: 250px; border-radius: 50%; background: linear-gradient(145deg, #d6edf9, #f8fcff); box-shadow: inset 0 0 0 1px rgba(91,161,199,.12), 0 24px 70px rgba(47,110,150,.1); content: ""; }
.hero-orbit { position: absolute; width: 310px; height: 150px; border: 1px solid rgba(63,155,214,.23); border-radius: 50%; transform: rotate(-28deg); }
.hero-orbit-two { width: 340px; height: 185px; transform: rotate(34deg); }
.hero-monogram { display: grid; width: 124px; height: 124px; place-items: center; border: 1px solid rgba(255,255,255,.9); border-radius: 36px; background: linear-gradient(145deg, #4eadd8, #327daf); box-shadow: 0 18px 44px rgba(42,116,160,.25); color: #fff; font-size: 42px; font-weight: 700; letter-spacing: -.08em; transform: rotate(-7deg); }
.hero-caption { position: absolute; right: 2%; bottom: 13%; display: flex; align-items: center; gap: 9px; padding: 11px 15px; border: 1px solid #e2edf4; border-radius: 999px; background: rgba(255,255,255,.92); box-shadow: 0 8px 24px rgba(34,68,94,.08); color: #48647c; font-size: 13px; font-weight: 600; }
.hero-caption span { width: 8px; height: 8px; border-radius: 50%; background: #50a9d4; }
.vacancies-section { padding-top: 68px; }
.vacancies-head h2 { letter-spacing: -.035em; }
.why-card-active { border-color: #e2eaf1; box-shadow: 0 8px 22px rgba(37,67,91,.055); }
.why-card { transition: transform .2s ease, box-shadow .2s ease; }
.why-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(37,67,91,.1); }
.vacancy-salary { align-items: flex-start; flex-direction: column; gap: 5px; }
.vacancy-salary-values { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
.vacancy-salary strong,
.vacancy-salary small,
.quick-fact-salary strong,
.quick-fact-salary small,
.preview-salary-row strong,
.preview-salary-row small { white-space: nowrap; }
.vacancy-salary strong { text-align: left; overflow-wrap: normal; }
.vacancy-salary small { color: #668096; font-size: 13px; font-weight: 600; }
.vacancy-quick-facts .quick-fact-salary strong { overflow-wrap: normal; }
.vacancy-quick-facts .quick-fact-salary small { color: #668096; font-size: 12px; font-weight: 600; }
.preview-salary-row { display: grid; grid-template-columns: 1fr auto; align-items: baseline; }
.preview-salary-row span { grid-row: 1 / span 2; }
.preview-salary-row small { grid-column: 2; color: #668096; text-align: right; }
.cta-section { background: linear-gradient(120deg, #172943, #1d3654); }
.contact-card { transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.contact-card:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(33,62,87,.08); }

@media (max-width: 900px) {
    .public-hero { padding: 58px 0; }
    .public-hero-inner { grid-template-columns: minmax(0, 1fr) minmax(190px, .65fr); gap: 16px; }
    .hero-visual { min-height: 220px; transform: scale(.84); }
}
@media (max-width: 600px) {
    .public-hero { padding: 46px 0 42px; }
    .public-hero-inner { display: block; }
    .public-hero h1 { font-size: clamp(35px, 10vw, 46px); }
    .public-hero p { font-size: 15px; }
    .public-hero-actions { gap: 16px; }
    .public-hero-actions .button { width: 100%; text-align: center; }
    .hero-visual { display: none; }
}

/* Финальная полировка публичной страницы: навигация, карточки и нижние секции */
.public-header { background: rgba(255,255,255,.96); border-bottom-color: #e4ebf1; box-shadow: 0 4px 18px rgba(32,53,74,.045); }
.public-header-inner { min-height: 78px; padding-top: 12px; padding-bottom: 12px; gap: 30px; }
.public-logo-mark { height: 58px; }
.public-nav { gap: clamp(20px, 3vw, 38px); }
.public-nav a { position: relative; padding: 10px 0; color: #3b5065; font-size: 14px; font-weight: 600; transition: color .18s ease; }
.public-nav a::after { position: absolute; right: 0; bottom: 2px; left: 0; height: 2px; border-radius: 2px; background: var(--brand); content: ""; transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.public-nav a:hover { color: #267bab; }
.public-nav a:hover::after { transform: scaleX(1); }
.public-header .button { padding: 12px 20px; border-radius: 11px; font-size: 14px; box-shadow: 0 6px 16px rgba(45,123,176,.16); }

.vacancies-section { padding-top: 62px; padding-bottom: 72px; }
.vacancies-head { margin-bottom: 24px; }
.vacancies-controls { flex-direction: row; align-items: center; gap: 16px; }
.vacancies-count { padding: 10px 14px; background: #fff; box-shadow: 0 4px 14px rgba(34,68,94,.045); }
.vacancy-card { min-height: 316px; padding: 22px; }
.vacancy-card .vacancy-tags { min-height: 26px; margin-bottom: 10px; }
.vacancy-card h3 { min-height: 2.55em; margin-bottom: 7px; font-size: 19px; }
.vacancy-card > p { min-height: 3.1em; margin-bottom: 12px; }
.vacancy-salary { min-height: 72px; justify-content: center; margin-top: 2px; padding: 11px 13px; background: linear-gradient(135deg, #f5faff, #edf6fb); border-color: #dcecf5; }
.vacancy-salary-values { gap: 4px; }
.vacancy-salary strong { font-size: 16px; }
.vacancy-salary small { padding: 3px 7px; border-radius: 6px; background: #e6f1f7; color: #54738a; font-size: 12px; }
.vacancy-card .vacancy-info { margin: 10px 0 13px; padding-top: 8px; }
.vacancy-card .info-row { padding: 3px 0; }
.vacancy-card .vacancy-actions .button { padding: 10px 16px; }

.about-section { padding-top: 74px; padding-bottom: 76px; }
.about-grid { grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: clamp(44px, 8vw, 100px); }
.about-text h2 { color: #20354a; font-size: clamp(27px, 3vw, 34px); letter-spacing: -.025em; }
.about-lead { color: #425970; font-size: 17px; line-height: 1.65; }
.about-text p:not(.about-lead) { color: #687b8e; line-height: 1.75; }
.about-list { gap: 12px; }
.about-item { gap: 15px; padding: 17px 18px; border: 1px solid #e5edf3; border-radius: 14px; background: rgba(255,255,255,.72); transition: transform .18s ease, box-shadow .18s ease; }
.about-item:hover { transform: translateX(3px); box-shadow: 0 8px 20px rgba(36,68,92,.06); }
.about-num { display: grid; width: 32px; height: 32px; place-items: center; padding: 0; border-radius: 10px; background: #e9f5fb; font-size: 12px; }
.about-item h4 { color: #263e54; }
.about-item p { color: #718196; }

.why-section { padding: 76px 0 82px; background: linear-gradient(145deg, #eaf5fb, #f0f7fb); }
.why-section h2, .steps-section h2, .contacts-section h2 { color: #20354a; font-size: clamp(28px, 3vw, 34px); letter-spacing: -.03em; }
.why-section > .container > p { line-height: 1.65; }
.why-grid { gap: 14px; }
.why-card { min-height: 176px; padding: 22px; border-radius: 16px; box-shadow: 0 8px 22px rgba(37,67,91,.055); }
.why-num { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 25px; padding: 0 8px; border-radius: 8px; background: #edf6fb; color: #3783ad; font-size: 11px; font-weight: 700; }
.why-card h4 { margin-top: 15px; color: #263e54; font-size: 16px; }
.why-card p { color: #697c8f; line-height: 1.6; }

.steps-section { padding: 76px 0 84px; }
.steps-section h2 { margin-bottom: 30px; }
.steps-grid { gap: 14px; }
.step-card { min-height: 190px; padding: 22px; border-color: #e3ebf1; border-radius: 16px; box-shadow: 0 7px 20px rgba(37,67,91,.04); transition: transform .18s ease, box-shadow .18s ease; }
.step-card:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(37,67,91,.09); }
.step-badge { width: 34px; height: 34px; margin-bottom: 18px; background: #eaf5fb; color: #327da8; }
.step-card h4 { color: #263e54; }
.step-card p { color: #6b7d90; line-height: 1.6; }

.cta-section { position: relative; overflow: hidden; padding: 76px 0; background: radial-gradient(ellipse at 85% 10%, rgba(79,155,201,.18), transparent 42%), linear-gradient(120deg, #172943, #203c5a); }
.cta-grid { grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: clamp(40px, 8vw, 100px); }
.cta-text h2 { font-size: clamp(30px, 3vw, 38px); letter-spacing: -.03em; }
.cta-text > p { max-width: 550px; color: #d0dce7; font-size: 16px; line-height: 1.7; }
.cta-note { max-width: 520px; padding: 12px 0 12px 16px; border-left-width: 3px; border-radius: 0 8px 8px 0; background: rgba(255,255,255,.045); }
.cta-card { padding: 30px; border: 1px solid rgba(255,255,255,.6); border-radius: 18px; box-shadow: 0 18px 44px rgba(5,18,35,.2); }
.cta-card h3 { color: #243a50; font-size: 20px; }
.cta-card p { line-height: 1.6; }
.cta-card .button { padding: 13px 18px; }

.contacts-section { padding: 76px 0 82px; background: linear-gradient(180deg, #f7f9fc, #f0f5f9); }
.contacts-section > .container > p { margin-bottom: 30px; }
.contacts-grid { width: min(100%, 1000px); margin: 0 auto; gap: 16px; align-items: stretch; }
.contact-card { min-height: 96px; gap: 15px; padding: 18px 20px; border-color: #e0e9f0; border-radius: 16px; background: #fff; box-shadow: 0 7px 20px rgba(37,67,91,.045); }
.contact-icon { width: 44px; height: 44px; border-radius: 13px; background: #eaf5fb; color: #3284af; font-size: 12px; }
.contact-card div { gap: 4px; }
.contact-card strong { color: #263e54; font-size: 15px; }
.contact-card div span { color: #708196; font-size: 13px; }
.contact-arrow { display: grid; width: 30px; height: 30px; flex: 0 0 30px; place-items: center; border-radius: 50%; background: #f2f7fa; color: #4d7791; transition: transform .18s ease, background .18s ease; }
.contact-card:hover { border-color: #c6dfed; box-shadow: 0 12px 26px rgba(37,67,91,.09); }
.contact-card:hover .contact-arrow { transform: translateX(2px); background: #e7f3f9; }
.public-footer-dark { padding: 25px 0; }
.footer-inner { color: #b4c3d1; }

@media (max-width: 900px) {
    .public-header-inner { min-height: 70px; gap: 20px; }
    .public-logo-mark { height: 52px; }
    .public-header .button { padding: 11px 15px; }
    .vacancy-card { min-height: 330px; }
    .about-grid { gap: 34px; }
    .contacts-grid { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
}
@media (max-width: 600px) {
    .public-header-inner { min-height: 64px; gap: 10px; }
    .public-logo { gap: 7px; }
    .public-logo-mark { height: 44px; }
    .public-logo-copy strong { font-size: 17px; }
    .public-logo-copy small { font-size: 8px; }
    .public-header .button { padding: 10px 12px; font-size: 12px; }
    .vacancies-controls { justify-content: flex-start; }
    .vacancy-card { min-height: 0; }
    .vacancy-card h3, .vacancy-card > p { min-height: 0; }
    .about-section, .why-section, .steps-section, .contacts-section { padding-top: 54px; padding-bottom: 58px; }
    .about-grid { gap: 28px; }
    .why-card, .step-card { min-height: 0; }
    .cta-section { padding: 56px 0; }
    .cta-grid { grid-template-columns: 1fr; gap: 28px; }
    .cta-card { padding: 23px; }
    .contacts-grid { grid-template-columns: 1fr; gap: 11px; }
    .contact-card { min-height: 82px; }
}

/* Фиксированная внутренняя сетка карточек: одинаковые уровни и действия */
.vacancies-track { align-items: stretch; }
.vacancy-card {
    display: grid;
    grid-template-rows: 28px 2.65em 3.2em 76px 1fr 40px;
    row-gap: 8px;
    min-height: 350px;
}
.vacancy-card .vacancy-tags { min-height: 0; height: 28px; margin: 0; flex-wrap: nowrap; }
.vacancy-card .tag-lang { max-width: 68%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vacancy-card .tag-channel { flex: 0 0 auto; white-space: nowrap; }
.vacancy-card h3 {
    display: -webkit-box;
    min-height: 0;
    height: 2.65em;
    margin: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.vacancy-card > p {
    display: -webkit-box;
    min-height: 0;
    height: 3.2em;
    margin: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.vacancy-card .vacancy-salary { height: 76px; min-height: 76px; margin: 0; align-self: stretch; }
.vacancy-card .vacancy-info { align-self: stretch; margin: 0; padding-top: 7px; }
.vacancy-card .vacancy-actions { min-height: 40px; align-self: end; }

/* О компании: собранная двухколоночная композиция без ощущения разрозненности */
.about-section { position: relative; background: #fff; }
.about-grid { align-items: center; }
.about-text { max-width: 650px; }
.about-text .section-label { margin-bottom: 13px; }
.about-text h2 { max-width: 540px; margin-bottom: 18px; font-size: clamp(30px, 3.3vw, 38px); line-height: 1.15; }
.about-lead { margin-bottom: 20px; }
.about-text p:not(.about-lead) { font-size: 15px; }
.about-list { position: relative; gap: 14px; }
.about-item { min-height: 94px; align-items: flex-start; padding: 19px 20px; }
.about-item > div { padding-top: 2px; }
.about-item h4 { margin-bottom: 6px; font-size: 16px; }
.about-item p { font-size: 14px; line-height: 1.55; }

/* Преимущества и этапы: карточки с общей высотой и более ясным ритмом */
.why-section { padding-top: 84px; padding-bottom: 88px; }
.why-section h2, .steps-section h2 { margin-top: 8px; margin-bottom: 14px; font-size: clamp(30px, 3.3vw, 38px); }
.why-section > .container > p { margin-bottom: 38px; font-size: 15px; }
.why-grid { align-items: stretch; gap: 16px; }
.why-card { display: flex; min-height: 205px; flex-direction: column; align-items: flex-start; padding: 24px; }
.why-card h4 { margin: 18px 0 8px; font-size: 17px; }
.why-card p { font-size: 14px; line-height: 1.65; }
.steps-section { padding-top: 84px; padding-bottom: 90px; background: #f7f9fc; }
.steps-section h2 { margin-bottom: 36px; }
.steps-grid { align-items: stretch; gap: 16px; }
.step-card { min-height: 210px; padding: 24px; }
.step-badge { width: 38px; height: 38px; margin-bottom: 20px; font-size: 15px; }
.step-card h4 { min-height: 2.6em; margin-bottom: 8px; font-size: 16px; line-height: 1.35; }
.step-card p { font-size: 14px; line-height: 1.6; }

@media (max-width: 900px) {
    .vacancy-card { min-height: 350px; }
    .why-card { min-height: 185px; }
    .step-card { min-height: 195px; }
}
@media (max-width: 600px) {
    .vacancy-card { min-height: 0; grid-template-rows: 28px auto auto 76px auto 40px; row-gap: 8px; }
    .vacancy-card h3 { height: auto; min-height: 0; max-height: 2.65em; }
    .vacancy-card > p { height: auto; min-height: 0; max-height: 3.2em; }
    .about-section { padding-top: 56px; padding-bottom: 58px; }
    .about-item { min-height: 0; }
    .why-section { padding-top: 60px; padding-bottom: 62px; }
    .why-card, .step-card { min-height: 0; }
    .steps-section { padding-top: 60px; padding-bottom: 64px; }
    .step-card h4 { min-height: 0; }
}

/* Более плотная подача: убираем декоративную высоту и оставляем контенту вести ритм */
.vacancies-section { padding-top: 48px; padding-bottom: 48px; }
.vacancies-head { margin-bottom: 20px; }
.vacancy-card {
    grid-template-rows: 28px 2.65em 3.2em 72px auto 40px;
    min-height: 0;
    padding: 19px;
    row-gap: 7px;
}
.vacancy-card .vacancy-salary { height: 72px; min-height: 72px; padding: 9px 12px; }
.vacancy-card .vacancy-info { padding-top: 6px; }
.vacancy-card .vacancy-actions { margin: 0; }
.about-section { padding-top: 58px; padding-bottom: 60px; }
.about-grid { gap: clamp(34px, 6vw, 72px); }
.about-text h2 { font-size: clamp(28px, 3vw, 34px); }
.about-text p:not(.about-lead) { margin-bottom: 11px; font-size: 14px; line-height: 1.65; }
.about-lead { font-size: 16px; line-height: 1.6; }
.about-list { gap: 10px; }
.about-item { min-height: 0; padding: 15px 17px; }
.about-item h4 { margin-bottom: 4px; font-size: 15px; }
.about-item p { font-size: 14px; }
.why-section { padding: 58px 0 62px; }
.why-section h2, .steps-section h2 { font-size: clamp(27px, 3vw, 33px); }
.why-section > .container > p { margin-bottom: 25px; font-size: 14px; }
.why-grid { gap: 12px; }
.why-card { min-height: 0; padding: 19px; }
.why-card h4 { margin: 13px 0 6px; font-size: 16px; }
.why-card p { font-size: 14px; line-height: 1.55; }
.steps-section { padding: 58px 0 64px; }
.steps-section h2 { margin-bottom: 24px; }
.steps-grid { gap: 12px; }
.step-card { min-height: 0; padding: 19px; }
.step-badge { width: 32px; height: 32px; margin-bottom: 13px; font-size: 14px; }
.step-card h4 { min-height: 0; margin-bottom: 6px; font-size: 15px; }
.step-card p { font-size: 14px; line-height: 1.55; }

@media (max-width: 900px) {
    .vacancy-card { min-height: 0; }
}
@media (max-width: 600px) {
    .vacancy-card { grid-template-rows: 28px auto auto 72px auto 40px; }
    .about-section, .why-section, .steps-section { padding-top: 46px; padding-bottom: 48px; }
}

/* О компании: связный рассказ слева и подробные опорные пункты справа */
.about-section { background: linear-gradient(145deg, #f8fbfd 0%, #f1f7fa 100%); }
.about-grid { grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr); gap: clamp(34px, 5vw, 64px); }
.about-text { max-width: 700px; }
.about-text h2 { max-width: 610px; margin-bottom: 18px; font-size: clamp(30px, 3.3vw, 38px); line-height: 1.18; }
.about-lead { margin-bottom: 15px; color: #40586f; font-size: 16px; line-height: 1.75; }
.about-text p:not(.about-lead) { margin-bottom: 16px; color: #5b6f83; font-size: 15px; line-height: 1.8; }
.about-text .link-arrow { margin-top: 0; font-size: 15px; }
.about-list { gap: 12px; }
.about-item { min-height: 96px; align-items: flex-start; padding: 18px 19px; border-color: #e0eaf1; border-radius: 15px; background: rgba(255,255,255,.9); box-shadow: 0 5px 16px rgba(40,72,96,.035); }
.about-num { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 11px; font-size: 12px; }
.about-item h4 { margin: 1px 0 6px; color: #2b4359; font-size: 16px; }
.about-item p { color: #62768a; font-size: 14px; line-height: 1.65; }

/* Единая сетка условий внутри каждой вакансии */
.vacancy-quick-facts { grid-auto-rows: minmax(82px, auto); align-items: stretch; }
.vacancy-quick-facts > div { min-width: 0; justify-content: space-between; }
.vacancy-quick-facts strong { overflow-wrap: normal; word-break: normal; }
.quick-fact-values { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.vacancy-quick-facts .quick-fact-salary { justify-content: space-between; }
.vacancy-quick-facts .quick-fact-salary small { color: #668096; font-size: 12px; font-weight: 600; line-height: 1.35; }
.vacancy-extra-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin-top: 12px;
}
.vacancy-extra-facts > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 5px;
    padding: 11px 13px;
    border: 1px solid #e6eef4;
    border-radius: 11px;
    background: rgba(244,248,251,.8);
}
.vacancy-extra-facts > div > span { color: #6b7f92; font-size: 12px; }
.vacancy-extra-facts > div > strong { color: #354b61; font-size: 13px; font-weight: 600; line-height: 1.45; }
@media (max-width: 600px) {
    .vacancy-quick-facts { grid-auto-rows: minmax(78px, auto); }
    .vacancy-extra-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vacancy-extra-facts > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 28px; }
    .about-text { max-width: 760px; }
}

/* Детали вакансии: цельный рассказ и заметная иерархия условий */
.vacancy-company-block { background: linear-gradient(135deg, #f1f8fc, #fff) !important; border-color: #dcebf4 !important; }
.vacancy-company-lead { margin-bottom: 10px !important; color: #3d5870 !important; font-size: 16px !important; font-weight: 600; line-height: 1.6 !important; }
.vacancy-company-block .vacancy-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px 24px; }
.vacancy-company-block .vacancy-list li { margin: 0 0 3px; }
.vacancy-details-grid .vacancy-block h2 { display: flex; align-items: center; gap: 9px; }
.vacancy-details-grid .vacancy-block h2::before { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #56a7cf; content: ""; }
.vacancy-card h3 { font-size: 18px; }
.vacancy-card { grid-template-rows: 28px 3.95em 3.2em 72px auto 40px; }
.vacancy-card h3 { height: 3.95em; -webkit-line-clamp: 3; }
@media (max-width: 600px) {
    .vacancy-company-block .vacancy-list { grid-template-columns: 1fr; gap: 0; }
    .vacancy-card { grid-template-rows: 28px auto auto 72px auto 40px; }
    .vacancy-card h3 { height: auto; max-height: 3.95em; -webkit-line-clamp: 3; }
}

/* Условия вакансии как единая панель, а не набор маленьких карточек */
.vacancy-conditions {
    margin-top: 24px;
    overflow: hidden;
    border: 1px solid #dfe9f0;
    border-radius: 14px;
    background: #f3f7fa;
}
.vacancy-conditions .vacancy-quick-facts {
    grid-auto-rows: minmax(82px, auto);
    gap: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}
.vacancy-conditions .vacancy-quick-facts > div {
    justify-content: space-between;
    gap: 7px;
    min-width: 0;
    padding: 14px 16px;
    border: 0;
    border-right: 1px solid #dfe9f0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.vacancy-conditions .vacancy-quick-facts > div:last-child { border-right: 0; }
.vacancy-conditions .vacancy-quick-facts span,
.vacancy-conditions .vacancy-extra-facts > div > span { color: #718397; font-size: 12px; }
.vacancy-conditions .quick-fact-values { gap: 3px; }
.vacancy-conditions .quick-fact-values small { color: #657d91; font-size: 12px; font-weight: 600; }
.vacancy-conditions .vacancy-extra-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 0;
    border-top: 1px solid #dfe9f0;
    background: rgba(255,255,255,.42);
}
.vacancy-conditions .vacancy-extra-facts > div {
    justify-content: center;
    gap: 5px;
    min-width: 0;
    min-height: 62px;
    padding: 10px 16px;
    border: 0;
    border-right: 1px solid #e2eaf0;
    border-radius: 0;
    background: transparent;
}
.vacancy-conditions .vacancy-extra-facts > div:last-child { border-right: 0; }
.vacancy-conditions .vacancy-extra-facts > div > strong { color: #344c62; font-size: 13px; line-height: 1.45; }
@media (max-width: 600px) {
    .vacancy-conditions .vacancy-quick-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(76px, auto); }
    .vacancy-conditions .vacancy-quick-facts > div { border-bottom: 1px solid #dfe9f0; }
    .vacancy-conditions .vacancy-quick-facts > div:nth-child(2n) { border-right: 0; }
    .vacancy-conditions .vacancy-quick-facts > div:nth-last-child(-n+2) { border-bottom: 0; }
    .vacancy-conditions .vacancy-extra-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vacancy-conditions .vacancy-extra-facts > div { min-height: 60px; padding: 10px 12px; }
    .vacancy-conditions .vacancy-extra-facts > div:nth-child(2) { border-right: 0; }
    .vacancy-conditions .vacancy-extra-facts > div:last-child { grid-column: 1 / -1; border-top: 1px solid #e2eaf0; border-right: 0; }
}

/* Страница вакансии: удобный кегль и контраст для чтения условий */
.vacancy-page { padding-top: 46px; }
.vacancy-page-inner { gap: 28px; }
.vacancy-hero-card { padding: 30px 32px 26px; }
.vacancy-eyebrow { margin-bottom: 14px; font-size: 12px; letter-spacing: .13em; }
.vacancy-hero-card .tag-lang { padding: 6px 11px; font-size: 12px; }
.vacancy-hero-card .tag-channel { font-size: 14px; }
.vacancy-page-main h1 { margin-bottom: 20px; font-size: clamp(32px, 3.4vw, 42px); line-height: 1.16; }
.vacancy-quick-facts { gap: 10px; margin-top: 24px; }
.vacancy-quick-facts > div { gap: 7px; padding: 15px 16px; }
.vacancy-quick-facts span { color: #62758a; font-size: 13px; }
.vacancy-quick-facts strong { color: #293d52; font-size: 16px; line-height: 1.4; }
.vacancy-quick-facts .quick-fact-salary small { font-size: 13px; }
.vacancy-extra-facts { gap: 10px 22px; margin-top: 16px; color: #63758a; font-size: 13px; line-height: 1.6; }
.vacancy-extra-facts strong { color: #354b61; }
.vacancy-details-grid { gap: 14px; margin-top: 14px; }
.vacancy-details-grid .vacancy-block { padding: 21px 22px; border-color: #e2eaf1; border-radius: 14px; box-shadow: 0 5px 16px rgba(37,67,91,.035); }
.vacancy-details-grid .vacancy-block h2 { margin-bottom: 11px; color: #36536c; font-size: 15px; font-weight: 700; }
.vacancy-details-grid .vacancy-block p,
.vacancy-details-grid .vacancy-list li { color: #43566b; font-size: 16px; line-height: 1.75; }
.vacancy-details-grid .vacancy-list { margin: 0; padding: 0; list-style: none; }
.vacancy-details-grid .vacancy-list li { margin: 0; padding: 0; }
.vacancy-details-grid .vacancy-list li + li { margin-top: 8px; }
.vacancy-details-grid .vacancy-block-highlight { background: linear-gradient(135deg, #edf7fc, #f6fbfe); border-color: #d7eaf5; }
.vacancy-side-card { padding: 24px; }
.vacancy-cta-title { font-size: 18px; line-height: 1.4; }
.vacancy-cta-text { font-size: 15px !important; line-height: 1.65 !important; }
.vacancy-side-card .button { padding: 12px 16px; font-size: 14px; }

@media (max-width: 900px) {
    .vacancy-page { padding-top: 30px; }
    .vacancy-hero-card { padding: 26px; }
    .vacancy-details-grid .vacancy-block { padding: 19px; }
}
@media (max-width: 600px) {
    .vacancy-page { padding-top: 20px; }
    .vacancy-hero-card { padding: 21px 18px; }
    .vacancy-page-main h1 { font-size: 30px; }
    .vacancy-quick-facts > div { padding: 12px; }
    .vacancy-quick-facts strong { font-size: 15px; }
    .vacancy-details-grid .vacancy-block { padding: 17px; }
    .vacancy-details-grid .vacancy-block p,
    .vacancy-details-grid .vacancy-list li { font-size: 15px; }
}

/* Кандидаты: простой поиск и дополнительные фильтры по запросу */
.candidate-search-panel { margin: 0 0 18px; padding: 17px 19px; border: 1px solid #e2eaf1; border-radius: 15px; background: #fff; box-shadow: 0 5px 18px rgba(37,67,91,.045); }
.candidate-main-filters { display: grid; grid-template-columns: minmax(250px, 1fr) minmax(190px, .6fr) auto auto; align-items: end; gap: 12px; }
.candidate-main-filters label, .candidate-extra-grid label { display: flex; min-width: 0; flex-direction: column; gap: 6px; margin: 0; color: #53677c; font-size: 12px; font-weight: 650; }
.candidate-main-filters input, .candidate-main-filters select, .candidate-extra-grid input, .candidate-extra-grid select { width: 100%; min-width: 0; height: 42px; padding: 0 12px; border: 1px solid #dce5ec; border-radius: 10px; background: #fff; color: #24394e; font: inherit; font-size: 13px; }
.candidate-main-filters input:focus, .candidate-main-filters select:focus, .candidate-extra-grid input:focus, .candidate-extra-grid select:focus { outline: 3px solid rgba(63,155,214,.13); border-color: #64add2; }
.candidate-search-button { height: 42px; padding: 0 20px; white-space: nowrap; }
.candidate-clear-link { display: flex; height: 42px; align-items: center; padding: 0 4px; color: #6c7e90; font-size: 13px; white-space: nowrap; }
.candidate-clear-link:hover { color: #177eae; }
.candidate-extra-filters { margin-top: 15px; border-top: 1px solid #edf1f4; }
.candidate-extra-filters > summary { display: flex; min-height: 42px; align-items: center; justify-content: space-between; gap: 12px; color: #40566c; font-size: 13px; font-weight: 650; cursor: pointer; list-style: none; }
.candidate-extra-filters > summary::-webkit-details-marker { display: none; }
.candidate-extra-filters > summary::after { content: "⌄"; margin-left: auto; color: #71869a; font-size: 17px; }
.candidate-extra-filters[open] > summary::after { content: "⌄"; }
.candidate-filter-count { padding: 4px 9px; border-radius: 99px; background: #eaf6fc; color: #267ca5; font-size: 11px; font-weight: 600; }
.candidate-extra-grid { display: grid; grid-template-columns: repeat(4, minmax(140px, 1fr)); gap: 12px; padding: 8px 0 15px; }
.candidate-export-row { display: flex; align-items: center; gap: 8px; padding-top: 13px; border-top: 1px solid #edf1f4; }
.candidate-export-row > span { margin-right: 5px; color: #748497; font-size: 12px; }
.candidate-export-row .button { min-height: 36px; padding: 0 14px; border-color: #dce6ed; border-radius: 9px; font-size: 12px; }
.candidate-results-panel { min-width: 0; padding: 19px 20px 12px; }
.candidate-results-heading { display: flex; align-items: center; justify-content: space-between; margin: 0 0 10px; }
.candidate-results-heading h2 { margin: 0; color: #1e344a; font-size: 17px; }
.candidate-results-heading p { margin: 4px 0 0; color: #7b8998; font-size: 12px; }
.candidate-table-scroll { overflow-x: auto; }
.candidate-table { min-width: 920px; font-size: 13px; }
.candidate-table th { padding: 11px 10px; color: #8794a1; font-size: 10px; letter-spacing: .045em; white-space: nowrap; }
.candidate-table td { padding: 12px 10px; color: #40546a; vertical-align: middle; }
.candidate-table tbody tr:hover td { background: #f8fbfd; }
.candidate-name-cell { display: flex; min-width: 210px; align-items: center; gap: 10px; }
.candidate-list-avatar { display: grid; width: 36px; height: 36px; flex: 0 0 36px; place-items: center; border-radius: 11px; background: #eaf5fb; color: #2587b5; font-size: 14px; font-weight: 750; }
.candidate-name-cell > span:last-child { display: grid; gap: 3px; min-width: 0; }
.candidate-name-cell strong { color: #293e53; font-size: 13px; font-weight: 700; }
.candidate-name-cell small, .candidate-country-cell { color: #8794a1; font-size: 11px; }
.candidate-name-cell em { color: #b56a24; font-size: 10px; font-style: normal; }
.candidate-vacancy-cell { max-width: 200px; line-height: 1.45; }
.candidate-country-cell { display: block; margin-top: 3px; }
.candidate-source-pill { display: inline-flex; padding: 5px 8px; border-radius: 99px; background: #f2f6f8; color: #607489; font-size: 11px; white-space: nowrap; }
.candidate-date-cell { color: #708095 !important; white-space: nowrap; }
.candidate-open-button { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border: 1px solid #d8e8f1; border-radius: 8px; background: #f5fafd; color: #277da5; font-size: 11px; white-space: nowrap; }
.candidate-open-button:hover { border-color: #a7d0e4; background: #edf7fc; }
.candidate-table .badge { padding: 5px 9px; font-size: 11px; }
.candidate-table .empty-row { padding: 40px 16px; color: #728397; font-size: 13px; }
@media (max-width: 900px) {
    .candidate-main-filters { grid-template-columns: minmax(220px, 1fr) minmax(180px, .7fr) auto; }
    .candidate-clear-link { grid-column: 3; grid-row: 2; height: 30px; justify-content: center; }
    .candidate-extra-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .candidate-search-panel { padding: 14px; }
    .candidate-main-filters { grid-template-columns: 1fr auto; gap: 10px; }
    .candidate-search-field, .candidate-status-field { grid-column: 1 / -1; }
    .candidate-search-button { grid-column: 1; justify-self: start; }
    .candidate-clear-link { grid-column: 2; grid-row: 3; justify-content: flex-end; }
    .candidate-extra-grid { grid-template-columns: 1fr; }
    .candidate-export-row { flex-wrap: wrap; }
    .candidate-results-panel { padding: 15px 12px 9px; }
}

/* Карточка кандидата: профиль, детали и действия с ясной иерархией */
.candidate-profile-hero { display: flex; align-items: center; gap: 18px; margin: 0 0 17px; padding: 22px 24px; border: 1px solid #dce8f0; border-radius: 17px; background: linear-gradient(115deg, #fff 0%, #f4f9fc 100%); box-shadow: 0 6px 20px rgba(37,67,91,.045); }
.candidate-profile-avatar { display: grid; width: 64px; height: 64px; flex: 0 0 64px; place-items: center; border: 1px solid #d7eaf4; border-radius: 19px; background: linear-gradient(145deg, #e9f6fc, #d9eff9); color: #2585b1; font-size: 27px; font-weight: 750; }
.candidate-profile-heading { min-width: 0; flex: 1; }
.candidate-profile-heading .dashboard-eyebrow { margin: 0 0 6px; color: #398bb2; font-size: 10px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.candidate-profile-heading h1 { margin: 0; color: #20364d; font-size: clamp(23px, 2.5vw, 29px); letter-spacing: -.025em; line-height: 1.2; }
.candidate-profile-heading > p:not(.dashboard-eyebrow) { margin: 5px 0 9px; color: #6b7e91; font-size: 13px; }
.candidate-contact-links { display: flex; flex-wrap: wrap; gap: 8px; }
.candidate-contact-links a { display: inline-flex; min-height: 27px; align-items: center; padding: 4px 9px; border: 1px solid #e2ebf1; border-radius: 8px; background: rgba(255,255,255,.78); color: #3f6079; font-size: 12px; }
.candidate-profile-status { align-self: flex-start; margin-left: 8px; padding: 7px 11px; font-size: 11px; }
.candidate-profile-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(270px, 310px); align-items: start; gap: 16px; }
.candidate-profile-main, .candidate-profile-aside { display: grid; min-width: 0; gap: 14px; }
.candidate-profile-panel, .candidate-status-panel, .candidate-related-panel { min-width: 0; margin: 0; padding: 20px 21px; border: 1px solid #e2eaf0; border-radius: 15px; box-shadow: 0 5px 17px rgba(37,67,91,.04); }
.candidate-section-title { display: flex; align-items: center; justify-content: space-between; gap: 13px; margin-bottom: 15px; }
.candidate-section-title h2 { margin: 0; color: #2c4359; font-size: 16px; letter-spacing: -.01em; }
.candidate-section-title p { margin: 4px 0 0; color: #8190a0; font-size: 12px; line-height: 1.45; }
.candidate-facts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.candidate-facts-grid > div { display: flex; min-width: 0; flex-direction: column; gap: 5px; padding: 12px 13px; border: 1px solid #e8eef3; border-radius: 11px; background: #f8fafc; }
.candidate-facts-grid span, .candidate-about-block > span, .candidate-answer-item > strong, .candidate-check-row > div > span { color: #7b8a99; font-size: 11px; font-weight: 600; }
.candidate-facts-grid strong { overflow-wrap: anywhere; color: #324a60; font-size: 13px; font-weight: 650; line-height: 1.45; }
.candidate-about-block { margin-top: 12px; padding: 13px 14px; border-radius: 11px; background: #f4f8fa; }
.candidate-about-block p { margin: 6px 0 0; color: #4f6478; font-size: 13px; line-height: 1.65; white-space: pre-line; }
.candidate-edit-details { margin-top: 14px; border-top: 1px solid #e9eef2; }
.candidate-edit-details > summary { display: flex; min-height: 43px; align-items: center; color: #267fa8; font-size: 12px; font-weight: 700; cursor: pointer; list-style: none; }
.candidate-edit-details > summary::-webkit-details-marker { display: none; }
.candidate-edit-details > summary::after { content: "⌄"; margin-left: auto; color: #8091a1; font-size: 16px; }
.candidate-edit-details[open] > summary::after { content: "⌄"; }
.candidate-edit-form { display: grid; gap: 2px; padding-top: 8px; }
.candidate-edit-form .form-group { min-width: 0; }
.candidate-edit-form input, .candidate-edit-form select, .candidate-edit-form textarea { width: 100%; }
.candidate-edit-form .form-row { gap: 13px; }
.candidate-edit-form > button { justify-self: start; margin-top: 3px; }
.candidate-check-summary { display: inline-flex; flex: 0 0 auto; padding: 6px 9px; border-radius: 99px; background: #f0f3f5; color: #637487; font-size: 10px; font-weight: 700; }
.candidate-check-pass { background: #e8f7ef; color: #278050 !important; }
.candidate-check-fail { background: #fff0ed; color: #b55342 !important; }
.candidate-check-review { background: #fff6e6; color: #a8731e !important; }
.candidate-check-note { margin: -5px 0 12px; color: #8b5e31; font-size: 12px; line-height: 1.55; }
.candidate-check-list { display: grid; gap: 8px; }
.candidate-check-row { display: grid; grid-template-columns: minmax(150px, .8fr) minmax(130px, 1fr) minmax(130px, 1fr); gap: 12px; padding: 12px; border: 1px solid #e8eef2; border-radius: 11px; background: #fcfdfe; }
.candidate-check-row > div { display: grid; align-content: start; gap: 5px; min-width: 0; }
.candidate-check-question strong { color: #354c62; font-size: 12px; line-height: 1.5; }
.candidate-check-question span { width: fit-content; font-size: 10px; font-weight: 650; line-height: 1.4; }
.candidate-check-row > div > p { margin: 0; overflow-wrap: anywhere; color: #51677b; font-size: 12px; line-height: 1.5; }
.candidate-muted-message { margin: 0; color: #8291a0; font-size: 12px; line-height: 1.55; }
.candidate-answer-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.candidate-answer-item { min-width: 0; padding: 12px 13px; border: 1px solid #e8eef3; border-radius: 11px; background: #fbfcfd; }
.candidate-answer-item p { margin: 6px 0 0; overflow-wrap: anywhere; color: #465e73; font-size: 13px; line-height: 1.55; white-space: pre-line; }
.candidate-status-panel form { display: grid; gap: 2px; }
.candidate-status-panel .form-group { margin: 0 0 8px; }
.candidate-status-panel label { color: #748598; font-size: 11px; }
.candidate-status-panel select { width: 100%; min-height: 42px; border-color: #dce6ed; font-size: 13px; }
.candidate-status-panel .button { justify-self: start; min-height: 38px; padding: 0 15px; font-size: 12px; }
.candidate-side-facts { display: grid; gap: 11px; }
.candidate-side-facts > div { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.candidate-side-facts > div > span { color: #8190a0; font-size: 11px; }
.candidate-side-facts > div > strong { max-width: 60%; color: #43596e; font-size: 12px; font-weight: 650; line-height: 1.45; text-align: right; }
.candidate-resume-link { display: flex; min-height: 38px; align-items: center; justify-content: space-between; margin-top: 3px; padding: 0 11px; border: 1px solid #dceaf2; border-radius: 9px; background: #f5fafc; color: #267fa8; font-size: 12px; font-weight: 700; }
.candidate-status-history { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.candidate-status-history li { position: relative; display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 9px; padding-bottom: 14px; }
.candidate-status-history li:not(:last-child)::after { position: absolute; top: 12px; bottom: 0; left: 5px; width: 1px; background: #e2eaf0; content: ""; }
.candidate-history-dot { z-index: 1; width: 11px; height: 11px; margin-top: 2px; border: 2px solid #70b7d8; border-radius: 50%; background: #fff; }
.candidate-status-history li > div { display: grid; gap: 4px; min-width: 0; }
.candidate-status-history li strong { color: #465c71; font-size: 11px; font-weight: 650; line-height: 1.45; }
.candidate-status-history li time { color: #8a98a6; font-size: 10px; }
.candidate-status-history .candidate-history-empty { display: block; padding: 3px 0 0; color: #8795a3; font-size: 12px; }
.candidate-related-panel { margin-bottom: 13px; }
.candidate-related-panel .candidate-section-title { margin-bottom: 8px; }
.candidate-duplicate-panel { border-color: #f0e3ce; background: #fffdfa; }
.candidate-related-list { display: grid; }
.candidate-related-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 16px; align-items: center; gap: 11px; padding: 10px 0; border-top: 1px solid #edf1f4; }
.candidate-related-row > span:first-child { display: grid; gap: 3px; min-width: 0; }
.candidate-related-row strong { overflow: hidden; color: #354c62; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.candidate-related-row small { overflow: hidden; color: #8492a0; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.candidate-related-row > span:last-child { color: #5c9fbe; }
@media (max-width: 900px) {
    .candidate-profile-grid { grid-template-columns: minmax(0, 1fr) 260px; }
    .candidate-check-row { grid-template-columns: 1fr 1fr; }
    .candidate-check-question { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
    .candidate-profile-hero { align-items: flex-start; flex-wrap: wrap; padding: 18px; }
    .candidate-profile-avatar { width: 52px; height: 52px; flex-basis: 52px; border-radius: 15px; font-size: 23px; }
    .candidate-profile-heading { flex-basis: calc(100% - 75px); }
    .candidate-profile-heading h1 { font-size: 23px; }
    .candidate-profile-status { margin: 0 0 0 69px; }
    .candidate-profile-grid { grid-template-columns: 1fr; }
    .candidate-profile-aside { grid-row: 1; }
    .candidate-profile-main { grid-row: 2; }
    .candidate-profile-aside { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
    .candidate-profile-aside > .candidate-profile-panel:last-child { grid-column: 1 / -1; }
    .candidate-profile-panel, .candidate-status-panel { padding: 17px; }
}
@media (max-width: 500px) {
    .candidate-profile-aside { grid-template-columns: 1fr; }
    .candidate-profile-aside > .candidate-profile-panel:last-child { grid-column: 1; }
    .candidate-facts-grid, .candidate-answer-list { grid-template-columns: 1fr; }
    .candidate-check-row { grid-template-columns: 1fr; }
    .candidate-check-question { grid-column: auto; }
    .candidate-profile-status { margin-left: 0; }
    .candidate-section-title { align-items: flex-start; }
    .candidate-related-row { grid-template-columns: minmax(0, 1fr) auto 12px; gap: 6px; }
}

/* Современные календарь и выбор времени для расписания */
.modern-date-picker, .modern-time-picker { position: relative; min-width: 0; }
.modern-picker-display, .modern-time-trigger { width: 100%; height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 12px; border: 1px solid #d9e4ec; border-radius: 10px; background: #fff; color: #32485e; font: inherit; font-size: 13px; text-align: left; transition: border-color .16s ease, box-shadow .16s ease, background .16s ease; }
.modern-picker-display { padding-right: 40px; cursor: pointer; }
.modern-picker-display::placeholder, .modern-time-trigger [data-time-label] { color: #8b99a7; }
.modern-picker-display:focus, .modern-time-trigger:focus { outline: 0; border-color: #68b4d8; box-shadow: 0 0 0 3px rgba(63,155,214,.14); }
.modern-picker-display[aria-invalid="true"], .modern-time-trigger[aria-invalid="true"] { border-color: #d77969; box-shadow: 0 0 0 3px rgba(215,121,105,.13); }
.modern-picker-icon { position: absolute; top: 0; right: 0; display: grid; width: 40px; height: 42px; place-items: center; border: 0; border-radius: 0 10px 10px 0; background: transparent; color: #7290a4; cursor: pointer; }
.modern-picker-icon:hover { color: #2186b5; background: #f3f9fc; }
.modern-picker-icon svg, .modern-time-trigger svg { width: 17px; height: 17px; flex: 0 0 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.modern-time-trigger { cursor: pointer; }
.modern-time-trigger:hover { border-color: #aacbdd; background: #fbfdfe; }
.modern-time-trigger svg { color: #7290a4; }
.modern-date-popover, .modern-time-popover { position: absolute; z-index: 50; top: calc(100% + 8px); left: 0; border: 1px solid #dfe8ef; border-radius: 15px; background: #fff; box-shadow: 0 16px 38px rgba(28,52,72,.17); }
.modern-date-popover[hidden], .modern-time-popover[hidden] { display: none !important; }
.modern-date-popover { width: 292px; padding: 14px; }
.modern-calendar-heading { display: grid; grid-template-columns: 34px 1fr 34px; align-items: center; gap: 6px; margin-bottom: 12px; }
.modern-calendar-heading strong { color: #263e53; font-size: 14px; font-weight: 700; text-align: center; text-transform: capitalize; }
.modern-calendar-heading button { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid #e5edf2; border-radius: 9px; background: #f8fbfd; color: #547086; font-size: 21px; line-height: 1; cursor: pointer; }
.modern-calendar-heading button:hover { border-color: #c7e2ef; background: #eff8fc; color: #2186b5; }
.modern-calendar-weekdays, .modern-calendar-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.modern-calendar-weekdays { margin-bottom: 5px; }
.modern-calendar-weekdays span { padding: 5px 0; color: #8b99a6; font-size: 10px; font-weight: 700; }
.modern-calendar-day { display: grid; aspect-ratio: 1; place-items: center; border: 1px solid transparent; border-radius: 9px; background: transparent; color: #40566b; font: inherit; font-size: 12px; cursor: pointer; }
.modern-calendar-day:hover { border-color: #cce6f1; background: #eff8fc; color: #167eae; }
.modern-calendar-day.is-outside-month { color: #b4bec7; }
.modern-calendar-day.is-today { border-color: #a8d4e7; color: #167eae; font-weight: 750; }
.modern-calendar-day.is-selected { border-color: #2c95c5; background: #258fbe; color: #fff; font-weight: 750; box-shadow: 0 3px 8px rgba(37,143,190,.22); }
.modern-calendar-footer { display: flex; justify-content: space-between; margin-top: 11px; padding-top: 10px; border-top: 1px solid #edf1f4; }
.modern-calendar-footer button { padding: 5px 7px; border: 0; border-radius: 7px; background: transparent; color: #3486ad; font: inherit; font-size: 11px; font-weight: 650; cursor: pointer; }
.modern-calendar-footer button:hover { background: #eff8fc; }
.modern-time-popover { display: grid; width: 226px; max-height: 236px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; overflow-y: auto; padding: 9px; }
.modern-time-popover button { min-height: 33px; border: 1px solid transparent; border-radius: 8px; background: #f7fafc; color: #4b6074; font: inherit; font-size: 12px; cursor: pointer; }
.modern-time-popover button:hover { border-color: #cde6f1; background: #eff8fc; color: #167eae; }
.modern-time-popover button.is-selected { border-color: #48a2cc; background: #e8f5fb; color: #167eae; font-weight: 750; }
.modern-date-popover, .modern-time-popover { scrollbar-color: #c4dce8 #f5f8fa; scrollbar-width: thin; }
@media (max-width: 480px) {
    .modern-date-popover { width: min(292px, calc(100vw - 54px)); }
    .modern-time-popover { width: min(226px, calc(100vw - 54px)); }
}

/* Редактор вакансии: разделы формы и предпросмотр рядом */
.vacancy-editor-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; margin: 0 0 16px; }
.vacancy-editor-intro h1 { margin: 0 0 6px; color: #1e344a; font-size: clamp(24px, 2.6vw, 31px); letter-spacing: -.03em; }
.vacancy-editor-intro > div > p:last-child { max-width: 670px; margin: 0; color: #748497; font-size: 13px; line-height: 1.55; }
.vacancy-editor-back { flex: 0 0 auto; padding: 10px 13px; border: 1px solid #dce7ee; border-radius: 9px; background: #fff; color: #4b6a82; font-size: 12px; font-weight: 650; }
.vacancy-editor-back:hover { border-color: #b9dbea; color: #2186b5; }
.vacancy-editor-shortcuts { position: sticky; z-index: 8; top: 0; display: flex; gap: 5px; overflow-x: auto; margin: 0 0 15px; padding: 7px; border: 1px solid #e3ebf0; border-radius: 11px; background: rgba(255,255,255,.96); box-shadow: 0 3px 10px rgba(33,58,78,.035); }
.vacancy-editor-shortcuts a { flex: 0 0 auto; padding: 7px 11px; border-radius: 8px; color: #60758a; font-size: 11px; font-weight: 650; }
.vacancy-editor-shortcuts a:hover { background: #edf7fb; color: #247fa8; }
.vacancy-editor-form { min-width: 0; }
.vacancy-editor-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 365px); align-items: start; gap: 16px; }
.vacancy-editor-main { display: grid; min-width: 0; gap: 14px; }
.vacancy-editor-section, .vacancy-editor-preview { min-width: 0; margin: 0; padding: 21px 22px; border: 1px solid #e2eaf0; border-radius: 15px; box-shadow: 0 5px 17px rgba(37,67,91,.04); scroll-margin-top: 70px; }
.vacancy-editor-section-title { display: flex; align-items: center; gap: 11px; margin: 0 0 18px; }
.vacancy-editor-section-title > span:first-child:not(.vacancy-preview-live) { display: grid; width: 32px; height: 32px; flex: 0 0 32px; place-items: center; border-radius: 10px; background: #eaf6fb; color: #2585ae; font-size: 11px; font-weight: 750; }
.vacancy-editor-section-title h2 { margin: 0; color: #293f55; font-size: 16px; }
.vacancy-editor-section-title p { margin: 4px 0 0; color: #8190a0; font-size: 11px; line-height: 1.45; }
.vacancy-editor-basic-grid, .vacancy-editor-salary-grid, .vacancy-editor-conditions-grid, .vacancy-editor-copy-grid, .vacancy-editor-optional-grid { display: grid; gap: 13px; }
.vacancy-editor-basic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vacancy-editor-salary-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; }
.vacancy-editor-conditions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vacancy-editor-copy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 13px; }
.vacancy-editor-optional-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-top: 14px; }
.vacancy-editor-field { display: grid; align-content: start; gap: 6px; min-width: 0; }
.vacancy-editor-field > label { color: #50657a; font-size: 11px; font-weight: 700; line-height: 1.4; }
.vacancy-editor-field > label em { color: #d15e50; font-style: normal; }
.vacancy-editor-field > small { color: #8492a0; font-size: 10px; line-height: 1.45; }
.vacancy-editor-field input, .vacancy-editor-field select, .vacancy-editor-field textarea { width: 100%; min-width: 0; border: 1px solid #dbe5ec; border-radius: 9px; background: #fff; color: #2e4358; font: inherit; font-size: 13px; }
.vacancy-editor-field input, .vacancy-editor-field select { min-height: 40px; padding: 8px 11px; }
.vacancy-editor-field textarea { min-height: 116px; padding: 11px 12px; line-height: 1.6; resize: vertical; }
.vacancy-editor-textarea-field > small { order: 2; }
.vacancy-editor-textarea-field textarea { order: 3; }
.vacancy-editor-field input:focus, .vacancy-editor-field select:focus, .vacancy-editor-field textarea:focus { outline: 3px solid rgba(63,155,214,.13); border-color: #64add2; }
.vacancy-editor-field-wide { grid-column: 1 / -1; }
.vacancy-editor-monthly-estimate { padding: 11px; border: 1px solid #dcebf2; border-radius: 11px; background: #f4fafd; }
.vacancy-editor-optional { margin-top: 15px; border-top: 1px solid #edf1f4; }
.vacancy-editor-optional > summary { display: flex; min-height: 43px; align-items: center; color: #4b7187; font-size: 12px; font-weight: 700; cursor: pointer; list-style: none; }
.vacancy-editor-optional > summary::-webkit-details-marker { display: none; }
.vacancy-editor-optional > summary::after { content: "⌄"; margin-left: auto; color: #8293a2; font-size: 16px; }
.vacancy-editor-optional[open] > summary::after { content: "⌄"; }
.vacancy-editor-publishing-grid { display: grid; grid-template-columns: minmax(170px, .8fr) 1fr 1fr; align-items: stretch; gap: 10px; }
.vacancy-editor-checkbox { display: flex; align-items: flex-start; gap: 9px; min-height: 62px; padding: 12px; border: 1px solid #e5edf2; border-radius: 10px; background: #fafcfd; cursor: pointer; }
.vacancy-editor-checkbox input { width: 16px; height: 16px; flex: 0 0 16px; margin: 2px 0 0; accent-color: #368fba; }
.vacancy-editor-checkbox span { display: grid; gap: 4px; }
.vacancy-editor-checkbox strong { color: #40566b; font-size: 11px; }
.vacancy-editor-checkbox small { color: #8492a0; font-size: 10px; line-height: 1.4; }
.vacancy-editor-message { margin-top: 14px; padding-top: 14px; border-top: 1px solid #edf1f4; }
.vacancy-editor-message textarea { min-height: 100px; }
.vacancy-editor-preview-column { min-width: 0; }
.vacancy-editor-preview { position: sticky; top: 66px; padding: 18px; }
.vacancy-editor-preview .vacancy-editor-section-title { align-items: flex-start; gap: 6px; margin-bottom: 13px; }
.vacancy-editor-preview .vacancy-editor-section-title h2 { font-size: 15px; }
.vacancy-preview-live { margin: 2px 0 0 auto; padding: 4px 7px; border-radius: 99px; background: #edf8f2; color: #438060; font-size: 9px; white-space: nowrap; }
.vacancy-editor-preview-card { display: block; width: 100%; max-width: none; min-height: 0; margin: 0; padding: 18px; border-radius: 13px; }
.vacancy-editor-preview-card .vacancy-tags { height: auto; min-height: 0; margin: 0 0 10px; flex-wrap: wrap; }
.vacancy-editor-preview-card h3 { display: block; min-height: 0; height: auto; margin: 10px 0 9px; overflow: visible; font-size: 17px; line-height: 1.4; -webkit-line-clamp: unset; }
.vacancy-editor-preview-card > p { display: block; min-height: 0; height: auto; max-height: none; margin: 0 0 13px; overflow: visible; color: #6c8092; font-size: 12px; line-height: 1.5; -webkit-line-clamp: unset; }
.vacancy-editor-preview-card .vacancy-info { margin-top: 0; }
.vacancy-editor-preview-card .info-row { padding: 8px 0; font-size: 11px; }
.vacancy-preview-full-details { margin-top: 12px; border-top: 1px solid #eaf0f4; }
.vacancy-preview-full-details > summary { display: flex; min-height: 42px; align-items: center; color: #247fa8; font-size: 11px; font-weight: 700; cursor: pointer; list-style: none; }
.vacancy-preview-full-details > summary::-webkit-details-marker { display: none; }
.vacancy-preview-full-details > summary::after { content: "⌄"; margin-left: auto; color: #8293a2; font-size: 16px; }
.vacancy-preview-full-details[open] > summary::after { content: "⌄"; }
.vacancy-editor-full-preview { padding: 2px 1px 0; }
.vacancy-editor-full-preview > h3 { margin: 5px 0 13px; color: #334b62; font-size: 15px; }
.vacancy-editor-full-preview .vacancy-block { margin-bottom: 13px; }
.vacancy-editor-full-preview .vacancy-block h4 { margin: 0 0 5px; color: #486177; font-size: 11px; }
.vacancy-editor-full-preview .vacancy-block p { margin: 0; color: #64788b; font-size: 11px; line-height: 1.55; }
.vacancy-editor-savebar { position: sticky; z-index: 10; bottom: 8px; display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 16px; padding: 11px 15px; border: 1px solid #dfe8ee; border-radius: 12px; background: rgba(255,255,255,.97); box-shadow: 0 7px 24px rgba(30,54,73,.12); backdrop-filter: blur(10px); }
.vacancy-editor-savebar > span { color: #79899a; font-size: 11px; }
.vacancy-editor-savebar > div { display: flex; align-items: center; gap: 8px; }
.vacancy-editor-savebar .button { min-height: 38px; padding: 0 14px; font-size: 12px; }
@media (max-width: 1100px) {
    .vacancy-editor-layout { grid-template-columns: minmax(0, 1fr) 305px; gap: 12px; }
    .vacancy-editor-salary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vacancy-editor-publishing-grid { grid-template-columns: 1fr 1fr; }
    .vacancy-editor-publishing-grid > .vacancy-editor-field { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
    .vacancy-editor-layout { grid-template-columns: 1fr; }
    .vacancy-editor-preview-column { grid-row: 1; }
    .vacancy-editor-preview { position: static; }
    .vacancy-editor-preview-card { max-width: 500px; }
    .vacancy-editor-shortcuts { top: 0; }
}
@media (max-width: 560px) {
    .vacancy-editor-intro { align-items: flex-start; flex-direction: column; gap: 11px; }
    .vacancy-editor-section, .vacancy-editor-preview { padding: 16px; }
    .vacancy-editor-basic-grid, .vacancy-editor-conditions-grid, .vacancy-editor-copy-grid, .vacancy-editor-optional-grid { grid-template-columns: 1fr; }
    .vacancy-editor-salary-grid { grid-template-columns: 1fr 1fr; }
    .vacancy-editor-field-wide { grid-column: 1; }
    .vacancy-editor-publishing-grid { grid-template-columns: 1fr; }
    .vacancy-editor-publishing-grid > .vacancy-editor-field { grid-column: 1; }
    .vacancy-editor-savebar { align-items: stretch; flex-direction: column; bottom: 4px; }
    .vacancy-editor-savebar > div { justify-content: flex-end; }
}

/* Расписание собеседований: объясняем настройку, публикацию и состояние времени */
.schedule-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin: 0 0 17px; }
.schedule-intro h1 { margin: 0 0 6px; color: #20364d; font-size: clamp(24px, 2.6vw, 31px); letter-spacing: -.03em; }
.schedule-intro > div:first-child > p:last-child { max-width: 640px; margin: 0; color: #748497; font-size: 13px; line-height: 1.55; }
.schedule-how-it-works { display: flex; align-items: center; gap: 7px; padding: 9px 12px; border: 1px solid #e2eaf0; border-radius: 12px; background: #fff; }
.schedule-how-it-works > span { display: grid; width: 22px; height: 22px; flex: 0 0 22px; place-items: center; border-radius: 50%; background: #eaf6fb; color: #2583ac; font-size: 10px; font-weight: 750; }
.schedule-how-it-works p { margin: 0 8px 0 0; color: #687c90; font-size: 10px; white-space: nowrap; }
.schedule-panel, .schedule-action-panel, .schedule-list-panel { margin: 0; padding: 20px 21px; border: 1px solid #e1e9ef; border-radius: 15px; box-shadow: 0 5px 17px rgba(37,67,91,.04); }
.schedule-settings-panel { margin: 0 0 12px; padding: 0; overflow: hidden; border: 1px solid #dfe8ee; box-shadow: 0 4px 14px rgba(37,67,91,.035); }
.schedule-settings-summary { display: flex; align-items: center; gap: 11px; min-height: 70px; padding: 13px 20px; cursor: pointer; list-style: none; }
.schedule-settings-summary::-webkit-details-marker { display: none; }
.schedule-settings-copy { display: grid; flex: 1; gap: 5px; min-width: 0; }
.schedule-settings-copy strong { color: #2b4258; font-size: 14px; }
.schedule-settings-copy small { overflow: hidden; color: #8190a0; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.schedule-settings-action { color: #287fa5; font-size: 11px; font-weight: 700; white-space: nowrap; }
.schedule-settings-open-label { display: none; }
.schedule-settings-panel[open] .schedule-settings-closed-label { display: none; }
.schedule-settings-panel[open] .schedule-settings-open-label { display: inline; }
.schedule-settings-panel .schedule-summary-chevron { flex: 0 0 auto; }
.schedule-settings-content { padding: 0 20px 20px; }
.schedule-settings-content > p { margin: -1px 0 15px; color: #74879a; font-size: 12px; }
.schedule-settings-content .schedule-settings-form { align-items: end; }
.schedule-section-heading { display: flex; align-items: center; gap: 11px; margin-bottom: 17px; }
.schedule-step-number { display: grid; width: 32px; height: 32px; flex: 0 0 32px; place-items: center; border-radius: 10px; background: #eaf6fb; color: #2583ac; font-size: 12px; font-weight: 750; }
.schedule-section-heading h2, .schedule-list-heading h2 { margin: 0; color: #2b4258; font-size: 15px; }
.schedule-section-heading p, .schedule-list-heading p { margin: 4px 0 0; color: #8190a0; font-size: 11px; line-height: 1.5; }
.schedule-settings-form { display: grid; grid-template-columns: repeat(4, minmax(125px, 1fr)); align-items: end; gap: 12px; }
.schedule-settings-form .form-group { min-width: 0; margin: 0; gap: 6px; }
.schedule-settings-form .form-group label, .schedule-manual-form .form-group label { color: #53677c; font-size: 11px; font-weight: 700; line-height: 1.4; }
.schedule-settings-form input:not([type="checkbox"]), .schedule-settings-form select, .schedule-manual-form input { width: 100%; min-height: 40px; border: 1px solid #dbe5ec; border-radius: 9px; background: #fff; color: #2e4358; font: inherit; font-size: 13px; }
.schedule-settings-form input:focus, .schedule-settings-form select:focus, .schedule-manual-form input:focus { outline: 3px solid rgba(63,155,214,.13); border-color: #64add2; }
.schedule-number-field { position: relative; }
.schedule-number-field input { padding-right: 43px; }
.schedule-number-field > span { position: absolute; top: 50%; right: 11px; color: #8b98a5; font-size: 11px; transform: translateY(-50%); }
.schedule-weekdays { min-width: 0; grid-column: span 3; margin: 0; padding: 0; border: 0; }
.schedule-weekdays legend { margin: 0 0 8px; color: #53677c; font-size: 11px; font-weight: 700; }
.schedule-weekday-options { display: flex; flex-wrap: wrap; gap: 7px; }
.schedule-weekday-option { position: relative; cursor: pointer; }
.schedule-weekday-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.schedule-weekday-option span { display: grid; min-width: 42px; min-height: 34px; place-items: center; padding: 0 9px; border: 1px solid #dfe7ed; border-radius: 9px; background: #fff; color: #687d91; font-size: 11px; font-weight: 650; transition: .15s ease; }
.schedule-weekday-option input:checked + span { border-color: #b8dcea; background: #edf8fc; color: #247fa8; }
.schedule-weekday-option input:focus-visible + span { outline: 3px solid rgba(63,155,214,.18); }
.schedule-settings-form > .button { min-height: 40px; justify-self: end; padding: 0 15px; white-space: nowrap; }
.schedule-actions-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 13px; margin: 13px 0; }
.schedule-action-panel { display: flex; min-width: 0; flex-direction: column; justify-content: space-between; gap: 12px; }
.schedule-action-panel .schedule-section-heading { align-items: flex-start; margin: 0; }
.schedule-action-panel .schedule-section-heading > div { padding-top: 2px; }
.schedule-generate-panel .button { min-height: 39px; padding: 0 15px; font-size: 12px; }
.schedule-generate-panel > small { color: #8492a0; font-size: 10px; line-height: 1.45; }
.schedule-manual-panel > summary { display: flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; }
.schedule-manual-panel > summary::-webkit-details-marker { display: none; }
.schedule-manual-panel > summary > span:nth-child(2) { display: grid; gap: 4px; }
.schedule-manual-panel > summary strong { color: #354c62; font-size: 12px; }
.schedule-manual-panel > summary small { color: #8492a0; font-size: 10px; }
.schedule-summary-chevron { margin-left: auto; color: #8293a2; font-size: 16px; }
.schedule-manual-panel[open] .schedule-summary-chevron { transform: rotate(180deg); }
.schedule-manual-form { display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 10px; padding-top: 14px; border-top: 1px solid #edf1f4; }
.schedule-manual-form .form-group { min-width: 0; margin: 0; gap: 6px; }
.schedule-manual-form .button { min-height: 40px; padding: 0 13px; font-size: 11px; white-space: nowrap; }
.schedule-list-panel { padding-bottom: 10px; }
.schedule-list-heading { display: flex; justify-content: space-between; margin-bottom: 15px; }
.schedule-list-heading > div { display: flex; align-items: center; gap: 11px; }
.schedule-board-heading { align-items: center; gap: 18px; }
.schedule-board-heading > div > div { min-width: 0; }
.schedule-create-action { display: grid; justify-items: end; gap: 5px; flex: 0 0 auto; }
.schedule-create-action form { margin: 0; }
.schedule-create-action .button { min-height: 39px; padding: 0 15px; font-size: 12px; }
.schedule-create-action small { color: #8492a0; font-size: 10px; }
.schedule-summary-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-bottom: 14px; }
.schedule-summary-cards > div { display: grid; grid-template-columns: 9px auto 1fr; align-items: center; gap: 8px; min-height: 54px; padding: 10px 12px; border: 1px solid #e8eef2; border-radius: 11px; background: #fafcfd; }
.schedule-summary-cards strong { color: #30475c; font-size: 17px; }
.schedule-summary-cards small { color: #718397; font-size: 11px; }
.schedule-status-mark { width: 8px; height: 8px; border-radius: 50%; }
.schedule-status-mark.is-free { background: #39a975; }
.schedule-status-mark.is-booked { background: #3198bc; }
.schedule-status-mark.is-closed { background: #9ba7b2; }
.schedule-table-scroll { overflow-x: auto; }
.schedule-table { min-width: 620px; font-size: 12px; }
.schedule-table th { padding: 10px 9px; color: #8492a0; font-size: 10px; }
.schedule-table td { padding: 11px 9px; color: #4b6074; vertical-align: middle; }
.schedule-table td > strong { color: #40576d; font-weight: 650; }
.schedule-time-cell { color: #304f68 !important; font-weight: 700; }
.schedule-interviewer-names { display: block; margin-top: 4px; color: #6f8295; font-size: 11px; }
.schedule-status-pill { display: inline-flex; padding: 5px 9px; border-radius: 99px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.schedule-status-pill.is-free { background: #e9f7ef; color: #318357; }
.schedule-status-pill.is-booked { background: #e8f5fa; color: #287f9c; }
.schedule-status-pill.is-closed { background: #f0f2f4; color: #74818d; }
.schedule-actions-cell { display: flex; flex-wrap: wrap; gap: 6px; }
.schedule-actions-cell form { margin: 0; }
.schedule-row-action { min-height: 30px; padding: 0 9px; border: 1px solid #dce8ef; border-radius: 7px; background: #fff; color: #3c708c; font: inherit; font-size: 10px; font-weight: 650; cursor: pointer; }
.schedule-row-action:hover { border-color: #b8d8e7; background: #f3f9fc; }
.schedule-row-action.is-primary { border-color: #d4e8f1; background: #f2f9fc; color: #287b9f; }
.schedule-row-action.is-danger { color: #9a6e69; }
.schedule-row-action.is-danger:hover { border-color: #efd6d2; background: #fff8f6; color: #b25549; }
.schedule-booked-note { color: #8492a0; font-size: 10px; }
.schedule-empty-state { display: grid; justify-items: center; gap: 6px; padding: 28px 12px; text-align: center; }
.schedule-empty-state > span { color: #57a5c9; font-size: 25px; }
.schedule-empty-state strong { color: #445c72; font-size: 12px; }
.schedule-empty-state p { margin: 0; color: #8391a0; font-size: 11px; }
.schedule-board { padding-bottom: 21px; }
.schedule-board-toolbar { position: sticky; top: 0; z-index: 15; display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 0 -4px 17px; padding: 10px 4px; border-bottom: 1px solid rgba(225, 233, 239, .85); background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); }
.schedule-date-controls { display: flex; align-items: center; gap: 8px; min-width: 0; }
.schedule-day-shift { display: grid; width: 38px; height: 40px; flex: 0 0 38px; place-items: center; border: 1px solid #dce8ef; border-radius: 10px; background: #fff; color: #438caf; font-size: 23px; line-height: 1; cursor: pointer; }
.schedule-day-shift:hover { border-color: #b9dbea; background: #f2f9fc; }
.schedule-date-picker { width: 205px; }
.schedule-date-picker .modern-picker-display { height: 40px; padding-right: 42px; }
.schedule-date-picker .modern-picker-icon { height: 40px; }
.schedule-day-label { margin-left: 5px; color: #74879a; font-size: 12px; text-transform: capitalize; }
.schedule-day-counts { display: flex; flex-wrap: wrap; gap: 8px; }
.schedule-day-counts > span { display: inline-flex; align-items: center; gap: 7px; min-height: 37px; padding: 0 11px; border: 1px solid #e5edf2; border-radius: 10px; background: #fafcfd; color: #78899a; font-size: 11px; white-space: nowrap; }
.schedule-day-counts .schedule-status-mark { width: 7px; height: 7px; }
.schedule-day-counts strong { color: #30475c; font-size: 14px; }
.schedule-slot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.schedule-slot-card { display: grid; align-content: start; gap: 12px; min-width: 0; min-height: 104px; padding: 13px 14px; border: 1px solid #dfe9ef; border-radius: 12px; background: #fff; transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease; }
.schedule-slot-card[hidden] { display: none !important; }
.schedule-slot-card.is-free { border-color: #b9dec7; background: #f3fbf5; }
.schedule-slot-card.is-free:hover { border-color: #8cc9a2; box-shadow: 0 5px 14px rgba(54, 139, 87, .08); }
.schedule-slot-card.is-booked { border-color: #c8e1ec; background: #f4fafc; }
.schedule-slot-card.is-closed { background: #f8f9fa; }
.schedule-slot-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.schedule-slot-time { color: #233d52; font-size: 17px; font-weight: 750; letter-spacing: -.02em; }
.schedule-slot-state { padding: 4px 8px; border-radius: 99px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.schedule-slot-state.is-free { background: #e3f4e9; color: #318357; }
.schedule-slot-state.is-booked { background: #e3f2f8; color: #287f9c; }
.schedule-slot-state.is-closed { background: #eceff1; color: #74818d; }
.schedule-slot-candidate { overflow: hidden; color: #3d596e; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.schedule-slot-interviewers { color: #718397; font-size: 10px; }
.schedule-slot-controls { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.schedule-slot-toggle-form, .schedule-slot-delete-form { margin: 0; }
.schedule-availability-toggle { display: inline-flex; align-items: center; gap: 7px; color: #587164; font-size: 10px; cursor: pointer; }
.schedule-availability-toggle input { width: 15px; height: 15px; margin: 0; accent-color: #328b58; cursor: pointer; }
.schedule-row-action { min-height: 27px; }
.schedule-day-empty { padding: 30px 16px; border: 1px dashed #d8e4eb; border-radius: 12px; background: #fbfdfe; text-align: center; }
.schedule-day-empty[hidden] { display: none !important; }
.schedule-day-empty strong { color: #425b70; font-size: 13px; }
.schedule-day-empty p { margin: 5px 0 0; color: #8291a0; font-size: 11px; }
.schedule-manual-section { margin: 12px 0 0; padding: 18px 20px; border: 1px solid #e1e9ef; border-radius: 15px; box-shadow: 0 4px 14px rgba(37,67,91,.03); }
.schedule-manual-section > summary { display: flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; }
.schedule-manual-section > summary::-webkit-details-marker { display: none; }
.schedule-manual-section > summary > span:nth-child(2) { display: grid; gap: 4px; }
.schedule-manual-section > summary strong { color: #354c62; font-size: 12px; }
.schedule-manual-section > summary small { color: #8492a0; font-size: 10px; }
.schedule-manual-section .schedule-manual-form { grid-template-columns: minmax(160px, .8fr) minmax(160px, .8fr) auto; align-items: end; margin-top: 14px; }
@media (max-width: 1000px) {
    .schedule-intro { align-items: flex-start; flex-direction: column; gap: 12px; }
    .schedule-settings-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .schedule-weekdays { grid-column: 1 / -1; }
    .schedule-settings-form > .button { grid-column: 2; }
    .schedule-manual-form { grid-template-columns: 1fr 1fr; }
    .schedule-manual-form > .button { grid-column: 1 / -1; justify-self: start; }
    .schedule-slot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .schedule-board-toolbar { align-items: flex-start; flex-direction: column; }
    .schedule-manual-section .schedule-manual-form { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
    .schedule-how-it-works { width: 100%; justify-content: space-between; gap: 4px; }
    .schedule-how-it-works p { margin-right: 3px; font-size: 9px; }
    .schedule-panel, .schedule-action-panel, .schedule-list-panel { padding: 15px; }
    .schedule-settings-form { grid-template-columns: 1fr 1fr; gap: 10px; }
    .schedule-settings-form > .button { grid-column: 1 / -1; justify-self: stretch; }
    .schedule-actions-grid { grid-template-columns: 1fr; }
    .schedule-manual-form { grid-template-columns: 1fr 1fr; }
    .schedule-manual-form > .button { grid-column: 1 / -1; justify-self: stretch; }
    .schedule-summary-cards { gap: 6px; }
    .schedule-summary-cards > div { grid-template-columns: 8px auto; gap: 5px; padding: 8px; }
    .schedule-summary-cards small { grid-column: 2; }
    .schedule-summary-cards strong { font-size: 15px; }
    .schedule-slot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
    .schedule-slot-card { min-height: 98px; padding: 11px; }
    .schedule-slot-controls { align-items: flex-start; flex-direction: column; }
    .schedule-day-counts { width: 100%; }
    .schedule-day-counts > span { flex: 1 1 auto; justify-content: center; padding: 0 8px; }
    .schedule-day-label { display: none; }
    .schedule-date-picker { width: min(205px, calc(100vw - 145px)); }
    .schedule-settings-summary { padding: 12px 14px; }
    .schedule-settings-content { padding: 0 14px 15px; }
    .schedule-settings-copy small { white-space: normal; }
    .schedule-settings-action { display: none; }
    .schedule-board-heading { align-items: flex-start; flex-direction: column; }
    .schedule-create-action { width: 100%; justify-items: stretch; }
    .schedule-create-action .button { width: 100%; }
    .schedule-create-action small { text-align: center; }
    .schedule-manual-section { padding: 15px; }
    .schedule-manual-section .schedule-manual-form { grid-template-columns: 1fr; }
}
/* Vacancy question editor */
.vq-page { max-width: 1240px; margin: 0 auto; padding-bottom: 32px; }
.vq-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 4px 0 22px; }
.vq-hero h1 { margin: 0; color: #263e54; font-size: clamp(24px, 3vw, 32px); letter-spacing: -.035em; }
.vq-hero p:not(.vq-eyebrow) { max-width: 660px; margin: 8px 0 0; color: #75879a; font-size: 13px; line-height: 1.6; }
.vq-eyebrow { margin: 0 0 7px; color: #368caf; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.vq-how { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; padding: 9px 12px; border: 1px solid #e4edf2; border-radius: 12px; background: #fff; color: #75879a; font-size: 10px; }
.vq-how span, .vq-step { display: grid; width: 27px; height: 27px; flex: 0 0 27px; place-items: center; border-radius: 9px; background: #eaf6fb; color: #2583ac; font-size: 11px; font-weight: 750; }
.vq-how i { color: #bac7d0; font-size: 15px; font-style: normal; }
.vq-vacancy-picker { padding: 20px 22px; border: 1px solid #e2eaf0; border-radius: 16px; box-shadow: 0 6px 20px rgba(37,67,91,.045); }
.vq-section-title { display: flex; align-items: center; gap: 11px; margin-bottom: 17px; }
.vq-section-title h2, .vq-section-heading h2 { margin: 0; color: #30475c; font-size: 16px; }
.vq-section-title p, .vq-section-heading > div > p:last-child { margin: 5px 0 0; color: #8190a0; font-size: 11px; }
.vq-picker-form { max-width: 800px; }
.vq-picker-form > label, .vq-form .form-group > label { display: block; margin-bottom: 6px; color: #53677c; font-size: 11px; font-weight: 700; }
.vq-picker-controls { display: flex; align-items: center; gap: 10px; }
.vq-picker-controls select { min-width: 0; min-height: 42px; flex: 1; padding: 0 12px; border: 1px solid #dbe5ec; border-radius: 10px; background: #fff; color: #2e4358; font: inherit; font-size: 12px; }
.vq-picker-controls .button { min-height: 42px; padding: 0 16px; white-space: nowrap; }
.vq-question-section { margin-top: 29px; }
.vq-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.vq-section-heading .vq-eyebrow { margin-bottom: 5px; }
.vq-count { padding: 7px 11px; border: 1px solid #dcebf2; border-radius: 99px; background: #f1f9fc; color: #3684a4; font-size: 11px; font-weight: 700; white-space: nowrap; }
.vq-question-list { display: grid; gap: 13px; }
.vq-question-card, .vq-add-card { padding: 19px 21px; border: 1px solid #e2eaf0; border-radius: 15px; box-shadow: 0 5px 16px rgba(37,67,91,.035); }
.vq-card-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 17px; }
.vq-question-number, .vq-add-icon { display: grid; width: 31px; height: 31px; flex: 0 0 31px; place-items: center; border-radius: 10px; background: #edf7fb; color: #3286a9; font-size: 12px; font-weight: 750; }
.vq-card-heading > div { display: grid; gap: 4px; }
.vq-card-heading strong { color: #354c62; font-size: 13px; }
.vq-card-heading > div > span { color: #8492a0; font-size: 10px; }
.vq-form { display: grid; gap: 13px; }
.vq-form .form-group { min-width: 0; margin: 0; }
.vq-form input:not([type="checkbox"]), .vq-form select, .vq-form textarea { width: 100%; min-height: 40px; padding: 9px 11px; border: 1px solid #dce6ed; border-radius: 9px; background: #fff; color: #30475c; font: inherit; font-size: 12px; }
.vq-form textarea { min-height: 75px; resize: vertical; line-height: 1.5; }
.vq-form input:focus, .vq-form select:focus, .vq-form textarea:focus, .vq-picker-controls select:focus { outline: 3px solid rgba(63,155,214,.13); border-color: #64add2; }
.vq-main-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(140px, .35fr); gap: 12px; }
.vq-optional { color: #8a98a5; font-size: 10px; font-weight: 400; }
.vq-check-row { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.vq-check-row > input { width: 16px; height: 16px; flex: 0 0 16px; margin: 2px 0 0; accent-color: #398eb3; }
.vq-check-row > span { display: grid; gap: 3px; }
.vq-check-row strong { color: #435b70; font-size: 11px; }
.vq-check-row small { color: #8492a0; font-size: 10px; line-height: 1.45; }
.vq-automation { display: grid; gap: 13px; padding: 14px; border: 1px solid #e4edf2; border-radius: 11px; background: #f8fbfd; }
.vq-rule-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; padding-top: 12px; border-top: 1px solid #e8eef2; }
.vq-rule-fields .form-group { margin: 0; }
.vq-form-actions { display: flex; align-items: center; gap: 12px; }
.vq-form-actions .button { min-height: 38px; padding: 0 15px; }
.vq-delete-button { min-height: 36px; padding: 0 11px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #a3635d; font: inherit; font-size: 11px; cursor: pointer; }
.vq-delete-button:hover { border-color: #f0d9d5; background: #fff7f5; }
.vq-add-card { margin-top: 16px; }
.vq-add-icon { background: #edf8f1; color: #3b9662; font-size: 18px; }
.vq-no-questions, .vq-empty { display: grid; justify-items: center; gap: 7px; padding: 30px 16px; border: 1px dashed #d5e3eb; border-radius: 14px; background: #fbfdfe; text-align: center; }
.vq-empty { margin-top: 18px; }
.vq-empty-icon { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 12px; background: #eaf6fb; color: #3186a9; font-size: 17px; font-weight: 750; }
.vq-no-questions > strong, .vq-empty > strong { color: #405970; font-size: 13px; }
.vq-no-questions > p, .vq-empty > p { margin: 0 0 5px; color: #8190a0; font-size: 11px; }
.vq-no-questions > a { color: #3186a9; font-size: 11px; font-weight: 700; text-decoration: none; }
.vq-empty .button { margin-top: 5px; }
@media (max-width: 780px) {
    .vq-hero { align-items: flex-start; flex-direction: column; }
    .vq-how { align-self: flex-start; }
    .vq-rule-fields { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .vq-vacancy-picker, .vq-question-card, .vq-add-card { padding: 16px; }
    .vq-picker-controls { align-items: stretch; flex-direction: column; }
    .vq-picker-controls .button { width: 100%; }
    .vq-main-fields, .vq-rule-fields { grid-template-columns: 1fr; }
    .vq-section-heading { align-items: flex-start; }
    .vq-how { flex-wrap: wrap; }
    .vq-optional { display: block; margin-top: 3px; }
}
/* HR analytics and account settings */
.analytics-page, .settings-page { max-width: 1440px; margin: 0 auto; padding-bottom: 30px; }
.analytics-hero, .settings-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 4px 0 22px; }
.analytics-hero h1, .settings-hero h1 { margin: 0; color: #263e54; font-size: clamp(25px, 3vw, 33px); letter-spacing: -.035em; }
.analytics-hero > div > p:last-child, .settings-hero > div > p:last-child { margin: 7px 0 0; color: #78899b; font-size: 12px; line-height: 1.5; }
.analytics-eyebrow, .settings-eyebrow { margin: 0 0 6px; color: #368caf; font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.analytics-period-form { display: grid; gap: 6px; min-width: 205px; padding: 12px; border: 1px solid #e3ebf0; border-radius: 12px; background: #fff; box-shadow: 0 4px 13px rgba(37,67,91,.035); }
.analytics-period-form label { color: #73869a; font-size: 10px; font-weight: 700; }
.analytics-period-form select { min-height: 36px; padding: 0 10px; border: 1px solid #dce6ed; border-radius: 8px; background: #fff; color: #334c62; font: inherit; font-size: 11px; }
.analytics-primary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.analytics-primary-card { display: flex; align-items: flex-start; gap: 12px; min-width: 0; min-height: 125px; padding: 18px; border: 1px solid #e2eaf0; border-radius: 15px; background: #fff; box-shadow: 0 5px 16px rgba(37,67,91,.04); }
.analytics-card-icon { display: grid; width: 35px; height: 35px; flex: 0 0 35px; place-items: center; border-radius: 11px; font-size: 17px; font-weight: 750; }
.analytics-primary-card > div { display: grid; gap: 5px; min-width: 0; }
.analytics-primary-card small { color: #718397; font-size: 11px; line-height: 1.35; }
.analytics-primary-card strong { color: #203a50; font-size: 27px; line-height: 1; letter-spacing: -.03em; }
.analytics-primary-card > div > span { color: #98a4af; font-size: 10px; }
.analytics-primary-card.is-blue .analytics-card-icon { background: #edf6ff; color: #397fbd; }
.analytics-primary-card.is-amber .analytics-card-icon { background: #fff6e8; color: #c38a31; }
.analytics-primary-card.is-cyan .analytics-card-icon { background: #eaf8fb; color: #318ca7; }
.analytics-primary-card.is-violet .analytics-card-icon { background: #f2efff; color: #7264bb; }
.analytics-secondary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; overflow: hidden; margin: 13px 0 29px; border: 1px solid #e4ebf0; border-radius: 13px; background: #e8eef2; }
.analytics-secondary > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; min-height: 48px; padding: 10px 13px; background: #fff; }
.analytics-secondary span { overflow: hidden; color: #73869a; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.analytics-secondary strong { flex: 0 0 auto; color: #344d63; font-size: 15px; }
.analytics-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.analytics-section-heading h2 { margin: 0; color: #2d455a; font-size: 19px; letter-spacing: -.02em; }
.analytics-section-heading > span { padding: 7px 10px; border: 1px solid #e2ebf0; border-radius: 8px; background: #fff; color: #718397; font-size: 10px; }
.analytics-section-heading .analytics-eyebrow { margin-bottom: 4px; }
.analytics-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.analytics-panel { min-width: 0; margin: 0; padding: 18px 19px 14px; border: 1px solid #e3ebf0; border-radius: 14px; box-shadow: 0 4px 15px rgba(37,67,91,.035); }
.analytics-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.analytics-panel-heading h3 { margin: 0; color: #354e63; font-size: 13px; }
.analytics-panel-heading p { margin: 5px 0 0; color: #8795a2; font-size: 10px; line-height: 1.45; }
.analytics-panel-icon { display: grid; width: 30px; height: 30px; flex: 0 0 30px; place-items: center; border-radius: 9px; background: #edf7fb; color: #3588aa; font-size: 15px; }
.analytics-funnel-list { display: grid; gap: 13px; }
.analytics-funnel-row { display: grid; gap: 7px; }
.analytics-row-label { display: flex; justify-content: space-between; gap: 12px; color: #596e81; font-size: 11px; }
.analytics-row-label strong { color: #334c61; font-size: 12px; }
.analytics-bar-track { width: 100%; height: 7px; overflow: hidden; border-radius: 99px; background: #eaf0f4; }
.analytics-bar-track span { display: block; height: 100%; min-width: 0; border-radius: inherit; background: linear-gradient(90deg, #398fc0, #59b4d4); }
.analytics-table-wrap { overflow-x: auto; }
.analytics-table { width: 100%; min-width: 360px; border-collapse: collapse; }
.analytics-table th { padding: 8px 7px; color: #8a98a5; font-size: 9px; font-weight: 700; text-align: left; text-transform: uppercase; letter-spacing: .04em; }
.analytics-table td { padding: 9px 7px; border-top: 1px solid #edf1f4; color: #52697e; font-size: 10px; }
.analytics-table td:nth-child(2) { width: 76px; color: #334d63; }
.analytics-table td:last-child { width: 120px; }
.analytics-table .analytics-bar-track { height: 6px; }
.analytics-table .badge { font-size: 9px; }
.settings-hero { margin-bottom: 22px; }
.settings-account-card { max-width: 850px; padding: 24px; border: 1px solid #e2eaf0; border-radius: 16px; box-shadow: 0 6px 20px rgba(37,67,91,.045); }
.settings-account-top { display: flex; align-items: center; gap: 16px; }
.settings-avatar { display: grid; width: 62px; height: 62px; flex: 0 0 62px; place-items: center; border: 1px solid #d5eaf3; border-radius: 18px; background: linear-gradient(145deg, #eff9fd, #dceff7); color: #3184a5; font-size: 25px; font-weight: 750; }
.settings-account-info { display: grid; justify-items: start; gap: 6px; }
.settings-label { color: #8997a4; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.settings-account-info h2 { margin: 0; color: #30485d; font-size: 20px; }
.settings-role { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border: 1px solid #e3edf2; border-radius: 99px; background: #f8fbfc; color: #698095; font-size: 10px; }
.settings-role i { width: 6px; height: 6px; border-radius: 50%; background: #42aa79; }
.settings-account-divider { height: 1px; margin: 21px 0 17px; background: #edf1f4; }
.settings-access-note { display: flex; align-items: flex-start; gap: 10px; }
.settings-access-icon { display: grid; width: 23px; height: 23px; flex: 0 0 23px; place-items: center; border-radius: 50%; background: #eaf7ef; color: #399265; font-size: 12px; font-weight: 800; }
.settings-access-note strong { color: #465e72; font-size: 11px; }
.settings-access-note p { margin: 4px 0 0; color: #8492a0; font-size: 10px; }
.settings-users-link { display: inline-flex; align-items: center; gap: 10px; min-height: 39px; margin: 19px 0 0 33px; padding: 0 14px; font-size: 11px; text-decoration: none; }
.settings-footer-note { max-width: 850px; margin: 13px 0 0; color: #8996a2; font-size: 10px; text-align: center; }
@media (max-width: 1000px) {
    .analytics-primary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .analytics-secondary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
    .analytics-hero { align-items: stretch; flex-direction: column; }
    .analytics-period-form { width: 100%; }
    .analytics-grid { grid-template-columns: 1fr; }
    .analytics-primary-card { min-height: 112px; padding: 14px; }
    .analytics-secondary > div { padding: 9px; }
    .analytics-secondary span { font-size: 9px; }
    .settings-account-card { padding: 18px; }
}
@media (max-width: 420px) {
    .analytics-primary { grid-template-columns: 1fr 1fr; gap: 8px; }
    .analytics-primary-card { align-items: center; gap: 9px; min-height: 102px; padding: 11px; }
    .analytics-card-icon { width: 29px; height: 29px; flex-basis: 29px; font-size: 14px; }
    .analytics-primary-card strong { font-size: 22px; }
    .analytics-primary-card small { font-size: 10px; }
    .analytics-primary-card > div > span { font-size: 9px; }
    .analytics-secondary { grid-template-columns: 1fr 1fr; }
}
/* TelePilot HR navigation brand */
.sidebar { background: linear-gradient(180deg, #142d45 0%, #11263c 58%, #102338 100%); border-right: 1px solid rgba(119, 180, 211, .12); }
.sidebar-logo { display: flex; align-items: center; gap: 11px; min-height: 58px; margin: 0 5px 27px; padding: 0 0 17px; border-bottom: 1px solid rgba(190, 222, 238, .13); color: #fff; }
.sidebar-brand-mark { display: grid; width: 39px; height: 39px; flex: 0 0 39px; place-items: center; border: 1px solid rgba(150, 220, 246, .36); border-radius: 12px; background: linear-gradient(145deg, #48acd4, #2879ad); box-shadow: 0 5px 14px rgba(32, 125, 172, .25); color: #f4fcff !important; font-size: 20px; font-weight: 800; }
.sidebar-brand-copy { display: grid; gap: 5px; min-width: 0; }
.sidebar-brand-name { color: #f4faff !important; font-size: 16px; font-weight: 750; letter-spacing: -.035em; white-space: nowrap; }
.sidebar-brand-name b { margin-left: 2px; color: #80d3f1; font-size: 14px; font-weight: 800; }
.sidebar-brand-copy small { color: #83a7be; font-size: 8px; font-weight: 700; letter-spacing: .14em; }
.sidebar-nav { gap: 5px; }
.sidebar-nav > a, .sidebar-more > summary { position: relative; min-height: 41px; border-radius: 10px; color: #c3d4e1; font-size: 13px; transition: color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.sidebar-nav > a:hover, .sidebar-more > summary:hover { background: rgba(109, 190, 224, .11); color: #f4fbff; }
.sidebar-nav > a.active { background: linear-gradient(90deg, rgba(65, 157, 198, .28), rgba(65, 157, 198, .12)); box-shadow: inset 3px 0 #67c9ec; color: #d9f6ff; }
.sidebar-more { margin-top: 8px; border-top-color: rgba(190, 222, 238, .14); }
.sidebar-more > summary { color: #e0edf5; font-weight: 700; }
.sidebar-more > summary::after { color: #76bcd8; }
.sidebar-subnav { gap: 4px; padding-left: 8px; }
.sidebar-subnav a { position: relative; min-height: 35px; display: flex; align-items: center; border-radius: 9px; color: #a9bfd0; font-size: 12px; transition: color .2s ease, background-color .2s ease; }
.sidebar-subnav a:hover { background: rgba(109, 190, 224, .1); color: #effaff; }
.sidebar-subnav a.active { background: rgba(73, 165, 204, .2); color: #a9e8fb; }
.sidebar-logout { color: #f08d91; font-size: 12px; font-weight: 650; transition: color .2s ease; }
.sidebar-logout:hover { color: #ffb2b2; }
@media (max-width: 900px) and (min-width: 421px) {
    .sidebar-logo { min-height: 0; margin: 0; padding: 0; border: 0; }
    .sidebar-brand-copy small { display: none; }
    .sidebar-brand-mark { width: 34px; height: 34px; flex-basis: 34px; }
}
@media (max-width: 420px) {
    .sidebar-logo { display: none; }
}
/* Theme switch and dark appearance for the HR workspace */
.sidebar-theme-toggle { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 42px; margin: 0 0 12px; padding: 0 11px; border: 1px solid rgba(153, 203, 227, .18); border-radius: 10px; background: rgba(255,255,255,.045); color: #b8cfde; font: inherit; font-size: 11px; text-align: left; cursor: pointer; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.sidebar-theme-toggle:hover { border-color: rgba(125, 205, 236, .38); background: rgba(96, 179, 214, .11); color: #effaff; }
.sidebar-theme-icon { display: grid; width: 23px; height: 23px; flex: 0 0 23px; place-items: center; border-radius: 7px; background: rgba(87, 176, 214, .14); color: #8bdaf4; font-size: 16px; }
.sidebar-theme-switch { width: 29px; height: 16px; margin-left: auto; padding: 2px; border: 1px solid rgba(169, 198, 216, .35); border-radius: 99px; background: rgba(10, 24, 38, .55); transition: background .2s ease, border-color .2s ease; }
.sidebar-theme-switch i { display: block; width: 10px; height: 10px; border-radius: 50%; background: #a4bdcc; transition: transform .2s ease, background .2s ease; }
html[data-theme="dark"] .sidebar-theme-switch { border-color: #5fb8dc; background: #318bb5; }
html[data-theme="dark"] .sidebar-theme-switch i { transform: translateX(13px); background: #fff; }
html[data-theme="dark"] {
    color-scheme: dark;
    --bg: #101a26;
    --card-bg: #182737;
    --text: #e4edf4;
    --muted: #a3b2bf;
    --border: #304254;
    --primary: #318ebd;
    --primary-dark: #267ba8;
    --shadow: 0 5px 18px rgba(0,0,0,.16);
    --brand-light: #172d3d;
}
html[data-theme="dark"] body { background: var(--bg); color: var(--text); }
html[data-theme="dark"] .main-content { color: var(--text); }
html[data-theme="dark"] .topbar-title,
html[data-theme="dark"] .main-content h1,
html[data-theme="dark"] .main-content h2,
html[data-theme="dark"] .main-content h3,
html[data-theme="dark"] .main-content h4,
html[data-theme="dark"] .main-content .panel-header,
html[data-theme="dark"] .main-content .stat-value,
html[data-theme="dark"] .main-content .dashboard-quick-card > strong,
html[data-theme="dark"] .main-content .dashboard-candidate-main strong,
html[data-theme="dark"] .main-content .analytics-primary-card strong,
html[data-theme="dark"] .main-content .analytics-secondary strong,
html[data-theme="dark"] .main-content .analytics-row-label strong,
html[data-theme="dark"] .main-content .vq-card-heading strong,
html[data-theme="dark"] .main-content .settings-account-info h2 { color: #e4edf4; }
html[data-theme="dark"] .main-content p,
html[data-theme="dark"] .main-content small,
html[data-theme="dark"] .main-content .muted,
html[data-theme="dark"] .main-content .dashboard-welcome > div > p:last-child,
html[data-theme="dark"] .main-content .interviews-intro > div:first-child > p:last-child { color: #a5b5c2; }
html[data-theme="dark"] .main-content .panel,
html[data-theme="dark"] .main-content .stat-card,
html[data-theme="dark"] .main-content .dashboard-quick-card,
html[data-theme="dark"] .main-content .interview-card,
html[data-theme="dark"] .main-content .candidate-status-panel,
html[data-theme="dark"] .main-content .schedule-settings-panel,
html[data-theme="dark"] .main-content .schedule-board,
html[data-theme="dark"] .main-content .schedule-manual-section,
html[data-theme="dark"] .main-content .analytics-primary-card,
html[data-theme="dark"] .main-content .analytics-panel,
html[data-theme="dark"] .main-content .analytics-period-form,
html[data-theme="dark"] .main-content .vq-vacancy-picker,
html[data-theme="dark"] .main-content .vq-question-card,
html[data-theme="dark"] .main-content .vq-add-card,
html[data-theme="dark"] .main-content .settings-account-card { border-color: #2d4154; background-color: #182737; color: #dce7ef; box-shadow: 0 5px 18px rgba(0,0,0,.14); }
html[data-theme="dark"] .main-content .dashboard-quick-card-primary { background: linear-gradient(125deg, #182737 35%, #1a3345); }
html[data-theme="dark"] .main-content .table tr:hover td { background: #1e3245; }
html[data-theme="dark"] .main-content .table th,
html[data-theme="dark"] .main-content .table td { border-color: #2b3e50; }
html[data-theme="dark"] .main-content .table td,
html[data-theme="dark"] .main-content .table th { color: #b7c6d2; }
html[data-theme="dark"] .main-content input:not([type="checkbox"]):not([type="radio"]),
html[data-theme="dark"] .main-content select,
html[data-theme="dark"] .main-content textarea { border-color: #3a5063; background-color: #122130; color: #e0eaf1; color-scheme: dark; }
html[data-theme="dark"] .main-content input::placeholder,
html[data-theme="dark"] .main-content textarea::placeholder { color: #8295a5; }
html[data-theme="dark"] .main-content .button-secondary,
html[data-theme="dark"] .main-content button:not(.button-primary):not(.sidebar-theme-toggle):not(.sidebar-logout) { border-color: #3a5063; background-color: #1b2d3e; color: #c8d7e2; }
html[data-theme="dark"] .main-content .button-primary { border-color: transparent; background-color: #318ebd; color: #fff; }
html[data-theme="dark"] .main-content .schedule-slot-card.is-free { border-color: #34674e; background: #193529; }
html[data-theme="dark"] .main-content .schedule-slot-card.is-booked { border-color: #31556a; background: #193142; }
html[data-theme="dark"] .main-content .schedule-slot-card.is-closed { border-color: #3b4a56; background: #202d38; }
html[data-theme="dark"] .main-content .schedule-slot-time,
html[data-theme="dark"] .main-content .schedule-slot-candidate,
html[data-theme="dark"] .main-content .vq-section-title h2,
html[data-theme="dark"] .main-content .vq-section-heading h2,
html[data-theme="dark"] .main-content .vq-no-questions > strong,
html[data-theme="dark"] .main-content .analytics-panel-heading h3,
html[data-theme="dark"] .main-content .settings-access-note strong { color: #dce8f0; }
html[data-theme="dark"] .main-content .schedule-board-toolbar,
html[data-theme="dark"] .main-content .schedule-day-counts > span,
html[data-theme="dark"] .main-content .vq-automation,
html[data-theme="dark"] .main-content .vq-no-questions,
html[data-theme="dark"] .main-content .vq-empty,
html[data-theme="dark"] .main-content .analytics-secondary > div,
html[data-theme="dark"] .main-content .analytics-section-heading > span,
html[data-theme="dark"] .main-content .analytics-bar-track { border-color: #2c4052; background-color: #142333; }
html[data-theme="dark"] .main-content .schedule-settings-summary,
html[data-theme="dark"] .main-content .schedule-manual-section > summary,
html[data-theme="dark"] .main-content .analytics-row-label,
html[data-theme="dark"] .main-content .analytics-table td { color: #c0cfda; }
html[data-theme="dark"] .main-content .settings-account-divider,
html[data-theme="dark"] .main-content .vq-rule-fields { border-color: #2c4052; }
html[data-theme="dark"] .main-content .schedule-day-empty { border-color: #35495b; background: #142333; }
html[data-theme="dark"] .main-content .analytics-primary-card.is-blue .analytics-card-icon,
html[data-theme="dark"] .main-content .analytics-primary-card.is-amber .analytics-card-icon,
html[data-theme="dark"] .main-content .analytics-primary-card.is-cyan .analytics-card-icon,
html[data-theme="dark"] .main-content .analytics-primary-card.is-violet .analytics-card-icon,
html[data-theme="dark"] .main-content .analytics-panel-icon { background-color: #20394b; }
html[data-theme="dark"] .main-content .button-primary:hover { background-color: #267ba8; }
@media (prefers-reduced-motion: reduce) {
    .sidebar-theme-toggle, .sidebar-theme-switch, .sidebar-theme-switch i { transition-duration: .01ms; }
}
@media (max-width: 900px) {
    .sidebar-theme-toggle { width: auto; flex: 0 0 auto; margin: 0; padding: 0 9px; }
    .sidebar-theme-toggle > [data-theme-label], .sidebar-theme-switch { display: none; }
}

/* Softer contrast and complete dark styling for secondary HR controls/cards. */
html[data-theme="dark"] {
    --bg: #121d29;
    --card-bg: #1b2b3b;
    --border: #34495b;
    --text: #e0e8ee;
    --muted: #a8b6c1;
    --primary: #3d8eaf;
    --primary-dark: #347d9d;
}
html[data-theme="dark"] .main-content .candidate-search-panel,
html[data-theme="dark"] .main-content [class*="-panel"],
html[data-theme="dark"] .main-content [class*="-card"] { background-color: #1b2b3b; border-color: #34495b; color: #d5e0e8; }
html[data-theme="dark"] .main-content .candidate-search-panel { background: #1b2b3b; box-shadow: 0 7px 22px rgba(0,0,0,.13); }
html[data-theme="dark"] .main-content .candidate-search-panel input,
html[data-theme="dark"] .main-content .candidate-search-panel select { border-color: #3b5265; background: #142333; color: #dce6ed; }
html[data-theme="dark"] .main-content .candidate-extra-filters { border-color: #34495b; }
html[data-theme="dark"] .main-content .candidate-extra-filters > summary,
html[data-theme="dark"] .main-content .candidate-results-heading h2,
html[data-theme="dark"] .main-content .candidate-name-cell strong,
html[data-theme="dark"] .main-content .candidate-vacancy-cell,
html[data-theme="dark"] .main-content .candidate-table td { color: #d2dee7; }
html[data-theme="dark"] .main-content .candidate-name-cell small,
html[data-theme="dark"] .main-content .candidate-country-cell,
html[data-theme="dark"] .main-content .candidate-results-heading p,
html[data-theme="dark"] .main-content .candidate-date-cell { color: #9cabb8; }
html[data-theme="dark"] .main-content .candidate-list-avatar { border: 1px solid #42657a; background: #284357; color: #b9d8e8; }
html[data-theme="dark"] .main-content .candidate-source-pill { border: 1px solid #3a5062; background: #26394a; color: #bdcbd5; }
html[data-theme="dark"] .main-content .candidate-open-button,
html[data-theme="dark"] .main-content a.button-secondary,
html[data-theme="dark"] .main-content a.button-small { border-color: #426075; background: #263b4e; color: #c0dce9; }
html[data-theme="dark"] .main-content .candidate-open-button:hover,
html[data-theme="dark"] .main-content a.button-secondary:hover,
html[data-theme="dark"] .main-content a.button-small:hover { border-color: #5a8298; background: #2d465a; color: #e1f4fc; }
html[data-theme="dark"] .main-content .topbar-user { color: #bcc9d3; }
html[data-theme="dark"] .main-content .topbar-role { border-color: #3b5061; color: #b3c3cf; }
html[data-theme="dark"] .main-content .button-primary { background: #3b88a8; }
html[data-theme="dark"] .main-content .button-primary:hover { background: #347b99; }
html[data-theme="dark"] .main-content .schedule-slot-card.is-free { background: #203b31; }
html[data-theme="dark"] .main-content .schedule-slot-card.is-booked { background: #21394a; }
html[data-theme="dark"] .main-content .schedule-slot-card.is-closed { background: #263440; }
html[data-theme="dark"] .main-content .candidate-check-pass { background: #203b31; }
html[data-theme="dark"] .main-content .candidate-check-fail { background: #432d31; }
html[data-theme="dark"] .main-content .candidate-check-review { background: #443a2a; }
html[data-theme="dark"] .main-content .badge { border: 1px solid transparent; box-shadow: inset 0 1px rgba(255,255,255,.035); }
html[data-theme="dark"] .main-content .badge-new { border-color: #414662; background: #30374f; color: #c5c9eb; }
html[data-theme="dark"] .main-content .badge-review { border-color: #5c4e35; background: #403824; color: #e4cf9a; }
html[data-theme="dark"] .main-content .badge-invited { border-color: #3d526c; background: #2c3d53; color: #bfd3ee; }
html[data-theme="dark"] .main-content .badge-scheduled { border-color: #365864; background: #263f49; color: #aed8df; }
html[data-theme="dark"] .main-content .badge-done { border-color: #514766; background: #393248; color: #d3c4ed; }
html[data-theme="dark"] .main-content .badge-accepted { border-color: #3b5c49; background: #2a4235; color: #b3d9bf; }
html[data-theme="dark"] .main-content .badge-rejected { border-color: #624147; background: #443137; color: #e7bfc1; }
html[data-theme="dark"] .main-content .badge-default { border-color: #46525d; background: #323d47; color: #c4cdd4; }
html[data-theme="dark"] .main-content .schedule-slot-state.is-free,
html[data-theme="dark"] .main-content .schedule-status-pill.is-free { border: 1px solid #3d624d; background: #294536; color: #b5d8bf; }
html[data-theme="dark"] .main-content .schedule-slot-state.is-booked,
html[data-theme="dark"] .main-content .schedule-status-pill.is-booked { border: 1px solid #3a5868; background: #2a414e; color: #b8d4df; }
html[data-theme="dark"] .main-content .schedule-slot-state.is-closed,
html[data-theme="dark"] .main-content .schedule-status-pill.is-closed { border: 1px solid #47535d; background: #333f49; color: #c0c9d0; }
html[data-theme="dark"] .main-content .candidate-check-pass { border: 1px solid #3d624d; color: #b5d8bf !important; }
html[data-theme="dark"] .main-content .candidate-check-fail { border: 1px solid #624147; color: #e7bfc1 !important; }
html[data-theme="dark"] .main-content .candidate-check-review { border: 1px solid #5c4e35; color: #e4cf9a !important; }
/* Dark-theme contrast pass: collapsed summaries, step hints and role chips. */
html[data-theme="dark"] .main-content details > summary { color: #d5e0e8; }
html[data-theme="dark"] .main-content details > summary strong,
html[data-theme="dark"] .main-content .interview-section-heading-copy strong,
html[data-theme="dark"] .main-content .schedule-settings-copy strong,
html[data-theme="dark"] .main-content .schedule-manual-panel > summary strong { color: #e0e8ee; }
html[data-theme="dark"] .main-content details > summary small,
html[data-theme="dark"] .main-content .interview-section-heading-copy small,
html[data-theme="dark"] .main-content .schedule-settings-copy small,
html[data-theme="dark"] .main-content .schedule-manual-panel > summary small { color: #a8b8c5; }
html[data-theme="dark"] .main-content .interview-view-tabs { border-color: #34495b; background: #1b2b3b; }
html[data-theme="dark"] .main-content .interview-view-tabs a { color: #b6c5d0; }
html[data-theme="dark"] .main-content .interview-view-tabs a:hover { background: #263b4e; color: #e2edf4; }
html[data-theme="dark"] .main-content .interview-view-tabs a.is-active { background: #294557; color: #c2e4f0; }
html[data-theme="dark"] .main-content .interview-view-tabs a span { background: #354f62; color: #c6d8e3; }
html[data-theme="dark"] .main-content .interviews-total { border-color: #34495b; background: #1b2b3b; }
html[data-theme="dark"] .main-content .interviews-total strong { color: #8bcde5; }
html[data-theme="dark"] .main-content .interviews-total span { color: #a8b8c5; }
html[data-theme="dark"] .main-content .interview-step,
html[data-theme="dark"] .main-content .schedule-step-number,
html[data-theme="dark"] .main-content .vq-step,
html[data-theme="dark"] .main-content .vq-how span { border: 1px solid #3b5b70; background: #294255; color: #b8deed; }
html[data-theme="dark"] .main-content .interview-booking-toggle-label,
html[data-theme="dark"] .main-content .interview-booking-chevron { color: #8ccce2; }
html[data-theme="dark"] .main-content .schedule-how-it-works,
html[data-theme="dark"] .main-content .vq-how { border-color: #34495b; background: #1b2b3b; color: #bccbd5; }
html[data-theme="dark"] .main-content .schedule-how-it-works p { color: #b4c3ce; }
html[data-theme="dark"] .main-content .schedule-how-it-works > span { border: 1px solid #3b5b70; background: #294255; color: #b8deed; }
html[data-theme="dark"] .main-content .schedule-settings-action,
html[data-theme="dark"] .main-content .schedule-summary-chevron,
html[data-theme="dark"] .main-content .vq-how i { color: #8ccce2; }
html[data-theme="dark"] .main-content .schedule-availability-toggle { color: #b9d3c2; }
html[data-theme="dark"] .main-content .settings-avatar { border-color: #3b5b70; background: linear-gradient(145deg, #294255, #21384a); color: #b8deed; }
html[data-theme="dark"] .main-content .settings-role { border-color: #3a5263; background: #26394a; color: #c2d0da; }
html[data-theme="dark"] .main-content .settings-account-divider { background: #34495b; }
html[data-theme="dark"] .main-content .settings-access-icon { border: 1px solid #3d624d; background: #294536; color: #b5d8bf; }
html[data-theme="dark"] .main-content .vq-picker-form > label,
html[data-theme="dark"] .main-content .vq-form .form-group > label { color: #b5c4cf; }
html[data-theme="dark"] .main-content .vq-section-title p,
html[data-theme="dark"] .main-content .vq-section-heading > div > p:last-child { color: #a8b8c5; }
/* Mobile layout refinements for public pages and the HR workspace. */
@media (max-width: 900px) {
    html, body { max-width: 100%; overflow-x: clip; }
    .app-layout { display: block; width: 100%; min-width: 0; }
    .sidebar {
        position: sticky; top: 0; z-index: 40; display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas: "brand theme" "nav nav" "logout logout";
        align-items: center; gap: 9px; width: 100%; min-width: 0; min-height: 0;
        padding: 9px 12px; border-right: 0; border-bottom: 1px solid rgba(119,180,211,.18);
    }
    .sidebar-logo { grid-area: brand; display: flex; min-width: 0; min-height: 38px; margin: 0; padding: 0; border: 0; }
    .sidebar-brand-mark { width: 34px; height: 34px; flex-basis: 34px; }
    .sidebar-brand-copy { gap: 2px; }
    .sidebar-brand-name { font-size: 14px; }
    .sidebar-brand-copy small { display: none; }
    .sidebar-nav {
        grid-area: nav; display: flex; flex: none; flex-direction: row; align-items: center;
        width: 100%; min-width: 0; gap: 5px; overflow-x: auto; overflow-y: hidden;
        padding: 1px 0 3px; scrollbar-width: thin; -webkit-overflow-scrolling: touch;
    }
    .sidebar-nav > a, .sidebar-more > summary {
        display: flex; flex: 0 0 auto; align-items: center; min-height: 37px;
        padding: 0 10px; border-radius: 9px; font-size: 12px !important; white-space: nowrap;
    }
    .sidebar-more { position: static; flex: 0 0 auto; margin: 0; padding: 0; border: 0; }
    .sidebar-more[open] .sidebar-subnav {
        position: fixed; top: 138px; right: 12px; z-index: 60;
        width: min(260px, calc(100vw - 24px)); max-height: 60vh; overflow: auto;
        padding: 8px; border: 1px solid #34516a; border-radius: 12px;
        background: #142b40; box-shadow: 0 14px 28px rgba(14,28,43,.28);
    }
    .sidebar-theme-toggle {
        grid-area: theme; display: flex; width: auto; min-width: 0; min-height: 36px;
        flex: 0 0 auto; gap: 7px; margin: 0; padding: 0 9px; font-size: 11px;
    }
    .sidebar-theme-toggle > [data-theme-label] { display: inline; }
    .sidebar-theme-switch { display: block; width: 28px; flex: 0 0 28px; }
    .sidebar-logout-form { grid-area: logout; justify-self: end; margin: 0; }
    .sidebar-logout { padding: 2px 4px; font-size: 11px !important; }
    .main-content { width: 100%; max-width: none; min-width: 0; padding: 18px 16px; }
    .content-area, .content-area > *, .panel, .topbar, .topbar-title { min-width: 0; max-width: 100%; }
    .topbar { align-items: flex-start; gap: 8px; margin-bottom: 16px; }
    .topbar-title { overflow-wrap: anywhere; font-size: 18px; }
    .topbar-user { min-width: 0; max-width: 55%; gap: 5px; font-size: 11px; }
    .topbar-role { flex: 0 0 auto; padding: 4px 7px; font-size: 10px; }
    .main-content .panel:has(> .table) { overflow-x: auto; }
    .main-content .panel > .table { min-width: 620px; }
}

@media (max-width: 620px) {
    .main-content { padding: 15px 12px 28px; }
    .topbar { align-items: center; margin-bottom: 14px; }
    .topbar-title { font-size: 16px; }
    .topbar-user { max-width: 58%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .panel { padding: 15px; border-radius: 13px; }
    .button, button { min-height: 40px; }
    input:not([type="checkbox"]):not([type="radio"]), select, textarea { min-width: 0; max-width: 100%; }
    .filters-bar { align-items: stretch; flex-direction: column; }
    .filters-bar > * { width: 100%; min-width: 0; }
    .candidate-main-filters { grid-template-columns: minmax(0, 1fr); }
    .candidate-main-filters > * { min-width: 0; width: 100%; }
    .candidate-extra-grid { grid-template-columns: minmax(0, 1fr); }
    .candidate-export-row { flex-wrap: wrap; }
    .candidate-table-scroll, .analytics-table-wrap, .schedule-table-scroll { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .dashboard-quick-stats { grid-template-columns: minmax(0, 1fr); }
    .dashboard-work-grid, .dashboard-grid, .candidate-grid { grid-template-columns: minmax(0, 1fr); }
    .interviews-intro { align-items: flex-start; flex-direction: row; gap: 10px; }
    .interviews-intro h1 { font-size: 24px; }
    .interviews-total { min-width: 64px; padding: 8px 10px; }
    .interviews-view-tabs { max-width: 100%; }
    .interview-booking-summary { gap: 9px; padding: 15px; }
    .interview-booking-content { padding: 0 15px 16px; }
    .interview-booking-form { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .interview-slot-picker { grid-column: auto; grid-template-columns: minmax(0, 1fr); }
    .interview-booking-form > button { width: 100%; margin-top: 0; }
    .interview-card { grid-template-columns: 48px minmax(0, 1fr); gap: 9px 11px; padding: 13px; }
    .interview-card-date { grid-column: 1; grid-row: 1 / span 2; }
    .interview-card-person { grid-column: 2; grid-row: 1; }
    .interview-card-time { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; }
    .interview-card-meta, .interview-card-actions { grid-column: 1 / -1; justify-content: flex-start; flex-wrap: wrap; }
    .interview-edit { flex: 1 1 100%; min-width: 0; }
    .interview-edit > summary { width: 100%; }
    .interview-assignment-form, .interview-result-fields { grid-template-columns: minmax(0, 1fr); }
    .interview-assignment-form > .button, .interview-result-form > .button { width: 100%; }
    .schedule-settings-form, .schedule-manual-form, .schedule-manual-section .schedule-manual-form { grid-template-columns: minmax(0, 1fr); }
    .schedule-settings-form > .button, .schedule-manual-form > .button { grid-column: 1; width: 100%; }
    .schedule-weekdays { grid-column: 1; }
    .schedule-board-toolbar { position: static; align-items: stretch; flex-direction: column; margin: 0 0 12px; }
    .schedule-date-controls { flex-wrap: wrap; }
    .schedule-date-picker { width: auto; flex: 1 1 150px; }
    .schedule-day-label { flex-basis: 100%; margin: 0; }
    .schedule-day-counts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
    .schedule-day-counts > span { justify-content: center; gap: 4px; min-height: 34px; padding: 0 5px; font-size: 10px; }
    .schedule-slot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .schedule-slot-card { min-height: 94px; padding: 10px; }
    .schedule-slot-controls { align-items: flex-start; flex-direction: column; }
    .vq-main-fields, .vq-rule-fields, .vacancy-editor-basic-grid, .vacancy-editor-conditions-grid,
    .vacancy-editor-copy-grid, .vacancy-editor-optional-grid, .vacancy-editor-publishing-grid { grid-template-columns: minmax(0, 1fr); }
    .vacancy-editor-salary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .settings-hero, .analytics-hero { align-items: stretch; flex-direction: column; }
    .settings-account-top { align-items: flex-start; }
    .settings-account-info h2 { overflow-wrap: anywhere; font-size: 17px; }
    .settings-users-link { max-width: calc(100% - 33px); margin-left: 33px; }
    .vacancy-editor-savebar { position: sticky; bottom: calc(6px + env(safe-area-inset-bottom)); }
    .vacancy-editor-savebar .button { width: 100%; }
}

@media (max-width: 600px) {
    .container { padding-right: 18px; padding-left: 18px; }
    .public-header-inner { gap: 8px; }
    .public-logo { min-width: 0; gap: 6px; }
    .public-logo-mark { height: 40px; }
    .public-logo-copy strong { font-size: 16px; }
    .public-logo-copy small { font-size: 7px; letter-spacing: .08em; }
    .public-nav-link { flex: 0 0 auto; font-size: 12px; white-space: nowrap; }
    .apply-section { padding: 28px 0 44px; }
    .apply-wrapper { grid-template-columns: minmax(0, 1fr); gap: 16px; width: 100%; }
    .apply-wrapper > *, .apply-info, .apply-form { width: 100%; min-width: 0; max-width: 100%; }
    .apply-info h1 { font-size: clamp(26px, 8vw, 32px); line-height: 1.15; overflow-wrap: anywhere; }
    .apply-info p { line-height: 1.55; }
    .apply-form { padding: 17px; }
    .apply-form .form-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; align-items: stretch; }
    .apply-form .form-group { width: 100%; min-width: 0; }
    .apply-form input, .apply-form select, .apply-form textarea { width: 100%; min-width: 0; }
    .apply-form input[type="file"] { padding: 9px; font-size: 12px; }
    .radio-group { gap: 8px 12px; }
    .radio-option { min-width: 0; }
    .vacancy-page-inner { width: 100%; }
    .vacancy-mobile-apply { padding-right: 16px; padding-left: 16px; }
    .vacancy-mobile-apply .button { min-height: 46px; }
    .analytics-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 360px) {
    .sidebar-theme-toggle > [data-theme-label] { display: none; }
    .sidebar-theme-toggle { padding: 0 7px; }
    .main-content { padding-right: 10px; padding-left: 10px; }
    .interviews-intro { flex-direction: column; }
    .interviews-total { align-items: flex-start; }
    .schedule-day-counts { grid-template-columns: 1fr; }
    .schedule-day-counts > span { justify-content: flex-start; padding: 0 9px; }
}
/* Follow-up mobile navigation and dark-theme contrast fixes. */
@media (max-width: 620px) {
    .sidebar-nav { flex-wrap: wrap; overflow: visible; padding-bottom: 0; scrollbar-width: none; }
    .sidebar-nav::-webkit-scrollbar { display: none; }
    .sidebar-more[open] .sidebar-subnav { top: max(168px, calc(env(safe-area-inset-top) + 150px)); }
    .topbar { flex-wrap: wrap; }
    .topbar-user { max-width: 100%; margin-left: auto; white-space: normal; }
}
html[data-theme="dark"] .main-content .dashboard-quick-card > span { color: #c0ced8; }
html[data-theme="dark"] .main-content .dashboard-quick-card > small { color: #9fadb9; }
@media (max-width: 360px) {
    .schedule-how-it-works { display: grid; grid-template-columns: 22px minmax(0, 1fr); justify-content: normal; gap: 6px 8px; }
    .schedule-how-it-works p { min-width: 0; margin: 0; overflow-wrap: anywhere; font-size: 10px; }
    .sidebar-theme-toggle { gap: 5px; padding-right: 7px; padding-left: 7px; font-size: 10px; }
    .sidebar-theme-toggle > [data-theme-label] { display: inline; }
}
@media (max-width: 620px) {
  html[data-theme="dark"] .main-content .candidate-search-field > span,
  html[data-theme="dark"] .main-content .candidate-status-field > span,
  html[data-theme="dark"] .main-content .candidate-extra-filters > summary { color: #b8c7d3; }
  .candidate-table:has(.empty-row) { min-width: 100%; }
  .candidate-table:has(.empty-row) .empty-row { white-space: normal; overflow-wrap: anywhere; }
}
@media (max-width: 620px) {
  .candidate-table:has(.empty-row) { width: 100%; min-width: 100%; table-layout: fixed; }
  .candidate-table:has(.empty-row) .empty-row { white-space: normal; overflow-wrap: anywhere; }
}
@media (max-width: 620px) {
  .candidate-table:has(.empty-row) thead { display: none; }
  .candidate-table:has(.empty-row) { width: 100%; min-width: 100%; table-layout: fixed; }
  .candidate-table:has(.empty-row) .empty-row { white-space: normal; overflow-wrap: anywhere; text-align: center; }
}


/* Единая типографика подробностей вакансии */
.vacancy-hero-card h1 {
    margin-bottom: 18px;
    font-size: clamp(30px, 3.1vw, 38px);
    line-height: 1.2;
    letter-spacing: -.025em;
}
.vacancy-eyebrow { font-size: 11px; line-height: 1.4; }
.vacancy-hero-card .tag-lang,
.vacancy-hero-card .tag-channel { font-size: 12px; line-height: 1.4; }
.vacancy-quick-facts span,
.vacancy-conditions .vacancy-quick-facts span,
.vacancy-extra-facts > div > span,
.vacancy-conditions .vacancy-extra-facts > div > span {
    color: #6b7c8e;
    font-size: 12px;
    line-height: 1.4;
}
.vacancy-quick-facts strong,
.vacancy-extra-facts > div > strong,
.vacancy-conditions .vacancy-extra-facts > div > strong {
    color: #30465b;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.45;
    overflow-wrap: anywhere;
}
.vacancy-quick-facts .quick-fact-salary small,
.vacancy-conditions .quick-fact-values small {
    color: #6a7f92;
    font-size: 12px;
    font-weight: 550;
    line-height: 1.4;
}
.vacancy-details-grid .vacancy-block h2 {
    margin-bottom: 10px;
    color: #36536c;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 650;
}
.vacancy-details-grid .vacancy-block p,
.vacancy-details-grid .vacancy-list li {
    color: #465b70;
    font-size: 15px;
    line-height: 1.7;
}
@media (max-width: 600px) {
    .vacancy-hero-card h1 { font-size: clamp(28px, 8vw, 34px); line-height: 1.18; }
    .vacancy-quick-facts strong,
    .vacancy-extra-facts > div > strong,
    .vacancy-conditions .vacancy-extra-facts > div > strong { font-size: 15px; }
    .vacancy-details-grid .vacancy-block h2 { font-size: 15px; }
    .vacancy-details-grid .vacancy-block p,
    .vacancy-details-grid .vacancy-list li { font-size: 15px; line-height: 1.7; }
}
.vacancy-details-grid .vacancy-company-lead { font-size: 15px !important; line-height: 1.7 !important; }

/* Настройки формата работы по странам в редакторе вакансии */
.vacancy-location-rules { min-width: 0; padding: 15px; border: 1px solid #dfe9f0; border-radius: 12px; background: #f7fafc; }
.vacancy-location-rules-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.vacancy-location-rules-heading > div { display: grid; gap: 4px; }
.vacancy-location-rules-heading strong { color: #304a60; font-size: 13px; }
.vacancy-location-rules-heading small, .vacancy-location-rules-note { color: #718397; font-size: 11px; line-height: 1.55; }
.vacancy-location-rules-heading > span { flex: 0 0 auto; color: #75889a; font-size: 10px; }
.vacancy-location-rule-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.vacancy-location-rule { display: grid; align-content: start; gap: 11px; min-width: 0; padding: 12px; border: 1px solid #e0e9ef; border-radius: 10px; background: #fff; }
.vacancy-location-country { display: flex; align-items: center; gap: 8px; color: #344b61; font-size: 12px; font-weight: 700; }
.vacancy-location-country input { width: 16px; height: 16px; min-height: 16px; margin: 0; accent-color: #318caf; }
.vacancy-location-rule .vacancy-editor-field > label { font-size: 10px; }
.vacancy-location-extra { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(90px, .8fr); gap: 8px; }
.vacancy-location-extra[hidden], .vacancy-location-extra [hidden] { display: none !important; }
.vacancy-location-rules-note { margin: 10px 0 0; }
.vacancy-location-public .vacancy-list { display: grid; gap: 8px; }
.vacancy-location-public .vacancy-list li { line-height: 1.6; }
.vacancy-location-public .vacancy-list li strong { color: #304b62; font-weight: 650; }
@media (max-width: 900px) {
    .vacancy-location-rule-grid { grid-template-columns: 1fr; }
    .vacancy-location-rule { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
    .vacancy-location-country { grid-column: 1 / -1; }
    .vacancy-location-extra { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
    .vacancy-location-rules { padding: 12px; }
    .vacancy-location-rules-heading { flex-direction: column; gap: 5px; }
    .vacancy-location-rule { grid-template-columns: 1fr; }
    .vacancy-location-country, .vacancy-location-extra { grid-column: auto; }
    .vacancy-location-extra { grid-template-columns: 1fr; }
}
