/* Оформление в стиле WorkHere: чёрная шапка, боковое меню с градиентом, синий акцент, белые карточки */
:root {
  --wh-black: #000000;
  --wh-blue: #0585e1;
  --wh-blue-dark: #0a63b8;
  --wh-green: #2e9e3e;
  --wh-page: #f2f4f8;
  --wh-text: #2b2b2b;
  --wh-muted: #676767;
  --wh-sidebar: linear-gradient(180deg, #19b3b5 0%, #0b8fe0 38%, #0c5fd0 62%, #1a1b8c 100%);
  --scalar-custom-header-height: 54px;
  --wh-font: Roboto, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

html, body { margin: 0; background: var(--wh-page); }
body { font-family: var(--wh-font); color: var(--wh-text); }

.docs-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  height: 54px;
  padding: 0 20px;
  background: var(--wh-black);
  color: #fff;
}
.docs-bar__left { display: flex; align-items: center; gap: 18px; min-width: 0; flex: 1 1 auto; }
.wh-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 0.85;
  color: #fff;
  text-decoration: none;
  flex: none;
}
.wh-logo b { font-size: 19px; font-weight: 900; letter-spacing: 0.5px; }
.wh-logo i { font-style: normal; font-size: 16px; font-weight: 500; }
.docs-bar__title { display: flex; align-items: center; min-width: 0; font-size: 18px; font-weight: 500; white-space: nowrap; }
#docs-title { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.docs-bar__badge {
  margin-left: 10px;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  background: var(--wh-blue);
  vertical-align: middle;
  flex: none;
}
.docs-bar__link {
  flex: none;
  color: #fff;
  text-decoration: none;
  background: var(--wh-blue);
  border-radius: 18px;
  padding: 7px 16px;
  font-size: 14px;
  white-space: nowrap;
}
.docs-bar__link:hover { background: var(--wh-blue-dark); }

.docs-empty { padding: 40px 24px; color: var(--wh-muted); font-size: 16px; }

@media (max-width: 600px) {
  :root { --scalar-custom-header-height: 0px; }
  .docs-bar { position: static; height: 54px; padding: 0 16px; gap: 10px; }
  .docs-bar__left { gap: 10px; }
  #docs-title { display: none; }
  .docs-bar__badge { margin-left: 6px; padding: 2px 8px; font-size: 11px; }
  .docs-bar__title { font-size: 15px; }
  .docs-bar__link { padding: 6px 12px; font-size: 13px; }
}
