body {
  font-family: "Segoe UI", sans-serif;
}

body.tour-open {
  padding-bottom: calc(100vh - 9rem);
}

.tour-banner {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 0.92rem;
}

.tour-banner .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
}

.tour-banner a {
  font-weight: 600;
}

.tour-note {
  margin: 0 0 1rem;
}

.tour-step {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.tour-step-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.5rem;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0.95rem 0 1.05rem;
}

.tour-step h2 {
  font-size: 1.15rem;
  margin: 0.1rem 0 0.35rem;
}

.tour-step-inner > div > p:last-child {
  margin: 0;
  max-width: 46rem;
}

.tour-step-kicker {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand);
}

.tour-step-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
}

.tour-ring {
  position: fixed;
  z-index: 70;
  border: 3px solid #fff;
  border-radius: 12px;
  pointer-events: none;
  box-shadow: 0 0 0 4px var(--brand), 0 0 0 9999px rgba(16, 20, 24, 0.55);
}

.tour-pop {
  position: fixed;
  z-index: 80;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  width: min(440px, calc(100vw - 1.5rem));
  background: #fff;
  color: var(--text);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  padding: 1rem 1.1rem 0.95rem;
}

.tour-pop h2 {
  font-size: 1.12rem;
  margin: 0.15rem 0 0.45rem;
}

.tour-pop > p:not(.tour-pop-kicker):not(.tour-pop-nav) {
  margin: 0 0 0.85rem;
  max-height: 9.5rem;
  overflow: auto;
}

.tour-pop-kicker {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand);
}

.tour-pop-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
  margin: 0;
}

.tour-path {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
}

.tour-path li {
  position: relative;
  padding: 0 0 1.35rem 3.3rem;
}

.tour-path li:last-child {
  padding-bottom: 0;
}

.tour-path h2 {
  font-size: 1.05rem;
  margin: 0.15rem 0 0.35rem;
}

.tour-path p {
  margin: 0 0 0.7rem;
}

.tour-path-n {
  position: absolute;
  left: 0;
  top: 0;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.tour-path li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 1.1rem;
  top: 2.3rem;
  bottom: 0;
  width: 2px;
  background: var(--line);
}

.account-menu-panel[hidden] {
  display: none;
}

.demo-jump-list a.demo-jump {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.05rem;
  width: 100%;
  text-align: left;
  padding: 0.4rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
}

.demo-jump-list a.demo-jump small {
  color: var(--muted);
  font-size: 0.75rem;
}

.demo-jump-list a.demo-jump:hover {
  border-color: var(--brand);
}

.account-menu-panel a.demo-jump {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.05rem;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  color: var(--text);
}

.account-menu-panel a.demo-jump small {
  color: var(--muted);
  font-size: 0.75rem;
}

.account-menu-panel a.demo-jump[aria-current="page"],
.account-menu-panel a.demo-jump:hover {
  background: var(--bg-soft);
}

.site-header .account-menu-panel a.demo-jump,
.site-header .account-menu-panel a.demo-jump small {
  color: var(--text);
}

.frozen-field,
button.frozen,
.frozen-field input,
.frozen-field select,
.frozen-field textarea {
  pointer-events: none;
}

label.frozen-field {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  max-width: 100%;
}
