
:root {
  --night-950: #020711;
  --night-900: #06101d;
  --night-850: #081728;
  --night-800: #0b1d31;
  --paper: #f4f7f8;
  --paper-soft: #b8c7ce;
  --paper-dim: #718892;
  --line: rgba(161, 195, 205, 0.18);
  --line-strong: rgba(161, 216, 226, 0.34);
  --cyan: #48e6e2;
  --cyan-light: #a6fff7;
  --blue: #2f7bf2;
  --lime: #c9f067;
  --amber: #ffc05e;
  --red: #ff6b71;
  --shadow: 0 28px 80px rgba(0, 5, 12, 0.36);
}

* { box-sizing: border-box; }

html,
body {
  min-height: 100%;
  margin: 0;
  background: var(--night-950);
}

.launcher-loading {
  min-height: 100vh;
  background: #07131f;
}

body {
  color: var(--paper);
  font-family: "Segoe UI Variable", "Segoe UI", Inter, Arial, sans-serif;
  overflow-x: hidden;
}

button,
input { font: inherit; }

button,
a { -webkit-tap-highlight-color: transparent; }

svg { display: block; }

.remote-audio {
  position: fixed;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Launcher */

.launcher-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(22rem, 0.75fr);
  grid-template-rows: auto 1fr auto;
  gap: 2rem 6vw;
  min-height: 100vh;
  padding: clamp(1.6rem, 4vw, 4.5rem);
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 16%, rgba(72, 230, 226, 0.12), transparent 30%),
    linear-gradient(128deg, #020812 0%, #071829 52%, #06111e 100%);
}

.launcher-shell::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: 0.36;
  background-image:
    linear-gradient(rgba(134, 185, 200, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(134, 185, 200, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to right, black, transparent 72%);
}

.launcher-noise {
  position: absolute;
  z-index: -1;
  top: 16%;
  left: 47%;
  width: 44vw;
  height: 44vw;
  border: 1px solid rgba(72, 230, 226, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 5vw rgba(72, 230, 226, 0.025),
    0 0 0 10vw rgba(72, 230, 226, 0.015);
}

.launcher-brand,
.face-brand,
.display-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  letter-spacing: -0.04em;
}

.launcher-brand {
  grid-column: 1 / -1;
  align-self: start;
}

.launcher-brand svg,
.face-brand svg,
.display-brand svg {
  width: 2.6rem;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.launcher-brand span,
.face-brand span,
.display-brand span {
  font-size: 1.6rem;
  font-weight: 760;
}

.launcher-brand small,
.face-brand small,
.display-brand small {
  padding-left: 0.9rem;
  border-left: 1px solid var(--line-strong);
  color: var(--paper-dim);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.launcher-copy {
  align-self: center;
  max-width: 52rem;
}

.kicker,
.information-kicker {
  margin: 0 0 1.1rem;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 720;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.launcher-copy h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(4rem, 8vw, 8.2rem);
  font-weight: 250;
  letter-spacing: -0.075em;
  line-height: 0.88;
}

.launcher-copy > p:last-child {
  max-width: 41rem;
  margin: 0;
  color: var(--paper-soft);
  font-size: clamp(1rem, 1.45vw, 1.3rem);
  line-height: 1.65;
}

.launcher-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.8rem;
}

.launcher-card {
  position: relative;
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.2rem 1rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  color: var(--paper);
  background: rgba(10, 28, 45, 0.72);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.launcher-card:hover {
  transform: translateX(-0.4rem);
  border-color: var(--line-strong);
  background: rgba(12, 38, 58, 0.88);
}

.launcher-card > span {
  grid-row: 1 / 3;
  align-self: center;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.launcher-card strong { font-size: 1.02rem; }

.launcher-card small {
  color: var(--paper-dim);
  font-size: 0.73rem;
}

.launcher-card-primary {
  color: #071418;
  border-color: transparent;
  background: linear-gradient(120deg, var(--cyan-light), var(--cyan));
}

.launcher-card-primary > span,
.launcher-card-primary small { color: rgba(7, 20, 24, 0.66); }

.launcher-open-both {
  min-height: 3.7rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.9rem;
  color: var(--paper);
  background: transparent;
  cursor: pointer;
}

.launcher-footer {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--paper-dim);
  font-size: 0.65rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Upper face screen */

.face-screen {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  min-height: 100svh;
  padding: clamp(1.35rem, 2.4vw, 2.7rem) clamp(1.5rem, 4vw, 5rem);
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(20, 77, 127, 0.36), transparent 34%),
    linear-gradient(180deg, #030913 0%, #061424 60%, #020811 100%);
}

.face-background {
  position: absolute;
  z-index: -3;
  inset: 0;
  background:
    radial-gradient(circle at 50% 56%, rgba(72, 230, 226, 0.12), transparent 24%),
    radial-gradient(circle at 15% 20%, rgba(47, 123, 242, 0.08), transparent 22%),
    radial-gradient(circle at 85% 75%, rgba(72, 230, 226, 0.05), transparent 28%);
}

.face-grid {
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: 0.31;
  background-image:
    linear-gradient(rgba(113, 167, 184, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(113, 167, 184, 0.055) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(circle at 50% 50%, black, transparent 72%);
}

.face-header,
.display-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.face-header { z-index: 8; }

.face-clock {
  display: grid;
  justify-items: end;
  gap: 0.15rem;
}

.face-clock span {
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.face-clock small {
  color: var(--paper-dim);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.conductor-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  margin-top: -1.5rem;
}

.conductor-aura,
.conductor-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.conductor-aura {
  width: min(68vh, 55vw);
  aspect-ratio: 1;
  filter: blur(40px);
  background: radial-gradient(circle, rgba(70, 211, 226, 0.2), transparent 68%);
}

.aura-two {
  width: min(82vh, 64vw);
  opacity: 0.34;
  filter: blur(80px);
}

.conductor-ring {
  width: min(72vh, 58vw);
  aspect-ratio: 1;
  border: 1px solid rgba(106, 218, 226, 0.13);
}

.ring-two {
  width: min(61vh, 49vw);
  border-style: dashed;
  animation: ringRotate 36s linear infinite;
}

.conductor-sprite {
  position: relative;
  z-index: 3;
  width: min(64vh, 50vw);
  aspect-ratio: 1;
  border-radius: 2.2rem;
  background-image: url("/procki-conductor-sprites.png");
  background-repeat: no-repeat;
  background-size: 200% 200%;
  box-shadow:
    0 2rem 6rem rgba(0, 5, 15, 0.42),
    0 0 0 1px rgba(122, 223, 232, 0.12);
  animation: conductorBreath 5.8s ease-in-out infinite;
}

.conductor-frame-neutral { background-position: 0 0; }
.conductor-frame-mid { background-position: 100% 0; }
.conductor-frame-open { background-position: 0 100%; }
.conductor-frame-blink { background-position: 100% 100%; }

.face-state-speaking .conductor-sprite {
  box-shadow:
    0 2rem 6rem rgba(0, 5, 15, 0.42),
    0 0 4rem rgba(72, 230, 226, 0.14),
    0 0 0 1px rgba(122, 223, 232, 0.28);
}

.voice-spectrum {
  position: absolute;
  z-index: 4;
  right: max(6vw, 4rem);
  bottom: 14%;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  height: 3.5rem;
  opacity: 0.35;
}

.voice-spectrum span {
  width: 0.22rem;
  height: 12%;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 0.8rem rgba(72, 230, 226, 0.4);
  transition: height 120ms ease;
}

.face-state-speaking .voice-spectrum { opacity: 1; }

.face-state-speaking .voice-spectrum span {
  animation: spectrum 680ms ease-in-out infinite alternate;
  animation-delay: calc(var(--bar) * -47ms);
}

.face-dialogue {
  z-index: 6;
  width: min(72rem, 86vw);
  margin: -0.6rem auto 1rem;
  text-align: center;
}

.face-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--paper-soft);
  background: rgba(4, 16, 29, 0.7);
  font-size: 0.64rem;
  font-weight: 730;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.face-status-dot,
.control-status-dot {
  flex: 0 0 auto;
  width: 0.5rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0.8rem rgba(201, 240, 103, 0.55);
}

.face-state-listening .face-status-dot,
.face-state-speaking .face-status-dot,
.display-state-listening .control-status-dot,
.display-state-speaking .control-status-dot {
  background: var(--cyan);
  box-shadow: 0 0 0.8rem rgba(72, 230, 226, 0.7);
  animation: statusPulse 1.2s ease-in-out infinite;
}

.face-state-error .face-status-dot,
.display-state-error .control-status-dot { background: var(--red); }

.face-dialogue > p {
  min-height: 2.5em;
  margin: 0.8rem auto 0;
  font-size: clamp(1.1rem, 2vw, 2rem);
  font-weight: 350;
  letter-spacing: -0.025em;
  line-height: 1.32;
}

.face-footer {
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--paper-dim);
  font-size: 0.6rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Lower information screen */

.display-screen {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 50%, rgba(47, 123, 242, 0.08), transparent 34%),
    linear-gradient(130deg, #f3f5f4 0%, #e9eeed 60%, #e3e9e8 100%);
  color: #071421;
}

.display-header,
.display-footer {
  position: relative;
  z-index: 10;
  min-height: 5.8rem;
  padding-inline: clamp(1.2rem, 2.6vw, 3.2rem);
}

.display-header {
  border-bottom: 1px solid rgba(15, 48, 66, 0.12);
  background: rgba(248, 250, 249, 0.74);
  backdrop-filter: blur(18px);
}

.display-brand { color: #071421; }
.display-brand svg { stroke: #087f8b; }

.display-brand small {
  color: #61737b;
  border-left-color: rgba(15, 48, 66, 0.2);
}

.display-header-status {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.system-badge,
.server-badge {
  display: inline-flex;
  align-items: center;
  min-height: 2.15rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.system-badge {
  color: #07160f;
  background: var(--lime);
}

.server-badge {
  border: 1px solid rgba(14, 54, 70, 0.15);
  color: #5c717a;
  background: rgba(255, 255, 255, 0.62);
}

.server-badge i {
  width: 0.45rem;
  aspect-ratio: 1;
  margin-right: 0.45rem;
  border-radius: 50%;
  background: #24a972;
  box-shadow: 0 0 0.6rem rgba(36, 169, 114, 0.45);
}

.display-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(23rem, 29vw, 32rem);
  min-height: 0;
}

.visual-panel {
  min-width: 0;
  min-height: 0;
  padding: clamp(1.4rem, 2.8vw, 3.2rem);
  overflow: hidden;
}

.travel-visual-root {
  min-height: 0;
}

.visual-panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(1rem, 2vh, 1.8rem);
}

.visual-panel-heading p {
  margin: 0 0 0.25rem;
  color: #698089;
  font-size: 0.63rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.visual-panel-heading h1 {
  margin: 0;
  font-size: clamp(1.85rem, 3vw, 3.4rem);
  font-weight: 380;
  letter-spacing: -0.05em;
  line-height: 1;
}

.visual-index {
  color: rgba(7, 20, 33, 0.17);
  font-size: clamp(2.5rem, 4vw, 4.6rem);
  font-weight: 230;
  line-height: 0.85;
}

.control-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow-y: auto;
  padding: clamp(1.1rem, 2.2vw, 2.4rem);
  border-left: 1px solid rgba(13, 51, 67, 0.14);
  color: var(--paper);
  background:
    radial-gradient(circle at 100% 0, rgba(72, 230, 226, 0.13), transparent 31%),
    linear-gradient(150deg, #071728 0%, #06111e 100%);
  box-shadow: -2rem 0 5rem rgba(18, 37, 46, 0.08);
}

.control-status {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.control-status-dot { margin-top: 0.35rem; }

.control-status strong {
  display: block;
  margin-bottom: 0.18rem;
  font-size: 0.88rem;
}

.control-status p {
  margin: 0;
  color: var(--paper-dim);
  font-size: 0.67rem;
  line-height: 1.45;
}

.display-error {
  margin-top: 0.9rem;
  padding: 0.9rem;
  border: 1px solid rgba(255, 107, 113, 0.35);
  border-radius: 0.8rem;
  background: rgba(154, 28, 39, 0.17);
}

.display-error strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #ffc6c8;
  font-size: 0.78rem;
}

.display-error p {
  margin: 0;
  color: #dca7aa;
  font-size: 0.66rem;
  line-height: 1.5;
}

.conversation-preview {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.7rem;
  min-height: 8rem;
  max-height: 16rem;
  padding-block: 1rem;
  overflow-y: auto;
}

.preview-question,
.preview-answer {
  padding: 0.85rem 0.9rem;
  border-radius: 0.85rem;
}

.preview-question {
  margin-left: 12%;
  border: 1px solid rgba(47, 123, 242, 0.28);
  background: rgba(47, 123, 242, 0.12);
}

.preview-answer {
  margin-right: 5%;
  border: 1px solid rgba(72, 230, 226, 0.25);
  background: rgba(72, 230, 226, 0.09);
}

.preview-question span,
.preview-answer span {
  display: block;
  margin-bottom: 0.27rem;
  color: var(--paper-dim);
  font-size: 0.56rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.preview-answer span { color: var(--cyan); }

.preview-question p,
.preview-answer p {
  margin: 0;
  font-size: clamp(0.76rem, 0.9vw, 0.93rem);
  line-height: 1.48;
}

.talk-button {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  min-height: 5.2rem;
  border: 0;
  border-radius: 1rem;
  padding: 0.75rem;
  color: #03181d;
  background: linear-gradient(120deg, var(--cyan-light), var(--cyan));
  box-shadow: 0 1.2rem 2.8rem rgba(34, 196, 193, 0.18);
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease;
}

.talk-button:hover:not(:disabled) {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.talk-button:focus-visible,
.quick-actions button:focus-visible {
  outline: 3px solid var(--paper);
  outline-offset: 3px;
}

.talk-button:disabled {
  cursor: wait;
  filter: saturate(0.4);
}

.display-state-listening .talk-button {
  color: var(--paper);
  background: linear-gradient(120deg, #15506c, #0c3556);
  box-shadow:
    inset 0 0 0 1px rgba(166, 255, 247, 0.32),
    0 1.2rem 2.8rem rgba(2, 18, 30, 0.32);
}

.talk-button-meter {
  --audio-level: 0;
  position: relative;
  display: grid;
  place-items: center;
  width: 3.55rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  transition: transform 80ms linear;
}

.talk-button-meter::before {
  position: absolute;
  inset: -0.35rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  opacity: 0.35;
}

.talk-button-meter svg {
  width: 1.5rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.display-state-listening .talk-button-meter {
  animation: micPulse 1.4s ease-in-out infinite;
}

.talk-button-copy {
  min-width: 0;
  text-align: left;
}

.talk-button-copy strong,
.talk-button-copy small { display: block; }

.talk-button-copy strong {
  margin-bottom: 0.15rem;
  font-size: 1rem;
}

.talk-button-copy small {
  font-size: 0.63rem;
  opacity: 0.65;
}

.talk-button-arrow {
  width: 1.3rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.microphone-device-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.42rem 0.7rem;
  margin-top: 0.72rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  padding: 0.62rem 0.7rem;
  background: rgba(255, 255, 255, 0.035);
}

.microphone-device-panel label {
  color: var(--paper-dim);
  font-size: 0.56rem;
  font-weight: 760;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.microphone-device-select {
  min-width: 0;
  width: 100%;
  border: 1px solid rgba(72, 230, 226, 0.25);
  border-radius: 0.55rem;
  padding: 0.38rem 0.48rem;
  color: var(--paper);
  background: #0c2430;
  font: inherit;
  font-size: 0.66rem;
}

.microphone-device-select:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.microphone-device-status {
  grid-column: 1 / -1;
  color: var(--cyan-light);
  font-size: 0.58rem;
  line-height: 1.4;
}

.microphone-device-status.is-warning {
  color: #ffb6ae;
}

.quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 0.8rem;
  padding-top: 1rem;
}

.quick-actions > p {
  grid-column: 1 / -1;
  margin: 0 0 0.5rem;
  color: var(--paper-dim);
  font-size: 0.57rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.quick-actions button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 2.9rem;
  border: 0;
  border-top: 1px solid var(--line);
  padding: 0.45rem 0;
  color: var(--paper);
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.quick-actions button span,
.quick-actions button strong,
.quick-actions button small { display: block; }

.quick-actions button strong {
  margin-bottom: 0.04rem;
  font-size: 0.72rem;
}

.quick-actions button small {
  color: var(--paper-dim);
  font-size: 0.58rem;
}

.quick-actions button > svg {
  width: 1rem;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.8;
  transition: transform 150ms ease;
}

.quick-actions button:hover > svg { transform: translateX(0.25rem); }

.display-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.1rem;
  border-top: 1px solid rgba(15, 48, 66, 0.12);
  color: #788a91;
  background: rgba(248, 250, 249, 0.72);
  font-size: 0.56rem;
  font-weight: 690;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Information visualizations */

.overview-visual,
.information-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 0.65fr);
  gap: clamp(1rem, 2vw, 2rem);
  height: calc(100% - 0.2rem);
  min-height: 0;
}

.overview-visual {
  grid-template-columns: minmax(0, 1.5fr) minmax(14rem, 0.48fr);
}

.route-map,
.overview-note,
.information-copy,
.departure-board {
  border: 1px solid rgba(15, 52, 69, 0.13);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 1.3rem 3.5rem rgba(24, 53, 63, 0.08);
}

.route-map {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 22rem;
  padding: 1rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 30%, rgba(72, 230, 226, 0.12), transparent 32%),
    rgba(255, 255, 255, 0.67);
}

.route-map::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.44;
  background-image:
    linear-gradient(rgba(17, 61, 76, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 61, 76, 0.055) 1px, transparent 1px);
  background-size: 38px 38px;
}

.map-title,
.map-legend,
.route-map svg {
  position: relative;
  z-index: 2;
}

.map-title {
  display: flex;
  justify-content: space-between;
  padding: 0.25rem 0.35rem;
  color: #526a74;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.map-title small {
  color: #91a0a5;
  font-size: inherit;
}

.route-map svg {
  width: 100%;
  height: 100%;
  min-height: 15rem;
}

.map-water {
  fill: none;
  stroke: rgba(69, 161, 192, 0.16);
  stroke-width: 26;
  stroke-linecap: round;
}

.map-line {
  fill: none;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.42;
  transition: opacity 300ms ease, stroke-width 300ms ease;
}

.map-line.is-active {
  stroke-width: 10;
  opacity: 1;
  filter: drop-shadow(0 5px 8px rgba(14, 88, 122, 0.18));
}

.map-line-sbahn { stroke: #438d62; }
.map-line-airport { stroke: #2f7bf2; }
.map-line-fair { stroke: #e25c54; }

.map-node circle {
  fill: #f6f8f7;
  stroke: #143d50;
  stroke-width: 4;
}

.map-node text {
  fill: #2f4650;
  font-size: 17px;
  font-weight: 650;
}

.map-node.is-active circle,
.node-hbf circle { stroke: #078a94; }

.map-node.is-active circle { fill: var(--cyan-light); }

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding: 0.25rem 0.35rem;
  color: #677c84;
  font-size: 0.58rem;
}

.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.map-legend i {
  width: 1.25rem;
  height: 0.25rem;
  border-radius: 999px;
}

.legend-sbahn { background: #438d62; }
.legend-airport { background: #2f7bf2; }
.legend-fair { background: #e25c54; }

.overview-note,
.information-copy {
  align-self: stretch;
  padding: clamp(1.25rem, 2.3vw, 2.4rem);
}

.overview-note {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--paper);
  background:
    radial-gradient(circle at 100% 0, rgba(72, 230, 226, 0.14), transparent 36%),
    linear-gradient(150deg, #09233a, #071522);
}

.overview-note span {
  margin-bottom: 0.9rem;
  color: var(--cyan);
  font-size: 0.59rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.overview-note strong {
  margin-bottom: 0.8rem;
  font-size: clamp(1.2rem, 1.9vw, 2rem);
  font-weight: 420;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.overview-note p {
  margin: 0;
  color: var(--paper-dim);
  font-size: 0.78rem;
  line-height: 1.6;
}

.information-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.information-icon {
  display: grid;
  place-items: center;
  width: 3.4rem;
  aspect-ratio: 1;
  margin-bottom: 1.2rem;
  border-radius: 1rem;
  color: #087f8b;
  background: rgba(72, 230, 226, 0.18);
}

.information-icon svg {
  width: 1.7rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.information-kicker {
  color: #087f8b;
  font-size: 0.6rem;
}

.information-copy h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.4rem, 2.5vw, 2.6rem);
  font-weight: 430;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.information-copy > p:not(.information-kicker) {
  margin: 0;
  color: #526872;
  font-size: clamp(0.78rem, 1.05vw, 1rem);
  line-height: 1.62;
}

.secondary-info {
  display: grid;
  gap: 0.2rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(15, 52, 69, 0.12);
}

.secondary-info strong { font-size: 0.72rem; }

.secondary-info span {
  color: #71858d;
  font-size: 0.66rem;
  line-height: 1.45;
}

.departure-board {
  min-height: 22rem;
  padding: clamp(1.1rem, 2vw, 2rem);
  overflow: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 100% 0, rgba(72, 230, 226, 0.12), transparent 34%),
    linear-gradient(145deg, #09233a, #06121e);
}

.board-header,
.departure-row {
  display: grid;
  grid-template-columns: 0.7fr 0.8fr 2.2fr 0.65fr 0.9fr;
  gap: 1rem;
  align-items: center;
}

.board-header {
  padding: 0 0.8rem 0.8rem;
  border-bottom: 1px solid var(--line);
  color: var(--paper-dim);
  font-size: 0.57rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.departure-row {
  min-height: clamp(5rem, 10vh, 7rem);
  padding: 0.8rem;
  border-bottom: 1px solid var(--line);
}

.departure-row:last-child { border-bottom: 0; }

.departure-row time {
  color: var(--cyan-light);
  font-size: clamp(1.45rem, 2.3vw, 2.4rem);
  font-weight: 300;
  letter-spacing: -0.04em;
}

.departure-row > strong { font-size: clamp(0.9rem, 1.25vw, 1.2rem); }

.departure-row div b,
.departure-row div small { display: block; }

.departure-row div b {
  margin-bottom: 0.18rem;
  font-size: clamp(0.85rem, 1.25vw, 1.25rem);
}

.departure-row div small {
  color: var(--paper-dim);
  font-size: 0.65rem;
}

.platform-badge {
  display: grid;
  place-items: center;
  width: 2.8rem;
  aspect-ratio: 1;
  border-radius: 0.65rem;
  color: #06151b;
  background: var(--cyan);
  font-size: 1.1rem;
  font-weight: 800;
}

.delay {
  color: var(--lime);
  font-size: 0.75rem;
  font-weight: 760;
}

.delay.is-late { color: var(--amber); }

.visual-empty {
  display: grid;
  place-items: center;
  min-height: 22rem;
  border: 1px solid rgba(15, 52, 69, 0.13);
  border-radius: 1.2rem;
  text-align: center;
}

.visual-empty svg {
  width: 3rem;
  fill: none;
  stroke: #61808b;
  stroke-width: 1.5;
}

.visual-empty p {
  margin: 0;
  color: #6c8088;
}

/* Official InnoTrans hall plan and exhibitor directory */

.hall-plan-layout,
.exhibitor-directory-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(15rem, 0.52fr);
  gap: clamp(1rem, 2vw, 2rem);
  min-height: 22rem;
}

.hall-plan-card,
.hall-location-card,
.exhibitor-results {
  overflow: hidden;
  border: 1px solid rgba(15, 52, 69, 0.13);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 1.3rem 3.5rem rgba(24, 53, 63, 0.08);
}

.hall-plan-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
}

.hall-plan-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3rem;
  padding: 0.75rem 1rem;
  color: #244b5a;
  background: rgba(244, 249, 248, 0.92);
  font-size: 0.66rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hall-plan-toolbar small {
  color: #7b9098;
  font-size: 0.58rem;
}

.hall-plan-image {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1133 / 850;
  min-height: 0;
  padding: 0.6rem;
  overflow: hidden;
  background: #eef2f1;
}

.hall-plan-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center;
}

.hall-location-pulse {
  position: absolute;
  z-index: 3;
  left: 29.8%;
  top: 43.7%;
  width: clamp(1rem, 1.8vw, 1.75rem);
  aspect-ratio: 1;
  border: 0.27rem solid #fff;
  border-radius: 50%;
  background: #ee334e;
  box-shadow:
    0 0 0 0.35rem rgba(238, 51, 78, 0.3),
    0 0.8rem 1.6rem rgba(92, 11, 28, 0.32);
  transform: translate(-50%, -50%);
  animation: hallMarkerPulse 1.9s ease-in-out infinite;
}

.hall-location-label {
  position: absolute;
  z-index: 4;
  left: 33%;
  top: 35.5%;
  display: grid;
  gap: 0.1rem;
  min-width: 9rem;
  padding: 0.55rem 0.7rem;
  border-radius: 0.6rem;
  color: #fff;
  background: #071f31;
  box-shadow: 0 0.8rem 1.8rem rgba(4, 20, 31, 0.28);
  font-size: 0.6rem;
}

.hall-location-label::before {
  position: absolute;
  left: -0.35rem;
  bottom: 0.35rem;
  width: 0.75rem;
  aspect-ratio: 1;
  content: "";
  background: #071f31;
  transform: rotate(45deg);
}

.hall-location-label strong,
.hall-location-label span {
  position: relative;
  z-index: 1;
}

.hall-location-label strong {
  color: var(--cyan);
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hall-location-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.3rem, 2.4vw, 2.5rem);
  color: var(--paper);
  background:
    radial-gradient(circle at 100% 0, rgba(72, 230, 226, 0.17), transparent 35%),
    linear-gradient(145deg, #09243a, #06131f);
}

.hall-location-index {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: rgba(166, 255, 247, 0.14);
  font-size: clamp(4rem, 7vw, 8rem);
  font-weight: 230;
  letter-spacing: -0.08em;
  line-height: 0.8;
}

.hall-location-card .information-kicker { margin-bottom: 0.5rem; }

.hall-location-card h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.06em;
}

.hall-location-card > strong {
  margin: 0.25rem 0 1rem;
  color: var(--cyan-light);
  font-size: clamp(1rem, 1.5vw, 1.4rem);
}

.hall-location-card > p:not(.information-kicker) {
  margin: 0;
  color: #c0d0d6;
  font-size: 0.82rem;
  line-height: 1.55;
}

.hall-location-note {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  color: var(--paper-dim);
  font-size: 0.65rem;
  line-height: 1.5;
}

.exhibitor-directory-layout {
  grid-template-columns: minmax(20rem, 0.95fr) minmax(22rem, 1.05fr);
}

.exhibitor-results {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  color: #102735;
}

.exhibitor-results > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(15, 52, 69, 0.11);
}

.exhibitor-results header p {
  margin: 0 0 0.18rem;
  color: #087f8b;
  font-size: 0.57rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.exhibitor-results header h2 {
  margin: 0;
  font-size: clamp(1.15rem, 1.8vw, 1.7rem);
  font-weight: 430;
  letter-spacing: -0.035em;
}

.exhibitor-results > header > span {
  color: rgba(7, 20, 33, 0.18);
  font-size: 2.3rem;
  font-weight: 260;
  line-height: 1;
}

.exhibitor-list {
  min-height: 0;
  max-height: 56vh;
  overflow-y: auto;
}

.exhibitor-card {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
  min-height: 4.6rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(15, 52, 69, 0.09);
}

.exhibitor-card:last-child { border-bottom: 0; }

.exhibitor-monogram {
  display: grid;
  place-items: center;
  width: 2.6rem;
  aspect-ratio: 1;
  border-radius: 0.7rem;
  color: #075d67;
  background: rgba(72, 230, 226, 0.2);
  font-size: 0.67rem;
  font-weight: 820;
  letter-spacing: 0.04em;
}

.exhibitor-card h3 {
  margin: 0 0 0.2rem;
  overflow: hidden;
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.exhibitor-card p {
  margin: 0;
  color: #71858d;
  font-size: 0.6rem;
}

.exhibitor-stands {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
}

.exhibitor-stands > span {
  display: grid;
  gap: 0.06rem;
  min-width: 5.2rem;
  padding: 0.38rem 0.48rem;
  border-radius: 0.5rem;
  text-align: right;
  background: #0a2639;
}

.exhibitor-stands strong {
  color: var(--cyan-light);
  font-size: 0.6rem;
}

.exhibitor-stands small {
  color: #9eb1b8;
  font-size: 0.54rem;
}

.exhibitor-empty {
  display: grid;
  place-items: center;
  min-height: 15rem;
  padding: 2rem;
  color: #71858d;
  text-align: center;
}

.hall-plan-compact,
.hall-plan-compact > .hall-plan-card {
  min-width: 0;
  height: 100%;
}

.hall-plan-compact .hall-plan-image img { max-height: 54vh; }

@keyframes hallMarkerPulse {
  0%, 100% { box-shadow: 0 0 0 0.25rem rgba(238, 51, 78, 0.25), 0 0.8rem 1.6rem rgba(92, 11, 28, 0.32); }
  50% { box-shadow: 0 0 0 0.75rem rgba(238, 51, 78, 0.06), 0 0.8rem 1.6rem rgba(92, 11, 28, 0.32); }
}

@keyframes ringRotate {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes conductorBreath {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-0.35rem) scale(1.006); }
}

@keyframes spectrum {
  0% { height: 12%; }
  100% { height: calc(28% + var(--bar) * 4%); }
}

@keyframes statusPulse {
  0%, 100% { opacity: 0.65; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.25); }
}

@keyframes micPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(72, 230, 226, 0.25); }
  50% { box-shadow: 0 0 0 0.5rem rgba(72, 230, 226, 0); }
}

@media (max-width: 1050px) {
  .launcher-shell { grid-template-columns: 1fr; }
  .launcher-copy h1 { font-size: clamp(3.7rem, 14vw, 7rem); }
  .display-workspace { grid-template-columns: 1fr; overflow-y: auto; }
  .control-panel { border-top: 1px solid var(--line); border-left: 0; }
  .overview-visual,
  .information-layout { grid-template-columns: 1fr; }
  .hall-plan-layout,
  .exhibitor-directory-layout { grid-template-columns: 1fr; }
  .quick-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
  .quick-actions > p { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .launcher-shell { padding: 1.2rem; }
  .launcher-brand small,
  .face-brand small,
  .display-brand small { display: none; }
  .face-screen { padding: 1.2rem; }
  .face-clock small,
  .server-badge { display: none; }
  .conductor-sprite { width: min(68vh, 92vw); }
  .conductor-ring { width: min(75vh, 100vw); }
  .face-dialogue { width: 94vw; }
  .face-footer,
  .display-footer { gap: 0.4rem; font-size: 0.5rem; }
  .display-header { min-height: 4.6rem; }
  .visual-panel { padding: 1rem; }
  .board-header { display: none; }
  .departure-row { grid-template-columns: 0.7fr 0.8fr 1.5fr 0.5fr; }
  .departure-row .delay { grid-column: 2 / -1; }
  .quick-actions { grid-template-columns: 1fr; }
}

@media (max-height: 760px) and (min-width: 1051px) {
  .display-header { min-height: 4.4rem; }
  .display-footer { min-height: 2.3rem; }
  .visual-panel,
  .control-panel { padding-top: 1rem; padding-bottom: 1rem; }
  .visual-panel-heading { margin-bottom: 0.8rem; }
  .conversation-preview { max-height: 9rem; padding-block: 0.6rem; }
  .talk-button { min-height: 4.5rem; }
  .quick-actions { padding-top: 0.55rem; }
  .quick-actions button { min-height: 2.4rem; }
  .route-map,
  .departure-board { min-height: 17rem; }
  .departure-row { min-height: 4.2rem; }
}

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