.app-shell {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  flex: none;
  display: flex;
  width: 216px;
  height: 100vh;
  flex-direction: column;
  gap: 2px;
  padding: 20px 12px 16px;
  border-right: 1px solid var(--line);
  background: var(--surface);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px 18px;
  color: var(--text-strong);
}

.brand:hover {
  color: var(--text-strong);
}

.brand-mark {
  width: 34px;
  height: 31px;
  object-fit: contain;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 2.5px;
  font-size: 15px;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 8px 10px;
  border-radius: 8px;
  color: #3c4655;
  font-weight: 500;
}

.nav-item:hover,
.nav-item.is-active {
  background: var(--blue-soft);
  color: var(--blue);
}

.nav-item.is-active {
  font-weight: 600;
}

.nav-icon {
  width: 20px;
  text-align: center;
  font-size: 15px;
}

.nav-badge {
  margin-left: auto;
  border-radius: 99px;
  padding: 1px 8px;
  background: var(--amber-soft);
  color: var(--amber);
  font-size: 11.5px;
  font-weight: 600;
}

.sidebar-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.language-switch {
  display: flex;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 600;
}

.language-switch a,
.language-switch span {
  flex: 1;
  padding: 6px 0;
  text-align: center;
}

.language-switch a {
  color: #5a6577;
}

.language-switch a:hover {
  background: var(--blue-soft);
  color: var(--blue);
}

.language-switch span {
  background: var(--text);
  color: #fff;
}

.local-status {
  border: 1px solid #d7e9dc;
  border-radius: 10px;
  padding: 9px 11px;
  background: #f2faf4;
}

.local-status-title {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  font-size: 12.5px;
  font-weight: 600;
}

.local-status-title span {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: #2ea052;
}

.profile {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 4px 6px;
}

.avatar {
  display: flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 99px;
  background: linear-gradient(135deg, #2ba9e0, #2a3f9e);
  color: #fff;
  font-weight: 600;
  font-size: 12.5px;
}

.profile-name {
  font-weight: 600;
  font-size: 13px;
}

.app-main {
  flex: 1;
  min-width: 0;
  max-width: 1080px;
  padding: 26px 34px 40px;
}

.status-page {
  max-width: 680px;
  margin: 80px auto;
  text-align: center;
}

.status-page h1 {
  margin: 0 0 8px;
  font-size: 28px;
}

@media (max-width: 780px) {
  .app-shell {
    display: block;
  }

  .sidebar {
    position: static;
    width: 100%;
    height: auto;
  }

  .nav-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-main {
    padding: 22px 16px 32px;
  }
}
