:root {
  --ink: #071114;
  --ink-2: #0f2126;
  --panel: #102126;
  --panel-2: #132b31;
  --paper: #f4f8f8;
  --paper-2: #e9f2f3;
  --white: #ffffff;
  --muted: #67797d;
  --muted-2: #9eb2b6;
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(7, 17, 20, 0.1);
  --sun: #d3a86f;
  --sun-2: #f0c987;
  --lagoon: #00b8d4;
  --lagoon-2: #0d8ea0;
  --leaf: #10b981;
  --shadow: 0 30px 80px rgba(7, 17, 20, 0.22);
  --shadow-soft: 0 16px 42px rgba(7, 17, 20, 0.12);
  --radius: 8px;
  --radius-lg: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ambient-shift-x: 0px;
  --ambient-shift-y: 0px;
  --ambient-scroll: 0;
  --ambient-energy: 1;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-width: 320px;
  min-height: 100svh;
  font-family: var(--font);
  color: var(--ink);
  background:
    linear-gradient(180deg, #f7fbfb 0%, #eef7f6 34%, #f7f0e4 72%, #ffffff 100%);
  line-height: 1.45;
  overflow-x: hidden;
  position: relative;
  isolation: isolate;
}

body > * {
  position: relative;
  z-index: 1;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

video {
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  background: none;
}

.tour-ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(240, 201, 135, 0.18) 0%, transparent 28%),
    radial-gradient(circle at 82% 14%, rgba(0, 184, 212, 0.12) 0%, transparent 24%),
    linear-gradient(180deg, #f7fbfb 0%, #eef7f6 42%, #f7f0e4 74%, #ffffff 100%);
}

.tour-ambient__layer {
  position: absolute;
  inset: -12%;
  will-change: transform, opacity;
}

.tour-ambient__layer--sea {
  opacity: calc(0.28 * var(--ambient-energy));
  background:
    linear-gradient(125deg, transparent 8%, rgba(0, 184, 212, 0.18) 24%, rgba(0, 184, 212, 0.04) 42%, transparent 64%),
    linear-gradient(145deg, transparent 26%, rgba(16, 185, 129, 0.08) 40%, transparent 54%);
  transform: translate3d(var(--ambient-shift-x), calc(var(--ambient-scroll) * -36px), 0) scale(1.08);
}

.tour-ambient__layer--sun {
  opacity: calc(0.3 * var(--ambient-energy));
  background:
    radial-gradient(circle at 72% 16%, rgba(240, 201, 135, 0.42) 0%, rgba(240, 201, 135, 0.08) 14%, transparent 28%),
    linear-gradient(180deg, rgba(240, 201, 135, 0.18), transparent 26%);
  transform: translate3d(calc(var(--ambient-shift-x) * -0.5), calc(var(--ambient-shift-y) * 0.7), 0);
}

.tour-ambient__layer--grid {
  inset: 0;
  opacity: 0.1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 82px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 82px);
  transform: translate3d(0, calc(var(--ambient-scroll) * -18px), 0);
}

.tour-ambient__layer--flow {
  opacity: calc(0.22 * var(--ambient-energy));
  background:
    linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.08) 16%, transparent 30%),
    linear-gradient(90deg, transparent 36%, rgba(240, 201, 135, 0.08) 50%, transparent 66%),
    linear-gradient(90deg, transparent 70%, rgba(0, 184, 212, 0.09) 84%, transparent 100%);
  transform: translate3d(calc(var(--ambient-shift-x) * 0.35), calc(var(--ambient-scroll) * 30px), 0) scale(1.05);
}

body[data-tour-view="financeiro"] .tour-ambient__layer--sun {
  opacity: calc(0.36 * var(--ambient-energy));
}

body[data-tour-view="reservas"] .tour-ambient__layer--flow,
body[data-tour-view="venda"] .tour-ambient__layer--flow {
  opacity: calc(0.3 * var(--ambient-energy));
}

body[data-tour-view="servicos"] .tour-ambient__layer--sea {
  opacity: calc(0.34 * var(--ambient-energy));
}

.tour-page {
  padding: 18px 18px 40px;
  color: var(--ink);
}

.tour-nav,
.tour-showcase,
.tour-console {
  width: min(100%, 1200px);
  margin: 0 auto;
}

.tour-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(8, 17, 20, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.tour-brand,
.tour-nav__actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.tour-brand {
  font-weight: 900;
}

.tour-brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--white);
}

.tour-nav__actions {
  gap: 10px;
}

.tour-nav__link,
.tour-nav__cta,
.btn,
.tour-action-chip,
.tour-floating-pill,
.tour-inline-button,
.tab,
.step-control,
.confirm-button,
.secondary-action {
  min-height: 44px;
  border-radius: var(--radius);
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.tour-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid rgba(8, 17, 20, 0.1);
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.88);
}

.tour-nav__cta,
.btn--primary,
.step-control--next,
.confirm-button,
.secondary-action,
.tour-inline-button.is-active,
.tour-action-chip.is-active {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  color: var(--ink);
  background: var(--sun-2);
  box-shadow: 0 14px 36px rgba(240, 201, 135, 0.18);
}

.btn,
.tour-inline-button,
.tour-action-chip,
.tour-floating-pill,
.tab,
.step-control,
.confirm-button,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  cursor: pointer;
}

.btn--ghost,
.tour-inline-button,
.tour-action-chip,
.tour-floating-pill,
.step-control,
.tab {
  border: 1px solid rgba(8, 17, 20, 0.1);
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.9);
}

.tour-nav__link:hover,
.tour-nav__cta:hover,
.btn:hover,
.tour-action-chip:hover,
.tour-floating-pill:hover,
.tour-inline-button:hover,
.tab:hover,
.step-control:hover,
.confirm-button:hover,
.secondary-action:hover {
  transform: translateY(-2px);
}

.tour-floating-pill.is-active {
  color: var(--ink);
  border-color: rgba(240, 201, 135, 0.72);
  background: rgba(240, 201, 135, 0.92);
}

.tour-showcase {
  margin-top: 28px;
  display: grid;
  gap: 22px;
  align-items: stretch;
}

.tour-showcase__intro,
.tour-showcase__media {
  min-width: 0;
}

.tour-showcase__intro {
  max-width: 560px;
}

.eyebrow {
  color: var(--sun-2);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tour-showcase h1 {
  margin-top: 12px;
  font-size: clamp(2.35rem, 6vw, 4.6rem);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: 0;
  max-width: 11.5ch;
  color: var(--ink);
}

.tour-lead {
  margin-top: 16px;
  max-width: 54ch;
  color: var(--muted);
  font-size: 1.02rem;
}

.tour-hero__chips,
.tour-hero__actions,
.tour-inline-actions,
.tour-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tour-hero__chips {
  margin-top: 20px;
}

.tour-hero__chips span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid rgba(8, 17, 20, 0.08);
  border-radius: var(--radius);
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  font-weight: 800;
}

.tour-hero__actions {
  margin-top: 18px;
}

.tour-action-chip,
.tour-inline-button {
  min-height: 42px;
  padding-inline: 14px;
  font-size: 0.88rem;
}

.tour-video-card {
  position: relative;
  min-height: 320px;
  height: 100%;
  border: 1px solid rgba(8, 17, 20, 0.08);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-soft), 0 0 90px rgba(240, 201, 135, 0.08);
  background: rgba(255, 255, 255, 0.84);
}

.tour-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.tour-video-card__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 24%, rgba(7, 17, 20, 0.34) 100%),
    radial-gradient(circle at 78% 16%, rgba(240, 201, 135, 0.18), transparent 22%);
}

.tour-video-card__topline {
  position: absolute;
  left: 22px;
  right: 22px;
  top: 20px;
  height: 1px;
  background: rgba(255, 255, 255, 0.36);
}

.tour-video-card__badge {
  position: absolute;
  left: 20px;
  top: 20px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  font-weight: 900;
}

.tour-video-card__note {
  position: absolute;
  right: 20px;
  top: 20px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  max-width: min(58%, 250px);
  padding: 6px 10px;
  border: 1px solid rgba(8, 17, 20, 0.08);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.1;
}

.tour-video-card__callout {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 74px;
  display: grid;
  gap: 8px;
  max-width: 340px;
  padding: 16px 18px;
  border: 1px solid rgba(8, 17, 20, 0.08);
  border-radius: 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
}

.tour-video-card__callout span {
  color: #9a5b00;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tour-video-card__callout strong {
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1.08;
}

.tour-video-card__actions {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tour-floating-pill {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(8, 17, 20, 0.08);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  font-weight: 900;
  backdrop-filter: blur(16px);
}

.tour-main {
  padding: 0 18px 58px;
}

.tour-console {
  display: grid;
  gap: 18px;
  margin-top: -6px;
  padding: 18px;
  border: 1px solid rgba(8, 17, 20, 0.08);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(243, 248, 248, 0.94)),
    var(--white);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-soft);
}

.tour-console__panel,
.tour-console__detail {
  min-width: 0;
}

.tour-console__panel {
  padding: 14px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(236, 246, 247, 0.94)),
    var(--white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.tour-console__header {
  display: grid;
  gap: 8px;
}

.tour-progress {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
}

.tour-progress span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--sun-2);
  font-size: 0.78rem;
  font-weight: 900;
}

.tour-progress strong {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
  text-align: right;
}

.tour-console__microcopy {
  color: var(--muted);
  font-size: 0.9rem;
}

.tabs {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab {
  flex: 0 0 auto;
  min-width: 104px;
  padding-inline: 14px;
  white-space: nowrap;
  color: var(--muted-dark);
  background: rgba(255, 255, 255, 0.9);
}

.tab.is-active {
  color: var(--ink);
  border-color: rgba(240, 201, 135, 0.7);
  background: var(--sun-2);
}

.device-shell {
  margin-top: 14px;
  padding: 10px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(243, 248, 248, 0.9)),
    rgba(255, 255, 255, 0.72);
}

.device-glow {
  position: absolute;
  inset: 20px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(240, 201, 135, 0.16), transparent 34%),
    linear-gradient(225deg, rgba(0, 184, 212, 0.12), transparent 44%);
  filter: blur(16px);
  opacity: 0.9;
  pointer-events: none;
}

.device {
  position: relative;
  width: min(100%, 520px);
  margin: 0 auto;
  border: 1px solid rgba(240, 201, 135, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(13, 28, 33, 0.96), rgba(8, 17, 20, 1)),
    var(--ink);
  box-shadow: 0 24px 56px rgba(7, 17, 20, 0.28);
  overflow: hidden;
}

.device::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  width: 110px;
  height: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(-50%);
}

.device__top {
  display: flex;
  gap: 6px;
  padding: 20px 16px 10px;
}

.device__top span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
}

.device__header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-end;
  padding: 0 16px 16px;
}

.device__header span,
.metric span,
.activity-strip span,
.queue-card span,
.finance-highlight span,
.service-card span,
.quick-sale span,
.tour-detail-card span {
  color: var(--muted-2);
  font-size: 0.8rem;
  font-weight: 800;
}

.activity-strip span,
.queue-card span,
.finance-highlight span,
.service-card span,
.quick-sale span {
  color: var(--muted);
}

.device__header strong {
  display: block;
  margin-top: 3px;
  color: var(--white);
  font-size: 1rem;
}

.device__header small {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: var(--radius);
  color: var(--sun-2);
  background: rgba(240, 201, 135, 0.1);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.panel-view {
  display: none;
  padding: 0 16px 16px;
}

.panel-view.is-active {
  display: block;
  animation: fade-in 220ms var(--ease);
}

.dashboard-preview {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(246, 251, 252, 0.98), rgba(231, 244, 247, 0.94)),
    var(--paper);
}

.dashboard-preview__hero {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(16, 185, 129, 0.16);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(0, 184, 212, 0.08));
}

.dashboard-preview__hero strong {
  display: block;
  margin-top: 2px;
  color: var(--ink);
  font-size: 1rem;
}

.dashboard-preview__hero small {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  color: #066b5e;
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.76rem;
  font-weight: 900;
  white-space: nowrap;
}

.dashboard-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.dashboard-shortcuts article {
  min-height: 72px;
  display: grid;
  place-items: center;
  gap: 4px;
  padding: 10px 8px;
  border: 1px solid rgba(7, 17, 20, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  text-align: center;
}

.dashboard-shortcuts span {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--white);
  background: linear-gradient(135deg, #10b981, #0ea5a4);
  font-size: 0.72rem;
  font-weight: 900;
}

.dashboard-shortcuts strong {
  color: var(--ink);
  font-size: 0.74rem;
  line-height: 1.1;
}

.metric-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.metric,
.activity-strip article,
.finance-highlight article,
.service-card,
.quick-sale,
.tour-detail-card,
.tour-step-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
}

.metric {
  min-height: 108px;
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

.metric--accent {
  background: linear-gradient(180deg, rgba(240, 201, 135, 0.16), rgba(255, 255, 255, 0.04));
}

.dashboard-preview .metric {
  min-height: 96px;
  color: var(--ink);
  border-color: rgba(7, 17, 20, 0.08);
  background: rgba(255, 255, 255, 0.92);
}

.metric--emerald {
  background: linear-gradient(160deg, rgba(16, 185, 129, 0.16), rgba(255, 255, 255, 0.98));
}

.metric--cyan {
  background: linear-gradient(160deg, rgba(0, 184, 212, 0.16), rgba(255, 255, 255, 0.98));
}

.metric--sun {
  background: linear-gradient(160deg, rgba(240, 201, 135, 0.26), rgba(255, 255, 255, 0.98));
}

.metric strong,
.activity-strip strong,
.queue-card strong,
.finance-highlight strong,
.service-card strong {
  color: var(--white);
  font-size: 1rem;
  line-height: 1.15;
}

.dashboard-preview .metric strong,
.dashboard-alert strong {
  color: var(--ink);
}

.activity-strip strong,
.queue-card strong,
.finance-highlight strong,
.service-card strong,
.reservation-card strong {
  color: var(--ink);
}

.activity-strip {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.dashboard-alert {
  display: grid;
  gap: 5px;
  padding: 12px 14px;
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: 12px;
  color: #8a3b00;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.16), rgba(255, 255, 255, 0.94));
}

.dashboard-alert span {
  color: #9a5b00;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.activity-strip article,
.queue-card,
.finance-highlight article,
.service-card {
  display: grid;
  gap: 6px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.92);
}

.alert {
  padding: 12px 14px;
  border-radius: var(--radius);
  color: var(--sun-2);
  background: rgba(212, 168, 111, 0.12);
  border: 1px solid rgba(212, 168, 111, 0.22);
  font-weight: 900;
}

.queue-list,
.finance-highlight {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.filter-strip {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-strip::-webkit-scrollbar {
  display: none;
}

.filter-strip small {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--muted-dark);
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.74rem;
  font-weight: 900;
  white-space: nowrap;
}

.filter-strip small.is-active {
  color: var(--ink);
  background: var(--sun-2);
}

.reservation-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.92);
}

.reservation-card--attention {
  border-color: rgba(240, 201, 135, 0.22);
  background: linear-gradient(160deg, rgba(240, 201, 135, 0.2), rgba(255, 255, 255, 0.94));
}

.reservation-card__top,
.service-card__top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.reservation-kind,
.reservation-status,
.service-type,
.service-card__top small {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  white-space: nowrap;
}

.reservation-kind,
.service-type {
  color: #0b6f8e;
  background: rgba(0, 184, 212, 0.16);
}

.reservation-kind--transfer,
.service-type--blue {
  color: #1652a3;
  background: rgba(59, 130, 246, 0.16);
}

.service-type--amber {
  color: #9a5b00;
  background: rgba(245, 158, 11, 0.18);
}

.reservation-status {
  color: #8a3b00;
  background: rgba(251, 191, 36, 0.18);
}

.reservation-status--soft,
.service-card__top small {
  color: var(--ink-2);
  background: rgba(8, 17, 20, 0.08);
}

.reservation-card p {
  color: var(--muted-dark);
  font-size: 0.9rem;
}

.reservation-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.secondary-chip {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid rgba(8, 17, 20, 0.1);
  border-radius: var(--radius);
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  font-weight: 900;
  cursor: pointer;
}

.secondary-chip--light {
  color: var(--ink);
  border-color: rgba(7, 17, 20, 0.08);
  background: rgba(255, 255, 255, 0.9);
}

.finance-explain {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 184, 212, 0.16), rgba(255, 255, 255, 0.96));
}

.finance-explain span {
  color: #0b6f8e;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.finance-split {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.finance-split article {
  display: grid;
  gap: 4px;
  padding: 12px 10px;
  border: 1px solid rgba(8, 17, 20, 0.08);
  border-radius: 12px;
  text-align: center;
  background: rgba(255, 255, 255, 0.92);
}

.finance-split strong {
  color: var(--ink);
  font-size: 0.96rem;
}

.service-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.service-header span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.service-header strong {
  display: block;
  margin-top: 2px;
  color: var(--white);
  font-size: 1rem;
}

.service-card {
  min-height: 112px;
}

.service-card--active {
  border-color: rgba(16, 185, 129, 0.22);
  background: linear-gradient(160deg, rgba(16, 185, 129, 0.16), rgba(255, 255, 255, 0.98));
}

.confirm-button,
.secondary-action {
  width: 100%;
}

.confirm-button {
  color: var(--white);
  background: var(--leaf);
  box-shadow: 0 12px 26px rgba(16, 185, 129, 0.18);
}

.confirm-button.is-confirmed {
  color: var(--leaf);
  background: rgba(16, 185, 129, 0.16);
  box-shadow: none;
  cursor: default;
}

.secondary-action {
  margin-top: 12px;
}

.chart {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 164px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(8, 17, 20, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
}

.chart span {
  flex: 1;
  min-height: 34px;
  border-radius: 6px 6px 0 0;
  background: var(--lagoon);
  box-shadow: 0 0 18px rgba(0, 184, 212, 0.18);
}

.chart span:nth-child(1) { height: 34%; }
.chart span:nth-child(2) { height: 56%; background: #2ec08d; box-shadow: 0 0 18px rgba(46, 192, 141, 0.18); }
.chart span:nth-child(3) { height: 68%; }
.chart span:nth-child(4) { height: 84%; background: var(--sun); box-shadow: 0 0 18px rgba(211, 168, 111, 0.18); }
.chart span:nth-child(5) { height: 58%; }

.finance-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.finance-tags small {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: var(--radius);
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  font-weight: 900;
}

.quick-sale {
  display: grid;
  gap: 12px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.92);
}

.quick-sale label {
  display: grid;
  gap: 6px;
}

.quick-sale input {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(8, 17, 20, 0.08);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
}

.device-controls {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: center;
  padding: 12px 16px 16px;
}

.step-control:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.step-dots {
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
}

.step-dots span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  transition: width 180ms ease, background 180ms ease;
}

.step-dots span.is-active {
  width: 24px;
  background: var(--sun-2);
}

.tour-console__detail {
  padding: 14px;
  border-radius: 18px;
  color: var(--ink);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(233, 242, 243, 0.92)),
    var(--white);
  box-shadow: var(--shadow-soft);
}

.tour-detail__hero h2 {
  margin-top: 12px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: 0;
}

.tour-detail__hero p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1rem;
}

.copy-kicker {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: var(--radius);
  color: var(--lagoon-2);
  background: rgba(0, 184, 212, 0.12);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tour-detail__grid {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.tour-more-details {
  margin-top: 14px;
  border: 1px solid rgba(7, 17, 20, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.62);
}

.tour-more-details summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
  font-weight: 900;
}

.tour-more-details summary::-webkit-details-marker {
  display: none;
}

.tour-more-details summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(240, 201, 135, 0.72);
  font-size: 1rem;
  font-weight: 900;
}

.tour-more-details[open] summary::after {
  content: "−";
}

.tour-more-details[open] summary {
  border-bottom: 1px solid rgba(7, 17, 20, 0.08);
}

.tour-more-details[open] .tour-detail__grid {
  padding: 14px 14px 0;
  margin-top: 0;
}

.tour-more-details[open] .tour-steps {
  padding: 14px;
  padding-top: 10px;
  margin-top: 0;
}

.tour-detail-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.tour-detail-card strong {
  font-size: 1.14rem;
  line-height: 1.1;
}

.tour-detail-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.tour-detail-card--dark {
  color: var(--ink);
  background:
    linear-gradient(150deg, rgba(240, 201, 135, 0.22), rgba(229, 244, 246, 0.96)),
    rgba(255, 255, 255, 0.94);
}

.tour-detail-card--dark span {
  color: #9a5b00;
}

.tour-tag-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.tour-tag-grid small {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: var(--radius);
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.88);
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1.12;
  text-align: center;
}

.tour-steps {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.tour-step-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 12px;
  align-items: start;
  padding: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.tour-step-card span {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--ink);
  background: var(--sun-2);
  font-size: 0.84rem;
  font-weight: 900;
}

.tour-step-card strong {
  align-self: center;
  font-size: 1rem;
}

.tour-step-card p {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.94rem;
}

.tour-inline-actions,
.tour-actions {
  margin-top: 14px;
}

.tour-inline-button {
  min-height: 40px;
  padding-inline: 12px;
  border: 1px solid rgba(7, 17, 20, 0.12);
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.88);
}

.tour-actions .btn--ghost {
  color: var(--ink-2);
  border-color: rgba(7, 17, 20, 0.1);
  background: rgba(255, 255, 255, 0.82);
}

.toast {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 20;
  display: grid;
  min-height: 48px;
  align-items: center;
  padding: 12px 14px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--leaf);
  box-shadow: var(--shadow);
  font-weight: 900;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(24px);
  visibility: hidden;
  transition: opacity 180ms ease, transform 220ms var(--ease), visibility 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 900px) {
  .tour-showcase {
    grid-template-columns: 0.92fr 1.08fr;
    gap: 32px;
    align-items: center;
  }

  .tour-video-card {
    min-height: 500px;
  }

  .tour-console {
    grid-template-columns: 0.98fr 0.92fr;
    gap: 18px;
    align-items: start;
  }

  .tour-console__panel {
    position: sticky;
    top: 18px;
  }
}

@media (min-width: 1180px) {
  .tour-console__detail {
    padding: 18px;
  }

  .tour-detail__grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

@media (max-width: 899px) {
  .tour-page {
    padding-bottom: 28px;
  }

  .tour-showcase {
    gap: 18px;
  }

  .tour-video-card {
    min-height: 340px;
  }

  .tour-video-card__callout {
    max-width: 280px;
  }
}

@media (max-width: 560px) {
  .tour-page,
  .tour-main {
    padding-left: 14px;
    padding-right: 14px;
  }

  .tour-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 10px;
  }

  .tour-brand {
    min-width: 0;
  }

  .tour-nav__actions {
    gap: 8px;
    flex-shrink: 0;
  }

  .tour-nav__link,
  .tour-nav__cta {
    min-height: 40px;
    padding-inline: 12px;
    font-size: 0.88rem;
  }

  .tour-showcase {
    margin-top: 20px;
  }

  .tour-showcase h1 {
    font-size: 1.96rem;
    max-width: 10.2ch;
  }

  .tour-lead {
    font-size: 0.92rem;
  }

  .tour-hero__actions .btn,
  .tour-actions .btn {
    width: 100%;
  }

  .tour-video-card {
    min-height: 292px;
  }

  .tour-video-card__badge {
    left: 14px;
    top: 14px;
  }

  .tour-video-card__note {
    right: 14px;
    top: 14px;
    max-width: 58%;
    padding: 6px 8px;
    font-size: 0.66rem;
  }

  .tour-video-card__callout {
    left: 14px;
    right: 14px;
    bottom: 112px;
    max-width: none;
    padding: 12px;
  }

  .tour-video-card__callout strong {
    font-size: 0.98rem;
    line-height: 1.08;
  }

  .tour-video-card__actions {
    left: 14px;
    right: 14px;
    bottom: 14px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }

  .tour-floating-pill {
    min-height: 36px;
    padding-inline: 8px;
    font-size: 0.76rem;
    line-height: 1.05;
  }

  .tour-console {
    padding: 12px;
    border-radius: 18px;
  }

  .tour-console__panel,
  .tour-console__detail {
    padding: 12px;
    border-radius: 16px;
  }

  .tabs {
    margin-top: 12px;
  }

  .tab {
    min-width: 96px;
    min-height: 42px;
    padding-inline: 12px;
    font-size: 0.84rem;
  }

  .device-shell {
    padding: 8px;
  }

  .device__top {
    padding: 18px 12px 10px;
  }

  .device__header,
  .panel-view,
  .device-controls {
    padding-left: 12px;
    padding-right: 12px;
  }

  .metric-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-shortcuts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .queue-card {
    grid-template-columns: 1fr;
  }

  .reservation-card__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tour-tag-grid {
    grid-template-columns: 1fr;
  }

  .tour-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tour-step-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 8px;
    padding: 12px 10px;
  }

  .tour-step-card p {
    grid-column: auto;
    font-size: 0.82rem;
  }

  .tour-inline-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
    padding-bottom: 0;
  }

  .tour-inline-button {
    width: 100%;
    flex: initial;
    white-space: normal;
  }

  .device-controls {
    grid-template-columns: 1fr 1fr;
  }

  .step-dots {
    grid-column: 1 / -1;
    grid-row: 1;
    min-height: 20px;
  }
}

@media (max-width: 420px) {
  .tour-brand span {
    max-width: none;
    font-size: 0.94rem;
    white-space: nowrap;
  }

  .tour-nav__actions {
    gap: 6px;
  }

  .tour-nav__link,
  .tour-nav__cta {
    min-height: 38px;
    padding-inline: 10px;
    font-size: 0.82rem;
  }

  .tour-showcase h1 {
    font-size: 1.76rem;
  }

  .finance-split article {
    padding: 10px 8px;
  }

  .finance-split strong {
    font-size: 0.82rem;
  }

  .dashboard-shortcuts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tour-video-card {
    min-height: 300px;
  }

  .tour-video-card__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tour-video-card__actions .tour-floating-pill:last-child {
    grid-column: 1 / -1;
  }

  .tour-video-card__callout {
    bottom: 118px;
  }

  .tour-console__microcopy {
    font-size: 0.84rem;
  }

  .tour-detail__hero h2 {
    font-size: 1.86rem;
  }

  .tour-steps {
    grid-template-columns: 1fr;
  }

  .tour-step-card {
    grid-template-columns: auto 1fr;
    justify-items: start;
    text-align: left;
  }

  .tour-step-card p {
    grid-column: 2;
    font-size: 0.84rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
