:root {
  --gitoku-black: 0 0 0;
  --gitoku-white: 255 255 255;

  --gitoku-ink-975: 6 11 21;
  --gitoku-ink-950: 13 17 23;
  --gitoku-ink-925: 15 23 42;
  --gitoku-ink-900: 17 24 39;
  --gitoku-ink-850: 22 33 48;

  --gitoku-slate-800: 36 50 68;
  --gitoku-slate-700: 71 84 103;
  --gitoku-slate-600: 102 117 138;
  --gitoku-slate-500: 148 163 184;
  --gitoku-slate-400: 203 213 225;
  --gitoku-slate-300: 226 232 240;
  --gitoku-slate-200: 241 245 249;
  --gitoku-slate-100: 248 250 252;

  --gitoku-amber-900: 146 64 14;
  --gitoku-amber-800: 180 83 9;
  --gitoku-amber-700: 217 119 6;
  --gitoku-amber-600: 245 158 11;
  --gitoku-amber-500: 246 173 85;
  --gitoku-amber-400: 250 204 21;
  --gitoku-amber-300: 253 230 138;
  --gitoku-amber-200: 255 208 138;
  --gitoku-amber-100: 255 246 223;
  --gitoku-amber-050: 255 251 235;

  --gitoku-sky-900: 12 74 110;
  --gitoku-sky-800: 14 116 144;
  --gitoku-sky-700: 2 132 199;
  --gitoku-sky-600: 14 165 233;
  --gitoku-sky-500: 56 189 248;
  --gitoku-sky-400: 125 211 252;
  --gitoku-sky-300: 147 197 253;
  --gitoku-sky-100: 240 249 255;

  --gitoku-blue-700: 29 78 216;
  --gitoku-blue-600: 37 99 235;
  --gitoku-blue-500: 59 130 246;
  --gitoku-blue-400: 96 165 250;
  --gitoku-blue-300: 191 219 254;
  --gitoku-blue-100: 219 234 254;

  --gitoku-emerald-700: 21 128 61;
  --gitoku-emerald-600: 22 163 74;
  --gitoku-emerald-500: 34 197 94;
  --gitoku-emerald-300: 134 239 172;
  --gitoku-emerald-100: 220 252 231;

  --gitoku-rose-700: 220 38 38;
  --gitoku-rose-500: 239 68 68;
  --gitoku-rose-300: 248 113 113;

  --gitoku-violet-500: 99 102 241;
  --gitoku-violet-300: 196 181 253;
  --gitoku-pink-300: 249 168 212;

  --gitoku-radius-xs: 0.375rem;
  --gitoku-radius-sm: 0.5rem;
  --gitoku-radius-md: 0.75rem;
  --gitoku-radius-lg: 1rem;
  --gitoku-radius-xl: 1.25rem;
  --gitoku-radius-2xl: 1.5rem;
  --gitoku-radius-3xl: 2rem;
  --gitoku-radius-pill: 999px;

  --gitoku-color-canvas: rgb(var(--gitoku-ink-950));
  --gitoku-color-surface: rgb(var(--gitoku-ink-925) / 0.78);
  --gitoku-color-border-soft: rgb(var(--gitoku-white) / 0.08);
  --gitoku-color-text-strong: rgb(var(--gitoku-slate-100));
  --gitoku-color-text: rgb(var(--gitoku-slate-300));
  --gitoku-color-text-muted: rgb(var(--gitoku-slate-500));
  --gitoku-color-accent: rgb(var(--gitoku-amber-500));
  --gitoku-color-accent-hover: rgb(var(--gitoku-amber-200));

  --bs-body-bg: var(--gitoku-color-canvas);
  --bs-body-color: var(--gitoku-color-text-strong);
  --bs-secondary-color: rgb(var(--gitoku-slate-400));
  --bs-warning: var(--gitoku-color-accent);
  --bs-warning-rgb: 246, 173, 85;
  --bs-link-color: var(--gitoku-color-accent);
  --bs-link-hover-color: var(--gitoku-color-accent-hover);
  --gitoku-surface: var(--gitoku-color-surface);
  --gitoku-surface-border: var(--gitoku-color-border-soft);
  --gitoku-sidebar-width: 18rem;
  --gitoku-sidebar-collapsed-width: 5.5rem;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  min-height: 100%;
}

body.gitoku-shell {
  background: rgb(var(--gitoku-ink-950));
  font-family: "Manrope", "Segoe UI", sans-serif;
  overflow-anchor: none;
}

.gitoku-job-dashboard-shell {
  color: rgb(var(--gitoku-slate-200));
}

.gitoku-job-dashboard-panel {
  backdrop-filter: blur(20px);
  background: rgb(var(--gitoku-ink-925) / 0.88);
  border: 1px solid rgb(var(--gitoku-white) / 0.08);
  border-radius: var(--gitoku-radius-2xl);
  box-shadow: 0 2rem 4rem rgb(var(--gitoku-black) / 0.24);
  max-width: 72rem;
  padding: 1.25rem 1.25rem 1rem;
}

.gitoku-job-dashboard-panel h1,
.gitoku-job-dashboard-panel h2,
.gitoku-job-dashboard-panel h3,
.gitoku-job-dashboard-panel h4,
.gitoku-job-dashboard-panel h5,
.gitoku-job-dashboard-panel h6 {
  color: rgb(var(--gitoku-slate-100));
}

.gitoku-job-dashboard-panel hr {
  border-color: rgb(var(--gitoku-white) / 0.08);
  opacity: 1;
}

.gitoku-job-dashboard-panel .table {
  --bs-table-bg: transparent;
  --bs-table-color: rgb(var(--gitoku-slate-200));
  --bs-table-border-color: rgb(var(--gitoku-white) / 0.08);
  --bs-table-hover-color: rgb(var(--gitoku-slate-100));
  --bs-table-hover-bg: rgb(var(--gitoku-white) / 0.04);
  margin-bottom: 1rem;
}

.gitoku-job-dashboard-panel .table th {
  border-bottom-color: rgb(var(--gitoku-white) / 0.1);
  color: var(--bs-secondary-color);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gitoku-job-dashboard-panel .table td {
  vertical-align: middle;
}

.gitoku-job-dashboard-panel a:not(.btn) {
  color: rgb(var(--gitoku-amber-500));
}

.gitoku-job-dashboard-panel a:not(.btn):hover {
  color: rgb(var(--gitoku-amber-200));
}

.gitoku-job-dashboard-panel .btn-link {
  color: rgb(var(--gitoku-amber-500));
}

.gitoku-job-dashboard-panel .btn-link:hover {
  color: rgb(var(--gitoku-amber-200));
}

.gitoku-job-dashboard-panel .form-control,
.gitoku-job-dashboard-panel .form-select,
.gitoku-job-dashboard-panel input:not([type="checkbox"]):not([type="radio"]),
.gitoku-job-dashboard-panel textarea,
.gitoku-job-dashboard-panel select {
  background: rgb(var(--gitoku-ink-975) / 0.72);
  border: 1px solid rgb(var(--gitoku-white) / 0.08);
  color: rgb(var(--gitoku-slate-200));
}

.gitoku-job-dashboard-panel .form-control:focus,
.gitoku-job-dashboard-panel .form-select:focus,
.gitoku-job-dashboard-panel input:not([type="checkbox"]):not([type="radio"]):focus,
.gitoku-job-dashboard-panel textarea:focus,
.gitoku-job-dashboard-panel select:focus {
  background: rgb(var(--gitoku-ink-975) / 0.84);
  border-color: rgb(var(--gitoku-amber-500) / 0.45);
  box-shadow: 0 0 0 0.2rem rgb(var(--gitoku-amber-500) / 0.14);
  color: rgb(var(--gitoku-slate-100));
}

.gitoku-job-dashboard-panel .pagination {
  --bs-pagination-bg: rgb(var(--gitoku-ink-975) / 0.72);
  --bs-pagination-border-color: rgb(var(--gitoku-white) / 0.08);
  --bs-pagination-color: rgb(var(--gitoku-slate-200));
  --bs-pagination-hover-bg: rgb(var(--gitoku-white) / 0.06);
  --bs-pagination-hover-color: rgb(var(--gitoku-slate-100));
  --bs-pagination-hover-border-color: rgb(var(--gitoku-white) / 0.1);
  --bs-pagination-active-bg: rgb(var(--gitoku-amber-500));
  --bs-pagination-active-border-color: rgb(var(--gitoku-amber-500));
  --bs-pagination-active-color: rgb(var(--gitoku-amber-900));
  --bs-pagination-disabled-bg: rgb(var(--gitoku-ink-975) / 0.42);
  --bs-pagination-disabled-border-color: rgb(var(--gitoku-white) / 0.05);
}

.gitoku-job-dashboard-panel .popover {
  --bs-popover-bg: rgb(var(--gitoku-ink-925));
  --bs-popover-border-color: rgb(var(--gitoku-white) / 0.08);
  --bs-popover-header-bg: rgb(var(--gitoku-ink-925));
  --bs-popover-header-color: rgb(var(--gitoku-slate-100));
}

.gitoku-job-dashboard-panel code {
  background: rgb(var(--gitoku-white) / 0.06);
  border-radius: var(--gitoku-radius-xs);
  color: rgb(var(--gitoku-amber-200));
  padding: 0.12rem 0.35rem;
}

#crisp-chatbox span[data-id="chat_closed"],
#crisp-chatbox span[data-id="chat_closed"] span,
#crisp-chatbox span[data-id="chat_closed"] svg,
#crisp-chatbox span[data-id="chat_closed"] svg path {
  background-color: var(--bs-warning) !important;
  border-color: var(--bs-warning) !important;
  color: var(--bs-warning) !important;
  fill: var(--bs-warning) !important;
}

@media (max-width: 991.98px) {
  #crisp-chatbox .cc-18ov6 {
    bottom: max(0.5rem, env(safe-area-inset-bottom)) !important;
    left: auto !important;
    right: 0.5rem !important;
    top: auto !important;
    transform: scale(0.88);
    transform-origin: bottom right;
  }
}

.gitoku-flash {
  z-index: 1030;
  width: min(32rem, calc(100vw - 1.5rem));
}

.gitoku-public-nav {
  backdrop-filter: blur(20px);
  background: rgb(var(--gitoku-ink-975) / 0.72);
  border: 1px solid rgb(var(--gitoku-white) / 0.08);
  border-radius: var(--gitoku-radius-pill);
}

.gitoku-auth-shell,
.gitoku-dashboard {
  position: relative;
}

.gitoku-dashboard.py-4 {
  padding-bottom: 1rem !important;
  padding-top: 1rem !important;
}

.gitoku-dashboard.gitoku-dashboard-tight-browser {
  padding-bottom: 0 !important;
}

@media (min-width: 992px) {
  .gitoku-dashboard.py-lg-5 {
    padding-bottom: 1.5rem !important;
    padding-top: 1.5rem !important;
  }

  .gitoku-dashboard.py-lg-5.gitoku-dashboard-tight-browser {
    padding-bottom: 0 !important;
  }
}

.gitoku-landing {
  position: relative;
}

/* no pseudo-element gradients — flat background */

.gitoku-auth-divider {
  letter-spacing: 0.14em;
}

.gitoku-empty-state,
.gitoku-repo-card,
.gitoku-auth-card,
.gitoku-surface {
  backdrop-filter: blur(20px);
  background: var(--gitoku-surface);
  border: 1px solid var(--gitoku-surface-border);
}

.gitoku-landing-block,
.gitoku-landing .container {
  position: relative;
  z-index: 1;
}

.gitoku-landing-block {
  padding-bottom: 5rem;
  padding-top: 5rem;
}

.gitoku-docs-shell {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.gitoku-docs-layout {
  align-items: start;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 18rem minmax(0, 1fr);
}

.gitoku-docs-sidebar {
  align-self: start;
  max-height: calc(100vh - 7.75rem);
  overflow-y: auto;
  padding-right: 0.35rem;
  position: sticky;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  top: 6.25rem;
}

.gitoku-docs-sidebar-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gitoku-docs-article {
  min-width: 0;
}

.gitoku-docs-header {
  border-bottom: 1px solid rgb(var(--gitoku-white) / 0.08);
  margin-bottom: 2rem;
  padding-bottom: 2rem;
}

.gitoku-docs-nav-kicker {
  color: rgb(var(--gitoku-amber-500));
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gitoku-docs-page-link,
.gitoku-docs-nav-link {
  background: rgb(var(--gitoku-white) / 0.02);
  border: 1px solid rgb(var(--gitoku-white) / 0.08);
  border-radius: 0.95rem;
  color: rgb(var(--gitoku-slate-300));
  display: block;
  padding: 0.8rem 0.95rem;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.gitoku-docs-page-link-title {
  color: inherit;
  font-weight: 700;
}

.gitoku-docs-page-link-meta {
  color: rgb(var(--gitoku-slate-500));
  font-size: 0.92rem;
  line-height: 1.45;
}

.gitoku-docs-page-link.is-active {
  background: rgb(var(--gitoku-amber-500) / 0.08);
  border-color: rgb(var(--gitoku-amber-500) / 0.28);
  color: rgb(var(--gitoku-amber-100));
}

.gitoku-docs-page-link.is-active .gitoku-docs-page-link-meta {
  color: rgb(var(--gitoku-amber-300));
}

.gitoku-breadcrumb {
  --bs-breadcrumb-divider: "";
  align-items: center;
  background: transparent;
  border: 0;
  box-shadow: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  margin: 0;
  max-width: 100%;
  padding: 0;
}

.gitoku-breadcrumb .breadcrumb-item {
  align-items: center;
  color: rgb(var(--gitoku-slate-500));
  display: flex;
  float: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.35;
  margin: 0;
  min-width: 0;
  padding-left: 0;
}

.gitoku-breadcrumb .breadcrumb-item + .breadcrumb-item {
  padding-left: 0;
}

.gitoku-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: rgb(var(--gitoku-slate-600));
  content: "/";
  float: none;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0;
  padding-right: 0.2rem;
}

.gitoku-breadcrumb .breadcrumb-item > a {
  color: rgb(var(--gitoku-slate-400));
  display: inline-block;
  max-width: min(100%, 26rem);
  overflow: hidden;
  text-decoration: none;
  text-overflow: ellipsis;
  transition: color 160ms ease;
  white-space: nowrap;
}

.gitoku-breadcrumb .breadcrumb-item > a:hover,
.gitoku-breadcrumb .breadcrumb-item > a:focus-visible {
  color: rgb(var(--gitoku-amber-300));
  outline: none;
}

.gitoku-breadcrumb .breadcrumb-item.active {
  color: rgb(var(--gitoku-slate-100));
  font-weight: 700;
}

@media (max-width: 575.98px) {
  .gitoku-breadcrumb .breadcrumb-item {
    font-size: 0.78rem;
  }
}

.gitoku-docs-page-link:hover,
.gitoku-docs-page-link:focus-visible,
.gitoku-docs-nav-link:hover,
.gitoku-docs-nav-link:focus-visible {
  background: rgb(var(--gitoku-amber-500) / 0.08);
  border-color: rgb(var(--gitoku-amber-500) / 0.28);
  color: rgb(var(--gitoku-amber-100));
  outline: none;
  transform: translateY(-1px);
}

.gitoku-docs-section {
  scroll-margin-top: 6.25rem;
}

.gitoku-docs-header + .gitoku-docs-section {
  border-top: 1px solid rgb(var(--gitoku-white) / 0.08);
  padding-top: 2rem;
}

.gitoku-docs-section + .gitoku-docs-section {
  border-top: 1px solid rgb(var(--gitoku-white) / 0.08);
  margin-top: 2rem;
  padding-top: 2rem;
}

.gitoku-docs-body h2:first-child {
  margin-top: 0;
}

.gitoku-docs-home-card {
  overflow: hidden;
}

.gitoku-docs-topic-link {
  color: inherit;
  display: block;
  height: 100%;
  text-decoration: none;
}

.gitoku-docs-topic-link .card {
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.gitoku-docs-topic-link:hover .card,
.gitoku-docs-topic-link:focus-visible .card {
  border-color: rgb(var(--gitoku-amber-500) / 0.28);
  box-shadow: 0 1rem 2.6rem rgb(var(--gitoku-ink-925) / 0.22);
  transform: translateY(-2px);
}

.gitoku-docs-topic-link:focus-visible {
  outline: none;
}

.gitoku-auth-card {
  border-radius: 1.75rem;
}

.gitoku-onboarding-shell,
.gitoku-onboarding-screen {
  min-height: 100vh;
}

.gitoku-onboarding-screen {
  flex: 1 1 auto;
  min-height: 100%;
  overflow-x: hidden;
  padding-block: clamp(0.75rem, 2vh, 1.5rem);
  padding-inline: clamp(1.5rem, 5vw, 4.5rem);
}

.gitoku-onboarding-stage {
  display: grid;
  gap: 1rem;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  margin-inline: auto;
  width: min(100%, 78rem);
}

.gitoku-onboarding-stage-body {
  align-items: center;
  display: flex;
  min-height: 0;
}

.gitoku-onboarding-shell-layout {
  align-items: stretch;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.76fr);
  width: 100%;
}

.gitoku-onboarding-panel {
  margin: 0;
  width: 100%;
}

.gitoku-onboarding-progress-shell {
  margin: 0;
  width: 100%;
}

.gitoku-onboarding-progress-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  height: 0.4rem;
  overflow: hidden;
}

.gitoku-onboarding-progress-fill {
  background: linear-gradient(90deg, rgba(246, 173, 85, 0.92), rgba(217, 119, 6, 1));
  border-radius: inherit;
  box-shadow: 0 0 18px rgba(246, 173, 85, 0.24);
  height: 100%;
  transition: width 550ms ease-out;
}

.gitoku-onboarding-card .card-body {
  padding: clamp(1.25rem, 2vw, 1.75rem);
}

.gitoku-onboarding-card {
  height: 100%;
}

.gitoku-onboarding-title {
  font-size: clamp(1.8rem, 2.6vw, 2.75rem);
  line-height: 1.05;
}

.gitoku-onboarding-aside {
  min-width: 0;
}

.gitoku-onboarding-aside-card {
  background:
    radial-gradient(circle at top right, rgba(246, 173, 85, 0.22), transparent 42%),
    linear-gradient(180deg, rgba(17, 24, 39, 0.98), rgba(11, 18, 32, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 1.75rem;
  box-shadow: 0 1.5rem 3.25rem rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-height: 100%;
  overflow: hidden;
  padding: 1.5rem;
  position: relative;
}

.gitoku-onboarding-aside-card::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 55%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.gitoku-onboarding-aside-step-list {
  display: grid;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}

.gitoku-onboarding-aside-step {
  align-items: center;
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 1rem;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: auto minmax(0, 1fr);
  padding: 0.85rem 0.95rem;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.gitoku-onboarding-aside-step-active {
  background: rgba(246, 173, 85, 0.12);
  border-color: rgba(246, 173, 85, 0.4);
  transform: translateX(-0.2rem);
}

.gitoku-onboarding-aside-step-number {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: #f8fafc;
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 700;
  height: 1.9rem;
  justify-content: center;
  width: 1.9rem;
}

.gitoku-onboarding-aside-step-active .gitoku-onboarding-aside-step-number {
  background: linear-gradient(135deg, rgba(246, 173, 85, 0.95), rgba(217, 119, 6, 0.98));
  color: #111827;
}

.gitoku-onboarding-aside-step-title {
  color: #f8fafc;
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
}

.gitoku-onboarding-visual {
  align-items: center;
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
  min-height: 19rem;
  position: relative;
  z-index: 1;
}

.gitoku-onboarding-visual-imports,
.gitoku-onboarding-visual-cli,
.gitoku-onboarding-visual-install {
  border-radius: 1.35rem;
  overflow: hidden;
}

.gitoku-onboarding-visual-imports {
  align-items: stretch;
  background:
    radial-gradient(circle at top left, rgba(99, 102, 241, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(10, 17, 30, 0.9), rgba(15, 23, 42, 0.74));
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
}

.gitoku-onboarding-visual-provider-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.gitoku-onboarding-visual-provider-chip {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #f8fafc;
  display: inline-flex;
  font-size: 0.85rem;
  font-weight: 700;
  gap: 0.55rem;
  padding: 0.55rem 0.85rem;
}

.gitoku-onboarding-visual-provider-chip .gitoku-onboarding-provider-button-icon {
  font-size: 0;
}

.gitoku-onboarding-visual-provider-chip-github {
  background: linear-gradient(180deg, #30363d 0%, #24292f 100%);
}

.gitoku-onboarding-visual-provider-chip-gitlab {
  background: linear-gradient(135deg, #fc6d26 0%, #fc6d26 28%, #e24329 82%, #c2410c 100%);
}

.gitoku-onboarding-visual-repo-stack {
  display: grid;
  gap: 0.75rem;
}

.gitoku-onboarding-visual-repo-card {
  align-items: center;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 1rem;
  color: #f8fafc;
  display: flex;
  font-size: 0.92rem;
  font-weight: 600;
  justify-content: space-between;
  padding: 0.9rem 1rem;
}

.gitoku-onboarding-visual-repo-status {
  background: linear-gradient(90deg, rgba(246, 173, 85, 1), rgba(217, 119, 6, 1));
  border-radius: 999px;
  box-shadow: 0 0 0.85rem rgba(246, 173, 85, 0.32);
  display: inline-flex;
  height: 0.55rem;
  width: 4.5rem;
}

.gitoku-onboarding-visual-repo-card:nth-child(2) {
  margin-left: 1rem;
}

.gitoku-onboarding-visual-repo-card:nth-child(3) {
  margin-left: 2rem;
}

.gitoku-onboarding-visual-cli {
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(10, 17, 30, 0.92), rgba(15, 23, 42, 0.76));
  display: grid;
  gap: 1.1rem;
  padding: 1.35rem;
}

.gitoku-onboarding-visual-console {
  background: rgba(2, 6, 23, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.gitoku-onboarding-visual-console-bar {
  align-items: center;
  background: rgba(15, 23, 42, 0.94);
  display: flex;
  gap: 0.45rem;
  padding: 0.7rem 0.8rem;
}

.gitoku-onboarding-visual-console-bar span {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  display: inline-flex;
  height: 0.55rem;
  width: 0.55rem;
}

.gitoku-onboarding-visual-console-body {
  color: #cbd5e1;
  display: grid;
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  font-size: 0.84rem;
  gap: 0.7rem;
  padding: 1rem;
}

.gitoku-onboarding-visual-pulse-row {
  display: grid;
  gap: 0.75rem;
}

.gitoku-onboarding-visual-pulse-row span {
  animation: gitokuOnboardingPulse 1.8s ease-in-out infinite;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.24), rgba(246, 173, 85, 0.3));
  border-radius: 999px;
  display: block;
  height: 0.7rem;
}

.gitoku-onboarding-visual-pulse-row span:nth-child(2) {
  animation-delay: 0.18s;
  width: 82%;
}

.gitoku-onboarding-visual-pulse-row span:nth-child(3) {
  animation-delay: 0.36s;
  width: 68%;
}

.gitoku-onboarding-visual-install {
  align-items: stretch;
  background:
    radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.16), transparent 36%),
    linear-gradient(180deg, rgba(10, 17, 30, 0.9), rgba(15, 23, 42, 0.76));
  display: grid;
  gap: 1.15rem;
  padding: 1.35rem;
}

.gitoku-onboarding-visual-flow {
  align-items: center;
  display: grid;
  gap: 0.7rem;
  grid-template-columns: auto 1fr auto 1fr auto;
}

.gitoku-onboarding-visual-flow-node {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  display: inline-flex;
  height: 1rem;
  width: 1rem;
}

.gitoku-onboarding-visual-flow-node-active {
  background: linear-gradient(135deg, rgba(246, 173, 85, 0.95), rgba(217, 119, 6, 0.98));
  box-shadow: 0 0 1rem rgba(246, 173, 85, 0.34);
}

.gitoku-onboarding-visual-flow-line {
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.3), rgba(246, 173, 85, 0.32));
  border-radius: 999px;
  display: inline-flex;
  height: 0.28rem;
}

.gitoku-onboarding-visual-install-card {
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 1rem;
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.gitoku-onboarding-visual-install-branch {
  display: flex;
  gap: 0.8rem;
}

.gitoku-onboarding-visual-install-branch span {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  display: inline-flex;
  height: 1.1rem;
  width: 1.1rem;
}

.gitoku-onboarding-visual-install-lines {
  display: grid;
  gap: 0.8rem;
}

.gitoku-onboarding-visual-install-lines span {
  background: rgba(226, 232, 240, 0.18);
  border-radius: 999px;
  display: block;
  height: 0.58rem;
}

.gitoku-onboarding-visual-install-lines span:nth-child(2) {
  width: 88%;
}

.gitoku-onboarding-visual-install-lines span:nth-child(3) {
  width: 72%;
}

.gitoku-onboarding-visual-install-lines span:nth-child(4) {
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.28), rgba(16, 185, 129, 0.4));
  width: 58%;
}

.gitoku-onboarding-imports .gitoku-import-source-list {
  max-height: min(16rem, 32vh) !important;
}

.gitoku-onboarding-imports .gitoku-repository-form .mb-4 {
  margin-bottom: 0 !important;
}

.gitoku-onboarding-imports .form-label {
  font-size: 0.875rem;
  margin-bottom: 0.75rem !important;
}

.gitoku-onboarding-imports .gitoku-list-card {
  padding: 0.875rem !important;
}

.gitoku-onboarding-provider-button {
  align-items: center;
  border: 1px solid transparent;
  box-shadow: 0 0.9rem 2rem rgba(0, 0, 0, 0.18);
  color: #f8fafc;
  display: inline-flex;
  font-weight: 600;
  gap: 0.65rem;
  justify-content: center;
  min-height: 2.75rem;
  padding-inline: 1rem;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, color 160ms ease,
    transform 160ms ease;
}

.gitoku-onboarding-provider-button-label {
  align-items: center;
  display: inline-flex;
  gap: 0.65rem;
}

.gitoku-onboarding-provider-button:hover,
.gitoku-onboarding-provider-button:focus-visible {
  transform: translateY(-1px);
}

.gitoku-onboarding-provider-button-github {
  background: linear-gradient(180deg, #30363d 0%, #24292f 100%);
  border-color: rgba(255, 255, 255, 0.16);
}

.gitoku-onboarding-provider-button-github:hover,
.gitoku-onboarding-provider-button-github:focus-visible {
  background: linear-gradient(180deg, #353c44 0%, #2a3138 100%);
  color: #ffffff;
}

.gitoku-onboarding-provider-button-gitlab {
  background: linear-gradient(135deg, #fc6d26 0%, #fc6d26 25%, #e24329 78%, #c2410c 100%);
  border-color: rgba(252, 109, 38, 0.55);
  box-shadow: 0 0.9rem 2rem rgba(226, 67, 41, 0.2);
}

.gitoku-onboarding-provider-button-gitlab:hover,
.gitoku-onboarding-provider-button-gitlab:focus-visible {
  background: linear-gradient(135deg, #ff7b33 0%, #fc6d26 30%, #ec4f33 82%, #d14a0f 100%);
  color: #ffffff;
}

.gitoku-onboarding-provider-button-active {
  box-shadow: 0 0 0 0.18rem rgba(248, 250, 252, 0.12);
  color: #f8fafc;
}

.gitoku-onboarding-provider-button.disabled,
.gitoku-onboarding-provider-button:disabled {
  box-shadow: none;
  filter: saturate(0.72);
  opacity: 0.58;
  transform: none;
}

.gitoku-onboarding-provider-button-icon {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  justify-content: center;
}

.gitoku-onboarding-provider-button-icon-github {
  color: #ffffff;
}

.gitoku-onboarding-provider-button-icon-github svg {
  height: 1.1rem;
  width: 1.1rem;
}

.gitoku-onboarding-provider-button-icon-gitlab svg {
  height: 1.2rem;
  width: 1.2rem;
}

.gitoku-onboarding-provider-button-gitlab .gitoku-onboarding-provider-button-icon {
  color: #fc6d26;
}

.gitoku-onboarding-provider-picker {
  margin-top: 0.25rem;
}

.gitoku-surface {
  border-radius: 1.5rem;
}

@keyframes gitokuOnboardingPulse {
  0%,
  100% {
    opacity: 0.46;
    transform: scaleX(0.97);
  }

  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@media (max-height: 900px) {
  .gitoku-onboarding-screen {
    padding-block: 0.75rem;
  }

  .gitoku-onboarding-imports .gitoku-import-source-list {
    max-height: min(14rem, 28vh) !important;
  }
}

@media (max-width: 1199.98px) {
  .gitoku-onboarding-shell-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 992px) {
  .gitoku-onboarding-provider-picker {
    margin-left: auto;
    width: fit-content;
  }
}

[data-bs-theme="light"] .gitoku-onboarding-provider-button-active {
  box-shadow: 0 0 0 0.18rem rgba(15, 23, 42, 0.08);
  color: #f8fafc;
}

[data-bs-theme="light"] .gitoku-onboarding-aside-card {
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 1.2rem 3rem rgba(15, 23, 42, 0.08);
}

[data-bs-theme="light"] .gitoku-onboarding-aside-step {
  background: rgba(248, 250, 252, 0.88);
  border-color: rgba(15, 23, 42, 0.08);
}

[data-bs-theme="light"] .gitoku-onboarding-aside-step-title,
[data-bs-theme="light"] .gitoku-onboarding-visual-repo-card {
  color: #0f172a;
}

[data-bs-theme="light"] .gitoku-onboarding-aside-step-number {
  background: rgba(15, 23, 42, 0.08);
  color: #0f172a;
}

[data-bs-theme="light"] .gitoku-onboarding-progress-track {
  background: rgba(15, 23, 42, 0.08);
  box-shadow: inset 0 1px 0 rgba(15, 23, 42, 0.03);
}

[data-bs-theme="light"] .gitoku-onboarding-progress-fill {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.9), rgba(180, 83, 9, 0.98));
  box-shadow: 0 0 16px rgba(180, 83, 9, 0.16);
}

[data-bs-theme="light"] .gitoku-onboarding-provider-button-icon-github {
  color: #ffffff;
}

.gitoku-empty-state,
.gitoku-repo-card {
  background: rgba(6, 11, 21, 0.55);
}

.gitoku-empty-state {
  text-align: center;
}

.gitoku-empty-state-icon {
  color: #475467;
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.gitoku-empty-state-icon svg {
  height: 2.5rem;
  opacity: 0.75;
  width: 2.5rem;
}

.gitoku-repo-card {
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.gitoku-repo-card:hover {
  transform: translateY(-2px);
  border-color: rgba(246, 173, 85, 0.4) !important;
}

.form-control,
.form-control:disabled {
  background-color: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-control:focus {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: rgba(246, 173, 85, 0.45);
  box-shadow: 0 0 0 0.2rem rgba(246, 173, 85, 0.14);
  color: #f8fafc;
  outline: none;
}

.form-control::placeholder {
  color: rgba(248, 250, 252, 0.45);
}

.gitoku-datalist {
  position: relative;
}

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

.gitoku-datalist-input {
  padding-right: 2.75rem;
}

.gitoku-datalist-icon {
  align-items: center;
  color: rgba(248, 250, 252, 0.48);
  display: inline-flex;
  justify-content: center;
  pointer-events: none;
  position: absolute;
  right: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  transition: color 160ms ease, transform 160ms ease;
}

.gitoku-datalist-icon svg {
  display: block;
  height: 1rem;
  width: 1rem;
}

.gitoku-datalist[data-datalist-open="true"] .gitoku-datalist-icon {
  color: rgba(246, 173, 85, 0.82);
  transform: translateY(-50%) rotate(180deg);
}

.gitoku-datalist-menu {
  backdrop-filter: blur(22px);
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 1rem;
  box-shadow: 0 1.25rem 2.8rem rgba(2, 6, 23, 0.42);
  inset-inline: 0;
  margin-top: 0.4rem;
  max-height: 18rem;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0.35rem;
  position: absolute;
  top: 100%;
  width: 100%;
  z-index: 1080;
}

.gitoku-datalist-option {
  align-items: flex-start;
  border-radius: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.7rem 0.85rem;
  white-space: normal;
}

.gitoku-datalist-option.dropdown-item {
  color: #f8fafc;
}

.gitoku-datalist-option-value {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}

.gitoku-datalist-option-label {
  color: rgba(226, 232, 240, 0.68);
  font-size: 0.78rem;
  line-height: 1.3;
}

.gitoku-datalist-option:hover,
.gitoku-datalist-option:focus,
.gitoku-datalist-option.active {
  background: rgba(246, 173, 85, 0.12);
  color: #fff;
}

.gitoku-datalist-option:hover .gitoku-datalist-option-label,
.gitoku-datalist-option:focus .gitoku-datalist-option-label,
.gitoku-datalist-option.active .gitoku-datalist-option-label {
  color: rgba(255, 255, 255, 0.76);
}

.gitoku-datalist-empty {
  color: rgba(226, 232, 240, 0.7);
  font-size: 0.84rem;
  padding: 0.8rem 0.9rem;
}

.btn-warning {
  color: #16181d;
  font-weight: 600;
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.2);
}

button:disabled,
input[type="button"]:disabled,
input[type="submit"]:disabled,
input[type="reset"]:disabled,
.btn:disabled {
  cursor: not-allowed;
  pointer-events: auto;
}

.alert {
  border: 0;
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.24);
}

.gitoku-loading-button {
  align-items: center;
  display: inline-flex;
  gap: 0.6rem;
  justify-content: center;
}

.gitoku-button-spinner {
  display: none;
  flex-shrink: 0;
  margin-right: 0.5rem;
}

form.htmx-request .gitoku-button-spinner,
button.htmx-request .gitoku-button-spinner,
.htmx-request.gitoku-button-spinner {
  display: inline-flex;
}

.gitoku-loading-button-state {
  align-items: center;
  display: none;
  gap: 0.6rem;
}

.gitoku-loading-button.is-loading,
.gitoku-loading-button.htmx-request {
  opacity: 0.88;
  pointer-events: none;
}

.gitoku-loading-button.is-loading .gitoku-loading-button-label,
.gitoku-loading-button.htmx-request .gitoku-loading-button-label {
  display: none;
}

.gitoku-loading-button.is-loading .gitoku-loading-button-state,
.gitoku-loading-button.htmx-request .gitoku-loading-button-state {
  display: inline-flex;
}

.gitoku-google-login {
  min-height: 40px;
}

.gitoku-google-login [data-google-login-button] {
  min-height: 40px;
  overflow: hidden;
  border-radius: 4px;
}

.gitoku-google-fallback {
  min-height: 44px;
}

.sourceCode .kw,
.sourceCode .cf {
  color: #ff9e64;
  font-weight: 700;
}

.sourceCode .dt,
.sourceCode .bu {
  color: #7dd3fc;
}

.sourceCode .fu {
  color: #93c5fd;
}

.sourceCode .va,
.sourceCode .at,
.sourceCode .an {
  color: #f9a8d4;
}

.sourceCode .op {
  color: #f8fafc;
}

.sourceCode .st,
.sourceCode .ss,
.sourceCode .vs,
.sourceCode .ch {
  color: #86efac;
}

.sourceCode .dv,
.sourceCode .bn,
.sourceCode .fl {
  color: #fcd34d;
}

.sourceCode .co,
.sourceCode .cv,
.sourceCode .do {
  color: #94a3b8;
  font-style: italic;
}

.sourceCode .pp,
.sourceCode .im {
  color: #c4b5fd;
}

/* ── HTMX content transition ─────────────────────── */

.htmx-swapping > * {
  opacity: 0;
  transition: opacity 80ms ease;
}

.htmx-settling > * {
  opacity: 1;
  transition: opacity 120ms ease;
}

@media (max-width: 991.98px) {
  .gitoku-landing-block {
    padding-bottom: 3rem;
    padding-top: 3rem;
  }

  .gitoku-docs-layout {
    grid-template-columns: 1fr;
  }

  .gitoku-docs-sidebar {
    max-height: none;
    overflow: visible;
    padding-right: 0;
    position: static;
  }

  .gitoku-landing-hero-block {
    padding-top: 2.5rem;
  }

  .gitoku-landing-title {
    max-width: 13ch;
  }

  .gitoku-landing-band,
  .gitoku-landing-cta {
    border-radius: 1.5rem;
    padding: 1.25rem;
  }

  .gitoku-marketing-panel {
    padding: 1.5rem;
  }

  .gitoku-account-menu {
    width: 100%;
  }

  .gitoku-public-nav {
    border-radius: 1.25rem;
  }
}

[data-bs-theme="light"] {
  --bs-body-bg: #f3f6fb;
  --bs-body-color: #162130;
  --bs-code-color: #be185d;
  --bs-secondary-rgb: 79, 96, 114;
  --bs-secondary-color: #4f6072;
  --bs-secondary-color-rgb: 79, 96, 114;
  --bs-tertiary-color: #67788b;
  --bs-tertiary-color-rgb: 103, 120, 139;
  --bs-warning: #b45309;
  --bs-warning-rgb: 180, 83, 9;
  --bs-warning-text-emphasis: #92400e;
  --bs-link-color: #b45309;
  --bs-link-hover-color: #92400e;
  --gitoku-surface: rgba(255, 255, 255, 0.9);
  --gitoku-surface-border: rgba(15, 23, 42, 0.08);
}

[data-bs-theme="light"] body.gitoku-shell {
  background:
    radial-gradient(circle at top left, rgba(251, 191, 36, 0.12), transparent 24%),
    linear-gradient(180deg, #f8fafc 0%, #eef3f9 100%);
  color: #162130;
}

[data-bs-theme="light"] .badge.text-bg-warning {
  background-color: rgb(var(--gitoku-amber-900)) !important;
  color: #fff !important;
}

[data-bs-theme="light"] .form-control,
[data-bs-theme="light"] .form-control:disabled,
[data-bs-theme="light"] .form-control:focus {
  background-color: rgba(255, 255, 255, 0.9);
  border-color: rgba(15, 23, 42, 0.12);
  color: #162130;
}

[data-bs-theme="light"] .form-control::placeholder {
  color: rgba(22, 33, 48, 0.42);
}

[data-bs-theme="light"] .gitoku-datalist-icon {
  color: rgba(22, 33, 48, 0.4);
}

[data-bs-theme="light"] .gitoku-datalist[data-datalist-open="true"] .gitoku-datalist-icon {
  color: #b45309;
}

[data-bs-theme="light"] .gitoku-datalist-menu {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 1.25rem 2.8rem rgba(15, 23, 42, 0.12);
}

[data-bs-theme="light"] .gitoku-datalist-option.dropdown-item {
  color: #162130;
}

[data-bs-theme="light"] .gitoku-datalist-option-label {
  color: rgba(22, 33, 48, 0.54);
}

[data-bs-theme="light"] .gitoku-datalist-option:hover,
[data-bs-theme="light"] .gitoku-datalist-option:focus,
[data-bs-theme="light"] .gitoku-datalist-option.active {
  background: rgba(217, 119, 6, 0.1);
  color: #92400e;
}

[data-bs-theme="light"] .gitoku-datalist-option:hover .gitoku-datalist-option-label,
[data-bs-theme="light"] .gitoku-datalist-option:focus .gitoku-datalist-option-label,
[data-bs-theme="light"] .gitoku-datalist-option.active .gitoku-datalist-option-label {
  color: rgba(146, 64, 14, 0.78);
}

[data-bs-theme="light"] .gitoku-datalist-empty {
  color: rgba(22, 33, 48, 0.56);
}

[data-bs-theme="light"] .btn-outline-light {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(15, 23, 42, 0.14);
  color: #162130;
}

[data-bs-theme="light"] .btn-outline-light:hover,
[data-bs-theme="light"] .btn-outline-light:focus,
[data-bs-theme="light"] .btn-outline-light:active {
  background: rgba(217, 119, 6, 0.12);
  border-color: rgba(217, 119, 6, 0.24);
  color: #92400e;
}

[data-bs-theme="light"] .text-light,
[data-bs-theme="light"] .text-white {
  color: #162130 !important;
}

[data-bs-theme="light"] .text-warning {
  color: #b45309 !important;
}

[data-bs-theme="light"] .text-bg-dark,
[data-bs-theme="light"] .bg-dark {
  background-color: rgba(226, 232, 240, 0.92) !important;
  color: #162130 !important;
}

[data-bs-theme="light"] .alert-dark {
  background: rgba(226, 232, 240, 0.92);
  color: #162130;
}

[data-bs-theme="light"] .dropdown-menu-dark,
[data-bs-theme="light"] .gitoku-sidebar-org-menu,
[data-bs-theme="light"] .gitoku-account-menu,
[data-bs-theme="light"] .gitoku-lang-menu,
[data-bs-theme="light"] .gitoku-clone-menu,
[data-bs-theme="light"] .gitoku-repo-dropdown {
  --bs-dropdown-bg: rgba(255, 255, 255, 0.98);
  --bs-dropdown-border-color: rgba(15, 23, 42, 0.08);
  --bs-dropdown-link-color: #162130;
  --bs-dropdown-link-hover-color: #92400e;
  --bs-dropdown-link-hover-bg: rgba(217, 119, 6, 0.08);
  --bs-dropdown-link-active-bg: rgba(217, 119, 6, 0.12);
  --bs-dropdown-link-active-color: #92400e;
}

[data-bs-theme="light"] .offcanvas.text-bg-dark {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(241, 245, 249, 0.98) 100%) !important;
  color: #162130 !important;
}

[data-bs-theme="light"] .btn-close-white {
  filter: none;
}

[data-bs-theme="light"] .gitoku-public-nav {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 1rem 2.5rem rgba(148, 163, 184, 0.16);
}

[data-bs-theme="light"] .gitoku-sidebar-desktop {
  background: rgba(255, 255, 255, 0.8);
}

[data-bs-theme="light"] .gitoku-sidebar-offcanvas {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(241, 245, 249, 0.98) 100%);
}

[data-bs-theme="light"] .gitoku-mobile-sidebar-trigger,
[data-bs-theme="light"] .gitoku-sidebar-collapse-toggle,
[data-bs-theme="light"] .gitoku-sidebar-org-toggle,
[data-bs-theme="light"] .gitoku-account-toggle,
[data-bs-theme="light"] .gitoku-sidebar-org-panel-settings,
[data-bs-theme="light"] .gitoku-sidebar-section-action {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(15, 23, 42, 0.1);
  color: #162130;
}

[data-bs-theme="light"] .gitoku-mobile-sidebar-trigger:hover,
[data-bs-theme="light"] .gitoku-mobile-sidebar-trigger:focus,
[data-bs-theme="light"] .gitoku-sidebar-collapse-toggle:hover,
[data-bs-theme="light"] .gitoku-sidebar-collapse-toggle:focus,
[data-bs-theme="light"] .gitoku-sidebar-org-toggle:hover,
[data-bs-theme="light"] .gitoku-sidebar-org-toggle:focus,
[data-bs-theme="light"] .gitoku-sidebar-org-toggle:active,
[data-bs-theme="light"] .gitoku-sidebar-org-toggle.show,
[data-bs-theme="light"] .gitoku-account-toggle:hover,
[data-bs-theme="light"] .gitoku-account-toggle:focus,
[data-bs-theme="light"] .gitoku-account-toggle:active,
[data-bs-theme="light"] .gitoku-account-toggle.show,
[data-bs-theme="light"] .gitoku-sidebar-org-panel-settings:hover,
[data-bs-theme="light"] .gitoku-sidebar-org-panel-settings:focus,
[data-bs-theme="light"] .gitoku-sidebar-section-action:hover,
[data-bs-theme="light"] .gitoku-sidebar-section-action:focus {
  background: rgba(255, 255, 255, 1) !important;
  border-color: rgba(217, 119, 6, 0.24) !important;
  color: #92400e !important;
}

[data-bs-theme="light"] .gitoku-sidebar-close:hover,
[data-bs-theme="light"] .gitoku-sidebar-close:focus {
  background-color: rgba(15, 23, 42, 0.05);
}

[data-bs-theme="light"] .gitoku-sidebar-home-link,
[data-bs-theme="light"] .gitoku-sidebar-home-link:hover,
[data-bs-theme="light"] .gitoku-sidebar-home-link:focus {
  color: #162130;
}

[data-bs-theme="light"] .gitoku-breadcrumb .breadcrumb-item {
  color: #67788b;
}

[data-bs-theme="light"] .gitoku-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: #7a8b9e;
}

[data-bs-theme="light"] .gitoku-breadcrumb .breadcrumb-item > a {
  color: #4f6072;
}

[data-bs-theme="light"] .gitoku-breadcrumb .breadcrumb-item > a:hover,
[data-bs-theme="light"] .gitoku-breadcrumb .breadcrumb-item > a:focus-visible {
  color: #92400e;
}

[data-bs-theme="light"] .gitoku-breadcrumb .breadcrumb-item.active {
  color: #162130;
}

[data-bs-theme="light"] .gitoku-empty-state,
[data-bs-theme="light"] .gitoku-repo-card,
[data-bs-theme="light"] .gitoku-auth-card,
[data-bs-theme="light"] .gitoku-surface,
[data-bs-theme="light"] .gitoku-sidebar-panel,
[data-bs-theme="light"] .gitoku-settings-section,
[data-bs-theme="light"] .gitoku-modal-surface,
[data-bs-theme="light"] .gitoku-repo-nav-shell,
[data-bs-theme="light"] .gitoku-repository-browser,
[data-bs-theme="light"] .gitoku-diff-card,
[data-bs-theme="light"] .gitoku-diff-summary,
[data-bs-theme="light"] .gitoku-pr-header-shell,
[data-bs-theme="light"] .gitoku-pr-timeline-card,
[data-bs-theme="light"] .gitoku-pr-composer-card,
[data-bs-theme="light"] .gitoku-pr-thread-shell,
[data-bs-theme="light"] .gitoku-inline-thread-shell,
[data-bs-theme="light"] .gitoku-pr-composer-shell,
[data-bs-theme="light"] .gitoku-landing-console,
[data-bs-theme="light"] .gitoku-landing-signal,
[data-bs-theme="light"] .gitoku-landing-feature-card,
[data-bs-theme="light"] .gitoku-landing-detail-card,
[data-bs-theme="light"] .gitoku-landing-step,
[data-bs-theme="light"] .gitoku-landing-band,
[data-bs-theme="light"] .gitoku-landing-cta {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 1rem 2.5rem rgba(148, 163, 184, 0.14);
}

[data-bs-theme="light"] .gitoku-pr-header-shell {
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.14), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(241, 245, 249, 0.96) 100%);
}

[data-bs-theme="light"] .gitoku-status-banner {
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 1rem 2.5rem rgba(148, 163, 184, 0.12);
}

[data-bs-theme="light"] .gitoku-status-banner-info {
  background: linear-gradient(135deg, rgba(14, 116, 144, 0.08), rgba(59, 130, 246, 0.04));
}

[data-bs-theme="light"] .gitoku-status-banner-success {
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.08), rgba(14, 165, 233, 0.03));
}

[data-bs-theme="light"] .gitoku-status-banner-warning {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(250, 204, 21, 0.05));
}

[data-bs-theme="light"] .gitoku-status-banner-danger {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(248, 113, 113, 0.05));
}

[data-bs-theme="light"] .gitoku-landing-console-bar {
  background: rgba(15, 23, 42, 0.03);
  border-bottom-color: rgba(15, 23, 42, 0.06);
  color: #475467;
}

[data-bs-theme="light"] .gitoku-landing-console-body {
  color: #162130;
}

[data-bs-theme="light"] .gitoku-landing-console-pill {
  background: rgba(217, 119, 6, 0.08);
  border-color: rgba(217, 119, 6, 0.14);
  color: #92400e;
}

[data-bs-theme="light"] .gitoku-landing-console-tabs {
  background: rgba(15, 23, 42, 0.03);
  border-color: rgba(15, 23, 42, 0.08);
}

[data-bs-theme="light"] .gitoku-landing-console-tab {
  color: #475467;
}

[data-bs-theme="light"] .gitoku-landing-console-tab[data-active="true"] {
  background: rgba(217, 119, 6, 0.12);
  color: #92400e;
}

[data-bs-theme="light"] .gitoku-landing-title,
[data-bs-theme="light"] .gitoku-landing-signal-title,
[data-bs-theme="light"] .gitoku-landing-card-title,
[data-bs-theme="light"] .gitoku-landing-section-title,
[data-bs-theme="light"] .gitoku-landing-hero-headline,
[data-bs-theme="light"] .gitoku-feature-label {
  color: #162130;
}

[data-bs-theme="light"] .gitoku-landing-kicker,
[data-bs-theme="light"] .gitoku-landing-section-label {
  color: #b45309;
}

[data-bs-theme="light"] .gitoku-landing-copy,
[data-bs-theme="light"] .gitoku-landing-section-copy,
[data-bs-theme="light"] .gitoku-landing-card-copy,
[data-bs-theme="light"] .gitoku-landing-signal-copy,
[data-bs-theme="light"] .gitoku-feature-desc {
  color: var(--bs-secondary-color);
}

[data-bs-theme="light"] .gitoku-sidebar-section-title,
[data-bs-theme="light"] .gitoku-sidebar-secondary-link,
[data-bs-theme="light"] .gitoku-sidebar-section-link,
[data-bs-theme="light"] .gitoku-repo-tab-link,
[data-bs-theme="light"] .gitoku-sidebar-org-current-meta,
[data-bs-theme="light"] .gitoku-sidebar-link-meta,
[data-bs-theme="light"] .gitoku-sidebar-org-panel-meta,
[data-bs-theme="light"] .gitoku-sidebar-org-item-meta,
[data-bs-theme="light"] .gitoku-sidebar-secondary-meta,
[data-bs-theme="light"] .gitoku-sidebar-empty {
  color: #4f6072;
}

[data-bs-theme="light"] .gitoku-sidebar-section-count {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.08);
  color: #475467;
}

[data-bs-theme="light"] .gitoku-sidebar-link {
  color: #243244;
}

[data-bs-theme="light"] .gitoku-sidebar-link:hover,
[data-bs-theme="light"] .gitoku-sidebar-link:focus,
[data-bs-theme="light"] .gitoku-sidebar-section-toggle:hover,
[data-bs-theme="light"] .gitoku-sidebar-section-toggle:focus-visible,
[data-bs-theme="light"] .gitoku-repo-tab-link:hover,
[data-bs-theme="light"] .gitoku-repo-tab-link:focus,
[data-bs-theme="light"] .gitoku-sidebar-secondary-link:hover,
[data-bs-theme="light"] .gitoku-sidebar-secondary-link:focus,
[data-bs-theme="light"] .gitoku-sidebar-section-link:hover,
[data-bs-theme="light"] .gitoku-sidebar-section-link:focus {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.08);
  color: #162130;
}

[data-bs-theme="light"] .gitoku-sidebar-link.active,
[data-bs-theme="light"] .gitoku-sidebar-secondary-link.active,
[data-bs-theme="light"] .gitoku-sidebar-section-action.active,
[data-bs-theme="light"] .gitoku-repo-tab-link.active {
  background: rgba(217, 119, 6, 0.08);
  border-color: rgba(217, 119, 6, 0.2);
  color: #92400e;
}

/* ── Light theme: Job Dashboard ──────────────────── */

[data-bs-theme="light"] .gitoku-job-dashboard-shell {
  color: #162130;
}

[data-bs-theme="light"] .gitoku-job-dashboard-panel {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 2rem 4rem rgba(148, 163, 184, 0.18);
}

[data-bs-theme="light"] .gitoku-job-dashboard-panel h1,
[data-bs-theme="light"] .gitoku-job-dashboard-panel h2,
[data-bs-theme="light"] .gitoku-job-dashboard-panel h3,
[data-bs-theme="light"] .gitoku-job-dashboard-panel h4,
[data-bs-theme="light"] .gitoku-job-dashboard-panel h5,
[data-bs-theme="light"] .gitoku-job-dashboard-panel h6 {
  color: #162130;
}

[data-bs-theme="light"] .gitoku-job-dashboard-panel hr {
  border-color: rgba(15, 23, 42, 0.08);
}

[data-bs-theme="light"] .gitoku-job-dashboard-panel .table {
  --bs-table-bg: transparent;
  --bs-table-color: #162130;
  --bs-table-border-color: rgba(15, 23, 42, 0.08);
  --bs-table-hover-color: #0f172a;
  --bs-table-hover-bg: rgba(15, 23, 42, 0.03);
}

[data-bs-theme="light"] .gitoku-job-dashboard-panel .table th {
  border-bottom-color: rgba(15, 23, 42, 0.1);
  color: #475467;
}

[data-bs-theme="light"] .gitoku-job-dashboard-panel a:not(.btn) {
  color: #b45309;
}

[data-bs-theme="light"] .gitoku-job-dashboard-panel a:not(.btn):hover {
  color: #92400e;
}

[data-bs-theme="light"] .gitoku-job-dashboard-panel .btn-link {
  color: #b45309;
}

[data-bs-theme="light"] .gitoku-job-dashboard-panel .btn-link:hover {
  color: #92400e;
}

[data-bs-theme="light"] .gitoku-job-dashboard-panel .form-control,
[data-bs-theme="light"] .gitoku-job-dashboard-panel .form-select,
[data-bs-theme="light"] .gitoku-job-dashboard-panel input:not([type="checkbox"]):not([type="radio"]),
[data-bs-theme="light"] .gitoku-job-dashboard-panel textarea,
[data-bs-theme="light"] .gitoku-job-dashboard-panel select {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: #162130;
}

[data-bs-theme="light"] .gitoku-job-dashboard-panel .form-control:focus,
[data-bs-theme="light"] .gitoku-job-dashboard-panel .form-select:focus,
[data-bs-theme="light"] .gitoku-job-dashboard-panel input:not([type="checkbox"]):not([type="radio"]):focus,
[data-bs-theme="light"] .gitoku-job-dashboard-panel textarea:focus,
[data-bs-theme="light"] .gitoku-job-dashboard-panel select:focus {
  background: #ffffff;
  border-color: rgba(217, 119, 6, 0.45);
  box-shadow: 0 0 0 0.2rem rgba(217, 119, 6, 0.1);
  color: #0f172a;
}

[data-bs-theme="light"] .gitoku-job-dashboard-panel .pagination {
  --bs-pagination-bg: rgba(255, 255, 255, 0.9);
  --bs-pagination-border-color: rgba(15, 23, 42, 0.08);
  --bs-pagination-color: #162130;
  --bs-pagination-hover-bg: rgba(15, 23, 42, 0.04);
  --bs-pagination-hover-color: #0f172a;
  --bs-pagination-hover-border-color: rgba(15, 23, 42, 0.1);
  --bs-pagination-active-bg: #d97706;
  --bs-pagination-active-border-color: #d97706;
  --bs-pagination-active-color: #ffffff;
  --bs-pagination-disabled-bg: rgba(241, 245, 249, 0.6);
  --bs-pagination-disabled-border-color: rgba(15, 23, 42, 0.05);
}

[data-bs-theme="light"] .gitoku-job-dashboard-panel .popover {
  --bs-popover-bg: #ffffff;
  --bs-popover-border-color: rgba(15, 23, 42, 0.08);
  --bs-popover-header-bg: #f8fafc;
  --bs-popover-header-color: #162130;
}

[data-bs-theme="light"] .gitoku-job-dashboard-panel code {
  background: rgba(15, 23, 42, 0.05);
  color: #b45309;
}

[data-bs-theme="light"] .gitoku-docs-nav-link,
[data-bs-theme="light"] .gitoku-docs-page-link {
  background: rgb(var(--gitoku-slate-100) / 0.78);
  border-color: rgb(var(--gitoku-ink-925) / 0.08);
  color: rgb(var(--gitoku-ink-850));
}

[data-bs-theme="light"] .gitoku-docs-page-link-meta {
  color: rgb(var(--gitoku-slate-700));
}

[data-bs-theme="light"] .gitoku-docs-page-link.is-active {
  background: rgb(var(--gitoku-amber-600) / 0.12);
  border-color: rgb(var(--gitoku-amber-600) / 0.24);
  color: rgb(var(--gitoku-amber-900));
}

[data-bs-theme="light"] .gitoku-docs-page-link.is-active .gitoku-docs-page-link-meta {
  color: rgb(var(--gitoku-amber-900));
}

[data-bs-theme="light"] .gitoku-docs-page-link:hover,
[data-bs-theme="light"] .gitoku-docs-page-link:focus-visible,
[data-bs-theme="light"] .gitoku-docs-nav-link:hover,
[data-bs-theme="light"] .gitoku-docs-nav-link:focus-visible {
  background: rgb(var(--gitoku-amber-600) / 0.12);
  border-color: rgb(var(--gitoku-amber-600) / 0.24);
  color: rgb(var(--gitoku-amber-900));
}

[data-bs-theme="light"] .gitoku-docs-topic-link:hover .card,
[data-bs-theme="light"] .gitoku-docs-topic-link:focus-visible .card {
  border-color: rgb(var(--gitoku-amber-700) / 0.22);
  box-shadow: 0 1rem 2.4rem rgb(var(--gitoku-slate-500) / 0.28);
}

[data-bs-theme="light"] .sourceCode .kw,
[data-bs-theme="light"] .sourceCode .cf {
  color: #d73a49;
}

[data-bs-theme="light"] .sourceCode .dt,
[data-bs-theme="light"] .sourceCode .bu {
  color: #005cc5;
}

[data-bs-theme="light"] .sourceCode .fu {
  color: #6f42c1;
}

[data-bs-theme="light"] .sourceCode .va,
[data-bs-theme="light"] .sourceCode .at,
[data-bs-theme="light"] .sourceCode .an {
  color: #e36209;
}

[data-bs-theme="light"] .sourceCode .op {
  color: #162130;
}

[data-bs-theme="light"] .sourceCode .st,
[data-bs-theme="light"] .sourceCode .ss,
[data-bs-theme="light"] .sourceCode .vs,
[data-bs-theme="light"] .sourceCode .ch {
  color: #22863a;
}

[data-bs-theme="light"] .sourceCode .dv,
[data-bs-theme="light"] .sourceCode .bn,
[data-bs-theme="light"] .sourceCode .fl {
  color: #005cc5;
}

[data-bs-theme="light"] .sourceCode .co,
[data-bs-theme="light"] .sourceCode .cv,
[data-bs-theme="light"] .sourceCode .do {
  color: #6a737d;
}

[data-bs-theme="light"] .sourceCode .pp,
[data-bs-theme="light"] .sourceCode .im {
  color: #6f42c1;
}

/* ── Skip to content ─────────────────────────────── */

.gitoku-skip-link {
  background: var(--bs-warning);
  border-radius: 0 0 0.75rem 0.75rem;
  color: #16181d;
  font-weight: 700;
  left: 50%;
  padding: 0.75rem 1.5rem;
  position: fixed;
  top: 0;
  transform: translate(-50%, -100%);
  transition: transform 180ms ease;
  z-index: 9999;
}

.gitoku-skip-link:focus {
  transform: translate(-50%, 0);
}

[data-bs-theme="light"] .gitoku-skip-link {
  background: rgb(var(--gitoku-amber-900));
  color: #fff;
}

/* ── Reduced motion ──────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .gitoku-landing-hero,
  .gitoku-landing-console,
  .gitoku-landing-band,
  .gitoku-landing-cta,
  .gitoku-landing-feature-card,
  .gitoku-landing-detail-card,
  .gitoku-landing-step {
    animation: none;
  }

  .gitoku-repo-card,
  .gitoku-pr-card,
  .gitoku-list-card,
  .gitoku-commit-card,
  .gitoku-project-card,
  .gitoku-landing-signal,
  .gitoku-landing-feature-card,
  .gitoku-landing-detail-card,
  .gitoku-landing-step {
    transition: none;
  }

  .htmx-swapping > *,
  .htmx-settling > * {
    transition: none;
  }

  .gitoku-diff-skeleton-row {
    animation: none;
  }
}
