.lw-sitebar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background: rgba(11, 18, 32, 0.88);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(36, 48, 65, 0.7);
}


.lw-sitebar__account-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  max-width: 250px;
}

.lw-sitebar__account-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7dd3c7;
  margin-bottom: 4px;
  line-height: 1;
}

.lw-sitebar__account-value {
  color: #dbe7f3;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}





.lw-sitebar__shell {
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 28px;
  box-sizing: border-box;
}

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

.lw-sitebar-spacer {
  height: 79px;
}

.lw-sitebar__left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex-shrink: 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: 10px;
  white-space: nowrap;
}

.lw-sitebar__desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex: 1;
  min-width: 0;
}

.lw-sitebar__desktop-link {
  color: #c9d5e3;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  transition: color 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}

.lw-sitebar__desktop-link:hover {
  color: #ffffff;
  text-decoration: none;
}

.lw-sitebar__desktop-link.is-active {
  color: #ffffff;
}

.lw-sitebar__desktop-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lw-sitebar__desktop-button {
  min-height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, filter 0.15s ease;
  white-space: nowrap;
}

.lw-sitebar__desktop-button--telegram {
  gap: 10px;
}

.lw-sitebar__desktop-button-icon {
  width: 16px;
  height: 16px;
  display: block;
  flex: 0 0 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lw-sitebar__desktop-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  flex: 0 0 8px;
}

.lw-sitebar__desktop-status-dot.is-on {
  background: #34d399;
  box-shadow: 0 0 0 6px rgba(52, 211, 153, 0.08);
}

.lw-sitebar__desktop-status-dot.is-off {
  background: #ff5c5c;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.35);
}

.lw-sitebar__desktop-button:hover {
  text-decoration: none;
}

.lw-sitebar__desktop-button--secondary {
  background: transparent;
  color: #e2e8f0;
  border-color: #334155;
}

.lw-sitebar__desktop-button--secondary:hover {
  border-color: #475569;
  background: rgba(255, 255, 255, 0.04);
}

.lw-sitebar__desktop-button--primary {
  background: #14b8a6;
  color: #ffffff;
  border-color: #14b8a6;
}

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

.lw-sitebar__menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.lw-sitebar__menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #e2e8f0;
  transition: transform 0.22s ease, opacity 0.22s ease;
  transform-origin: center;
}

.lw-sitebar.is-open .lw-sitebar__menu-toggle {
  background: rgba(255, 255, 255, 0.07);
}

.lw-sitebar.is-open .lw-sitebar__menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.lw-sitebar.is-open .lw-sitebar__menu-toggle span:nth-child(2) {
  opacity: 0;
}

.lw-sitebar.is-open .lw-sitebar__menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.lw-sitebar__menu-toggle--mobile {
  display: none;
}

.lw-sitebar__panel-status {
  margin-top: 14px;
}

.lw-sitebar__panel-status-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: fit-content;
  max-width: 100%;
  gap: 8px;
  font-size: 0.92rem;
  line-height: 1.4;
  color: #dbe7f3;
  white-space: nowrap;
}

.lw-sitebar__panel-status-row .telegram-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  display: block;
  fill: none !important;
  stroke: #94a3b8 !important;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lw-sitebar__panel-status-row > span:not(.lw-status-dot) {
  display: inline-block;
}

.lw-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  flex: 0 0 8px;
  margin-left: 4px;
}

.lw-status-dot.is-on {
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
}

.lw-status-dot.is-off {
  background: #ef4444;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.4);
}

.lw-sitebar__status {
  padding: 16px;
  border-top: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: transparent;
  border-radius: 12px;
}

.lw-sitebar__status-item {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.lw-sitebar__status-item span:first-child {
  font-weight: 600;
  color: #fff;
}

.lw-sitebar__status-item .muted {
  color: rgba(255, 255, 255, 0.5);
}

.lw-sitebar__overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 8, 18, 0.46);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
  z-index: 1190;
}

.lw-sitebar.is-open .lw-sitebar__overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lw-sitebar__panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(360px, 100vw);
  height: 100dvh;
  background: rgba(11, 18, 32, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-left: 0;
  transform: translateX(100%);
  transition: transform 0.26s ease;
  z-index: 1200;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
}

.lw-sitebar.is-open .lw-sitebar__panel {
  transform: translateX(0);
}

.lw-sitebar__panel-inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 22px 28px 28px;
  box-sizing: border-box;
}

.lw-sitebar__panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}

.lw-sitebar__panel-brand {
  display: inline-flex;
  align-items: center;
}

.lw-sitebar__panel-logo {
  height: 40px;
  width: auto;
  display: block;
}

.lw-sitebar__panel-close {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
  flex-shrink: 0;
}

.lw-sitebar__panel-close:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: #475569;
}

.lw-sitebar__panel-close span {
  position: absolute;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #e2e8f0;
}

.lw-sitebar__panel-close span:nth-child(1) {
  transform: rotate(45deg);
}

.lw-sitebar__panel-close span:nth-child(2) {
  transform: rotate(-45deg);
}

.lw-sitebar__panel-account {
  padding: 0 0 20px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.lw-sitebar__panel-eyebrow {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7dd3c7;
  margin-bottom: 6px;
}

.lw-sitebar__panel-email {
  color: #dbe7f3;
  font-size: 15px;
  line-height: 1.5;
  word-break: break-word;
}

.lw-sitebar__nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 18px;
}

.lw-sitebar__link {
  width: 100%;
  color: #c9d5e3;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 14px;
  border-radius: 14px;
  border: 0 solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  box-sizing: border-box;
}

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

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

.lw-sitebar__actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
}

.lw-sitebar__button {
  width: 100%;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: filter 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  box-sizing: border-box;
}

.lw-sitebar__button--with-icon {
  gap: 10px;
}

.lw-sitebar__button-icon {
  width: 18px;
  height: 18px;
  display: block;
  flex: 0 0 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

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

.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;
}

html.lw-menu-open,
body.lw-menu-open {
  overflow: hidden;
}

body.lw-menu-open {
  padding-right: var(--lw-scrollbar-comp, 0px);
}

@media (max-width: 1050px) {
  .lw-sitebar__shell {
    padding: 0 10px;
  }

  .lw-sitebar__context {
    display: none;
  }

  .lw-sitebar__inner {
    min-height: 72px;
    gap: 14px;
  }

  .lw-sitebar__logo {
    height: 46px !important;
  }

  .lw-sitebar-spacer {
    height: 73px;
  }

  .lw-sitebar__desktop-nav,
  .lw-sitebar__account-meta,
  .lw-sitebar__desktop-button {
    display: none !important;
  }

  .lw-sitebar__menu-toggle--mobile {
    display: inline-flex !important;
  }

  .lw-sitebar__desktop-actions {
    margin-left: auto;
  }

  .lw-sitebar__panel {
    width: min(100vw, 420px);
  }

  .lw-sitebar__panel-inner {
    padding: 18px 18px 24px;
  }

  .lw-sitebar__panel-logo {
    height: 34px;
  }
}