/**
 * WorkTree X — Onboarding Styles
 * Fully compliant with WorkTree Design System tokens (Light & Dark modes).
 * Supports both desktop popover and mobile bottom sheet.
 */

/* ==========================================================================
   1. TARGET SPOTLIGHT & BACKDROP
   ========================================================================== */

.worktree-tour-backdrop,
.tour-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 26, 0.45);
  z-index: 10000;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.2s ease;
}

.worktree-tour-spotlight {
  position: fixed;
  z-index: 10001;
  pointer-events: none;
  border-radius: 8px;
  box-shadow: 0 0 0 9999px rgba(10, 15, 26, 0.48), 0 0 0 3px var(--primary, #6962db);
  transition: top 0.2s cubic-bezier(0.16, 1, 0.3, 1), left 0.2s cubic-bezier(0.16, 1, 0.3, 1), width 0.2s ease, height 0.2s ease;
  display: none;
}

.worktree-tour-spotlight.is-active {
  display: block;
}

[data-tour-target-highlight="true"] {
  position: relative !important;
  z-index: 10002 !important;
  outline: 2px solid var(--primary, #6962db) !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 6px var(--primary-soft, rgba(105, 98, 219, 0.2)), 0 8px 24px rgba(0, 0, 0, 0.15) !important;
  transition: outline 0.15s ease, box-shadow 0.15s ease;
}

/* ==========================================================================
   2. TOUR POPOVER CARD (DESKTOP)
   ========================================================================== */

.worktree-tour-popover,
.tour-card {
  position: fixed;
  z-index: 10003;
  width: auto;
  min-width: 380px;
  max-width: min(460px, calc(100vw - 32px));
  background: var(--surface, #ffffff);
  border: 1px solid var(--line-strong, #d8deea);
  border-radius: var(--radius, 14px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18), 0 2px 6px rgba(0, 0, 0, 0.06);
  color: var(--text, #20283d);
  animation: tourCardFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes tourCardFadeIn {
  from { opacity: 0; transform: translateY(6px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.worktree-tour-card {
  padding: 18px 20px;
}

.worktree-tour-header,
.tour-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.worktree-tour-step-badge,
.tour-step-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--primary-text, #6256ca);
  background: var(--primary-soft, #eeecfc);
  padding: 3px 8px;
  border-radius: 6px;
}

.worktree-tour-close-btn,
.tour-card-close {
  background: transparent;
  border: none;
  color: var(--muted, #65728a);
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s, background 0.15s;
}

.worktree-tour-close-btn:hover,
.tour-card-close:hover {
  color: var(--text, #20283d);
  background: var(--surface-3, #f1f3f8);
}

.worktree-tour-title,
.tour-card-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 6px;
  color: var(--text, #20283d);
}

.worktree-tour-desc,
.tour-card-body {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted, #65728a);
  margin: 0 0 16px;
}

.worktree-tour-target-note {
  font-size: 11px;
  color: var(--amber, #93540c);
  background: var(--amber-soft, #fcf3df);
  padding: 6px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.worktree-tour-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line, #e8ebf2);
  padding-top: 14px;
}

.worktree-tour-footer-left {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.worktree-tour-footer-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Button Primitives */
.worktree-tour-footer button,
.worktree-btn-subtle,
.worktree-btn-ghost,
.worktree-btn-primary,
.worktree-btn-secondary,
.worktree-btn-action {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  word-break: keep-all !important;
}

.worktree-btn-subtle {
  background: transparent;
  border: none;
  font-size: 11.5px;
  color: var(--muted, #65728a);
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 6px;
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}

.worktree-btn-subtle:hover {
  color: var(--text, #20283d);
  background: var(--surface-3, #f1f3f8);
}

.worktree-btn-ghost {
  background: transparent;
  border: 1px solid var(--line, #e8ebf2);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  padding: 7px 12px;
  color: var(--text, #20283d);
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}

.worktree-btn-ghost:hover {
  background: var(--surface-3, #f1f3f8);
}

.worktree-btn-primary {
  background: var(--primary, #6962db);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 14px;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}

.worktree-btn-primary:hover {
  background: var(--primary-hover, #5851c4);
}

.worktree-btn-secondary {
  background: var(--surface-2, #f9fafc);
  color: var(--text, #20283d);
  border: 1px solid var(--line-strong, #d8deea);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 14px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.worktree-btn-action {
  background: var(--primary-soft, #eeecfc);
  color: var(--primary-text, #6256ca);
  border: 1px dashed var(--primary, #6962db);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ==========================================================================
   3. MOBILE TOUR CARD (BOTTOM SHEET)
   ========================================================================== */

@media (max-width: 900px) {
  .worktree-tour-popover--mobile,
  .worktree-tour-popover,
  .tour-card {
    position: fixed !important;
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 18px 18px 0 0 !important;
    border-bottom: none !important;
    padding: 18px 18px calc(18px + env(safe-area-inset-bottom, 12px)) !important;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.22) !important;
    animation: mobileTourSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-sizing: border-box !important;
  }

  .worktree-tour-popover--mobile .worktree-tour-card,
  .worktree-tour-popover .worktree-tour-card {
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  @keyframes mobileTourSlideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
  }

  .worktree-tour-footer--mobile {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    padding-top: 14px !important;
    border-top: 1px solid var(--line, #e8ebf2) !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .worktree-tour-action-wrap {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .worktree-tour-action-wrap .worktree-btn-action {
    width: 100% !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 10px 14px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    background: var(--primary-soft, #eeecfc) !important;
    color: var(--primary-text, #6256ca) !important;
    border: 1px dashed var(--primary, #6962db) !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-break: normal !important;
  }

  .worktree-tour-nav-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 10px !important;
    box-sizing: border-box !important;
  }

  .worktree-tour-nav-row .worktree-tour-footer-left {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
  }

  .worktree-tour-nav-row .worktree-tour-footer-right {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
  }

  .worktree-tour-footer button,
  .worktree-btn-primary,
  .worktree-btn-ghost,
  .worktree-btn-subtle {
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }
}

/* ==========================================================================
   4. WELCOME DIALOG
   ========================================================================== */

.worktree-welcome-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 26, 0.55);
  backdrop-filter: blur(2px);
  z-index: 10010;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: tourCardFadeIn 0.2s ease;
}

.worktree-welcome-dialog {
  width: 480px;
  max-width: 100%;
  background: var(--surface, #ffffff);
  border: 1px solid var(--line-strong, #d8deea);
  border-radius: var(--radius, 14px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  color: var(--text, #20283d);
  position: relative;
  overflow: hidden;
}

.worktree-welcome-card {
  padding: 28px 28px 24px;
  position: relative;
}

.worktree-welcome-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  border: none;
  color: var(--muted, #65728a);
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.worktree-welcome-close:hover {
  color: var(--text, #20283d);
  background: var(--surface-3, #f1f3f8);
}

.worktree-welcome-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #c1f0d6;
  color: #1c594b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.worktree-welcome-title {
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.4px;
  margin: 0 0 8px;
  color: var(--text, #20283d);
  line-height: 1.3;
}

.worktree-welcome-desc {
  font-size: 13.5px;
  color: var(--muted, #65728a);
  line-height: 1.6;
  margin: 0 0 20px;
}

.worktree-welcome-features {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
  padding: 14px 16px;
  background: var(--surface-2, #f9fafc);
  border-radius: 10px;
  border: 1px solid var(--line, #e8ebf2);
}

.worktree-welcome-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text, #20283d);
}

.worktree-welcome-feature-icon {
  font-weight: 700;
  color: var(--primary, #6962db);
  flex-shrink: 0;
}

.worktree-welcome-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

/* ==========================================================================
   5. GETTING STARTED CHECKLIST (OVERVIEW)
   ========================================================================== */

.worktree-getting-started-card,
.getting-started-panel {
  background: var(--surface, #ffffff);
  border: 1px solid var(--line, #e8ebf2);
  border-radius: var(--radius, 14px);
  padding: 18px 20px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s;
}

.worktree-getting-started-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.worktree-checklist-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.worktree-checklist-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.worktree-checklist-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--primary-soft, #eeecfc);
  color: var(--primary-text, #6256ca);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.worktree-checklist-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 2px;
  color: var(--text, #20283d);
}

.worktree-checklist-subtitle {
  font-size: 12px;
  color: var(--muted, #65728a);
  margin: 0;
}

.worktree-checklist-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.worktree-checklist-btn-toggle,
.worktree-checklist-btn-hide {
  background: transparent;
  border: none;
  color: var(--muted, #65728a);
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}

.worktree-checklist-btn-toggle:hover,
.worktree-checklist-btn-hide:hover {
  background: var(--surface-3, #f1f3f8);
  color: var(--text, #20283d);
}

.worktree-checklist-progress-bar {
  margin: 14px 0 16px;
  height: 6px;
  background: var(--surface-3, #f1f3f8);
  border-radius: 4px;
  overflow: hidden;
}

.worktree-checklist-progress-fill {
  height: 100%;
  background: var(--primary, #6962db);
  border-radius: 4px;
  transition: width 0.35s ease;
}

.worktree-checklist-content.is-collapsed {
  display: none;
}

.worktree-checklist-items {
  display: grid;
  gap: 8px;
}

.worktree-checklist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--surface-2, #f9fafc);
  border: 1px solid var(--line, #e8ebf2);
  transition: border-color 0.15s, background 0.15s;
}

.worktree-checklist-item.is-completed {
  opacity: 0.78;
  background: var(--surface, #ffffff);
}

.worktree-checklist-item-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surface-3, #f1f3f8);
  color: var(--muted, #65728a);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.worktree-checklist-item.is-completed .worktree-checklist-item-check {
  background: var(--green-soft, #e8f5ef);
  color: var(--green, #107353);
}

.worktree-checklist-item-info {
  flex: 1;
  min-width: 0;
}

.worktree-checklist-item-title {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text, #20283d);
}

.worktree-checklist-item.is-completed .worktree-checklist-item-title {
  text-decoration: line-through;
  color: var(--muted, #65728a);
}

.worktree-checklist-item-desc {
  font-size: 11.5px;
  color: var(--muted, #65728a);
  margin-top: 1px;
}

.worktree-checklist-item-note {
  font-size: 11px;
  color: var(--amber, #93540c);
  margin-top: 2px;
}

.worktree-checklist-action-btn {
  background: var(--surface, #ffffff);
  border: 1px solid var(--line-strong, #d8deea);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  color: var(--primary-text, #6256ca);
  cursor: pointer;
  white-space: nowrap;
}

.worktree-checklist-action-btn:hover {
  background: var(--primary-soft, #eeecfc);
  border-color: var(--primary, #6962db);
}

.worktree-checklist-footer {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line, #e8ebf2);
  display: flex;
  justify-content: flex-end;
}

.worktree-checklist-tour-btn {
  background: transparent;
  border: none;
  font-size: 12px;
  font-weight: 500;
  color: var(--primary-text, #6256ca);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   6. CONTEXTUAL HELP POPOVER
   ========================================================================== */

.worktree-contextual-trigger {
  background: transparent;
  border: none;
  color: var(--muted, #65728a);
  cursor: pointer;
  padding: 3px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  transition: color 0.15s, background 0.15s;
}

.worktree-contextual-trigger:hover,
.worktree-contextual-trigger:focus-visible {
  color: var(--primary-text, #6256ca);
  background: var(--primary-soft, #eeecfc);
}

.field-title {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 18px;
  line-height: 1.4;
}

.contextual-help-btn.inline-help {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--muted, #65728a);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  vertical-align: middle;
  transition: color 0.15s ease, background 0.15s ease;
}

.contextual-help-btn.inline-help:hover {
  color: var(--primary, #6962db);
  background: var(--primary-soft, #eeecfc);
}

.contextual-help-btn.inline-help svg,
.contextual-help-btn.inline-help .icon {
  width: 13px;
  height: 13px;
}

.worktree-contextual-popover,
.worktree-contextual-popover[popover] {
  position: fixed;
  inset: auto;
  margin: 0;
  padding: 0;
  overflow: visible;
  z-index: 10005;
  width: 280px;
  max-width: calc(100vw - 32px);
  background: var(--surface, #ffffff);
  border: 1px solid var(--line-strong, #d8deea);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
  color: var(--text, #20283d);
  animation: tourCardFadeIn 0.18s ease;
}

.worktree-contextual-card {
  padding: 12px 14px;
}

.worktree-contextual-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.worktree-contextual-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text, #20283d);
}

.worktree-contextual-close {
  background: transparent;
  border: none;
  color: var(--muted, #65728a);
  cursor: pointer;
  padding: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.worktree-contextual-desc {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted, #65728a);
  margin: 0 0 6px;
}

.worktree-contextual-tip {
  font-size: 11px;
  line-height: 1.45;
  color: var(--primary-text, #6256ca);
  background: var(--primary-soft, #eeecfc);
  padding: 5px 8px;
  border-radius: 6px;
}

.worktree-contextual-tip-label {
  font-weight: 700;
  margin-right: 4px;
}

/* ==========================================================================
   7. HELP CENTER DIALOG ("Trợ giúp & Hướng dẫn")
   ========================================================================== */

.worktree-help-center-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 26, 0.55);
  backdrop-filter: blur(2px);
  z-index: 10010;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: tourCardFadeIn 0.2s ease;
}

.worktree-help-center-dialog {
  width: 600px;
  max-width: 100%;
  max-height: 90vh;
  background: var(--surface, #ffffff);
  border: 1px solid var(--line-strong, #d8deea);
  border-radius: var(--radius, 14px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  color: var(--text, #20283d);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.worktree-help-center-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: 90vh;
}

.worktree-help-center-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line, #e8ebf2);
}

.worktree-help-center-header-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text, #20283d);
}

.worktree-help-center-header-title h2 {
  font-size: 17px;
  font-weight: 750;
  margin: 0;
}

.worktree-help-center-close {
  background: transparent;
  border: none;
  color: var(--muted, #65728a);
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.worktree-help-center-close:hover {
  color: var(--text, #20283d);
  background: var(--surface-3, #f1f3f8);
}

.worktree-help-center-body {
  padding: 20px 24px;
  overflow-y: auto;
  display: grid;
  gap: 20px;
}

.worktree-help-section-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--muted, #65728a);
  margin: 0 0 10px;
}

.worktree-help-actions-grid {
  display: grid;
  gap: 10px;
}

.worktree-help-action-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--surface-2, #f9fafc);
  border: 1px solid var(--line, #e8ebf2);
}

.worktree-help-action-name {
  font-size: 13.5px;
  font-weight: 650;
  color: var(--text, #20283d);
  margin-bottom: 2px;
}

.worktree-help-action-desc {
  font-size: 12px;
  color: var(--muted, #65728a);
}

.worktree-help-topics-list {
  display: grid;
  gap: 10px;
}

.worktree-help-topic-item {
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--surface-2, #f9fafc);
  border: 1px solid var(--line, #e8ebf2);
}

.worktree-help-topic-title {
  font-size: 13px;
  font-weight: 650;
  color: var(--text, #20283d);
  margin-bottom: 4px;
}

.worktree-help-topic-desc {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted, #65728a);
  margin-bottom: 6px;
}

.worktree-help-topic-tip {
  font-size: 11px;
  color: var(--primary-text, #6256ca);
  background: var(--primary-soft, #eeecfc);
  padding: 4px 8px;
  border-radius: 6px;
}

.worktree-help-center-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: var(--surface-2, #f9fafc);
  border-top: 1px solid var(--line, #e8ebf2);
}

.worktree-help-footer-status {
  font-size: 11.5px;
  color: var(--muted, #65728a);
}

/* ==========================================================================
   8. DARK MODE ADJUSTMENTS
   ========================================================================== */

html[data-theme="dark"] .worktree-tour-popover,
html[data-theme="dark"] .worktree-welcome-dialog,
html[data-theme="dark"] .worktree-getting-started-card,
html[data-theme="dark"] .worktree-contextual-popover,
html[data-theme="dark"] .worktree-contextual-popover[popover],
html[data-theme="dark"] .worktree-help-center-dialog {
  border-color: var(--line-strong, #424d68);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

html[data-theme="dark"] .worktree-tour-spotlight {
  box-shadow: 0 0 0 9999px rgba(5, 8, 14, 0.65), 0 0 0 3px var(--primary, #8d82f1);
}

html[data-theme="dark"] .worktree-welcome-badge {
  background: #1c3a34;
  color: #73d6b4;
}

html[data-theme="dark"] .worktree-checklist-item-check {
  background: var(--surface-3, #252e43);
  color: var(--muted, #a0acc4);
}

html[data-theme="dark"] .worktree-checklist-item.is-completed .worktree-checklist-item-check {
  background: var(--green-soft, #1c3a34);
  color: var(--green, #73d6b4);
}

html[data-theme="dark"] .worktree-tour-target-note {
  background: var(--amber-soft, #3e3424);
  color: var(--amber, #e9bd72);
}
