/* HR Select — Стили руководства по личному кабинету (/guide/) */
html.hr-landing-page .guide-page-shell {
  background-color: var(--brand-light);
  padding: 112px 0 72px;
  min-height: calc(100vh - 320px);
}

html.hr-landing-page .guide-page-shell .container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

html.hr-landing-page .guide-page-shell .guide-breadcrumb-bar {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.7rem 1.15rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  box-shadow: var(--shadow-sm);
}

html.hr-landing-page .guide-page-shell .guide-breadcrumb-trail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-weight: 500;
  flex-wrap: wrap;
}

html.hr-landing-page .guide-page-shell .guide-breadcrumb-trail a {
  color: var(--brand-mid);
  font-weight: 600;
}

html.hr-landing-page .guide-page-shell .guide-breadcrumb-trail a:hover {
  color: var(--brand-teal-dark);
}

html.hr-landing-page .guide-page-shell .guide-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 1.15rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

html.hr-landing-page .guide-page-shell .guide-btn-primary {
  background: var(--brand-teal);
  border-color: var(--brand-teal);
  color: var(--brand-dark-ultra);
}

html.hr-landing-page .guide-page-shell .guide-btn-primary:hover {
  background: var(--brand-teal-dark);
  border-color: var(--brand-teal-dark);
  color: #FFFFFF;
}

html.hr-landing-page .guide-page-shell .guide-btn-outline {
  background: var(--bg-white);
  border-color: var(--border-color);
  color: var(--text-color);
}

html.hr-landing-page .guide-page-shell .guide-btn-outline:hover {
  border-color: var(--brand-teal-dark);
  background: var(--brand-teal-light);
  color: var(--brand-dark-ultra);
}

html.hr-landing-page .guide-page-shell .guide-layout-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 1.75rem;
  align-items: start;
}

/* Sidebar */
html.hr-landing-page .guide-page-shell .guide-sidebar {
  position: sticky;
  top: 96px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  scrollbar-width: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

html.hr-landing-page .guide-page-shell .guide-sidebar::-webkit-scrollbar {
  display: none;
}

html.hr-landing-page .guide-page-shell .guide-sidebar-block {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

html.hr-landing-page .guide-page-shell .guide-sidebar-label {
  padding: 0.85rem 1.15rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: var(--brand-light);
  border-bottom: 1px solid var(--border-color);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

html.hr-landing-page .guide-page-shell .guide-nav-list,
html.hr-landing-page .guide-page-shell .guide-toc-list {
  list-style: none;
  margin: 0;
  padding: 0.4rem;
}

html.hr-landing-page .guide-page-shell .guide-nav-link {
  display: block;
  padding: 0.62rem 0.85rem;
  text-decoration: none;
  border-radius: var(--radius-sm);
  margin-bottom: 2px;
  transition: var(--transition);
}

html.hr-landing-page .guide-page-shell .guide-nav-link:hover {
  background: var(--brand-light);
}

html.hr-landing-page .guide-page-shell .guide-nav-link.is-active {
  background: var(--brand-teal-light);
}

html.hr-landing-page .guide-page-shell .guide-nav-title {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-color);
  line-height: 1.35;
}

html.hr-landing-page .guide-page-shell .guide-nav-link.is-active .guide-nav-title {
  color: var(--brand-dark-ultra);
  font-weight: 700;
}

html.hr-landing-page .guide-page-shell .guide-nav-meta {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 2px;
}

html.hr-landing-page .guide-page-shell .guide-toc-link {
  display: block;
  padding: 0.45rem 0.75rem;
  font-size: 0.8rem;
  line-height: 1.38;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

html.hr-landing-page .guide-page-shell .guide-toc-link:hover,
html.hr-landing-page .guide-page-shell .guide-toc-link.is-active {
  color: var(--brand-dark-ultra);
  background: var(--brand-teal-light);
  font-weight: 600;
}

/* Hub */
html.hr-landing-page .guide-page-shell .guide-hub-header {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--brand-teal);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

html.hr-landing-page .guide-page-shell .guide-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-mid);
  margin-bottom: 0.5rem;
}

html.hr-landing-page .guide-page-shell .guide-hub-header h1 {
  margin: 0 0 0.75rem;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--brand-dark-ultra);
  line-height: 1.25;
}

html.hr-landing-page .guide-page-shell .guide-hub-lead {
  margin: 0 0 1.25rem;
  font-size: 0.96rem;
  color: var(--text-muted);
  max-width: 820px;
  line-height: 1.6;
}

html.hr-landing-page .guide-page-shell .guide-hub-search {
  width: 100%;
  max-width: 520px;
  height: 42px;
  padding: 0 1rem;
  font-size: 0.9rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--brand-light);
  color: var(--text-color);
}

html.hr-landing-page .guide-page-shell .guide-hub-search:focus {
  border-color: var(--brand-teal-dark);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(76, 217, 192, 0.2);
}

html.hr-landing-page .guide-page-shell .guide-hub-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  margin-bottom: 1.75rem;
}

html.hr-landing-page .guide-page-shell .guide-hub-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.45rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

html.hr-landing-page .guide-page-shell .guide-hub-card:hover {
  border-color: var(--brand-teal);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

html.hr-landing-page .guide-page-shell .guide-hub-card.is-hidden {
  display: none;
}

html.hr-landing-page .guide-page-shell .guide-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

html.hr-landing-page .guide-page-shell .guide-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.72rem;
  font-size: 0.74rem;
  font-weight: 700;
  background: var(--brand-teal-light);
  color: var(--brand-mid-dark);
  border-radius: var(--radius-full);
}

html.hr-landing-page .guide-page-shell .guide-role-pills {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

html.hr-landing-page .guide-page-shell .guide-role-pill {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--brand-light);
  border: 1px solid var(--border-color);
  padding: 0.16rem 0.5rem;
  border-radius: var(--radius-full);
}

html.hr-landing-page .guide-page-shell .guide-card-title {
  margin: 0 0 0.55rem;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.3;
}

html.hr-landing-page .guide-page-shell .guide-card-title a {
  color: var(--brand-dark-ultra);
}

html.hr-landing-page .guide-page-shell .guide-card-title a:hover {
  color: var(--brand-mid);
}

html.hr-landing-page .guide-page-shell .guide-card-desc {
  margin: 0 0 1.2rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.52;
}

html.hr-landing-page .guide-page-shell .guide-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

/* Role Matrix Card on Hub */
html.hr-landing-page .guide-page-shell .guide-matrix-box {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-sm);
}

html.hr-landing-page .guide-page-shell .guide-matrix-box h2 {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--brand-dark-ultra);
}

html.hr-landing-page .guide-page-shell .guide-matrix-box p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

html.hr-landing-page .guide-page-shell .guide-table-wrap {
  overflow-x: auto;
}

/* Article Paper */
html.hr-landing-page .guide-page-shell .guide-toolbar {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 0.85rem 1.25rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
}

html.hr-landing-page .guide-page-shell .guide-search-wrap {
  flex: 1;
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

html.hr-landing-page .guide-page-shell .guide-search-input {
  width: 100%;
  height: 40px;
  padding: 0 0.95rem;
  font-size: 0.875rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-color);
  background: var(--brand-light);
}

html.hr-landing-page .guide-page-shell .guide-search-input:focus {
  border-color: var(--brand-teal-dark);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(76, 217, 192, 0.18);
}

html.hr-landing-page .guide-page-shell .guide-search-count {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

html.hr-landing-page .guide-page-shell .guide-toolbar-btns {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

html.hr-landing-page .guide-page-shell .guide-paper {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 2.5rem 3rem;
}

html.hr-landing-page .guide-page-shell .guide-header {
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 1.35rem;
  margin-bottom: 1.75rem;
}

html.hr-landing-page .guide-page-shell .guide-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  flex-wrap: wrap;
}

html.hr-landing-page .guide-page-shell .guide-title {
  margin: 0 0 0.65rem;
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.28;
  color: var(--brand-dark-ultra);
}

html.hr-landing-page .guide-page-shell .guide-subtitle {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.55;
}

html.hr-landing-page .guide-page-shell .guide-body p {
  margin: 0 0 0.95rem;
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--text-color);
}

html.hr-landing-page .guide-page-shell .guide-body a {
  color: var(--brand-mid);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

html.hr-landing-page .guide-page-shell .guide-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85em;
  background: var(--brand-light);
  border: 1px solid var(--border-color);
  padding: 0.1rem 0.4rem;
  border-radius: 5px;
  color: var(--brand-mid-dark);
}

html.hr-landing-page .guide-page-shell .guide-h2 {
  margin: 2.1rem 0 0.9rem;
  padding-bottom: 0.5rem;
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--brand-dark-ultra);
  border-bottom: 1px solid var(--border-color);
  scroll-margin-top: 96px;
}

html.hr-landing-page .guide-page-shell .guide-h2:first-child {
  margin-top: 0;
}

html.hr-landing-page .guide-page-shell .guide-steps,
html.hr-landing-page .guide-page-shell .guide-list {
  margin: 0 0 1.25rem;
  padding-left: 1.45rem;
}

html.hr-landing-page .guide-page-shell .guide-steps li,
html.hr-landing-page .guide-page-shell .guide-list li {
  margin-bottom: 0.55rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-color);
}

html.hr-landing-page .guide-page-shell .guide-callout {
  margin: 1.25rem 0 1.5rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  line-height: 1.58;
}

html.hr-landing-page .guide-page-shell .guide-callout--info {
  background: var(--brand-teal-soft);
  border: 1px solid rgba(76, 217, 192, 0.45);
  border-left: 4px solid var(--brand-mid);
  color: var(--brand-dark-ultra);
}

html.hr-landing-page .guide-page-shell .guide-callout--warn {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-left: 4px solid #D97706;
  color: #78350F;
}

html.hr-landing-page .guide-page-shell .guide-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1.15rem 0 1.5rem;
  font-size: 0.88rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

html.hr-landing-page .guide-page-shell .guide-table th {
  background: var(--brand-mid-dark);
  color: #FFFFFF;
  font-weight: 700;
  padding: 0.75rem 0.95rem;
  text-align: left;
}

html.hr-landing-page .guide-page-shell .guide-table td {
  padding: 0.72rem 0.95rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-color);
  vertical-align: top;
}

html.hr-landing-page .guide-page-shell .guide-table tr:last-child td {
  border-bottom: 0;
}

/* Screenshots with callout legend */
html.hr-landing-page .guide-page-shell .guide-shot {
  margin: 1.5rem 0 1.85rem;
  background: var(--brand-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

html.hr-landing-page .guide-page-shell .guide-shot-frame {
  position: relative;
  padding: 1rem 1rem 0.65rem;
  cursor: zoom-in;
}

html.hr-landing-page .guide-page-shell .guide-shot-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: #FFFFFF;
}

html.hr-landing-page .guide-page-shell .guide-shot-zoom {
  position: absolute;
  right: 1.6rem;
  bottom: 1.25rem;
  background: rgba(11, 29, 30, 0.86);
  color: #4CD9C0;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
}

html.hr-landing-page .guide-page-shell .guide-shot-caption {
  padding: 0.9rem 1.25rem 1.15rem;
  background: #FFFFFF;
  border-top: 1px solid var(--border-color);
}

html.hr-landing-page .guide-page-shell .guide-shot-caption strong {
  display: block;
  font-size: 0.9rem;
  color: var(--brand-dark-ultra);
  margin-bottom: 0.65rem;
}

html.hr-landing-page .guide-page-shell .guide-shot-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1.15rem;
}

html.hr-landing-page .guide-page-shell .guide-shot-legend li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-muted);
}

html.hr-landing-page .guide-page-shell .shot-num {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-mid-dark);
  color: var(--brand-teal);
  font-size: 0.72rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

html.hr-landing-page .guide-page-shell .guide-pager {
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

html.hr-landing-page .guide-page-shell mark.search-hl {
  background: var(--brand-teal-light);
  color: var(--brand-dark-ultra);
  border-bottom: 2px solid var(--brand-teal-dark);
  padding: 0 2px;
  border-radius: 3px;
}

/* Lightbox */
html.hr-landing-page .guide-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(11, 29, 30, 0.88);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

html.hr-landing-page .guide-lightbox.is-open {
  display: flex;
}

html.hr-landing-page .guide-lightbox-inner {
  max-width: min(1160px, 95vw);
  max-height: 92vh;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 1rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

html.hr-landing-page .guide-lightbox-inner img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

html.hr-landing-page .guide-lightbox-cap {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-dark-ultra);
  text-align: center;
}

html.hr-landing-page .guide-lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-mid-dark);
  color: #FFFFFF;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 980px) {
  html.hr-landing-page .guide-page-shell .guide-layout-grid {
    grid-template-columns: 1fr;
  }
  html.hr-landing-page .guide-page-shell .guide-sidebar {
    position: static;
    max-height: none;
  }
  html.hr-landing-page .guide-page-shell .guide-hub-cards,
  html.hr-landing-page .guide-page-shell .guide-shot-legend {
    grid-template-columns: 1fr;
  }
  html.hr-landing-page .guide-page-shell .guide-paper {
    padding: 1.65rem 1.25rem;
  }
}

@media (max-width: 768px) {
  html.hr-landing-page .guide-page-shell {
    padding: 88px 0 44px;
  }
}

@media print {
  html.hr-landing-page .promo-bar,
  html.hr-landing-page .main-header,
  html.hr-landing-page .floating-burger,
  html.hr-landing-page .footer,
  html.hr-landing-page .modal-overlay,
  html.hr-landing-page .toast,
  html.hr-landing-page .no-print {
    display: none !important;
  }
  html.hr-landing-page .guide-page-shell {
    padding: 0 !important;
    background: #FFFFFF !important;
  }
  html.hr-landing-page .guide-page-shell .guide-layout-grid {
    display: block !important;
  }
  html.hr-landing-page .guide-page-shell .guide-paper {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
}
