/* Guided workspace tour (demo + optional product education) */

.tb-demo-banner {
  background: linear-gradient(90deg, #f0f4f6 0%, #e8eef2 100%);
  color: #1e2a30;
  border-bottom: 1px solid #d5dee3;
  padding: 6px 14px;
  font-size: 12px;
  line-height: 1.35;
}

.tb-demo-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  justify-content: space-between;
}

.tb-demo-banner-lead .muted {
  color: #5a6b72;
  font-weight: 400;
  margin-left: 6px;
}

.tb-demo-banner-lead {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
  flex: 1 1 280px;
}

.tb-demo-banner-lead-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
}

.tb-demo-banner-routes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  align-items: center;
  margin-top: 2px;
}

.tb-demo-banner-route {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: #1e3d38;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(13, 148, 136, 0.22);
  transition: background 0.12s ease, border-color 0.12s ease;
}

.tb-demo-banner-route:hover {
  background: #fff;
  border-color: rgba(13, 148, 136, 0.45);
}

.tb-demo-try {
  color: #3d6b63;
  font-weight: 700;
}

.tb-demo-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.tb-demo-banner-btn {
  padding: 6px 12px !important;
  font-size: 12px !important;
}

.tb-demo-banner-more {
  position: relative;
}

.tb-demo-banner-more > summary {
  list-style: none;
  cursor: pointer;
}

.tb-demo-banner-more > summary::-webkit-details-marker {
  display: none;
}

.tb-demo-banner-more-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 200px;
  padding: 8px;
  background: #fff;
  color: #17232f;
  border-radius: 12px;
  border: 1px solid #d7dfe2;
  box-shadow: 0 12px 32px rgba(15, 23, 28, 0.15);
  z-index: 70;
  display: grid;
  gap: 6px;
}

.tb-demo-banner-more-panel a {
  color: inherit;
  font-weight: 600;
  font-size: 13px;
  padding: 6px 8px;
  border-radius: 8px;
}

.tb-demo-banner-more-panel a:hover {
  background: #f4f7f8;
}

.tb-demo-banner-form {
  margin: 0;
}

.tb-demo-banner-more-panel .tb-demo-banner-btn {
  width: 100%;
  justify-content: center;
}

.tb-tour-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(15, 23, 28, 0.55);
  pointer-events: auto;
}

.tb-tour-highlight {
  position: fixed;
  z-index: 9999;
  border-radius: 12px;
  box-shadow:
    0 0 0 4px rgba(43, 122, 120, 0.95),
    0 12px 40px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  transition: top 0.2s ease, left 0.2s ease, width 0.2s ease, height 0.2s ease;
}

.tb-tour-pop {
  position: fixed;
  z-index: 10000;
  max-width: min(380px, calc(100vw - 32px));
  background: #fff;
  color: var(--ink, #17232f);
  border-radius: 16px;
  padding: 18px 18px 14px;
  box-shadow: var(--shadow, 0 12px 40px rgba(15, 23, 28, 0.18));
  border: 1px solid var(--line, #d7dfe2);
}

.tb-tour-pop p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.5;
}

.tb-tour-pop .tb-tour-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.tb-tour-skip {
  background: transparent;
  border: 0;
  color: var(--muted, #5c6b73);
  font-weight: 600;
  cursor: pointer;
  padding: 8px 10px;
}

.tb-tour-step {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted, #5c6b73);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
