.gitoku-layout-shell {
  position: relative;
}

.gitoku-layout-shell:has(.gitoku-sidebar-desktop-collapsed) {
  --gitoku-sidebar-width: var(--gitoku-sidebar-collapsed-width);
}

.gitoku-mobile-sidebar-bar {
  padding-top: 1rem;
}

.gitoku-mobile-sidebar-trigger {
  align-items: center;
  background: rgb(var(--gitoku-ink-975) / 0.82);
  border: 1px solid rgb(var(--gitoku-white) / 0.12);
  border-radius: var(--gitoku-radius-pill);
  color: rgb(var(--gitoku-slate-100));
  display: inline-flex;
  height: 2.75rem;
  justify-content: center;
  padding: 0;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
  width: 2.75rem;
}

.gitoku-mobile-sidebar-trigger:hover,
.gitoku-mobile-sidebar-trigger:focus {
  background: rgb(var(--gitoku-ink-925) / 0.96);
  border-color: rgb(var(--gitoku-amber-500) / 0.3);
  color: rgb(var(--gitoku-amber-100));
}

.gitoku-mobile-sidebar-trigger svg {
  height: 1.15rem;
  width: 1.15rem;
}

.gitoku-main {
  min-height: 100vh;
  min-width: 0;
}

#gitoku-page-content:has(.gitoku-repository-page-shell) {
  min-height: auto !important;
}

.gitoku-page-shell {
  box-sizing: border-box;
  margin: 0 auto;
  padding-left: clamp(1rem, 2vw, 2rem);
  padding-right: clamp(1rem, 2vw, 2rem);
  width: 100%;
}

.gitoku-page-shell-wide {
  padding-inline: clamp(1.5rem, 2.5vw, 2.5rem);
}

.gitoku-sidebar-desktop {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--gitoku-sidebar-width);
  padding: 2rem 1rem 1.5rem;
  background: rgb(var(--gitoku-ink-975) / 0.72);
  backdrop-filter: blur(20px);
  border-right: 1px solid var(--gitoku-surface-border);
  z-index: 1030;
}

.gitoku-sidebar-desktop-collapsed {
  padding: 1.25rem 0.75rem 1rem;
}

.gitoku-sidebar-offcanvas {
  --bs-offcanvas-width: min(calc(100vw - 1rem), 22rem);
  background: linear-gradient(180deg, rgb(var(--gitoku-ink-900) / 0.98) 0%, rgb(var(--gitoku-ink-975) / 0.98) 100%);
}

.gitoku-sidebar-offcanvas .offcanvas-header {
  padding-right: 3.5rem;
  position: relative;
}

.gitoku-sidebar-offcanvas .offcanvas-title {
  padding-right: 0.5rem;
}

.gitoku-sidebar-close {
  background-size: 1rem;
  border-radius: var(--gitoku-radius-pill);
  display: inline-flex;
  flex: 0 0 auto;
  height: 2.5rem;
  justify-content: center;
  margin: 0;
  opacity: 0.85;
  padding: 0;
  transition: background-color 160ms ease, opacity 160ms ease;
  width: 2.5rem;
}

.gitoku-sidebar-close:hover,
.gitoku-sidebar-close:focus {
  background-color: rgb(var(--gitoku-white) / 0.06);
  opacity: 1;
}

.gitoku-sidebar-offcanvas .offcanvas-header .gitoku-sidebar-close {
  margin: 0;
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
}

.gitoku-sidebar-home-link {
  color: rgb(var(--gitoku-slate-100));
  display: inline-flex;
  font-size: 1.25rem;
  font-weight: 650;
  line-height: 1.1;
  padding: 0.15rem 0.25rem;
  text-decoration: none;
  transition: color 160ms ease, opacity 160ms ease;
}

.gitoku-sidebar-home-link:hover,
.gitoku-sidebar-home-link:focus {
  color: rgb(var(--gitoku-amber-100));
}

.gitoku-sidebar-home-link-compact {
  align-items: center;
  background: rgb(var(--gitoku-white) / 0.04);
  border: 1px solid rgb(var(--gitoku-white) / 0.08);
  border-radius: var(--gitoku-radius-lg);
  font-size: 1rem;
  font-weight: 800;
  height: 3rem;
  justify-content: center;
  padding: 0;
  width: 3rem;
}

.gitoku-sidebar-desktop-header {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
}

.gitoku-sidebar-collapse-form {
  margin: 0;
}

.gitoku-sidebar-collapse-toggle {
  align-items: center;
  background: rgb(var(--gitoku-white) / 0.04);
  border: 1px solid rgb(var(--gitoku-white) / 0.08);
  border-radius: var(--gitoku-radius-pill);
  color: rgb(var(--gitoku-slate-100));
  display: inline-flex;
  height: 2.5rem;
  justify-content: center;
  padding: 0;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
  width: 2.5rem;
}

.gitoku-sidebar-collapse-toggle:hover,
.gitoku-sidebar-collapse-toggle:focus {
  background: rgb(var(--gitoku-amber-500) / 0.12);
  border-color: rgb(var(--gitoku-amber-500) / 0.28);
  color: rgb(var(--gitoku-amber-100));
}

.gitoku-sidebar-collapse-toggle svg {
  display: block;
  height: 1rem;
  width: 1rem;
}

.gitoku-sidebar-panel,
.gitoku-settings-section {
  backdrop-filter: blur(20px);
}

.gitoku-modal-surface {
  backdrop-filter: blur(20px);
  background: rgb(var(--gitoku-ink-975) / 0.96);
}

.gitoku-sidebar-panel,
.gitoku-settings-section {
  background: rgb(var(--gitoku-ink-925) / 0.78);
  border: 1px solid var(--gitoku-surface-border);
}

.gitoku-sidebar-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
}

.gitoku-sidebar-body-collapsed {
  align-items: center;
  gap: 1rem;
}

.gitoku-sidebar-compact-stack {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
}

.gitoku-sidebar-scroll {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 1rem;
  min-height: 0;
  overflow: hidden;
}

.gitoku-sidebar-live-sections {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 0;
}

.gitoku-sidebar-section-mount {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  min-height: 0;
}

.gitoku-sidebar-live-sections > .gitoku-sidebar-section-mount.gitoku-sidebar-section-mount-expanded,
.gitoku-sidebar-live-sections > .gitoku-sidebar-section-mount:has(.gitoku-sidebar-section-body.show),
.gitoku-sidebar-live-sections > .gitoku-sidebar-section-mount:has(.gitoku-sidebar-section-body.collapsing) {
  flex: 1 1 0;
  max-height: var(--gitoku-sidebar-section-mount-max-height, none);
}

.gitoku-sidebar-nav,
.gitoku-sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.gitoku-sidebar-section {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0;
  min-height: 0;
}

.gitoku-sidebar-section-header {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
}

.gitoku-sidebar-section-heading {
  display: flex;
  flex: 1 1 auto;
  line-height: 1;
  margin: 0;
  min-height: 0;
  min-width: 0;
}

.gitoku-sidebar-section-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: var(--gitoku-radius-md);
  color: inherit;
  display: flex;
  flex: 1 1 auto;
  gap: 0.75rem;
  height: 1.6rem;
  justify-content: space-between;
  margin: 0;
  min-width: 0;
  padding: 0 0.2rem;
  text-align: left;
  transition: color 160ms ease, background-color 160ms ease;
  width: 100%;
}

.gitoku-sidebar-section-toggle:hover,
.gitoku-sidebar-section-toggle:focus-visible {
  background: rgb(var(--gitoku-white) / 0.04);
  color: rgb(var(--gitoku-slate-100));
  outline: none;
}

.gitoku-sidebar-section-toggle-copy {
  align-items: center;
  align-self: stretch;
  display: inline-flex;
  height: 100%;
  min-width: 0;
}

.gitoku-sidebar-section-chevron {
  color: rgb(var(--gitoku-slate-500));
  display: inline-flex;
  flex: 0 0 auto;
  transition: color 160ms ease, transform 220ms ease;
}

.gitoku-sidebar-section-chevron svg {
  display: block;
  height: 0.9rem;
  width: 0.9rem;
}

.gitoku-sidebar-section-toggle[aria-expanded="true"] .gitoku-sidebar-section-chevron {
  color: rgb(var(--gitoku-slate-100));
  transform: rotate(90deg);
}

.gitoku-sidebar-section-body {
  flex: 1 1 auto;
  min-height: 0;
}

.gitoku-sidebar-section-body.show,
.gitoku-sidebar-section-body.collapsing {
  display: flex;
  flex-direction: column;
}

.gitoku-sidebar-section-body.collapsing {
  overflow: hidden;
}

.gitoku-sidebar-list-scroll {
  container-type: scroll-state;
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  overflow-y: auto;
  padding-top: 0.55rem;
  padding-right: 0.25rem;
  position: relative;
  scrollbar-color: rgb(var(--gitoku-white) / 0.16) transparent;
  scrollbar-width: thin;
}

.gitoku-sidebar-list-shell {
  min-height: 100%;
}

.gitoku-sidebar-scroll-hint {
  background: linear-gradient(180deg, rgb(var(--gitoku-ink-950) / 0), rgb(var(--gitoku-ink-950) / 0.92));
  bottom: 0;
  display: block;
  height: 0.9rem;
  margin-top: -0.9rem;
  opacity: 0;
  pointer-events: none;
  position: sticky;
  transition: opacity 160ms ease;
  z-index: 1;
}

.gitoku-sidebar-list-scroll::-webkit-scrollbar {
  width: 0.35rem;
}

.gitoku-sidebar-list-scroll::-webkit-scrollbar-thumb {
  background: rgb(var(--gitoku-white) / 0.16);
  border-radius: 999px;
}

@container scroll-state(scrollable: bottom) {
  .gitoku-sidebar-scroll-hint {
    opacity: 1;
  }
}

.gitoku-sidebar-section-title {
  align-items: center;
  color: rgb(var(--gitoku-slate-400));
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  height: 100%;
  letter-spacing: 0.12em;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.gitoku-sidebar-section-count {
  background: rgb(var(--gitoku-white) / 0.06);
  border: 1px solid rgb(var(--gitoku-white) / 0.08);
  border-radius: var(--gitoku-radius-pill);
  color: rgb(var(--gitoku-slate-400));
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.32rem 0.55rem;
}

.gitoku-sidebar-link {
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--gitoku-radius-lg);
  color: rgb(var(--gitoku-slate-300));
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.72rem 0.9rem;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.gitoku-sidebar-link:hover,
.gitoku-sidebar-link:focus {
  background: rgb(var(--gitoku-white) / 0.04);
  border-color: rgb(var(--gitoku-white) / 0.08);
  color: rgb(var(--gitoku-amber-100));
}

.gitoku-sidebar-link:focus-visible {
  outline: 2px solid rgb(var(--gitoku-amber-500) / 0.6);
  outline-offset: 2px;
}

.gitoku-sidebar-link.active {
  background: rgb(var(--gitoku-amber-500) / 0.16);
  border-color: rgb(var(--gitoku-amber-500) / 0.34);
  color: rgb(var(--gitoku-amber-100));
}

.gitoku-sidebar-org-toggle {
  align-items: flex-start;
  background: rgb(var(--gitoku-ink-975) / 0.6);
  border: 1px solid rgb(var(--gitoku-white) / 0.12);
  border-radius: var(--gitoku-radius-lg);
  color: rgb(var(--gitoku-slate-100));
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
  padding: 0.85rem 2.75rem 0.85rem 1rem;
  position: relative;
}

.gitoku-sidebar-org-compact-toggle {
  align-items: center;
  background: rgb(var(--gitoku-ink-975) / 0.6);
  border: 1px solid rgb(var(--gitoku-white) / 0.12);
  border-radius: var(--gitoku-radius-lg);
  color: rgb(var(--gitoku-slate-100));
  display: inline-flex;
  height: 3rem;
  justify-content: center;
  padding: 0;
}

.gitoku-sidebar-org-toggle:hover,
.gitoku-sidebar-org-toggle:focus,
.gitoku-sidebar-org-toggle:active,
.gitoku-sidebar-org-toggle.show {
  background: rgb(var(--gitoku-ink-925) / 0.92) !important;
  border-color: rgb(var(--gitoku-amber-500) / 0.3) !important;
  color: rgb(var(--gitoku-amber-100)) !important;
}

.gitoku-sidebar-org-compact-toggle:hover,
.gitoku-sidebar-org-compact-toggle:focus,
.gitoku-sidebar-org-compact-toggle:active,
.gitoku-sidebar-org-compact-toggle.show {
  background: rgb(var(--gitoku-ink-925) / 0.92) !important;
  border-color: rgb(var(--gitoku-amber-500) / 0.3) !important;
  color: rgb(var(--gitoku-amber-100)) !important;
}

.gitoku-sidebar-org-toggle::after {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.gitoku-sidebar-org-compact-toggle::after {
  display: none;
}

.gitoku-sidebar-compact-marker {
  align-items: center;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 800;
  justify-content: center;
  line-height: 1;
}

.gitoku-sidebar-org-current {
  color: inherit;
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  max-width: calc(100% - 1.5rem);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gitoku-sidebar-org-current-meta {
  color: var(--bs-secondary-color);
  display: block;
  font-size: 0.82rem;
  line-height: 1.35;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gitoku-sidebar-org-toggle:hover .gitoku-sidebar-org-current-meta,
.gitoku-sidebar-org-toggle:focus .gitoku-sidebar-org-current-meta,
.gitoku-sidebar-org-toggle:active .gitoku-sidebar-org-current-meta,
.gitoku-sidebar-org-toggle.show .gitoku-sidebar-org-current-meta {
  color: rgb(var(--gitoku-slate-300));
}

.gitoku-sidebar-org-menu {
  --bs-dropdown-bg: rgb(var(--gitoku-ink-975) / 0.96);
  --bs-dropdown-border-color: rgb(var(--gitoku-white) / 0.08);
  --bs-dropdown-link-color: rgb(var(--gitoku-slate-100));
  --bs-dropdown-link-hover-color: rgb(var(--gitoku-amber-100));
  --bs-dropdown-link-hover-bg: rgb(var(--gitoku-amber-500) / 0.12);
  --bs-dropdown-link-active-bg: rgb(var(--gitoku-amber-500) / 0.18);
  --bs-dropdown-link-active-color: rgb(var(--gitoku-amber-100));
  border-radius: var(--gitoku-radius-lg);
  padding: 0.5rem;
}

.gitoku-sidebar-org-menu-compact {
  --bs-dropdown-min-width: 16rem;
  margin-left: 0.5rem !important;
}

.gitoku-sidebar-org-panel {
  background: rgb(var(--gitoku-white) / 0.04);
  border: 1px solid rgb(var(--gitoku-white) / 0.06);
  border-radius: var(--gitoku-radius-lg);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
  min-width: 0;
  padding: 0.8rem 0.85rem;
}

.gitoku-sidebar-org-panel-name {
  color: rgb(var(--gitoku-slate-100));
  display: block;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gitoku-sidebar-org-panel-meta {
  color: var(--bs-secondary-color);
  display: block;
  font-size: 0.78rem;
  line-height: 1.35;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gitoku-sidebar-org-panel-settings {
  align-items: center;
  align-self: flex-start;
  background: rgb(var(--gitoku-white) / 0.04);
  border: 1px solid rgb(var(--gitoku-white) / 0.08);
  border-radius: var(--gitoku-radius-md);
  color: rgb(var(--gitoku-slate-100));
  display: inline-flex;
  gap: 0.45rem;
  margin-top: 0.3rem;
  padding: 0.5rem 0.7rem;
  text-decoration: none;
}

.gitoku-sidebar-org-panel-settings:hover,
.gitoku-sidebar-org-panel-settings:focus {
  background: rgb(var(--gitoku-amber-500) / 0.12);
  border-color: rgb(var(--gitoku-amber-500) / 0.28);
  color: rgb(var(--gitoku-amber-100));
}

.gitoku-sidebar-org-list {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.gitoku-sidebar-org-item {
  border-radius: var(--gitoku-radius-md);
}

.gitoku-sidebar-org-item {
  align-items: flex-start;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  min-width: 0;
  padding: 0.75rem 0.85rem;
}

.gitoku-sidebar-org-item-copy {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
}

.gitoku-sidebar-org-item-name {
  color: inherit;
  display: block;
  font-weight: 650;
  line-height: 1.3;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gitoku-sidebar-org-item-meta {
  color: var(--bs-secondary-color);
  display: block;
  font-size: 0.78rem;
  line-height: 1.35;
  margin-top: 0.1rem;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gitoku-sidebar-org-item:hover .gitoku-sidebar-org-item-meta,
.gitoku-sidebar-org-item:focus .gitoku-sidebar-org-item-meta {
  color: rgb(var(--gitoku-slate-300));
}

.gitoku-sidebar-link-title {
  display: block;
  font-size: 0.97rem;
  font-weight: 650;
  line-height: 1.3;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gitoku-sidebar-link-meta {
  color: var(--bs-secondary-color);
  display: block;
  font-size: 0.78rem;
  line-height: 1.35;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gitoku-sidebar-link.active .gitoku-sidebar-link-meta,
.gitoku-sidebar-link:hover .gitoku-sidebar-link-meta,
.gitoku-sidebar-link:focus .gitoku-sidebar-link-meta {
  color: rgb(var(--gitoku-slate-300));
}

.gitoku-sidebar-secondary-link {
  border-radius: var(--gitoku-radius-sm);
  color: rgb(var(--gitoku-slate-400));
  display: block;
  font-size: 0.82rem;
  line-height: 1.35;
  min-width: 0;
  overflow: hidden;
  padding: 0.2rem 0.15rem;
  position: relative;
  text-decoration: none;
  transition: color 160ms ease;
}

.gitoku-sidebar-secondary-link::before,
.gitoku-sidebar-secondary-link::after {
  content: "";
  left: 0;
  position: absolute;
  right: 0;
}

.gitoku-sidebar-secondary-link::before {
  bottom: 100%;
  height: 0.175rem;
}

.gitoku-sidebar-secondary-link::after {
  height: 0.175rem;
  top: 100%;
}

.gitoku-sidebar-secondary-link:hover,
.gitoku-sidebar-secondary-link:focus {
  color: rgb(var(--gitoku-slate-100));
}

.gitoku-sidebar-secondary-link:focus-visible {
  outline: 2px solid rgb(var(--gitoku-amber-500) / 0.6);
  outline-offset: 1px;
}

.gitoku-sidebar-secondary-link.active {
  color: rgb(var(--gitoku-amber-200));
}

.gitoku-sidebar-section-link {
  color: inherit;
  display: inline-flex;
  text-decoration: none;
  transition: color 160ms ease;
}

.gitoku-sidebar-section-link:hover,
.gitoku-sidebar-section-link:focus {
  color: rgb(var(--gitoku-slate-100));
}

.gitoku-sidebar-secondary-line {
  align-items: baseline;
  display: flex;
  gap: 0.35rem;
  min-width: 0;
  width: 100%;
}

.gitoku-sidebar-secondary-row {
  align-items: center;
  display: flex;
  gap: 0.45rem;
  min-width: 0;
  width: 100%;
}

.gitoku-sidebar-secondary-row .gitoku-sidebar-secondary-line {
  flex: 1 1 auto;
}

.gitoku-sidebar-secondary-title,
.gitoku-sidebar-secondary-meta {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gitoku-sidebar-secondary-title {
  color: inherit;
  flex: 1.2 1 0;
}

.gitoku-sidebar-secondary-meta {
  color: rgb(var(--gitoku-slate-500));
  flex: 1 1 0;
}

.gitoku-sidebar-secondary-link:hover .gitoku-sidebar-secondary-meta,
.gitoku-sidebar-secondary-link:focus .gitoku-sidebar-secondary-meta,
.gitoku-sidebar-secondary-link.active .gitoku-sidebar-secondary-meta {
  color: rgb(var(--gitoku-slate-400));
}

.gitoku-sidebar-secondary-separator {
  color: rgb(var(--gitoku-slate-600));
  flex: 0 0 auto;
}

.gitoku-sidebar-review-notification-shell {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
}

.gitoku-sidebar-review-notification {
  background: rgb(var(--gitoku-amber-600));
  border-radius: var(--gitoku-radius-pill);
  box-shadow: 0 0 0 0.15rem rgb(var(--gitoku-amber-600) / 0.16);
  display: block;
  height: 0.45rem;
  width: 0.45rem;
}

.gitoku-sidebar-secondary-link.active .gitoku-sidebar-review-notification-shell {
  display: none;
}

.gitoku-sidebar-empty {
  color: rgb(var(--gitoku-slate-500));
  font-size: 0.82rem;
  font-style: italic;
  line-height: 1.35;
  padding: 0.2rem 0.15rem;
}

.gitoku-sidebar-section-action {
  align-items: center;
  background: rgb(var(--gitoku-white) / 0.04);
  border: 1px solid rgb(var(--gitoku-white) / 0.08);
  border-radius: var(--gitoku-radius-md);
  color: rgb(var(--gitoku-slate-100));
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 1rem;
  font-weight: 700;
  justify-content: center;
  height: 1.6rem;
  line-height: 1;
  padding: 0;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
  width: 1.6rem;
}

.gitoku-sidebar-section-action svg {
  display: block;
  height: 0.8rem;
  width: 0.8rem;
}

.gitoku-sidebar-section-action:hover,
.gitoku-sidebar-section-action:focus {
  background: rgb(var(--gitoku-white) / 0.07);
  border-color: rgb(var(--gitoku-white) / 0.14);
  color: rgb(var(--gitoku-white));
}

.gitoku-sidebar-section-action.active {
  background: rgb(var(--gitoku-amber-500) / 0.16);
  border-color: rgb(var(--gitoku-amber-500) / 0.34);
  color: rgb(var(--gitoku-amber-100));
}

.gitoku-account-toggle {
  background: rgb(var(--gitoku-ink-975) / 0.6);
  border: 1px solid rgb(var(--gitoku-white) / 0.12);
  border-radius: var(--gitoku-radius-lg);
  color: rgb(var(--gitoku-slate-100));
  padding: 0.85rem 1rem;
}

.gitoku-account-toggle-compact {
  justify-content: center;
  padding: 0.2rem;
}

.gitoku-account-toggle:hover,
.gitoku-account-toggle:focus,
.gitoku-account-toggle:active,
.gitoku-account-toggle.show {
  background: rgb(var(--gitoku-ink-925) / 0.92) !important;
  border-color: rgb(var(--gitoku-amber-500) / 0.3) !important;
  color: rgb(var(--gitoku-amber-100)) !important;
}

.gitoku-account-toggle::after {
  margin-left: auto;
}

.gitoku-account-toggle-compact::after {
  display: none;
}

.gitoku-account-menu {
  --bs-dropdown-bg: rgb(var(--gitoku-ink-975) / 0.96);
  --bs-dropdown-border-color: rgb(var(--gitoku-white) / 0.08);
  --bs-dropdown-link-color: rgb(var(--gitoku-slate-100));
  --bs-dropdown-link-hover-color: rgb(var(--gitoku-amber-100));
  --bs-dropdown-link-hover-bg: rgb(var(--gitoku-amber-500) / 0.12);
  --bs-dropdown-link-active-bg: rgb(var(--gitoku-amber-500) / 0.18);
  --bs-dropdown-link-active-color: rgb(var(--gitoku-amber-100));
  border-radius: var(--gitoku-radius-lg);
  padding: 0.5rem;
}

.gitoku-account-menu-compact {
  --bs-dropdown-min-width: 14rem;
  margin-left: 0.5rem !important;
  margin-top: 0 !important;
}

.gitoku-account-menu .dropdown-item {
  border-radius: var(--gitoku-radius-md);
  padding: 0.7rem 0.8rem;
}

.gitoku-lang-menu {
  --bs-dropdown-bg: rgb(var(--gitoku-ink-975) / 0.96);
  --bs-dropdown-border-color: rgb(var(--gitoku-white) / 0.08);
  --bs-dropdown-link-color: rgb(var(--gitoku-slate-100));
  --bs-dropdown-link-hover-color: rgb(var(--gitoku-amber-100));
  --bs-dropdown-link-hover-bg: rgb(var(--gitoku-amber-500) / 0.12);
  --bs-dropdown-link-active-bg: rgb(var(--gitoku-amber-500) / 0.18);
  --bs-dropdown-link-active-color: rgb(var(--gitoku-amber-100));
  border-radius: var(--gitoku-radius-lg);
  padding: 0.5rem;
}

.gitoku-lang-menu .dropdown-item {
  border-radius: var(--gitoku-radius-md);
  padding: 0.5rem 0.8rem;
}

.gitoku-account-menu form {
  margin: 0;
}

.gitoku-avatar {
  align-items: center;
  background: linear-gradient(135deg, rgb(var(--gitoku-amber-500)) 0%, rgb(var(--gitoku-amber-400)) 100%);
  border-radius: var(--gitoku-radius-pill);
  color: rgb(var(--gitoku-ink-950));
  display: inline-flex;
  flex: 0 0 2.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  height: 2.75rem;
  justify-content: center;
  line-height: 1;
  width: 2.75rem;
}

@media (min-width: 992px) {
  .gitoku-main {
    margin-left: var(--gitoku-sidebar-width);
    width: calc(100% - var(--gitoku-sidebar-width));
  }

  .gitoku-browser-explorer-pane {
    position: sticky;
    top: 5rem;
    max-height: calc(100vh - 6.5rem);
  }

  .gitoku-browser-explorer-pane .gitoku-browser-tree {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
  }
}

/* ── Light theme: Sidebar details ────────────────── */

[data-bs-theme="light"] .gitoku-sidebar-org-panel {
  background: rgb(var(--gitoku-ink-925) / 0.03);
  border-color: rgb(var(--gitoku-ink-925) / 0.06);
}

[data-bs-theme="light"] .gitoku-sidebar-org-panel-name {
  color: rgb(var(--gitoku-ink-850));
}

[data-bs-theme="light"] .gitoku-sidebar-section-chevron {
  color: rgb(var(--gitoku-slate-600));
}

[data-bs-theme="light"] .gitoku-sidebar-scroll-hint {
  background: linear-gradient(180deg, rgb(var(--gitoku-white) / 0), rgb(var(--gitoku-white) / 0.96));
}

[data-bs-theme="light"] .gitoku-sidebar-section-toggle[aria-expanded="true"] .gitoku-sidebar-section-chevron {
  color: rgb(var(--gitoku-ink-850));
}

[data-bs-theme="light"] .gitoku-sidebar-empty {
  color: rgb(var(--gitoku-slate-600));
}

[data-bs-theme="light"] .gitoku-sidebar-secondary-separator {
  color: rgb(var(--gitoku-slate-500));
}

[data-bs-theme="light"] .gitoku-sidebar-org-toggle:hover .gitoku-sidebar-org-current-meta,
[data-bs-theme="light"] .gitoku-sidebar-org-toggle:focus .gitoku-sidebar-org-current-meta,
[data-bs-theme="light"] .gitoku-sidebar-org-toggle:active .gitoku-sidebar-org-current-meta,
[data-bs-theme="light"] .gitoku-sidebar-org-toggle.show .gitoku-sidebar-org-current-meta {
  color: rgb(var(--gitoku-slate-700));
}

[data-bs-theme="light"] .gitoku-sidebar-org-item:hover .gitoku-sidebar-org-item-meta,
[data-bs-theme="light"] .gitoku-sidebar-org-item:focus .gitoku-sidebar-org-item-meta {
  color: rgb(var(--gitoku-slate-700));
}

[data-bs-theme="light"] .gitoku-sidebar-link.active .gitoku-sidebar-link-meta,
[data-bs-theme="light"] .gitoku-sidebar-link:hover .gitoku-sidebar-link-meta,
[data-bs-theme="light"] .gitoku-sidebar-link:focus .gitoku-sidebar-link-meta {
  color: rgb(var(--gitoku-slate-700));
}

[data-bs-theme="light"] .gitoku-sidebar-secondary-link:hover .gitoku-sidebar-secondary-meta,
[data-bs-theme="light"] .gitoku-sidebar-secondary-link:focus .gitoku-sidebar-secondary-meta,
[data-bs-theme="light"] .gitoku-sidebar-secondary-link.active .gitoku-sidebar-secondary-meta {
  color: rgb(var(--gitoku-slate-700));
}

/* ── Light theme: Sidebar review notification ────── */

[data-bs-theme="light"] .gitoku-sidebar-review-notification {
  background: rgb(var(--gitoku-amber-700));
  box-shadow: 0 0 0 0.15rem rgb(var(--gitoku-amber-700) / 0.16);
}

/* ── Light theme: Focus states ───────────────────── */

[data-bs-theme="light"] .form-control:focus {
  background-color: rgb(var(--gitoku-white));
  border-color: rgb(var(--gitoku-amber-700) / 0.45);
  box-shadow: 0 0 0 0.2rem rgb(var(--gitoku-amber-700) / 0.1);
  color: rgb(var(--gitoku-ink-925));
}

[data-bs-theme="light"] .gitoku-sidebar-link:focus-visible,
[data-bs-theme="light"] .gitoku-repo-tab-link:focus-visible {
  outline-color: rgb(var(--gitoku-amber-700) / 0.6);
}
