.lw-sitebar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 18, 32, 0.94);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #243041;
}

.lw-sitebar__inner {
  width: 100%;
  box-sizing: border-box;
  min-height: 78px;
  padding: 14px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.lw-sitebar__left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.lw-sitebar__brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.lw-sitebar__logo {
  height: 50px !important;
  width: auto;
  display: block;
}

.lw-sitebar__context {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.lw-sitebar__eyebrow {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7dd3c7;
}

.lw-sitebar__meta {
  font-size: 14px;
  color: #dbe7f3;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.lw-sitebar__right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.lw-sitebar__nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.lw-sitebar__link {
  color: #c9d5e3;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.lw-sitebar__link:hover {
  text-decoration: none;
  background: #172132;
  color: #ffffff;
  border-color: #2b3a4d;
}

.lw-sitebar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lw-sitebar__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: filter 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.lw-sitebar__button:hover {
  text-decoration: none;
}

.lw-sitebar__button--primary {
  background: #14b8a6;
  color: #ffffff;
  border-color: #12998a;
}

.lw-sitebar__button--primary:hover {
  filter: brightness(1.05);
}

.lw-sitebar__button--secondary {
  background: #111827;
  color: #e2e8f0;
  border-color: #334155;
}

.lw-sitebar__button--secondary:hover {
  border-color: #475569;
}

.lw-sitebar__telegram-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #86efac;
  vertical-align: middle;
}

.lw-sitebar__telegram-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.8);
  flex: 0 0 8px;
}

.lw-telegram-status {
  font-size: 13px;
  font-weight: 600;
}

.lw-telegram-status--on {
  color: #22c55e;
}

.lw-telegram-status--off {
  color: #ef4444;
}


@media (max-width: 900px) {
  .lw-sitebar__inner {
    align-items: flex-start;
  }

  .lw-sitebar__right {
    width: 100%;
    justify-content: space-between;
  }

  .lw-sitebar__meta {
    max-width: 220px;
  }
}

@media (max-width: 640px) {
  .lw-sitebar__inner {
    padding: 12px 18px;
  }

  .lw-sitebar__logo {
    height: 34px;
  }

  .lw-sitebar__right {
    flex-direction: column;
    align-items: stretch;
  }

  .lw-sitebar__nav {
    width: 100%;
  }

  .lw-sitebar__actions {
    width: 100%;
  }

  .lw-sitebar__button {
    width: 100%;
  }
}

.lw-sitebar__link.is-active {
  background: #172132;
  color: #ffffff;
  border: 1px solid #2b3a4d;
}

.lw-sitebar__link {
  border: 1px solid transparent;
}

.lw-sitebar__link:hover {
  text-decoration: none;
  background: #172132;
  color: #ffffff;
  border-color: #2b3a4d;
}