:root {
  --navy: #0B1D3A;
  --blue: #1677FF;
  --steel: #5A7DBA;
  --mist: #B8C6D9;
  --paper: #E6E9EE;
  --white: #ffffff;
  --ink: #0B1D3A;
  --muted: #5A7DBA;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(11, 29, 58, 0.14);
}

html {
  scroll-behavior: smooth;
}

h2[id] {
  scroll-margin-top: 5.5rem;
}

body {
  font-family: "Montserrat", sans-serif;
  color: var(--ink);
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(11, 29, 58, 0.08);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: inherit;
}

.brand-mark,
.brand-lockup img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}

.brand-text .top {
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
}

.brand-text .bottom {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
}

.nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy) !important;
  padding: 0.45rem 0.8rem !important;
}

.nav-link.active,
.nav-link:hover {
  color: var(--blue) !important;
}

.btn-primary {
  --bs-btn-bg: var(--blue);
  --bs-btn-border-color: var(--blue);
  --bs-btn-hover-bg: #0f63db;
  --bs-btn-hover-border-color: #0f63db;
  --bs-btn-font-weight: 600;
  border-radius: 8px;
  padding: 0.7rem 1.25rem;
}

.btn-outline-light,
.btn-light {
  font-weight: 600;
  border-radius: 8px;
  padding: 0.7rem 1.25rem;
}

.btn-ghost {
  color: var(--navy);
  background: transparent;
  border: 1px solid rgba(11, 29, 58, 0.18);
  font-weight: 600;
  border-radius: 8px;
  padding: 0.7rem 1.25rem;
}

.btn-ghost:hover {
  background: var(--paper);
  color: var(--navy);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 30%, rgba(22, 119, 255, 0.12), transparent 35%),
    linear-gradient(140deg, #071427 0%, var(--navy) 48%, #092046 100%);
  color: var(--white);
  padding: 4.8rem 0 5.2rem;
}

.hero > .container {
  position: relative;
  z-index: 2;
}

.hero-watermark {
  position: absolute;
  width: 520px;
  height: 520px;
  left: -45px;
  bottom: -125px;
  opacity: 0.13;
  pointer-events: none;
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  right: -180px;
  top: -220px;
  background: radial-gradient(circle, rgba(22, 119, 255, 0.28) 0%, rgba(11, 29, 58, 0) 68%);
  pointer-events: none;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.hero-brand-mark {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
}

.hero-brand-name {
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.08;
}

.hero-brand-name span {
  display: block;
  color: var(--blue);
  letter-spacing: 0.22em;
}

.hero-brand-tagline {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.55rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.78);
}

.hero-brand-tagline::before,
.hero-brand-tagline::after {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--blue);
  flex-shrink: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--mist);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--steel);
}

.hero h1 {
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: clamp(2.1rem, 5vw, 4.1rem);
  line-height: 1.08;
  margin-bottom: 1.1rem;
}

.hero h1 span {
  color: var(--blue);
}

.hero .lead {
  color: var(--mist);
  font-size: 1.12rem;
  max-width: 36rem;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin: 1.75rem 0 0;
  max-width: 36rem;
}

.hero-feature {
  text-align: center;
  padding: 0 0.4rem;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-feature:last-child {
  border-right: 0;
}

.hero-feature-icon {
  width: 28px;
  height: 28px;
  margin: 0 auto 0.45rem;
  display: block;
  color: #48A2FF;
}

.hero-feature-label {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.hero-note {
  margin-top: 1.4rem;
  color: var(--steel);
  font-size: 0.92rem;
}

/* Product frame */
.product-frame {
  background: #071427;
  border: 1px solid rgba(184, 198, 217, 0.18);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.product-frame-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #0f2748;
  border-bottom: 1px solid rgba(184, 198, 217, 0.12);
}

.product-frame-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5A7DBA;
}

.product-frame-bar span:first-child { background: #B8C6D9; }
.product-frame-bar span:nth-child(2) { background: #1677FF; }

.product-frame img {
  display: block;
  width: 100%;
}

.room-tv-bezel {
  background: #071427;
  border-radius: 18px;
  padding: 12px 12px 18px;
  box-shadow: var(--shadow);
}

.room-tv-bezel::after {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  margin: 8px auto 0;
  border-radius: 50%;
  background: #1677FF;
}

.room-tv-screen {
  background:
    radial-gradient(circle at 12% 0%, rgba(22, 119, 255, 0.28), transparent 32%),
    linear-gradient(165deg, #14315c 0%, #0b1d3a 58%);
  color: white;
  border-radius: 8px;
  padding: 1rem 1rem 0.9rem;
}

.room-tv-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.room-tv-brand {
  color: #B8C6D9;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.room-tv-hello {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.15;
  margin-top: 0.15rem;
}

.room-tv-sub {
  color: #B8C6D9;
  font-size: 0.85rem;
  margin-top: 0.15rem;
}

.room-tv-room {
  text-align: right;
  flex: 0 0 auto;
}

.room-tv-room span {
  display: block;
  color: #B8C6D9;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.room-tv-room strong {
  font-size: 1.7rem;
  line-height: 1;
  font-weight: 700;
}

.room-tv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.room-tv-panel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(184, 198, 217, 0.16);
  border-radius: 10px;
  padding: 0.7rem 0.75rem 0.35rem;
}

.room-tv-panel h4 {
  margin: 0 0 0.15rem;
  color: #B8C6D9;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.room-tv-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.room-tv-panel li {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.38rem 0;
  border-top: 1px solid rgba(184, 198, 217, 0.14);
  font-size: 0.86rem;
}

.room-tv-panel li span:first-child {
  color: #E6E9EE;
}

.room-tv-panel li span:last-child {
  font-weight: 700;
  text-align: right;
}

.room-tv-menu li {
  display: block;
}

.room-tv-meal {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
}

.room-tv-menu p {
  margin: 0.12rem 0 0;
  color: #B8C6D9;
  font-size: 0.78rem;
  line-height: 1.25;
}

.room-tv-maint {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 0.7rem;
}

.room-tv-qr {
  width: 92px;
  height: 92px;
  margin-top: 0.35rem;
  background: #ffffff;
  border-radius: 6px;
  padding: 4px;
}

.room-tv-maint p {
  margin: 0.4rem 0 0;
  color: #B8C6D9;
  font-size: 0.78rem;
  line-height: 1.3;
}

.room-tv-note {
  margin: 0.65rem 0 0;
  color: #5A7DBA;
  font-size: 0.82rem;
}

.gallery-card .room-tv {
  background: #E6E9EE;
  padding: 0.85rem;
  border-bottom: 1px solid rgba(11, 29, 58, 0.08);
}

.gallery-card .room-tv-bezel {
  box-shadow: none;
}

.gallery-card .room-tv-hello {
  font-size: 1.05rem;
}

.gallery-card .room-tv-room strong {
  font-size: 1.35rem;
}

@media (max-width: 575px) {
  .room-tv-grid {
    grid-template-columns: 1fr;
  }

  .room-tv-hello {
    font-size: 1.15rem;
  }

  .room-tv-room strong {
    font-size: 1.35rem;
  }
}

.product-frame.kiosk-crop img {
  height: 320px;
  object-fit: cover;
  object-position: top center;
}

.hero-collage {
  position: relative;
  min-height: 460px;
  margin-right: -1rem;
}

.hero-collage .shot {
  position: absolute;
  border-radius: 14px;
  overflow: hidden;
  background: #071427;
  border: 1px solid rgba(184, 198, 217, 0.22);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.38);
}

.hero-collage .shot img {
  display: block;
  width: 100%;
}

.hero-collage .shot-main {
  width: 86%;
  left: 6%;
  top: 0;
  z-index: 2;
}

.hero-collage .shot-main img {
  height: 340px;
  object-fit: cover;
  object-position: top left;
}

.hero-collage .shot-back {
  width: 70%;
  right: 0;
  top: 58px;
  z-index: 1;
  transform: rotate(7deg);
  opacity: 0.92;
}

.hero-collage .shot-back img {
  height: 280px;
  object-fit: cover;
  object-position: top left;
}

.hero-collage .shot-kiosk {
  width: 46%;
  left: 0;
  bottom: 0;
  z-index: 3;
}

.hero-collage .shot-kiosk img {
  height: 210px;
  object-fit: cover;
  object-position: top center;
}

.shot-stack {
  position: relative;
  min-height: 360px;
}

.shot-stack .shot-back {
  width: 86%;
  margin-left: auto;
}

.shot-stack .shot-front {
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 58%;
  z-index: 2;
}

@media (max-width: 991px) {
  .hero-collage {
    min-height: 380px;
    margin: 0 0 1rem;
  }

  .hero-features {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem 0;
    max-width: none;
  }

  .hero-feature:nth-child(3) {
    border-right: 0;
  }

  .hero-watermark {
    width: 360px;
    height: 360px;
  }
}

@media (max-width: 767px) {
  .hero { padding: 3.5rem 0 3rem; }
  .cta-band { padding: 1.75rem; }
  .stat-row { grid-template-columns: 1fr; }
  .interest-grid { grid-template-columns: 1fr; }
  .hero-brand-mark { width: 56px; height: 56px; }
  .hero-brand-name { font-size: 1.05rem; }
  .hero-brand-tagline { font-size: 0.64rem; }
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-builder {
  padding-top: 2.25rem;
  padding-bottom: 2.5rem;
}

.section-muted {
  background: var(--paper);
}

.section-navy {
  background: var(--navy);
  color: var(--white);
}

.section-title {
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-kicker {
  color: var(--blue);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.section-copy {
  color: #3d4d66;
  max-width: 40rem;
}

.section-navy .section-copy,
.section-navy .section-kicker {
  color: var(--mist);
}

/* Feature cards */
.feature-card {
  height: 100%;
  background: var(--white);
  border: 1px solid rgba(11, 29, 58, 0.08);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.feature-card p {
  color: #3d4d66;
  margin: 0;
  font-size: 0.94rem;
}

/* Split / product rows */
.product-copy h2 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.stat {
  border-top: 2px solid var(--blue);
  padding-top: 0.8rem;
}

.stat b {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
}

.stat span {
  color: var(--mist);
  font-size: 0.85rem;
}

.steps {
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.gallery-card {
  display: block;
  color: inherit;
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(11, 29, 58, 0.08);
  height: 100%;
}

.gallery-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: top;
  border-bottom: 1px solid rgba(11, 29, 58, 0.08);
}

.gallery-card figcaption {
  padding: 1rem 1.1rem 1.15rem;
}

.gallery-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.gallery-card p {
  margin: 0;
  color: #3d4d66;
  font-size: 0.9rem;
}

.cta-band {
  background: linear-gradient(135deg, #0B1D3A 0%, #12305f 58%, #1677FF 160%);
  color: white;
  border-radius: 20px;
  padding: 3rem;
}

.form-control, .form-select {
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  border-color: #B8C6D9;
}

.form-control:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 0.2rem rgba(22, 119, 255, 0.15);
}

.site-footer {
  background: var(--navy);
  color: var(--mist);
  padding: 3rem 0 1.5rem;
}

.site-footer a {
  color: var(--paper);
}

.site-footer a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(184, 198, 217, 0.18);
  margin-top: 2rem;
  padding-top: 1.1rem;
  font-size: 0.85rem;
}

.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 30%, rgba(22, 119, 255, 0.12), transparent 35%),
    linear-gradient(140deg, #071427 0%, var(--navy) 48%, #092046 100%);
  color: white;
  padding: 4rem 0 3rem;
}

.page-hero > .container {
  position: relative;
  z-index: 2;
}

.page-hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  left: -60px;
  bottom: -140px;
  background: url("/images/brand/mark.svg") no-repeat center / contain;
  opacity: 0.12;
  pointer-events: none;
}

.alert-info {
  background: #e8f1ff;
  border-color: #b8c6d9;
  color: var(--navy);
}

.page-hero-kicker {
  color: var(--mist);
}

.page-hero-lead {
  color: var(--mist);
  max-width: 40rem;
}

.hardware-card {
  position: relative;
}

.hardware-card a {
  display: inline-block;
  margin-top: 0.9rem;
  font-weight: 600;
  color: var(--blue);
}

.bundle-step {
  height: 100%;
  padding: 1.4rem 1.5rem;
  border-radius: var(--radius);
  background: var(--navy);
  color: white;
}

.bundle-step span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.bundle-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.bundle-step p {
  margin: 0;
  color: var(--mist);
  font-size: 0.94rem;
}

.demo-aside .feature-card {
  height: auto;
}

.interest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.interest-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--mist);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
}

.interest-check input {
  accent-color: var(--blue);
}

.package-card {
  height: 100%;
  position: relative;
  background: white;
  border: 1px solid rgba(11, 29, 58, 0.08);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.5rem;
}

.package-card.is-popular {
  border-color: var(--blue);
  box-shadow: var(--shadow);
}

.package-badge {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  background: var(--blue);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

.package-tag {
  color: var(--blue);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.package-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.package-price {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.package-price span {
  font-size: 0.9rem;
  font-weight: 600;
  color: #3d4d66;
}

.package-summary {
  color: #3d4d66;
  font-size: 0.94rem;
}

.package-card ul {
  padding-left: 1.1rem;
  margin: 0 0 1.2rem;
  color: #3d4d66;
  font-size: 0.92rem;
}

.package-card li {
  margin-bottom: 0.35rem;
}

.order-lines {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  color: #3d4d66;
  font-size: 0.94rem;
}

.order-lines li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.4rem;
}

.order-lines li span:last-child {
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

.order-split {
  color: #3d4d66;
  font-size: 0.95rem;
}

.pay-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin: 0 0 1rem;
}

.pay-choice-btn {
  border: 1px solid rgba(11, 29, 58, 0.14);
  background: #f7f9fc;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.7rem 0.8rem;
  border-radius: 8px;
}

.pay-choice-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.pay-choice-btn.is-on,
.pay-choice-btn.is-on:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

#payPanelCard p,
#payPanelInvoice > p {
  margin-bottom: 0.85rem;
  color: #3d4d66;
}

.field-error {
  margin: 0.35rem 0 0;
  color: #b42318;
  font-size: 0.86rem;
  font-weight: 600;
}

#email.is-invalid {
  border-color: #b42318;
}

.package-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.builder-card .package-actions {
  flex-direction: row;
  flex-wrap: wrap;
}

.package-buy {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: end;
}

.package-buy .form-label {
  width: 100%;
  margin-bottom: 0.2rem;
}

.package-buy .form-control {
  max-width: 7rem;
}

.builder-card {
  background: white;
  border: 1px solid rgba(11, 29, 58, 0.08);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem 1.25rem;
}

.package-paths {
  margin-top: 2.5rem;
  padding: 1.4rem 1.5rem;
  border: 1px solid rgba(11, 29, 58, 0.08);
  border-radius: var(--radius);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.package-paths-lead {
  margin: 0;
  font-weight: 600;
  color: var(--navy);
}

.package-paths-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.package-details {
  background: white;
  border: 1px solid rgba(11, 29, 58, 0.08);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem 1.5rem;
}

.package-details summary {
  cursor: pointer;
  list-style: none;
}

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

.package-details-title {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
}

.package-details summary:hover .package-details-title {
  color: var(--blue);
}

.module-price-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  background: transparent;
  border: 0;
  overflow: visible;
}

.module-pick {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem;
  margin: 0;
  border: 1px solid rgba(11, 29, 58, 0.08);
  border-radius: 10px;
  background: white;
  cursor: default;
}

.module-pick.is-required {
  background: #f6f8fb;
}

.module-pick-lock {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
  position: relative;
  border-radius: 0.22rem;
  background: var(--blue);
}

.module-pick-lock::after {
  content: "";
  position: absolute;
  left: 0.32rem;
  top: 0.1rem;
  width: 0.28rem;
  height: 0.52rem;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.module-req-tag {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.08rem 0.4rem;
  border-radius: 999px;
  background: rgba(22, 119, 255, 0.12);
  color: var(--blue);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
}

.module-pick input[type="checkbox"] {
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--blue);
}

.module-pick-qty {
  width: 4.4rem;
  flex-shrink: 0;
}

.module-pick-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.55rem;
}

.module-price-amt {
  flex-shrink: 0;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  font-size: 0.92rem;
}

.module-price-amt span {
  font-size: 0.75rem;
  font-weight: 600;
  color: #3d4d66;
}

.module-price-mo {
  display: inline-block;
  margin-left: 0.35rem;
}

.software-builder-top {
  display: grid;
  grid-template-columns: minmax(12rem, 0.9fr) minmax(14rem, 1.2fr) auto;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(11, 29, 58, 0.08);
}

.software-builder-total {
  text-align: right;
}

.software-builder-total .package-price {
  font-size: 1.55rem;
  margin-bottom: 0.05rem;
}

#builderDueNote {
  color: var(--navy);
  font-weight: 600;
}

.order-live {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.85rem 1.25rem;
  align-items: end;
  margin: 1.1rem 0 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(11, 29, 58, 0.12);
  border-radius: var(--radius);
  background: #f4f7fb;
}

.order-live ul {
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
}

.order-live li {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.18rem 0;
  color: #3d4d66;
  font-size: 0.9rem;
}

.order-live li strong {
  color: var(--navy);
  font-weight: 700;
  white-space: nowrap;
}

.order-live-total {
  text-align: right;
}

.order-live-total .package-price {
  font-size: 1.55rem;
}

.software-bundle {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem 1rem;
  margin: 0;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(22, 119, 255, 0.28);
  border-radius: 10px;
  background: rgba(22, 119, 255, 0.06);
}

.software-bundle.is-on {
  border-color: var(--blue);
}

.software-bundle p {
  margin: 0.15rem 0 0;
  color: #3d4d66;
  font-size: 0.82rem;
}

.software-bundle-actions {
  text-align: right;
}

.builder-was {
  text-decoration: line-through;
  color: #6b7a90;
}

.module-open {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.92rem;
  text-align: left;
  cursor: pointer;
}

.module-open:hover,
.module-open-link:hover {
  color: var(--blue);
}

.module-open-link {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
}

.module-modal-figure {
  margin: 0 0 1rem;
  overflow: hidden;
  border-radius: 10px;
  background: #0B1D3A;
}

.module-modal-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.module-modal-price {
  margin: 1rem 0 0;
  font-weight: 700;
  color: var(--navy);
}

#moduleModal .modal-title {
  font-weight: 700;
  color: var(--navy);
}

@media (max-width: 991.98px) {
  .module-price-list,
  .software-builder-top {
    grid-template-columns: 1fr;
  }

  .software-builder-total {
    text-align: left;
  }

  .order-live {
    grid-template-columns: 1fr;
  }

  .order-live-total {
    text-align: left;
  }

  .pay-choice {
    grid-template-columns: 1fr;
  }

  .builder-options-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .module-pick {
    flex-wrap: wrap;
  }

  .software-builder-total,
  .software-bundle-actions {
    text-align: left;
  }

  .hardware-qty-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.full-setup {
  margin: 0 0 0.9rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(22, 119, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(22, 119, 255, 0.06);
}

.full-setup-main {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 0.75rem 1rem;
  margin-bottom: 0.55rem;
}

.full-setup-rooms {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
}

.full-setup-rooms .form-control {
  width: 3.6rem;
  min-height: 0;
  margin-top: 0.2rem;
  padding: 0.22rem 0.35rem;
  font-size: 0.88rem;
}

.full-setup-sizes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.full-setup-sizes button {
  min-width: 3.1rem;
  border: 1px solid rgba(11, 29, 58, 0.14);
  background: white;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.4rem 0.55rem;
  border-radius: 8px;
}

.full-setup-sizes button:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.full-setup-sizes button.is-on,
.full-setup-sizes button.is-on:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.full-setup-or {
  color: #6b7a90;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0 0.15rem;
}

.full-setup-software {
  min-width: 9.2rem;
  border-color: var(--blue);
  background: white;
}

.full-setup-software.is-on,
.full-setup-software.is-on:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.builder-options {
  margin: 0 0 1rem;
}

.builder-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.builder-fold {
  margin: 0;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(22, 119, 255, 0.32);
  border-radius: var(--radius);
  background: rgba(22, 119, 255, 0.06);
}

.builder-fold:hover {
  border-color: var(--blue);
}

.builder-fold[open] {
  grid-column: 1 / -1;
  background: #fff;
}

.builder-fold > summary {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
  padding-right: 1.6rem;
  cursor: pointer;
  list-style: none;
  color: var(--navy);
}

.builder-fold > summary::-webkit-details-marker {
  display: none;
}

.builder-fold > summary::after {
  content: '';
  position: absolute;
  top: 0.55rem;
  right: 0.15rem;
  width: 0.42rem;
  height: 0.42rem;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(45deg);
}

.builder-fold[open] > summary::after {
  top: 0.7rem;
  transform: rotate(-135deg);
}

.builder-fold-kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
}

.builder-fold > summary strong {
  font-size: 1rem;
}

.builder-fold-hint {
  color: #3d4d66;
  font-size: 0.82rem;
  font-weight: 500;
}

.builder-fold[open] > summary {
  margin-bottom: 0.85rem;
}

.builder-fold .section-copy {
  margin-bottom: 0.7rem;
  font-size: 0.86rem;
}

.builder-fold .software-bundle {
  margin-bottom: 0.75rem;
}

.order-live {
  margin: 0 0 0.85rem;
}

#builderCompare {
  margin-top: 0.4rem;
}

#fullSetupSummary {
  color: #3d4d66;
  font-size: 0.88rem;
}

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

.hardware-addon {
  margin: 0.85rem 0 1.1rem;
  padding: 0.8rem 0.9rem 0.95rem;
  border: 1px solid rgba(11, 29, 58, 0.08);
  border-radius: var(--radius);
  background: #f7f9fc;
}

.hardware-addon-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.35rem 1rem;
  margin-bottom: 0.7rem;
}

.hardware-addon-head .section-copy {
  font-size: 0.84rem;
}

.hardware-qty-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

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

.hardware-qty-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0;
  padding: 0.55rem 0.65rem;
  background: white;
  border: 1px solid rgba(11, 29, 58, 0.08);
  border-radius: 10px;
}

.hardware-qty-card strong {
  display: block;
  font-size: 0.86rem;
  color: var(--navy);
}

.hardware-qty-price {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #3d4d66;
}

.hardware-qty-card .form-control {
  width: 4.2rem;
  padding: 0.28rem 0.4rem;
}

.hardware-price-card {
  height: 100%;
  background: white;
  border: 1px solid rgba(11, 29, 58, 0.08);
  border-radius: var(--radius);
  padding: 1.2rem 1.15rem;
}

.hardware-price-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.hardware-price {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.hardware-price-card p {
  color: #3d4d66;
  font-size: 0.88rem;
}

.hardware-chooser {
  border: 1px solid rgba(11, 29, 58, 0.08);
  border-radius: 10px;
  padding: 0.95rem 1.1rem 1.1rem;
  background: #f7f9fc;
}

.hardware-chooser summary {
  cursor: pointer;
  list-style: none;
}

.billing-toggle {
  display: flex;
  gap: 0.45rem;
  margin: 0.2rem 0 0;
}

.billing-toggle button,
.billing-toggle-form label {
  flex: 1;
  border: 1px solid rgba(11, 29, 58, 0.14);
  background: #f7f9fc;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
}

.billing-toggle button.is-on,
.billing-toggle-form label:has(input:checked) {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

.billing-toggle-form label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  cursor: pointer;
  margin: 0;
}

.billing-toggle-form input {
  accent-color: var(--blue);
}

@media (max-width: 767.98px) {
  .module-price-row {
    flex-direction: column;
    gap: 0.35rem;
  }

  .interest-grid {
    grid-template-columns: 1fr;
  }
}

.stay-demo-pause {
  border: 1px solid rgba(11, 29, 58, 0.16);
  background: #fff;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.82rem;
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
}

.stay-demo-pause:hover,
.stay-demo-pause[aria-pressed="true"] {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.stay-demo {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.stay-demo-steps {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.stay-demo-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  text-align: left;
  border: 1px solid rgba(11, 29, 58, 0.1);
  background: #fff;
  color: var(--navy);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  overflow: hidden;
}

.stay-demo-step.is-on {
  border-color: rgba(22, 119, 255, 0.45);
  box-shadow: 0 8px 24px rgba(11, 29, 58, 0.08);
}

.stay-demo-num {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--paper);
  color: var(--navy);
  flex-shrink: 0;
}

.stay-demo-step.is-on .stay-demo-num {
  background: var(--blue);
  color: #fff;
}

.stay-demo-label {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.stay-demo-label strong {
  font-size: 0.92rem;
}

.stay-demo-label small {
  color: var(--steel);
  font-size: 0.75rem;
}

.stay-demo-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: var(--blue);
}

.stay-stage {
  background: #fff;
  border: 1px solid rgba(11, 29, 58, 0.08);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.stay-stage-body {
  position: relative;
  background: #f4f7fb;
}

.stay-scene {
  position: absolute;
  inset: 0;
}

.stay-scene.is-on {
  position: relative;
}

.stay-scene img {
  display: block;
  width: 100%;
  height: auto;
}

.stay-scene-tv {
  background: #071427;
  padding: 1.35rem 1rem 1.5rem;
}

.stay-scene-tv .room-tv {
  width: min(680px, 100%);
  margin: 0 auto;
}

.stay-scene[hidden] {
  display: none !important;
}

.stay-demo-caption {
  margin: 0;
  padding: 0.85rem 1.15rem 1rem;
  color: var(--steel);
  font-size: 0.92rem;
  min-height: 3.4rem;
  background: #fff;
  border-top: 1px solid rgba(11, 29, 58, 0.06);
}

@keyframes stay-demo-fill { from { width: 0; } to { width: 100%; } }

@media (max-width: 991.98px) {
  .stay-demo {
    grid-template-columns: 1fr;
  }

  .stay-demo-steps {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .stay-demo-step {
    min-width: 9.2rem;
  }
}

.hardware-show {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(11, 29, 58, 0.08);
  border-radius: var(--radius);
  padding: 1rem 1rem 1.15rem;
}

.hardware-show-stage {
  flex: 1;
  min-height: 320px;
  display: grid;
  place-items: center;
  background: #f4f7fb;
  border-radius: 12px;
  margin-bottom: 0.9rem;
  padding: 1.25rem 0.75rem;
}

.hardware-show-stage-plain {
  min-height: 360px;
  margin-bottom: 0;
  background: transparent;
}

.hardware-show h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.hardware-show a {
  font-weight: 600;
  color: var(--blue);
}

/* Smart lock: a guest taps their badge on the reader (views/partials/device-lock.ejs) */
.device-lock {
  position: relative;
  width: 236px;
  height: 290px;
}

.device-lock-plate {
  position: absolute;
  left: 30px;
  top: 0;
  width: 108px;
  height: 282px;
  border-radius: 30px;
  background: linear-gradient(180deg, #4a5568 0%, #222c3c 38%, #141b28 100%);
  border: 1px solid #0c121c;
  box-shadow: 0 18px 40px rgba(11, 29, 58, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.device-lock-reader {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin: 18px auto 0;
  border-radius: 50%;
  color: #8ea0b8;
  background: radial-gradient(circle at 50% 35%, #2b374a, #0b111b 75%);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.6), 0 0 0 2px #2c384c;
  animation: lock-reader 5s infinite;
}

.device-lock-reader svg {
  width: 34px;
  height: 34px;
}

.device-lock-led {
  position: absolute;
  top: 146px;
  left: 32px;
  width: 44px;
  height: 5px;
  border-radius: 3px;
  background: #3d4d66;
  animation: lock-led 5s infinite;
}

.device-lock-state {
  position: absolute;
  top: 156px;
  left: 0;
  right: 0;
  color: #3ddc7a;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  opacity: 0;
  animation: lock-state 5s infinite;
}

.device-lock-lever {
  position: absolute;
  top: 178px;
  left: -26px;
  width: 92px;
  height: 18px;
  border-radius: 10px;
  background: linear-gradient(180deg, #c9d2de, #7d8898);
  box-shadow: 0 6px 12px rgba(11, 29, 58, 0.3);
  transform-origin: 82px 9px;
  animation: lock-lever 5s infinite;
}

.device-lock-cylinder {
  position: absolute;
  left: 50%;
  bottom: 30px;
  width: 22px;
  height: 22px;
  margin-left: -11px;
  border-radius: 50%;
  background: radial-gradient(circle, #0b111b 30%, #6b7688 34%, #3a4456 70%);
}

.device-lock-card {
  position: absolute;
  top: 120px;
  left: 140px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 88px;
  height: 128px;
  padding-bottom: 8px;
  overflow: hidden;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(11, 29, 58, 0.3);
  transform: rotate(8deg);
  animation: lock-card 5s infinite;
}

.device-lock-card-band {
  width: 100%;
  padding: 5px 4px;
  color: #fff;
  font-size: 0.45rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
  background: var(--blue);
}

.device-lock-card-photo {
  width: 36px;
  height: 36px;
  margin: 10px 0 6px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 38%, #8ea0b8 0 28%, transparent 29%),
    radial-gradient(ellipse at 50% 100%, #8ea0b8 0 45%, transparent 46%),
    #e6e9ee;
}

.device-lock-card-name {
  color: var(--navy);
  font-size: 0.66rem;
  font-weight: 700;
}

.device-lock-card-id {
  color: var(--steel);
  font-size: 0.55rem;
}

.device-tv {
  width: min(100%, 280px);
}

.device-tv-bezel {
  background: #121820;
  border-radius: 12px;
  padding: 10px 10px 16px;
  box-shadow: 0 18px 40px rgba(11, 29, 58, 0.28);
}

.device-tv-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 156px;
  padding: 1.15rem 0.8rem;
  text-align: center;
  border-radius: 4px;
  background: radial-gradient(circle at 50% 0%, #1a3d6e, #071427 72%);
}

.device-tv-brand {
  margin-bottom: 0.45rem;
  color: #8ea0b8;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.device-tv-hello {
  color: #fff;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.device-tv-room {
  margin-top: 0.15rem;
  color: #1677FF;
  font-size: 1.15rem;
  font-weight: 700;
}

.device-tv-foot {
  width: 34%;
  height: 8px;
  margin: 0 auto;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(#2c384c, #151c28);
}

/* Dining kiosk: a scaled copy of the real Camp Link meal kiosk (views/partials/device-kiosk.ejs).
   Sizes are in em off a container-width font size, so the screen scales as one piece. */
.device-kiosk {
  width: min(100%, 340px);
  container-type: inline-size;
}

.device-kiosk-bezel {
  padding: 8px;
  border-radius: 16px;
  background: #1a2330;
  box-shadow: 0 18px 40px rgba(11, 29, 58, 0.28);
}

.device-kiosk-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 7px;
  color: #f4f7f8;
  background: #0b1c24;
  font-family: "Montserrat", sans-serif;
  font-size: 2.8cqi;
  line-height: 1.25;
}

.dk-head {
  display: flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.55em 1em;
  background: #0f2436;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.dk-mark {
  width: 2.2em;
  height: 2.2em;
  object-fit: contain;
}

.dk-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}

.dk-kicker,
.dk-name {
  font-size: 0.7em;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.dk-name {
  color: #1677ff;
}

.dk-sub {
  margin-top: 0.15em;
  font-size: 0.68em;
}

.dk-online {
  margin-left: auto;
  color: #3ddc84;
  font-size: 0.8em;
}

.dk-body {
  padding: 0.8em 1.4em 0;
}

.dk-banner {
  display: flex;
  align-items: center;
  gap: 0.8em;
  padding: 0.65em 0.9em;
  border-radius: 0.6em;
  background: linear-gradient(110deg, #0f3d24 0%, #14532d 45%, #1c8a43 100%);
}

.dk-banner-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.2em;
  height: 2.2em;
  border-radius: 0.45em;
  color: #1a8252;
  background: #fff;
}

.dk-banner-icon svg {
  width: 1.3em;
  height: 1.3em;
}

.dk-banner-kicker {
  font-size: 0.6em;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.85;
}

.dk-banner-title {
  font-size: 1.15em;
  font-weight: 700;
}

.dk-banner-detail {
  font-size: 0.7em;
  opacity: 0.9;
}

.dk-scan {
  margin-top: 0.7em;
  padding: 0.45em;
  border-radius: 0.35em;
  color: #9aa4b2;
  background: #f8f9fa;
  border: 2px solid transparent;
  font-size: 0.95em;
  letter-spacing: 0.1em;
  text-align: center;
  animation: kiosk-scan 12s infinite;
}

.dk-results {
  position: relative;
  margin-top: 0.7em;
  height: 5.6em;
}

.dk-result {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 0.8em;
  padding: 0.6em 0.9em;
  border-radius: 0.6em;
  opacity: 0;
}

.dk-result.is-approved {
  background: #1a8252;
  animation: kiosk-r1 12s infinite;
}

.dk-result.is-chargeable {
  background: #c47b00;
  animation: kiosk-r2 12s infinite;
}

.dk-result.is-denied {
  background: #9b1c1c;
  animation: kiosk-r3 12s infinite;
}

.dk-photo {
  flex: none;
  width: 3.2em;
  height: 3.8em;
  border-radius: 0.3em;
  background:
    radial-gradient(circle at 50% 36%, #5c6b80 0 22%, transparent 23%),
    radial-gradient(ellipse at 50% 100%, #5c6b80 0 42%, transparent 43%),
    #111;
}

.dk-result-title {
  font-size: 1.35em;
  font-weight: 700;
  line-height: 1.1;
}

.dk-result-help {
  font-size: 0.75em;
  font-weight: 500;
}

.dk-result-name {
  font-size: 0.95em;
  font-weight: 600;
}

.dk-result-meta {
  font-size: 0.68em;
  opacity: 0.9;
}

.device-kiosk-neck {
  width: 18px;
  height: 18px;
  margin: 0 auto;
  background: #2a3344;
}

.device-kiosk-base {
  width: 120px;
  height: 10px;
  margin: 0 auto;
  border-radius: 0 0 8px 8px;
  background: #151c28;
}

/* Lock timeline (5s): card slides in, taps the reader, door unlocks, card slides away */
@keyframes lock-card {
  0%, 12% { transform: translate(0, 0) rotate(8deg); }
  32%, 62% { transform: translate(-72px, -116px) rotate(-6deg); }
  82%, 100% { transform: translate(0, 0) rotate(8deg); }
}

@keyframes lock-reader {
  0%, 32%, 66%, 100% { color: #8ea0b8; box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.6), 0 0 0 2px #2c384c; }
  36%, 60% { color: #3ddc7a; box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.6), 0 0 0 2px #3ddc7a, 0 0 22px rgba(61, 220, 122, 0.55); }
}

@keyframes lock-led {
  0%, 34%, 70%, 100% { background: #3d4d66; box-shadow: none; }
  38%, 64% { background: #3ddc7a; box-shadow: 0 0 12px #3ddc7a; }
}

@keyframes lock-state {
  0%, 36%, 70%, 100% { opacity: 0; }
  40%, 64% { opacity: 1; }
}

@keyframes lock-lever {
  0%, 40%, 72%, 100% { transform: rotate(0deg); }
  46%, 64% { transform: rotate(-24deg); }
}

/* Kiosk timeline (12s): three scans, each result shown for about 3 seconds */
@keyframes kiosk-scan {
  0%, 3%, 6%, 36%, 39%, 69%, 72%, 100% { border-color: transparent; }
  4%, 37%, 70% { border-color: #1677ff; }
}

@keyframes kiosk-r1 {
  0%, 4% { opacity: 0; transform: translateY(0.4em); }
  7%, 28% { opacity: 1; transform: none; }
  31%, 100% { opacity: 0; transform: none; }
}

@keyframes kiosk-r2 {
  0%, 37% { opacity: 0; transform: translateY(0.4em); }
  40%, 61% { opacity: 1; transform: none; }
  64%, 100% { opacity: 0; transform: none; }
}

@keyframes kiosk-r3 {
  0%, 70% { opacity: 0; transform: translateY(0.4em); }
  73%, 94% { opacity: 1; transform: none; }
  97%, 100% { opacity: 0; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .device-lock-card,
  .device-lock-reader,
  .device-lock-led,
  .device-lock-state,
  .device-lock-lever,
  .dk-scan,
  .dk-result {
    animation: none;
  }

  /* Still picture: badge on the reader, door unlocked, kiosk showing Approved */
  .device-lock-card {
    transform: translate(-72px, -116px) rotate(-6deg);
  }

  .device-lock-reader {
    color: #3ddc7a;
  }

  .device-lock-led {
    background: #3ddc7a;
  }

  .device-lock-state {
    opacity: 1;
  }

  .dk-result.is-approved {
    opacity: 1;
  }
}

/* ==========================================================================
   Camp map ("Watch a stay" on /product)
   Markup: views/partials/camp-map.ejs  ·  Script: public/js/camp-map.js
   Everything is scoped under .camp-map so it can't leak into other sections.
   ========================================================================== */
.camp-map {
  --cm-green: #2BD47D;
  --cm-amber: #FFB547;
  --cm-blue-soft: #7db3ff;
  --cm-ground: #0d2142;
}

.camp-map .cm-player {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  border-radius: 22px;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(160deg, #071427 0%, var(--navy) 60%, #092046 100%);
  border: 1px solid rgba(11, 29, 58, 0.2);
  box-shadow: 0 30px 70px rgba(11, 29, 58, 0.35), 0 0 80px rgba(22, 119, 255, 0.12);
}

/* Map column */
.camp-map .cm-map {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--cm-ground);
  border-right: 1px solid rgba(184, 198, 217, 0.12);
}

.camp-map .cm-svg {
  display: block;
  width: 100%;
  height: auto;
}

.camp-map .cm-live {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--mist);
  background: rgba(7, 20, 39, 0.8);
  border: 1px solid rgba(184, 198, 217, 0.18);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
}

.camp-map .cm-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cm-green);
  animation: cm-live 2s infinite;
}

/* Lodge feed under the map */
.camp-map .cm-feed {
  flex: 1;
  border-top: 1px solid rgba(184, 198, 217, 0.12);
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
}

.camp-map .cm-feed-title {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
}

.camp-map .cm-feed ul {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
}

.camp-map .cm-feed li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.18rem 0;
  color: var(--mist);
}

.camp-map .cm-feed li:first-child {
  animation: cm-feed-in 0.5s ease-out;
}

.camp-map .cm-feed li:not(:first-child) {
  opacity: 0.55;
}

.camp-map .cm-feed time {
  min-width: 3rem;
  color: var(--steel);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.camp-map .cm-feed b {
  color: var(--white);
  font-weight: 600;
}

.camp-map .cm-tag {
  margin-left: auto;
  white-space: nowrap;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.12rem 0.45rem;
  border-radius: 5px;
  background: rgba(43, 212, 125, 0.15);
  color: var(--cm-green);
}

.camp-map .cm-tag.blue {
  background: rgba(22, 119, 255, 0.2);
  color: var(--cm-blue-soft);
}

/* Step list */
.camp-map .cm-side {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1rem;
}

.camp-map .cm-steps {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.camp-map .cm-steps button {
  width: 100%;
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 0.1rem 0.7rem;
  align-items: center;
  padding: 0.45rem 0.7rem;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 11px;
  transition: background 0.3s, border-color 0.3s;
}

.camp-map .cm-steps button:hover {
  background: rgba(255, 255, 255, 0.05);
}

.camp-map .cm-n {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.74rem;
  background: rgba(184, 198, 217, 0.14);
  color: var(--mist);
  transition: background 0.3s;
}

.camp-map .cm-k {
  display: block;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
}

.camp-map .cm-t {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--white);
}

.camp-map .cm-d {
  display: none;
  grid-column: 2;
  margin-top: 0.3rem;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--mist);
}

.camp-map .cm-steps .is-done .cm-n {
  background: rgba(22, 119, 255, 0.4);
  color: var(--white);
}

.camp-map .cm-steps .is-cur button {
  padding: 0.7rem;
  background: rgba(22, 119, 255, 0.12);
  border-color: rgba(22, 119, 255, 0.5);
}

.camp-map .cm-steps .is-cur .cm-n {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 0 20px rgba(22, 119, 255, 0.6);
}

.camp-map .cm-steps .is-cur .cm-k {
  color: var(--cm-blue-soft);
}

.camp-map .cm-steps .is-cur .cm-t {
  font-size: 0.98rem;
}

.camp-map .cm-steps .is-cur .cm-d {
  display: block;
}

.camp-map .cm-bar {
  height: 3px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(184, 198, 217, 0.15);
}

.camp-map .cm-bar i {
  display: block;
  width: 10%;
  height: 100%;
  background: var(--blue);
  transition: width 0.5s;
}

.camp-map .cm-ctrl {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.camp-map .cm-count {
  margin-right: auto;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
}

.camp-map .cm-ctrl button {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(184, 198, 217, 0.3);
  background: rgba(7, 20, 39, 0.6);
  color: var(--white);
  font: 700 1rem "Montserrat", sans-serif;
  cursor: pointer;
}

.camp-map .cm-ctrl button:hover {
  border-color: var(--blue);
}

/* SVG map: text and shapes */
.camp-map .cm-lbl {
  font: 700 11px "Montserrat", sans-serif;
  letter-spacing: 0.14em;
  fill: rgba(184, 198, 217, 0.8);
}

.camp-map .cm-sub {
  font: 600 10.5px "Montserrat", sans-serif;
  fill: rgba(184, 198, 217, 0.8);
}

.camp-map .cm-val {
  font: 700 11px "Montserrat", sans-serif;
  fill: #f2f5fa;
}

.camp-map .cm-spaced {
  letter-spacing: 0.08em;
}

.camp-map .cm-big {
  font: 700 28px "Montserrat", sans-serif;
  fill: var(--white);
}

.camp-map .cm-tiny {
  font: 700 7.5px "Montserrat", sans-serif;
  fill: rgba(184, 198, 217, 0.8);
}

.camp-map .cm-temp {
  font: 700 12px "Montserrat", sans-serif;
  fill: var(--cm-blue-soft);
}

.camp-map .cm-chip-text {
  font: 700 11px "Montserrat", sans-serif;
  fill: var(--cm-green);
}

.camp-map .cm-bldg {
  fill: #183463;
  stroke: rgba(184, 198, 217, 0.35);
  stroke-width: 1;
  transition: stroke 0.5s;
}

.camp-map .cm-kitchen {
  fill: #16305a;
  stroke: rgba(184, 198, 217, 0.25);
  transition: stroke 0.5s;
}

.camp-map .cm-bldg7 {
  fill: #21406f;
  stroke: rgba(184, 198, 217, 0.45);
  stroke-width: 1.5;
  transition: stroke 0.5s;
}

.camp-map .cm-room {
  fill: #1f3f72;
  stroke: var(--cm-ground);
  stroke-width: 2;
  transition: fill 0.8s;
}

.camp-map .s5 .cm-occ {
  fill: rgba(22, 119, 255, 0.55);
}

.camp-map .s3 .cm-target {
  fill: var(--blue);
}

.camp-map [data-cm="roomGlow"] {
  opacity: 0;
  stroke: var(--white);
  transition: opacity 0.6s, stroke 0.6s;
}

.camp-map .s5 [data-cm="roomGlow"] {
  opacity: 1;
}

.camp-map .s8 [data-cm="roomGlow"] {
  stroke: var(--cm-green);
}

/* The building for the current step gets a blue outline */
.camp-map .c1 [data-cm="desk"],
.camp-map .c3 [data-cm="desk"],
.camp-map .c10 [data-cm="desk"],
.camp-map .c6 [data-cm="kitchen"],
.camp-map .c7 [data-cm="hall"],
.camp-map .c8 [data-cm="hk"],
.camp-map .c9 [data-cm="bldg7"] {
  stroke: var(--blue);
  stroke-width: 2;
}

.camp-map [data-cm="gateArm"] {
  transform-box: view-box;
  transform-origin: 62px 428px;
  transition: transform 1.2s cubic-bezier(0.5, -0.2, 0.3, 1.3);
}

.camp-map .s2 [data-cm="gateArm"] {
  transform: rotate(-90deg);
}

.camp-map [data-cm="gateLight"] {
  fill: #ff5a5a;
  transition: fill 0.5s;
}

.camp-map .s2 [data-cm="gateLight"] {
  fill: var(--cm-green);
}

.camp-map [data-cm="lock"] {
  fill: #6b7f9e;
  transition: fill 0.5s;
}

.camp-map .s4 [data-cm="lock"] {
  fill: var(--cm-green);
}

.camp-map .cm-yes-chip,
.camp-map .cm-clean-chip {
  opacity: 0;
  transition: opacity 0.5s;
}

.camp-map .s7 .cm-yes-chip,
.camp-map .s8 .cm-clean-chip {
  opacity: 1;
}

.camp-map .cm-asset circle {
  fill: rgba(184, 198, 217, 0.1);
  stroke: rgba(184, 198, 217, 0.4);
  transition: fill 0.5s, stroke 0.5s;
}

.camp-map .s9 .cm-asset circle {
  fill: rgba(255, 181, 71, 0.25);
  stroke: var(--cm-amber);
}

.camp-map .cm-bump {
  animation: cm-bump 1s ease-out;
}

.camp-map .cm-ring {
  fill: none;
  stroke-width: 2.5;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.camp-map .cm-ring.is-cur {
  animation: cm-ring 2.4s ease-out infinite;
}

.camp-map .cm-mk circle {
  fill: var(--cm-ground);
  stroke: rgba(184, 198, 217, 0.6);
  stroke-width: 1.5;
  transition: fill 0.4s, stroke 0.4s;
}

.camp-map .cm-mk text {
  font: 700 10px "Montserrat", sans-serif;
  fill: var(--mist);
  text-anchor: middle;
}

.camp-map .cm-mk.is-on circle {
  fill: var(--blue);
  stroke: var(--white);
}

.camp-map .cm-mk.is-on text {
  fill: var(--white);
}

.camp-map .cm-callout {
  opacity: 0;
  transition: opacity 0.6s;
}

.camp-map .cm-callout.is-cur {
  opacity: 1;
}

/* Once the step's screen is up, it carries the detail instead of the callout */
.camp-map .is-screen .cm-callout.is-cur {
  opacity: 0;
}

.camp-map .cm-callout rect {
  fill: rgba(7, 20, 39, 0.95);
  stroke: var(--blue);
  stroke-width: 1.2;
}

.camp-map .cm-callout text {
  font: 600 12px "Montserrat", sans-serif;
  fill: var(--white);
}

.camp-map .cm-ok {
  fill: var(--cm-green);
  font-weight: 700;
}

.camp-map .cm-hi {
  fill: var(--cm-blue-soft);
  font-weight: 700;
}

/* Step screens: pop up over one side of the map */
.camp-map .cm-screens {
  position: absolute;
  top: 52px;
  right: 16px;
  width: 44%;
  max-width: 380px;
  pointer-events: none;
}

.camp-map .cm-screens[data-side="left"] {
  right: auto;
  left: 16px;
}

.camp-map .cm-screen {
  margin: 0;
  animation: cm-screen-in 0.45s cubic-bezier(0.2, 0.8, 0.3, 1.2);
}

.camp-map .cm-screen[hidden] {
  display: none;
}

.camp-map .cm-screen figcaption {
  display: inline-block;
  margin-bottom: 0.4rem;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--blue);
}

/* Camp Link app screen (light) */
.camp-map .cm-app-body {
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  color: var(--navy);
  background: #f6f8fb;
  border-top: 6px solid #e6e9ee;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  font-size: 0.74rem;
}

.camp-map .cm-app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
  font-size: 0.92rem;
}

.camp-map .cm-btn {
  padding: 0.2rem 0.5rem;
  border-radius: 5px;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--white);
  background: var(--blue);
}

.camp-map .cm-chip {
  display: inline-block;
  padding: 0.12rem 0.45rem;
  border-radius: 5px;
  font-size: 0.6rem;
  font-weight: 700;
  white-space: nowrap;
}

.camp-map .cm-chip.is-arr {
  background: #22c3e6;
  color: var(--navy);
}

.camp-map .cm-chip.is-in {
  background: var(--blue);
  color: var(--white);
}

.camp-map .cm-chip.is-ok {
  background: #1f9d55;
  color: var(--white);
}

.camp-map .cm-chip.is-warn {
  background: #f5c542;
  color: var(--navy);
}

.camp-map .cm-rack {
  border: 1px solid #dfe4ec;
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}

.camp-map .cm-rack-row {
  display: grid;
  grid-template-columns: 44px repeat(4, 1fr);
  align-items: center;
  min-height: 28px;
  border-top: 1px solid #edf0f5;
}

.camp-map .cm-rack-row > span:first-child {
  padding-left: 0.5rem;
  font-weight: 700;
}

.camp-map .cm-rack-head {
  min-height: 24px;
  border-top: 0;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--steel);
  background: #f3f5f9;
}

.camp-map .cm-rack-row.is-hi {
  background: #eaf2ff;
}

.camp-map .cm-stay {
  grid-column: 2 / span 4;
  margin: 0 4px;
  padding: 0.18rem 0.45rem;
  border-radius: 5px;
  font-style: normal;
  font-weight: 600;
  font-size: 0.66rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.camp-map .cm-stay.is-in {
  background: var(--blue);
  color: var(--white);
}

.camp-map .cm-stay.is-short {
  grid-column: 2 / span 2;
}

.camp-map .cm-stay.is-arr {
  background: #22c3e6;
  color: var(--navy);
  box-shadow: 0 0 0 2px rgba(34, 195, 230, 0.35);
}

.camp-map .cm-legend {
  display: flex;
  gap: 0.35rem;
  margin-top: 0.55rem;
}

.camp-map .cm-field-label {
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.camp-map .cm-field {
  padding: 0.45rem 0.6rem;
  border: 2px solid var(--blue);
  border-radius: 7px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  background: var(--white);
}

.camp-map .cm-done {
  display: grid;
  gap: 0.15rem;
  margin-top: 0.65rem;
  padding: 0.6rem 0.7rem;
  border-radius: 8px;
  background: #e8f8ef;
  border: 1px solid #9bdcb7;
  color: #135c33;
}

.camp-map .cm-done b {
  font-size: 0.86rem;
}

.camp-map .cm-table {
  width: 100%;
  margin-bottom: 0.55rem;
  border-collapse: collapse;
  background: var(--white);
}

.camp-map .cm-table th,
.camp-map .cm-table td {
  padding: 0.3rem 0.45rem;
  border-bottom: 1px solid #edf0f5;
  text-align: left;
}

.camp-map .cm-table th {
  font-size: 0.62rem;
  text-transform: uppercase;
  color: var(--steel);
}

.camp-map .cm-table tr.is-hi td {
  font-weight: 700;
  background: #eaf2ff;
}

.camp-map .cm-hk-row,
.camp-map .cm-temp-row,
.camp-map .cm-inv-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.55rem;
  margin-bottom: 0.3rem;
  border-radius: 7px;
  background: var(--white);
  border: 1px solid #edf0f5;
}

.camp-map .cm-hk-row.is-hi,
.camp-map .cm-temp-row.is-hi {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(22, 119, 255, 0.15);
}

.camp-map .cm-hk-task {
  margin-left: auto;
  color: var(--steel);
  font-weight: 600;
}

.camp-map .cm-hk-task.is-ok {
  color: #1f9d55;
}

.camp-map .cm-temp-row span {
  margin-left: auto;
  font-weight: 700;
  font-size: 0.9rem;
}

.camp-map .cm-temp-row small {
  min-width: 6.5rem;
  color: #1f9d55;
  font-weight: 600;
}

.camp-map .cm-inv-row span:last-child {
  margin-left: auto;
  font-weight: 700;
}

.camp-map .cm-inv-note {
  margin: 0.4rem 0 0;
  color: var(--steel);
}

/* Kiosk screens (dark, like the real gate and dining kiosks) */
.camp-map .cm-kiosk-body,
.camp-map .cm-approved {
  border-radius: 12px;
  border: 6px solid #1b2433;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

.camp-map .cm-kiosk-body {
  padding: 0.7rem;
  background: #0f1b2a;
  font-size: 0.72rem;
}

.camp-map .cm-scan {
  padding: 0.45rem;
  margin-bottom: 0.5rem;
  border-radius: 6px;
  text-align: center;
  letter-spacing: 0.14em;
  color: #3d4d66;
  background: #f6f8fb;
  border: 2px solid var(--blue);
}

.camp-map .cm-recent {
  margin-bottom: 0.3rem;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
}

.camp-map .cm-row {
  display: flex;
  gap: 0.5rem;
  padding: 0.32rem 0.5rem;
  margin-bottom: 0.25rem;
  border-radius: 6px;
  background: #182636;
  color: var(--mist);
}

.camp-map .cm-row b {
  color: var(--white);
}

.camp-map .cm-row span {
  margin-left: auto;
  color: var(--cm-green);
  font-weight: 600;
}

.camp-map .cm-row.is-new {
  background: rgba(43, 212, 125, 0.18);
  box-shadow: 0 0 0 1px rgba(43, 212, 125, 0.6);
}

.camp-map .cm-approved {
  display: grid;
  justify-items: center;
  gap: 0.2rem;
  padding: 1.6rem 1rem;
  background: #1f9d55;
  color: var(--white);
  text-align: center;
}

.camp-map .cm-approved b {
  font-size: 1.7rem;
}

.camp-map .cm-approved span {
  font-weight: 700;
  font-size: 1rem;
}

.camp-map .cm-approved small {
  opacity: 0.85;
}

/* Door keypad */
.camp-map .cm-lock-plate {
  width: 170px;
  padding: 0.8rem;
  border-radius: 18px;
  background: linear-gradient(160deg, #2a3442, #151c26);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.camp-map .cm-lock-led {
  width: 10px;
  height: 10px;
  margin: 0 auto 0.5rem;
  border-radius: 50%;
  background: var(--cm-green);
  box-shadow: 0 0 12px var(--cm-green);
}

.camp-map .cm-lock-display {
  margin-bottom: 0.55rem;
  padding: 0.3rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.3em;
  color: var(--cm-blue-soft);
  background: #0b111a;
}

.camp-map .cm-lock-keys {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
}

.camp-map .cm-lock-keys span {
  padding: 0.25rem 0;
  border-radius: 50%;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--mist);
  background: #222c3a;
}

.camp-map .cm-lock-state {
  margin-top: 0.55rem;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--cm-green);
}

/* Room TV */
/* Room TV: a wall-mounted TV with the real guest screen (welcome, room, meals, maintenance QR) */
.camp-map .cm-tv-set {
  width: 100%;
  container-type: inline-size;
}

.camp-map .cm-tv-panel {
  padding: 1.6cqi 1.6cqi 0;
  border-radius: 1.4cqi;
  background: linear-gradient(180deg, #1b1f26 0%, #0a0c10 100%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.camp-map .cm-tv-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.6em;
  padding: 1em 1.2em 0.6em;
  border-radius: 0.4cqi;
  color: #fff;
  font-size: 2.45cqi;
  line-height: 1.25;
  background:
    radial-gradient(circle at 10% 0%, rgba(22, 119, 255, 0.35), transparent 38%),
    linear-gradient(165deg, #14315c 0%, #0b1d3a 60%);
  animation: cm-tv-on 0.7s ease-out;
}

/* Soft reflection across the glass */
.camp-map .cm-tv-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.03) 28%, transparent 42%);
}

.camp-map .cm-tv-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1em;
}

.camp-map .cm-tv-brand {
  font-size: 0.62em;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cm-blue-soft);
}

.camp-map .cm-tv-hello {
  margin-top: 0.15em;
  font-size: 1.75em;
  font-weight: 700;
  line-height: 1.1;
}

.camp-map .cm-tv-sub {
  font-size: 0.8em;
  color: var(--mist);
}

.camp-map .cm-tv-room {
  flex: none;
  text-align: right;
}

.camp-map .cm-tv-room span {
  display: block;
  font-size: 0.62em;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mist);
}

.camp-map .cm-tv-room strong {
  font-size: 2.1em;
  line-height: 1;
}

.camp-map .cm-tv-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 0.7em;
  min-height: 0;
}

.camp-map .cm-tv-card {
  padding: 0.55em 0.7em;
  border-radius: 0.6em;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(184, 198, 217, 0.16);
}

.camp-map .cm-tv-card h5 {
  margin: 0 0 0.3em;
  font-size: 0.62em;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
}

.camp-map .cm-tv-meals {
  list-style: none;
  margin: 0;
  padding: 0;
}

.camp-map .cm-tv-meals li {
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 0.2em 0;
  border-top: 1px solid rgba(184, 198, 217, 0.14);
  font-size: 0.78em;
}

.camp-map .cm-tv-meals li:first-child {
  border-top: 0;
}

.camp-map .cm-tv-meals small {
  grid-column: 1 / -1;
  font-size: 0.85em;
  color: var(--mist);
}

.camp-map .cm-tv-maint {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.camp-map .cm-tv-qr {
  width: 4.6em;
  height: 4.6em;
  margin: 0.15em 0 0.35em;
  border-radius: 0.25em;
}

.camp-map .cm-tv-maint p {
  margin: 0;
  font-size: 0.66em;
  color: var(--mist);
}

.camp-map .cm-tv-foot {
  display: flex;
  justify-content: space-between;
  font-size: 0.66em;
  color: var(--mist);
}

.camp-map .cm-tv-chin {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 3.4cqi;
}

.camp-map .cm-tv-led {
  width: 0.9cqi;
  height: 0.9cqi;
  border-radius: 50%;
  background: #ff4d4d;
  box-shadow: 0 0 1.4cqi rgba(255, 77, 77, 0.8);
}

.camp-map .cm-tv-feet {
  display: flex;
  justify-content: space-between;
  padding: 0 14%;
}

.camp-map .cm-tv-feet i {
  display: block;
  width: 9%;
  height: 2.6cqi;
  border-radius: 0 0 0.8cqi 0.8cqi;
  background: linear-gradient(180deg, #2a2f38, #101318);
  transform: skewX(-18deg);
}

.camp-map .cm-tv-feet i + i {
  transform: skewX(18deg);
}

/* The screen switches on when the step's screen pops up */
@keyframes cm-tv-on {
  0% {
    filter: brightness(3);
    clip-path: inset(49% 0 49% 0);
  }
  35% {
    filter: brightness(1.6);
    clip-path: inset(0 0 0 0);
  }
  100% {
    filter: none;
    clip-path: inset(0 0 0 0);
  }
}

@keyframes cm-ring {
  0% {
    opacity: 0.9;
    transform: scale(0.5);
  }
  100% {
    opacity: 0;
    transform: scale(2.1);
  }
}

@keyframes cm-bump {
  0% {
    fill: #ffffff;
  }
  30% {
    fill: #2BD47D;
  }
  100% {
    fill: #ffffff;
  }
}

@keyframes cm-feed-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes cm-live {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

@keyframes cm-screen-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 991.98px) {
  .camp-map .cm-player {
    grid-template-columns: 1fr;
  }

  .camp-map .cm-map {
    border-right: 0;
  }

  .camp-map .cm-feed {
    display: none;
  }

  /* Phone and tablet: the screen sits under the map instead of over it */
  .camp-map .cm-screens,
  .camp-map .cm-screens[data-side="left"] {
    position: static;
    width: auto;
    max-width: none;
    padding: 0.9rem 1rem 0;
  }

  .camp-map .cm-steps li:not(.is-cur) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .camp-map *,
  .camp-map *::before,
  .camp-map *::after {
    animation: none !important;
    transition: none !important;
  }
}
