.navbar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 16rem;
  z-index: 50;
  border-right: 1px solid rgb(243, 244, 246);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
}
@media (max-width: 767px) {
  .navbar {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: auto;
    flex-direction: row;
    border-right: none;
    border-top: 1px solid rgb(243, 244, 246);
    box-shadow: 0 12px 32px -2px rgba(0, 0, 0, 0.18), 0 8px 20px -6px rgba(0, 0, 0, 0.13);
  }
}
.navbar .nav-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1rem 0;
  margin: 0;
  max-width: none;
}
@media (max-width: 767px) {
  .navbar .nav-container {
    flex: 1;
    flex-direction: row;
    padding: 0 1rem;
  }
}
.navbar .nav-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: auto;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0.5rem;
}
@media (max-width: 767px) {
  .navbar .nav-content {
    flex-direction: row;
    height: 4rem;
    align-items: center;
    justify-content: space-between;
  }
}
.navbar .nav-brand {
  display: flex;
  align-items: center;
  padding: 0 1.5rem 1rem;
  border-bottom: 1px solid rgb(243, 244, 246);
}
@media (max-width: 767px) {
  .navbar .nav-brand {
    padding: 0;
    border-bottom: none;
  }
}
.navbar .nav-brand > :not([hidden]) ~ :not([hidden]) {
  margin-right: calc(0.75rem * var(--tw-space-x-reverse, 0));
  margin-left: calc(0.75rem * (1 - var(--tw-space-x-reverse, 0)));
}
.navbar .nav-title {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
  color: rgb(17, 24, 39);
}
.navbar .nav-links {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 1rem 1rem;
}
.navbar .nav-links > :not([hidden]) ~ :not([hidden]) {
  margin-top: 0.25rem;
  margin-right: 0;
  margin-left: 0;
}
@media (max-width: 767px) {
  .navbar .nav-links {
    display: none;
  }
}
.navbar .nav-user {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin-top: auto;
  padding: 1rem 1.5rem 0;
  border-top: 1px solid rgb(243, 244, 246);
}
@media (max-width: 767px) {
  .navbar .nav-user {
    flex-direction: row;
    margin-top: 0;
    padding: 0;
    border-top: none;
  }
}
.navbar .nav-user-inline {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (max-width: 767px) {
  .navbar .nav-user-inline {
    display: none;
  }
}
.navbar .nav-user-mobile {
  display: none;
  align-items: center;
  gap: 0.5rem;
}
@media (max-width: 767px) {
  .navbar .nav-user-mobile {
    display: flex;
  }
}
.navbar .nav-user-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.navbar .nav-user-meta {
  min-width: 0;
}
.navbar .nav-user-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgb(17, 24, 39);
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.navbar .nav-user-role {
  font-size: 0.75rem;
  color: rgb(107, 114, 128);
  margin: 0.25rem 0 0 0;
}
.navbar .nav-user-logout {
  margin: 0;
}
.navbar .nav-user-logout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: rgb(75, 85, 99);
  background: transparent;
  border: 1px solid rgb(229, 231, 235);
  border-radius: 0.375rem;
  cursor: pointer;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.navbar .nav-user-logout-btn:hover {
  background: rgb(243, 244, 246);
  color: rgb(17, 24, 39);
}
.navbar .nav-avatar {
  display: flex;
  height: 2rem;
  width: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: rgb(229, 231, 235);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: rgb(75, 85, 99);
}

.page-content {
  margin-left: 16rem;
}
@media (max-width: 767px) {
  .page-content {
    margin-left: 0;
  }
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: rgb(75, 85, 99);
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.nav-link__icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}
.nav-link:hover {
  color: rgb(17, 24, 39);
}
.nav-link.active {
  background-color: #c82d27;
  color: rgb(255, 255, 255);
}

.mobile-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}
@media (max-width: 767px) {
  .mobile-nav-toggle {
    display: flex !important;
  }
}

.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 40;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-out, visibility 0s linear 0.3s;
  pointer-events: none;
  display: none;
}
@media (max-width: 767px) {
  .mobile-menu-backdrop {
    display: block;
  }
}

.mobile-slide-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 80dvw;
  max-width: 80dvw;
  height: 100vh;
  z-index: 50;
  background: #fff;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1), visibility 0s linear 0.3s;
  overflow-y: auto;
  display: none;
}
@media (max-width: 767px) {
  .mobile-slide-menu {
    display: block;
  }
}

.mobile-slide-menu__inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.mobile-slide-menu__header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgb(243, 244, 246);
  flex-shrink: 0;
}

.mobile-slide-menu__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  background: transparent;
  border-radius: 0.375rem;
  color: rgb(75, 85, 99);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.mobile-slide-menu__close:hover {
  background: rgb(243, 244, 246);
  color: rgb(17, 24, 39);
}

.mobile-slide-menu__body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.mobile-slide-menu__user {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgb(243, 244, 246);
}
.mobile-slide-menu__user-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgb(17, 24, 39);
  margin: 0;
  word-break: break-all;
}
.mobile-slide-menu__user-role {
  font-size: 0.75rem;
  color: rgb(107, 114, 128);
  margin: 0.25rem 0 0 0;
}

.mobile-slide-menu__links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-slide-menu__logout {
  padding-top: 0.5rem;
  margin-top: auto;
}
.mobile-slide-menu__logout-btn {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: rgb(75, 85, 99);
  background: transparent;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  gap: 0.5rem;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.mobile-slide-menu__logout-btn:hover {
  background: rgb(243, 244, 246);
  color: rgb(17, 24, 39);
}

@media (max-width: 767px) {
  body.mobile-menu-open {
    overflow: hidden;
  }
  body.mobile-menu-open .mobile-menu-backdrop {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease-out, visibility 0s linear 0s;
    pointer-events: auto;
  }
  body.mobile-menu-open .mobile-slide-menu {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1), visibility 0s linear 0s;
  }
}
.context-menu-wrapper {
  position: relative;
  display: inline-block;
}

.context-menu-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: none;
  border-radius: 0.375rem;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
.context-menu-trigger:hover, .context-menu-trigger[aria-expanded=true] {
  background-color: rgba(0, 0, 0, 0.06);
}
.context-menu-trigger i {
  font-size: 1rem;
}

.context-menu {
  position: absolute;
  z-index: 100;
  min-width: 10rem;
  padding: 0.25rem 0;
  margin-top: 0.25rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  list-style: none;
  right: 0;
  top: 100%;
}
.context-menu[data-position=left] {
  right: auto;
  left: 0;
}

.context-menu-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.5rem 1rem;
  border: none;
  background: none;
  color: #374151;
  font-size: 0.875rem;
  text-align: left;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.1s;
}
.context-menu-item:hover {
  background-color: #f3f4f6;
}
.context-menu-item i {
  width: 1.25rem;
  opacity: 0.8;
}
.context-menu-item.context-menu-item--danger {
  color: #dc2626;
}
.context-menu-item.context-menu-item--danger:hover {
  background-color: #fef2f2;
}

.context-menu-divider {
  height: 1px;
  margin: 0.25rem 0;
  background: #e5e7eb;
}

.badge--lg {
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid #e5e7eb;
  padding: 0 1rem 0 0;
}

.tabs__tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b7280;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.tabs__tab:hover {
  color: #374151;
}
.tabs__tab.tabs__tab--active {
  color: #c82d27;
  border-bottom-color: #c82d27;
}

.tabs__content {
  min-height: 12rem;
}

.tabs__pane {
  display: none;
}
.tabs__pane.tabs__pane--active {
  display: block;
}

.rich-text-content {
  line-height: 1.6;
  color: #111827;
  word-break: break-word;
}
.rich-text-content h1 {
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 1rem;
}
.rich-text-content h2 {
  font-size: 1.5rem;
  line-height: 1.3;
  font-weight: 700;
  margin: 0 0 0.875rem;
}
.rich-text-content h3 {
  font-size: 1.25rem;
  line-height: 1.4;
  font-weight: 600;
  margin: 0 0 0.75rem;
}
.rich-text-content h4 {
  font-size: 1.125rem;
  line-height: 1.4;
  font-weight: 600;
  margin: 0 0 0.75rem;
}
.rich-text-content p {
  margin: 0 0 1rem;
}
.rich-text-content strong {
  font-weight: 700;
}
.rich-text-content em {
  font-style: italic;
}
.rich-text-content ul,
.rich-text-content ol {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
}
.rich-text-content ul {
  list-style-type: disc;
}
.rich-text-content ol {
  list-style-type: decimal;
}
.rich-text-content li {
  margin: 0.25rem 0;
}
.rich-text-content a {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.rich-text-content blockquote {
  border-left: 4px solid #d1d5db;
  margin: 0 0 1rem;
  padding-left: 1rem;
  color: #4b5563;
}
.rich-text-content > *:last-child {
  margin-bottom: 0;
}

/*# sourceMappingURL=Global.css.map */
