.workspace-nav-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  z-index: 150;
}

body.workspace-nav-open {
  overflow: hidden;
}

.hamburger-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #1f2937;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.hamburger-button:hover,
.hamburger-button:focus {
  background: #eff6ff;
  border-color: #2563eb;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.18);
  outline: none;
}

.hamburger-button[aria-expanded="true"] {
  background: #e0f2fe;
  border-color: #2563eb;
  color: #1d4ed8;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.2);
}

.hamburger-button__icon {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
}

.hamburger-button__icon span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s;
}

.hamburger-button__label {
  font-size: 14px;
}

.workspace-nav__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  z-index: 140;
}

.workspace-nav {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: min(320px, 80%);
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.25);
  z-index: 150;
  display: flex;
  flex-direction: column;
  padding: 24px 20px 32px;
  gap: 16px;
  overflow-y: auto;
}

.workspace-nav__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.workspace-nav__title {
  font-size: 18px;
  font-weight: 600;
  color: #0f172a;
}

.workspace-nav__close {
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  color: #475569;
  transition: color 0.2s;
}

.workspace-nav__close:hover,
.workspace-nav__close:focus {
  color: #1d4ed8;
  outline: none;
}

.workspace-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.workspace-nav__link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: #1f2937;
  background: #f8fafc;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.workspace-nav__link span {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

.workspace-nav__link:hover,
.workspace-nav__link:focus,
.workspace-nav__link.is-active {
  background: #e0f2fe;
  color: #1d4ed8;
  transform: translateX(2px);
  outline: none;
}

.workspace-nav__link:hover span,
.workspace-nav__link:focus span,
.workspace-nav__link.is-active span {
  color: #2563eb;
}

.workspace-nav__session {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.workspace-nav__session strong {
  display: block;
  color: #0f172a;
  font-size: 14px;
}

.workspace-nav__session span {
  display: block;
  color: #64748b;
  font-size: 12px;
  margin-top: 2px;
}

.workspace-nav__logout {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #ffffff;
  color: #334155;
  font-weight: 600;
  cursor: pointer;
}

.workspace-nav__logout:hover,
.workspace-nav__logout:focus {
  border-color: #2563eb;
  color: #1d4ed8;
  outline: none;
}
