/* Homepage — Enterprise Dark (product-aligned), kill-switch-centered */

.kh-page {
  background: var(--bg);
  color: var(--text);
}

.kh-section {
  padding: var(--space-6) 0;
  background: var(--bg);
  color: var(--text);
}

.kh-section--tight {
  padding: var(--space-5) 0;
}

.kh-section--roomy {
  padding: var(--space-7) 0;
}

.kh-section--tint {
  background: var(--bg-alt);
}

.kh-section--rule {
  border-top: 1px solid var(--rule);
}

.kh-section--dark {
  background: var(--panel-bg-2, #1c222c);
  color: var(--panel-text);
  padding: var(--space-7) 0;
  /* Full-bleed raised band — largest section on the page */
  width: 100%;
  max-width: none;
  border-top: 1px solid var(--border-strong, #2d3748);
  border-bottom: 1px solid var(--border-strong, #2d3748);
}

.kh-section--dark h2,
.kh-section--dark h3 {
  color: var(--panel-text);
}

/* Kill switch is the story — display-scale heading */
#kill-switch {
  padding: calc(var(--space-7) + var(--space-2)) 0 var(--space-7);
}

#kill-switch h2 {
  margin: 0 0 var(--space-5);
  font-size: clamp(2rem, 4.5vw, var(--text-display));
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 600;
  max-width: 18ch;
  color: var(--panel-text);
}

.kh-section--dark p,
.kh-section--dark li {
  color: var(--panel-text);
}

.kh-section--dark .kh-eyebrow,
.kh-section--dark .kh-caption {
  color: var(--panel-muted);
}

.kh-section--dark a {
  color: var(--accent-on-dark, #818cf8);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.kh-section--dark a:hover {
  color: var(--accent-on-dark-hover, #a5b4fc);
}

.kh-eyebrow {
  margin: 0 0 var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-muted);
}

.kh-section--dark .kh-eyebrow {
  color: var(--panel-muted);
}

.kh-lede {
  max-width: 70ch;
  font-size: clamp(1.125rem, 2vw, 1.35rem);
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}

.kh-lede code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--bg-alt);
  padding: 0.05em 0.3em;
  border-radius: 3px;
  color: var(--text);
}

/* ---- Hero ---- */
.kh-hero {
  padding: var(--space-6) 0 var(--space-5);
  background: var(--bg);
  color: var(--text);
  border-bottom: none;
}

.kh-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  align-items: start;
  position: relative;
  z-index: 1;
}

.kh-hero h1 {
  margin: 0 0 var(--space-3);
  font-size: clamp(2.4rem, 5.5vw, var(--text-display));
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  font-weight: 700;
}

.kh-hero h1 .kh-h1-secondary {
  display: block;
  margin-top: 0.12em;
  font-weight: 500;
  font-size: 0.88em;
  letter-spacing: -0.015em;
  color: var(--text); /* same color; weight contrast only */
}

.kh-hero-lede {
  max-width: 58ch;
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 var(--space-3);
}

.kh-hero-lede code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--bg-alt);
  padding: 0.05em 0.3em;
  border-radius: 3px;
  color: var(--text);
}

.kh-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  gap: var(--space-2);
}

@media (max-width: 700px) {
  .kh-hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .kh-hero-ctas .au-btn {
    width: 100%;
  }
}

/* Hero trust strip — verified facts on a hairline rule; no logos, pills, or badges */
.kh-hero-trust {
  max-width: 58ch;
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid var(--rule);
}

.kh-trust-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2) var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--text-sm);
  line-height: 1.45;
  color: var(--text);
}

.kh-trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55em;
  min-width: 0;
}

.kh-trust-ico {
  width: 1em;
  height: 1em;
  margin-top: 0.2em;
  flex-shrink: 0;
  color: var(--accent-on-dark, #818cf8);
}

.kh-trust-list a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
  text-underline-offset: 0.2em;
  transition: color 0.15s var(--ease), text-decoration-color 0.15s var(--ease);
}
.kh-trust-list a:hover {
  color: var(--text);
  text-decoration-color: currentColor;
}
.kh-trust-list a:focus-visible {
  outline: 2px solid var(--accent-on-dark, #818cf8);
  outline-offset: 3px;
}
.kh-trust-list a[target="_blank"]::after {
  content: "\00A0\2197";
}

@media (max-width: 700px) {
  .kh-hero-trust { margin-top: var(--space-3); }
  .kh-trust-list { grid-template-columns: 1fr; }
}

/* Terminal panels — flat framed objects (no glow/glass) */
.kh-term {
  background: var(--panel-bg);
  color: var(--panel-text);
  border: 1px solid var(--panel-rule);
  border-radius: var(--radius);
  padding: 0;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  line-height: 1.55;
  overflow: hidden;
  box-shadow: none !important;
  filter: none !important;
  backdrop-filter: none !important;
}

.kh-term-bar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 12px var(--space-3);
  border-bottom: 1px solid var(--panel-rule);
  color: var(--panel-muted);
  font-size: var(--text-xs);
}

.kh-term-bar-label {
  flex: 1;
  min-width: 0;
}

.kh-term-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.kh-term-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}

.kh-term-dot--close { background: #ff5f57; }
.kh-term-dot--min { background: #febc2e; }
.kh-term-dot--max { background: #28c840; }

/* Legacy single-dot chrome when macOS dots are absent */
.kh-term:not(.kh-term--macos) .kh-term-bar::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal-block);
  flex-shrink: 0;
}

/* ---- Bento feature grid ---- */
.kh-bento {
  list-style: none;
  margin: var(--space-4) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

@media (max-width: 900px) {
  .kh-bento { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .kh-bento { grid-template-columns: 1fr; }
}

.kh-bento-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-3);
  background: var(--bg-alt, #1c222c);
  border: 1px solid var(--border-strong, #2d3748);
  border-radius: 16px;
  box-shadow: none;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}

.kh-bento-card:hover {
  transform: translateY(-2px);
  border-color: rgba(244, 241, 234, 0.28);
}

.kh-bento-card h3 {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-md);
  font-weight: 700;
  letter-spacing: 0;
  color: var(--text);
}

.kh-bento-card p {
  margin: 0 0 var(--space-1);
  flex: 1;
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--text-muted);
  max-width: none;
}

.kh-bento-card .au-arrow-link {
  align-self: flex-start;
  font-size: var(--text-sm);
  min-height: 36px;
  padding: 4px 0;
}

.kh-bento-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  color: var(--accent-on-dark, #818cf8);
  margin-bottom: 4px;
}

.kh-bento-icon svg {
  width: 28px;
  height: 28px;
}

/* Motion prep: GSAP / reduced-motion show final state */
[data-kh-hero-item],
[data-kh-bento] {
  will-change: transform, opacity;
}

.kh-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.kh-term-body {
  padding: var(--space-3);
  overflow-x: auto;
}

.kh-term-line {
  display: grid;
  grid-template-columns: 11ch 1fr;
  gap: 12px;
  margin: 0 0 6px;
}
.kh-term-line dt {
  color: var(--panel-muted);
  margin: 0;
  font-weight: 400;
}
.kh-term-line dd {
  margin: 0;
  color: var(--panel-text);
  word-break: break-all;
}
.kh-term-line--refuse dd {
  color: var(--signal-block-on-dark, #f87171);
  font-weight: 600;
}
.kh-term-line--ok dd {
  color: var(--signal-ok-on-dark, #4ade80);
}

.kh-term-sep {
  border: none;
  border-top: 1px solid var(--panel-rule);
  margin: 12px 0;
}

/* Kill-switch band terminal: slightly lighter panel so it reads against the band */
.kh-section--dark .kh-term {
  background: var(--panel-bg-2);
  border-color: rgba(244, 241, 234, 0.22);
}

/* ---- Kill switch ---- */
.kh-kill-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-5);
  align-items: start;
}

@media (max-width: 900px) {
  .kh-kill-grid { grid-template-columns: 1fr; gap: var(--space-4); }
}

.kh-steps {
  list-style: decimal;
  list-style-position: outside;
  margin: 0 0 var(--space-4) 1.4em;
  padding: 0;
  display: grid;
  gap: var(--space-2);
}

.kh-steps li {
  color: var(--panel-text);
  font-size: var(--text-base);
  line-height: 1.65;
  padding-left: 4px;
}

.kh-steps li::marker {
  color: var(--accent-on-dark, #818cf8);
  font-weight: 700;
}

.kh-promise {
  margin: var(--space-4) 0 0;
  padding-top: var(--space-3);
  border-top: 1px solid var(--panel-rule);
  color: var(--panel-text);
  font-size: var(--text-base);
  line-height: 1.65;
  max-width: 46ch;
}

.kh-promise strong { color: #fff; font-weight: 700; }

.kh-shot {
  margin: var(--space-4) 0 0;
  padding: 0;
  max-width: 100%;
}

.kh-shot-open {
  display: block;
  border: 1px solid var(--panel-rule);
  border-radius: 12px;
  overflow: hidden;
  background: var(--panel-bg);
  box-shadow: none !important;
  filter: none !important;
  text-decoration: none;
  color: inherit;
}

.kh-section:not(.kh-section--dark) .kh-shot-open {
  border-color: var(--rule);
  background: #141414;
}

.kh-shot-open:focus-visible {
  outline: 2px solid var(--accent, #4f46e5);
  outline-offset: 2px;
}

.kh-shot-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.kh-shot-scroll picture,
.kh-shot-scroll img {
  display: block;
  width: 100%;
  height: auto;
}

.kh-shot--1610 .kh-shot-scroll img {
  aspect-ratio: 16 / 10;
}

.kh-shot--43 .kh-shot-scroll img {
  aspect-ratio: 4 / 3;
}

@media (max-width: 600px) {
  .kh-shot-scroll {
    position: relative;
  }
  .kh-shot-scroll::after {
    content: "Scroll →";
    position: sticky;
    left: 100%;
    bottom: 8px;
    float: right;
    margin: -2rem 8px 0 0;
    padding: 2px 8px;
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--panel-muted);
    background: rgba(20, 20, 20, 0.85);
    border: 1px solid var(--panel-rule);
    border-radius: 4px;
    pointer-events: none;
  }
  .kh-shot-scroll picture,
  .kh-shot-scroll img {
    width: auto;
    min-width: 720px;
    max-width: none;
  }
}

.kh-caption {
  margin: var(--space-2) 0 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-muted);
  text-align: left;
}

.kh-section--dark .kh-caption { color: var(--panel-muted); }

.kh-shot-label {
  display: inline-block;
  margin-left: 0.35em;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
  opacity: 0.85;
}

.kh-section--dark .kh-shot-label { color: var(--panel-muted); }

/* Product-shot lightbox */
.kh-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 10, 10, 0.72);
}

.kh-lightbox[hidden] { display: none !important; }

.kh-lightbox-panel {
  position: relative;
  max-width: min(1120px, 100%);
  max-height: 90vh;
  overflow: auto;
  border: 1px solid var(--panel-rule);
  border-radius: 12px;
  background: #141414;
}

.kh-lightbox-panel img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 85vh;
  object-fit: contain;
}

.kh-lightbox-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  border: 1px solid var(--panel-rule);
  border-radius: 6px;
  background: rgba(20, 20, 20, 0.9);
  color: #f5f5f4;
  font-size: 0.875rem;
  padding: 6px 10px;
  cursor: pointer;
}

.kh-lightbox-close:focus-visible {
  outline: 2px solid #c7d2fe;
  outline-offset: 2px;
}

/* ---- Alternatives ---- */
.kh-alt-prose {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

@media (max-width: 700px) {
  .kh-alt-prose { grid-template-columns: 1fr; }
}

.kh-alt-prose p {
  margin: 0 0 var(--space-2);
  color: var(--text);
  max-width: 60ch;
}

/* ---- Authority ---- */
.kh-auth-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-4);
  align-items: start;
}

@media (max-width: 800px) {
  .kh-auth-grid { grid-template-columns: 1fr; }
}

.kh-auth-grid p {
  max-width: 62ch;
  margin: 0 0 var(--space-2);
}

/* ---- Architecture SVG ---- */
.kh-arch {
  margin-top: var(--space-4);
  overflow-x: auto;
}

.kh-arch svg {
  width: 100%;
  max-width: 900px;
  height: auto;
}

/* ---- Security ---- */
.kh-security-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

@media (max-width: 700px) {
  .kh-security-blocks { grid-template-columns: 1fr; }
}

.kh-security-blocks h3 {
  margin-bottom: var(--space-2);
}

.kh-security-blocks p {
  margin: 0;
  max-width: 48ch;
  color: var(--text);
}

.kh-plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--space-1);
  max-width: 48ch;
}

.kh-plain-list li {
  padding: var(--space-1) 0;
  border-bottom: 1px solid var(--rule);
  color: var(--text);
  font-size: var(--text-base);
}

.kh-plain-list li:last-child { border-bottom: none; }

/* ---- Developers ---- */
.kh-code {
  position: relative;
  background: var(--panel-bg);
  color: var(--panel-text);
  border: 1px solid var(--panel-rule);
  border-radius: var(--radius);
  margin: var(--space-4) 0;
  overflow: hidden;
}

.kh-code-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-bottom: 1px solid var(--panel-rule);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--panel-muted);
}

.kh-code-copy {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent-on-dark, #818cf8);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}
.kh-code-copy:hover { color: var(--accent-on-dark-hover, #a5b4fc); }
.kh-code-copy:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.kh-code pre {
  margin: 0;
  padding: 16px 18px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  line-height: 1.55;
  color: var(--panel-text);
  background: transparent;
}

.kh-code pre code {
  display: block;
  background: transparent !important;
  color: var(--panel-text) !important;
  padding: 0 !important;
  border-radius: 0;
  font-size: inherit;
  font-family: inherit;
  white-space: inherit;
}

.kh-dev-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin: var(--space-3) 0 0;
}

.kh-dev-note {
  margin: var(--space-3) 0 0;
  color: var(--text-muted);
  max-width: 62ch;
  font-size: var(--text-sm);
}

/* ---- Founder ---- */
.kh-founder {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: var(--space-4);
  align-items: start;
}

@media (max-width: 560px) {
  .kh-founder { grid-template-columns: 1fr; }
}

.kh-founder-photo {
  width: 160px;
  max-width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
}

.kh-founder-photo picture,
.kh-founder-photo img {
  display: block;
  width: 160px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
}

.kh-founder-body {
  min-width: 0;
}

.kh-founder-placeholder {
  margin: 0 0 var(--space-3);
  color: var(--text);
  font-style: normal;
  max-width: 55ch;
  line-height: 1.55;
}

.kh-founder-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-md);
  color: var(--text);
}

.kh-founder-email {
  color: var(--accent-on-dark, #818cf8);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.kh-founder-email:hover {
  color: var(--accent-on-dark-hover, #a5b4fc);
}

.kh-founder-email:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Hidden until kimss-home.js detects real founder copy (avoids placeholder flash). */
#founder.kh-founder-section:not(.kh-founder-section--visible) {
  display: none;
}

.kh-quote-slot:empty,
.kh-quote-slot[hidden] {
  display: none;
}

/* ---- Pricing ---- */
.kh-price-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--space-4);
  font-size: var(--text-base);
}

.kh-price-table th,
.kh-price-table td {
  text-align: left;
  padding: var(--space-2) var(--space-2);
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}

.kh-price-table thead th {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-muted);
  border-bottom: 1px solid var(--rule);
}

.kh-price-table tbody th {
  font-weight: 700;
  color: var(--text);
}

.kh-price-note {
  margin: var(--space-3) 0 0;
  max-width: 62ch;
  color: var(--text-muted);
  font-size: var(--text-sm);
}

/* ---- Final CTA ---- */
.kh-final {
  padding: var(--space-7) 0;
  border-top: 1px solid var(--rule);
}

.kh-final h2 {
  margin-bottom: var(--space-3);
}

.kh-final-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

.kh-final-note {
  margin: var(--space-2) 0 0;
  color: var(--text-muted);
  font-size: var(--text-sm);
}

/* ---- Gateway Intercept scroll story ---- */
.ix-story {
  padding: calc(var(--space-7) + var(--space-2)) 0 var(--space-7);
}

.ix-story h2 {
  margin: 0 0 var(--space-3);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 600;
  max-width: 20ch;
  color: var(--panel-text);
}

.ix-story__intro {
  margin-bottom: var(--space-4);
}

.ix-story__lede {
  margin: 0;
  max-width: 62ch;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.55;
  color: var(--panel-muted);
}

.ix-story__lede code {
  font-family: var(--font-mono);
  font-size: 0.92em;
  color: var(--panel-text);
}

.ix-story__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 960 / 420;
  max-height: min(70vh, 520px);
  background: var(--panel-bg, #141820);
  border: 1px solid var(--border-strong, #2d3748);
  border-radius: 12px;
  overflow: hidden;
  isolation: isolate;
}

.ix-story__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 1;
}

.ix-story__term {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: min(420px, 88%);
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, calc(-50% + 18px)) scale(0.96);
  pointer-events: none;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  transition: none;
}

.ix-story.is-static .ix-story__term {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.ix-story__beats {
  margin: var(--space-4) 0 0;
  padding-left: 1.25rem;
  color: var(--panel-text);
  font-size: var(--text-md);
  line-height: 1.55;
  max-width: 56ch;
}

.ix-story__beats li + li {
  margin-top: 0.5rem;
}

.ix-story__beats code {
  font-family: var(--font-mono);
  font-size: 0.92em;
}

.ix-story__caption {
  margin: var(--space-3) 0 0;
}

@media (max-width: 767px) {
  .ix-story__stage {
    aspect-ratio: 960 / 480;
    max-height: min(56vh, 420px);
  }

  .ix-story__term {
    width: min(360px, 92%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ix-story__beats {
    display: block;
  }

  .ix-story.is-static .ix-story__term {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* ---- Product tour dialog (kept minimal) ---- */
.wt-tour {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(20, 20, 20, 0.72);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.wt-tour.is-open { display: flex; }
.wt-tour-shell {
  background: var(--panel-bg);
  color: var(--panel-text);
  border: 1px solid var(--panel-rule);
  border-radius: var(--radius);
  width: min(960px, 100%);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.wt-tour-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--panel-rule);
}
.wt-hud { display: flex; align-items: center; gap: 8px; font-size: var(--text-sm); }
.wt-hud-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
}
.wt-hud-bar { display: none; }
.wt-tour-hint { margin: 0; font-size: var(--text-xs); color: var(--panel-muted); }
.wt-tour-controls { display: flex; gap: 8px; }
.wt-ctrl, .wt-exit {
  font: inherit;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--panel-text);
  background: transparent;
  border: 1px solid var(--panel-rule);
  border-radius: 6px;
  padding: 6px 10px;
  cursor: pointer;
}
.wt-ctrl:hover, .wt-exit:hover { border-color: var(--accent-hover); }
.wt-stage { background: #000; }
.wt-video { width: 100%; display: block; max-height: 60vh; }
.wt-tour-nav {
  padding: 12px 16px;
  border-top: 1px solid var(--panel-rule);
}
