.demo-page {
  color: var(--white);
  background: #07191f;
}

.demo-page .site-header {
  color: var(--white);
  background: rgba(7, 25, 31, .94);
  border-color: rgba(255, 255, 255, .12);
}

.demo-page .site-header .brand-logo {
  content: url("assets/cshark-logo-on-dark.svg?v=20260719-transparent");
}

.demo-intro {
  padding: 138px 0 54px;
  background: #07191f;
}

.demo-intro .page-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .55fr);
  gap: 80px;
  align-items: end;
}

.demo-intro .section-kicker {
  margin: 0 0 20px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
}

.demo-intro h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(46px, 5vw, 78px);
  line-height: .98;
}

.demo-intro .page-shell > p {
  max-width: 540px;
  margin: 0 0 8px;
  color: #a8babd;
  font-size: 17px;
  line-height: 1.65;
}

.demo-intro-side {
  display: grid;
  gap: 24px;
  align-content: end;
}

.demo-intro-side > p {
  max-width: 540px;
  margin: 0;
  color: #a8babd;
  font-size: 17px;
  line-height: 1.65;
}

.demo-mode-switch {
  max-width: 342px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 4px;
  background: rgba(9, 20, 24, .88);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 6px;
}

.demo-mode-switch a {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  color: #9cacb0;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.demo-mode-switch a svg {
  width: 15px;
  height: 15px;
}

.demo-mode-switch a.active {
  color: #091418;
  background: #c5ff37;
  border-radius: 4px;
}

.demo-shell {
  padding: 0 20px 72px;
  background: #07191f;
}

.demo-console {
  width: min(1800px, 100%);
  margin: 0 auto;
  overflow: hidden;
  color: #10221f;
  background: #edf2ed;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 8px;
  box-shadow: 0 42px 120px rgba(0, 0, 0, .34);
}

.demo-console-bar {
  min-height: 68px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(280px, 1.2fr) minmax(220px, 1fr);
  gap: 24px;
  align-items: center;
  padding: 8px 18px;
  color: var(--white);
  background: #10130f;
  border-bottom: 1px solid #30362c;
}

.demo-console-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.demo-console-brand img {
  width: 72px;
  height: 42px;
  object-fit: cover;
}

.demo-console-brand span,
.demo-console-brand strong,
.demo-console-brand small {
  display: block;
}

.demo-console-brand strong {
  font-size: 12px;
}

.demo-console-brand small {
  margin-top: 2px;
  color: #7f928f;
  font-size: 8px;
}

.demo-progress {
  display: grid;
  grid-template-columns: auto auto minmax(80px, 1fr);
  gap: 10px;
  align-items: center;
}

.demo-progress span {
  color: #83928e;
  font-size: 9px;
  text-transform: uppercase;
}

.demo-progress strong {
  font-size: 12px;
  white-space: nowrap;
}

.demo-progress i {
  height: 4px;
  overflow: hidden;
  background: #30362c;
}

.demo-progress em {
  width: 0;
  height: 100%;
  display: block;
  background: var(--cyan);
  transition: width 420ms var(--ease);
}

.demo-console-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}

.demo-speed {
  display: flex;
  padding: 3px;
  background: #20251e;
  border: 1px solid #363d32;
  border-radius: 4px;
}

.demo-speed button,
.demo-icon-button {
  height: 32px;
  border: 0;
  cursor: pointer;
}

.demo-speed button {
  min-width: 38px;
  color: #84938e;
  background: transparent;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
}

.demo-speed button.active {
  color: #10130f;
  background: var(--cyan);
}

.demo-icon-button {
  width: 34px;
  display: grid;
  place-items: center;
  color: #d9e2dd;
  background: #20251e;
  border: 1px solid #363d32;
  border-radius: 4px;
}

.demo-icon-button svg {
  width: 15px;
}

.demo-workspace {
  min-height: 730px;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 330px;
}

.demo-event-panel,
.demo-inspector {
  padding: 24px 20px;
  background: #f8faf6;
}

.demo-event-panel {
  border-right: 1px solid #cbd4ce;
}

.demo-panel-heading > span,
.demo-map-head > div:first-child > span,
.demo-inspector-state > span {
  color: var(--cyan-dark);
  font-size: 8px;
  font-weight: 750;
  text-transform: uppercase;
}

.demo-panel-heading h2,
.demo-map-head h2 {
  margin: 5px 0 0;
  font-size: 22px;
}

.demo-panel-heading p {
  margin: 10px 0 0;
  color: #68766f;
  font-size: 10px;
  line-height: 1.55;
}

.demo-event-list {
  display: grid;
  gap: 4px;
  margin-top: 22px;
}

.demo-event-list button {
  position: relative;
  min-height: 57px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  padding: 8px 9px;
  color: #32423d;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 5px;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.demo-event-list button.completed::after {
  position: absolute;
  top: 6px;
  right: 7px;
  width: 15px;
  height: 15px;
  display: grid;
  place-items: center;
  content: "✓";
  color: #0d241d;
  background: var(--cyan);
  border-radius: 50%;
  font-size: 9px;
  font-weight: 800;
}

.demo-event-list button:hover {
  background: #eef4ed;
}

.demo-event-list button:active {
  transform: translateY(1px);
}

.demo-event-list button.active {
  color: #0d241d;
  background: #e8f5c5;
  border-color: #badb5b;
}

.demo-event-list button > svg {
  width: 19px;
  color: var(--cyan-dark);
}

.demo-event-list button span,
.demo-event-list button strong,
.demo-event-list button small {
  display: block;
}

.demo-event-list button strong {
  font-size: 11px;
}

.demo-event-list button small {
  margin-top: 2px;
  color: #718078;
  font-size: 8px;
}

.demo-plate-field {
  display: grid;
  gap: 7px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #d2dad5;
}

.demo-plate-field span {
  color: #4d5e57;
  font-size: 9px;
  font-weight: 700;
}

.demo-plate-field input {
  width: 100%;
  height: 42px;
  padding: 0 11px;
  color: #14251f;
  background: #fff;
  border: 1px solid #bfcac4;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 750;
  text-transform: uppercase;
}

.demo-plate-field small {
  color: #7a8982;
  font-size: 8px;
}

.demo-map-panel {
  min-width: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: #e8eee9;
}

.demo-map-head {
  min-height: 94px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px 22px;
  background: #f6f8f4;
  border-bottom: 1px solid #c9d3cc;
}

.demo-map-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(72px, 1fr));
}

.demo-map-metrics > div {
  min-width: 86px;
  padding: 2px 14px;
  border-left: 1px solid #d0d8d3;
}

.demo-map-metrics small,
.demo-map-metrics strong {
  display: block;
}

.demo-map-metrics small {
  color: #76847d;
  font-size: 8px;
  text-transform: uppercase;
}

.demo-map-metrics strong {
  margin-top: 4px;
  color: #0d5b42;
  font-size: 19px;
}

.demo-map {
  position: relative;
  min-height: 570px;
  display: grid;
  grid-template-rows: minmax(150px, 1fr) 150px minmax(150px, 1fr);
  gap: 0;
  padding: 48px 18px 16px;
  overflow: hidden;
  background-color: #e2e9e4;
}

.demo-map-status {
  position: absolute;
  z-index: 8;
  top: 13px;
  left: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #567068;
  font-size: 8px;
  text-transform: uppercase;
}

.demo-map-status::before {
  width: 6px;
  height: 6px;
  content: "";
  background: #21b477;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(33, 180, 119, .6);
}

.demo-map.is-offline .demo-map-status::before {
  background: var(--red);
  box-shadow: 0 0 10px rgba(255, 154, 170, .7);
}

.demo-map-status b {
  color: #81918a;
  font-weight: 600;
}

.demo-board {
  position: absolute;
  z-index: 8;
  top: 10px;
  right: 18px;
  min-width: 128px;
  padding: 7px 10px;
  color: var(--cyan);
  background: #0c1718;
  border: 1px solid #33504a;
  border-radius: 3px;
}

.demo-board small,
.demo-board strong {
  display: block;
}

.demo-board small {
  color: #688078;
  font-size: 6px;
}

.demo-board strong {
  margin-top: 3px;
  font-size: 10px;
}

.demo-spot-row {
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(6, minmax(70px, 1fr));
  gap: 6px;
}

.demo-spot {
  position: relative;
  min-width: 0;
  display: grid;
  place-items: center;
  padding: 12px 5px;
  color: #587067;
  background: rgba(249, 251, 247, .74);
  border: 1px solid #9cb1a7;
  border-bottom: 3px solid #b2c3ba;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.demo-spot:hover {
  transform: translateY(-2px);
}

.demo-spot.selected {
  border-color: #0e8a62;
  box-shadow: inset 0 0 0 2px #0e8a62, 0 8px 22px rgba(14, 107, 79, .13);
}

.demo-spot.state-free {
  background: rgba(220, 240, 180, .62);
  border-color: #9fc779;
}

.demo-spot.state-occupied {
  color: #dce6e1;
  background: #687c80;
  border-color: #4e6267;
}

.demo-spot.state-violation,
.demo-spot.state-object {
  color: #42230a;
  background: #f4c67b;
  border-color: #db8f30;
  animation: demoAlertPulse 1.5s ease-in-out infinite;
}

.demo-spot.is-accessible.state-free {
  color: #5f4290;
  background: #e7dcff;
  border-color: #9c78dc;
}

.demo-spot.is-uncertain {
  opacity: .48;
  background: repeating-linear-gradient(135deg, #d6ded9, #d6ded9 8px, #e4e9e6 8px, #e4e9e6 16px);
}

.demo-spot > span {
  position: absolute;
  top: 7px;
  left: 8px;
  font-size: 7px;
  font-weight: 700;
}

.demo-spot > i {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 9px rgba(201, 245, 74, .8);
}

.demo-spot.state-occupied > i {
  background: var(--red);
  box-shadow: 0 0 9px rgba(255, 154, 170, .8);
}

.demo-spot.state-violation > i,
.demo-spot.state-object > i {
  background: #ff8a2b;
}

.demo-spot svg {
  width: 29px;
  height: 29px;
}

.demo-spot b {
  position: absolute;
  right: 6px;
  bottom: 6px;
  left: 6px;
  overflow: hidden;
  color: inherit;
  font-size: 7px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-aisle {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  border-top: 1px dashed #88a096;
  border-bottom: 1px dashed #88a096;
}

.demo-aisle::before,
.demo-aisle::after {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  content: "";
  background: repeating-linear-gradient(90deg, rgba(74, 101, 91, .45) 0 24px, transparent 24px 48px);
}

.demo-aisle::before {
  top: 49%;
}

.demo-aisle::after {
  top: 51%;
}

.demo-flow {
  display: flex;
  justify-content: space-evenly;
  color: #75aa98;
  font-size: 20px;
}

.demo-flow span {
  animation: demoFlow 1.6s linear infinite;
}

.demo-flow span:nth-child(2) {
  animation-delay: .25s;
}

.demo-flow span:nth-child(3) {
  animation-delay: .5s;
}

.demo-camera-fleet {
  position: absolute;
  z-index: 5;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  pointer-events: none;
}

.demo-camera {
  position: relative;
  width: 108px;
  height: 108px;
  place-self: center;
  display: grid;
  place-items: center;
}

.demo-camera::before {
  position: absolute;
  inset: 11px;
  content: "";
  background: var(--camera-color, #49e87d);
  border: 1px solid color-mix(in srgb, var(--camera-color, #49e87d) 72%, #fff);
  border-radius: 50%;
  box-shadow: 0 0 30px color-mix(in srgb, var(--camera-color, #49e87d) 48%, transparent);
  transition: background 260ms ease, box-shadow 260ms ease;
}

.demo-camera[data-mode="free"] { --camera-color: #49e87d; }
.demo-camera[data-mode="full"] { --camera-color: #ff6477; }
.demo-camera[data-mode="accessible"] { --camera-color: #a57af2; }
.demo-camera[data-mode="service"] { --camera-color: #ff9a35; }
.demo-camera[data-mode="search"] { --camera-color: #c9f54a; }
.demo-camera[data-mode="offline"] { --camera-color: #5d6a66; }

.demo-camera[data-mode="search"]::before {
  animation: demoSearchBlink .65s steps(2, end) infinite;
}

.demo-camera-pulse {
  position: absolute;
  inset: -3px;
  border: 1px solid var(--camera-color, #49e87d);
  border-radius: 50%;
  opacity: .55;
  animation: demoCameraPulse 2.4s ease-out infinite;
}

.demo-camera img {
  position: relative;
  z-index: 2;
  width: 82px;
  height: 82px;
  object-fit: contain;
}

.demo-camera small {
  position: absolute;
  z-index: 3;
  bottom: -4px;
  color: #2e6554;
  font-size: 7px;
  font-weight: 750;
}

.demo-elevator {
  position: absolute;
  right: 10px;
  bottom: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #577068;
  font-size: 7px;
}

.demo-elevator svg {
  width: 15px;
}

.demo-route-layer {
  position: absolute;
  z-index: 4;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.demo-route-layer path {
  fill: none;
  stroke: #0e8a62;
  stroke-width: 3;
  stroke-dasharray: 8 7;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 4px rgba(14, 138, 98, .35));
  opacity: 0;
}

.demo-route-layer.active path {
  opacity: 1;
  animation: demoRoute 1s linear infinite;
}

.demo-vehicle-token {
  position: absolute;
  z-index: 7;
  left: 0;
  top: 0;
  min-width: 74px;
  height: 28px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 7px;
  color: var(--cyan);
  background: #0d1715;
  border: 1px solid #3a514a;
  border-radius: 3px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .25);
  font-size: 7px;
  font-weight: 750;
  pointer-events: none;
}

.demo-vehicle-token svg {
  width: 13px;
}

.demo-map-legend {
  min-height: 54px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 10px 20px;
  color: #64746d;
  background: #f6f8f4;
  border-top: 1px solid #c9d3cc;
  font-size: 8px;
}

.demo-map-legend > span,
.demo-map-legend > strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.demo-map-legend > span > i {
  width: 8px;
  height: 8px;
  border: 1px solid;
}

.demo-map-legend .free { color: #68a73b; background: #dff0bd; }
.demo-map-legend .occupied { color: #52666b; background: #708488; }
.demo-map-legend .selected { color: #0e8a62; box-shadow: inset 0 0 0 2px #0e8a62; }
.demo-map-legend .alert { color: #d67b25; background: #f2bd71; }

.demo-map-legend > strong {
  margin-left: auto;
  color: #33735e;
  font-weight: 650;
}

.demo-map-legend > strong > i {
  width: 7px;
  height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(201, 245, 74, .75);
}

.demo-inspector {
  color: #dce4df;
  background: #151913;
  border-left: 1px solid #343b31;
}

.demo-inspector-state {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.demo-inspector-state > span {
  color: var(--cyan);
}

.demo-inspector-state small {
  padding: 5px 7px;
  color: #10130f;
  background: var(--cyan);
  border-radius: 3px;
  font-size: 7px;
  font-weight: 800;
}

.demo-inspector > h2 {
  margin: 26px 0 0;
  color: #fff;
  font-size: 30px;
  line-height: 1.04;
}

.demo-inspector > p {
  min-height: 72px;
  margin: 14px 0 0;
  color: #8e9c97;
  font-size: 11px;
  line-height: 1.65;
}

.demo-place-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 22px 0 0;
  border-top: 1px solid #394239;
  border-left: 1px solid #394239;
}

.demo-place-card > div {
  min-height: 62px;
  padding: 10px;
  border-right: 1px solid #394239;
  border-bottom: 1px solid #394239;
}

.demo-place-card dt {
  color: #6f7f78;
  font-size: 7px;
  text-transform: uppercase;
}

.demo-place-card dd {
  margin: 7px 0 0;
  color: #eef5ef;
  font-size: 11px;
  font-weight: 700;
}

.demo-recommendation {
  min-height: 108px;
  margin-top: 18px;
  padding: 14px;
  background: #1e241d;
  border-left: 3px solid var(--cyan);
}

.demo-recommendation small {
  color: var(--cyan);
  font-size: 7px;
  font-weight: 750;
  text-transform: uppercase;
}

.demo-recommendation p {
  margin: 8px 0 0;
  color: #b8c5bf;
  font-size: 10px;
  line-height: 1.55;
}

.demo-incident-workflow {
  --workflow-accent: #ff9a35;
  margin-top: 14px;
  padding: 14px;
  background: #20271f;
  border: 1px solid #465145;
  border-radius: 4px;
}

.demo-incident-workflow[hidden] {
  display: none;
}

.demo-incident-workflow > header {
  min-height: 38px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.demo-incident-workflow > header span,
.demo-incident-workflow > header small,
.demo-incident-workflow > header strong {
  display: block;
}

.demo-incident-workflow > header small {
  color: #7f8f87;
  font-size: 7px;
  font-weight: 750;
  text-transform: uppercase;
}

.demo-incident-workflow > header strong {
  margin-top: 5px;
  color: #fff;
  font-size: 12px;
}

.demo-incident-workflow > header > svg {
  width: 18px;
  color: var(--workflow-accent);
}

.demo-incident-workflow dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 10px 0 0;
  border-top: 1px solid #3c473b;
  border-left: 1px solid #3c473b;
}

.demo-incident-workflow dl > div {
  min-height: 54px;
  padding: 9px;
  border-right: 1px solid #3c473b;
  border-bottom: 1px solid #3c473b;
}

.demo-incident-workflow dt {
  color: #73827a;
  font-size: 7px;
  text-transform: uppercase;
}

.demo-incident-workflow dd {
  margin: 6px 0 0;
  color: #dce7df;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.35;
}

.demo-incident-workflow > p {
  margin: 10px 0 0;
  color: #93a19a;
  font-size: 8px;
  line-height: 1.5;
}

.demo-incident-workflow > button {
  width: 100%;
  min-height: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: #171b15;
  background: var(--workflow-accent);
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  font-size: 9px;
  font-weight: 800;
}

.demo-incident-workflow > button:hover {
  filter: brightness(1.05);
}

.demo-incident-workflow > button:disabled {
  cursor: wait;
  opacity: .65;
}

.demo-incident-workflow > button svg {
  width: 14px;
}

.demo-incident-workflow.is-completed {
  border-color: #4a765d;
}

.demo-incident-workflow.is-completed > header > svg {
  color: #64e98b;
}

.demo-violation-workflow {
  --workflow-accent: #ff8798;
}

.demo-run {
  width: 100%;
  min-height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
  color: #10130f;
  background: var(--cyan);
  border: 0;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease;
}

.demo-run:hover {
  filter: brightness(1.04);
}

.demo-run:active {
  transform: translateY(1px);
}

.demo-run:disabled {
  cursor: wait;
  opacity: .64;
}

.demo-run svg {
  width: 16px;
}

.demo-timeline {
  margin-top: 22px;
  border-top: 1px solid #394239;
}

.demo-timeline header {
  min-height: 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #788780;
  font-size: 8px;
  text-transform: uppercase;
}

.demo-timeline header button {
  padding: 0;
  color: #90a099;
  background: transparent;
  border: 0;
  font-size: 8px;
  cursor: pointer;
}

.demo-timeline ol {
  max-height: 174px;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  list-style: none;
}

.demo-timeline li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 8px;
  padding: 10px 0;
  border-top: 1px solid #2d342d;
}

.demo-timeline time {
  color: #66766e;
  font-size: 7px;
}

.demo-timeline li span {
  color: #bcc8c2;
  font-size: 9px;
  line-height: 1.45;
}

.demo-timeline li strong {
  display: block;
  margin-bottom: 2px;
  color: var(--cyan);
  font-size: 8px;
}

.demo-result {
  padding: 96px 0 110px;
  color: var(--ink);
  background: var(--paper);
}

.demo-result .page-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .65fr);
  column-gap: 80px;
  align-items: end;
}

.demo-result .section-kicker {
  grid-column: 1 / -1;
  margin: 0 0 18px;
  color: var(--cyan-dark);
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
}

.demo-result h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(40px, 4.2vw, 68px);
  line-height: 1;
}

.demo-result p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.demo-result .button {
  grid-column: 2;
  width: max-content;
  margin-top: 24px;
}

@keyframes demoFlow {
  0% { opacity: .15; transform: translateX(-6px); }
  50% { opacity: .9; }
  100% { opacity: .15; transform: translateX(6px); }
}

@keyframes demoCameraPulse {
  0% { opacity: .55; transform: scale(.8); }
  80%, 100% { opacity: 0; transform: scale(1.28); }
}

@keyframes demoSearchBlink {
  50% { opacity: .18; }
}

@keyframes demoRoute {
  to { stroke-dashoffset: -30; }
}

@keyframes demoAlertPulse {
  50% { box-shadow: inset 0 0 0 2px rgba(255, 138, 43, .5), 0 0 18px rgba(255, 138, 43, .25); }
}

@media (max-width: 1260px) {
  .demo-workspace {
    grid-template-columns: 224px minmax(0, 1fr) 286px;
  }

  .demo-event-panel,
  .demo-inspector {
    padding-inline: 16px;
  }

  .demo-map {
    padding-inline: 12px;
  }
}

@media (max-width: 980px) {
  .demo-intro {
    padding-top: 110px;
  }

  .demo-intro .page-shell,
  .demo-result .page-shell {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .demo-result .button {
    grid-column: 1;
  }

  .demo-console-bar {
    grid-template-columns: 1fr auto;
  }

  .demo-progress {
    grid-column: 1 / -1;
    grid-row: 2;
    padding-bottom: 8px;
  }

  .demo-workspace {
    grid-template-columns: 1fr;
  }

  .demo-event-panel {
    border-right: 0;
    border-bottom: 1px solid #cbd4ce;
  }

  .demo-event-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .demo-inspector {
    border-top: 1px solid #343b31;
    border-left: 0;
  }

  .demo-place-card {
    grid-template-columns: repeat(4, 1fr);
  }

  .demo-timeline ol {
    max-height: 240px;
  }
}

@media (max-width: 680px) {
  .demo-intro {
    padding: 98px 0 38px;
  }

  .demo-intro .page-shell {
    gap: 18px;
  }

  .demo-intro h1 {
    font-size: 42px;
  }

  .demo-intro .page-shell > p {
    font-size: 14px;
  }

  .demo-intro-side > p {
    font-size: 14px;
  }

  .demo-shell {
    padding-inline: 0;
  }

  .demo-console {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .demo-console-bar {
    gap: 10px;
    padding-inline: 12px;
  }

  .demo-console-brand span {
    display: none;
  }

  .demo-console-brand img {
    width: 66px;
  }

  .demo-event-list {
    grid-template-columns: 1fr 1fr;
  }

  .demo-event-list button {
    min-height: 64px;
  }

  .demo-map-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .demo-map-metrics {
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }

  .demo-map-metrics > div:nth-child(odd) {
    border-left: 0;
  }

  .demo-map {
    min-height: 700px;
    grid-template-rows: minmax(230px, 1fr) 132px minmax(230px, 1fr);
    padding: 52px 10px 12px;
  }

  .demo-spot-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }

  .demo-spot {
    min-height: 106px;
  }

  .demo-aisle {
    grid-template-columns: 1fr 1fr;
  }

  .demo-camera {
    width: 92px;
    height: 92px;
  }

  .demo-camera img {
    width: 68px;
    height: 68px;
  }

  .demo-map-legend {
    gap: 12px;
  }

  .demo-map-legend > strong {
    width: 100%;
    margin-left: 0;
  }

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

  .demo-result {
    padding: 72px 0 82px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .demo-flow span,
  .demo-camera-pulse,
  .demo-camera[data-mode="search"]::before,
  .demo-spot.state-violation,
  .demo-spot.state-object,
  .demo-route-layer.active path {
    animation: none;
  }
}

/* Synchronized two-floor 2D/3D parking model */
.demo-map {
  min-height: 0;
  display: block;
  padding: 0;
  overflow: hidden;
  background: #dfe8e2;
}

.demo-map-toolbar {
  min-height: 52px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: #f7f9f6;
  border-bottom: 1px solid #c7d2cb;
}

.demo-floor-switch,
.demo-layer-switch,
.demo-plan-controls {
  display: flex;
  align-items: center;
  gap: 4px;
}

.demo-floor-switch button,
.demo-layer-switch button,
.demo-plan-controls button {
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 10px;
  color: #52645d;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  font: inherit;
  font-size: 8px;
  font-weight: 700;
}

.demo-floor-switch button {
  min-width: 72px;
  justify-content: flex-start;
}

.demo-floor-switch button b {
  color: #13251f;
  font-size: 11px;
}

.demo-floor-switch button.active,
.demo-layer-switch button.active {
  color: #0c6e50;
  background: #e5f1e9;
  border-color: #b9d3c5;
}

.demo-floor-switch button.active b {
  color: #0c6e50;
}

.demo-layer-switch {
  justify-content: center;
}

.demo-layer-switch svg,
.demo-plan-controls svg {
  width: 13px;
  height: 13px;
}

.demo-plan-controls {
  border: 1px solid #c7d2cb;
  border-radius: 4px;
}

.demo-plan-controls button {
  width: 32px;
  padding: 0;
}

.demo-plan-controls output {
  min-width: 44px;
  color: #42564e;
  font-size: 8px;
  font-weight: 750;
  text-align: center;
}

.demo-plan-viewport {
  height: 500px;
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
  cursor: grab;
}

.demo-plan-viewport:active {
  cursor: grabbing;
}

.demo-plan-viewport.is-panning {
  cursor: grabbing;
  user-select: none;
}

.demo-plan-space {
  position: relative;
}

.demo-plan-canvas {
  position: relative;
  width: 1600px;
  height: 900px;
  overflow: hidden;
  color: #173128;
  background:
    linear-gradient(rgba(13, 78, 58, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 78, 58, .035) 1px, transparent 1px),
    #e8efea;
  background-size: 25px 25px;
  transform-origin: left top;
}

.demo-plan-base,
.demo-route-layer {
  position: absolute;
  inset: 0;
  width: 1600px;
  height: 900px;
}

.demo-plan-outline {
  fill: #f5f8f4;
  stroke: #64776f;
  stroke-width: 5;
  vector-effect: non-scaling-stroke;
}

.demo-plan-grid circle {
  fill: #879991;
  stroke: #53675e;
  stroke-width: 2;
}

.demo-plan-aisle rect {
  fill: #dbe6df;
  stroke: #91a69c;
  stroke-width: 2;
}

.demo-plan-aisle path {
  fill: none;
  stroke: #738b81;
  stroke-width: 2;
  stroke-dasharray: 14 12;
}

.demo-plan-aisle .demo-plan-flow-line {
  stroke: #42a582;
  stroke-width: 3;
  stroke-dasharray: 8 14;
  animation: demoRoute 1.6s linear infinite;
}

.demo-plan-aisle .reverse {
  animation-direction: reverse;
}

.demo-plan-aisle-horizontal .demo-plan-turn {
  fill: none;
  stroke: #6f897f;
  stroke-width: 3;
  stroke-dasharray: none;
}

.demo-plan-road-connector rect,
.demo-plan-side-connector rect {
  fill: #dbe6df;
  stroke: #91a69c;
  stroke-width: 2;
}

.demo-plan-road-connector > path:not(.demo-plan-flow-line),
.demo-plan-side-connector > path:not(.demo-plan-flow-line) {
  fill: none;
  stroke: #738b81;
  stroke-width: 2;
  stroke-dasharray: 14 12;
}

.demo-plan-road-connector .demo-plan-flow-line,
.demo-plan-side-connector .demo-plan-flow-line,
.demo-plan-ramp .demo-plan-flow-line {
  fill: none;
  stroke: #42a582;
  stroke-width: 3;
  stroke-dasharray: 8 14;
  animation: demoRoute 1.6s linear infinite;
}

.demo-plan-road-connector .demo-plan-flow-line.reverse,
.demo-plan-side-connector .demo-plan-flow-line.reverse,
.demo-plan-ramp .demo-plan-flow-line.reverse {
  animation-direction: reverse;
}

.demo-plan-road-connector .demo-plan-road-merge,
.demo-plan-road-connector .demo-plan-ramp-merge,
.demo-plan-side-connector .demo-plan-road-merge {
  stroke-dasharray: none;
}

.demo-plan-road-connector text,
.demo-plan-side-connector text {
  fill: #688078;
  font-family: "Onest", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  text-anchor: middle;
}

.demo-plan-parking-bands rect {
  fill: rgba(255, 255, 255, .54);
  stroke: #a8b8b1;
  stroke-width: 2;
}

.demo-plan-parking-bands .demo-plan-central-divider {
  fill: none;
  stroke: #83988e;
  stroke-width: 3;
  stroke-dasharray: 10 8;
}

.demo-plan-aisle text,
.demo-plan-cross-aisle text,
.demo-plan-floor-label {
  fill: #688078;
  font-family: "Onest", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-anchor: middle;
}

.demo-plan-cross-aisle path {
  fill: none;
  stroke: #83988e;
  stroke-width: 2;
  stroke-dasharray: 15 12;
}

.demo-plan-cross-aisle rect {
  fill: #d8e2dc;
  stroke: #849a90;
  stroke-width: 1.5;
}

.demo-plan-room rect,
.demo-plan-core rect,
.demo-plan-core path {
  fill: #d4ddd7;
  stroke: #667b72;
  stroke-width: 2;
}

.demo-plan-room text,
.demo-plan-core text,
.demo-plan-ramp text,
.demo-plan-public-zone text {
  fill: #4f665d;
  font-family: "Onest", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-anchor: middle;
}

.demo-plan-ramp rect {
  fill: #cdd9d2;
  stroke: #60766c;
  stroke-width: 2;
}

.demo-plan-ramp > path:not(.demo-plan-flow-line) {
  fill: none;
  stroke: #60766c;
  stroke-width: 2;
  stroke-dasharray: 14 12;
}

.demo-plan-ramp .demo-plan-ramp-entry {
  stroke-dasharray: none;
}

.demo-plan-pedestrian-zone rect {
  fill: rgba(118, 211, 181, .22);
  stroke: #55a98e;
  stroke-width: 1.5;
}

.demo-plan-zebra rect {
  fill: rgba(255, 255, 255, .9);
  stroke: #adbbb4;
  stroke-width: 1;
}

.demo-plan-pedestrian-route {
  fill: none;
  stroke: #0f8b68;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 12 9;
}

.demo-plan-pedestrian-label {
  fill: #0d684d;
  font-family: "Onest", sans-serif;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0;
}

.demo-plan-public-zone rect:first-child {
  fill: #e3dcec;
  stroke: #8f78a3;
  stroke-width: 2;
}

.demo-plan-public-zone rect:not(:first-child) {
  fill: #0f7561;
}

.demo-plan-floor-label {
  fill: #0d684d;
  text-anchor: start;
}

#demo-cable-layer path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#demo-cable-layer .utp {
  stroke: #4a8d79;
  stroke-width: 2;
  stroke-dasharray: 7 6;
}

#demo-cable-layer .backbone {
  stroke: #235f50;
  stroke-width: 3;
}

.demo-plan-canvas.hide-cables #demo-cable-layer,
.demo-plan-canvas.hide-cameras .demo-camera-layer,
.demo-plan-canvas.hide-equipment .demo-equipment-layer {
  display: none;
}

.demo-map-status {
  top: 24px;
  left: 44px;
  padding: 7px 10px;
  color: #466158;
  background: rgba(247, 249, 246, .92);
  border: 1px solid #b9c8c0;
  border-radius: 3px;
  backdrop-filter: blur(7px);
}

.demo-map-status b {
  color: #688078;
}

.demo-spot-layer,
.demo-camera-layer,
.demo-equipment-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.demo-spot {
  position: absolute;
  z-index: 4;
  min-height: 0;
  padding: 5px 3px;
  border-bottom-width: 2px;
  pointer-events: auto;
}

.demo-spot:hover {
  z-index: 8;
  transform: scale(1.06);
}

.demo-spot > span {
  top: 5px;
  left: 5px;
  font-size: 6px;
}

.demo-spot > i {
  top: 5px;
  right: 5px;
  width: 5px;
  height: 5px;
}

.demo-spot svg {
  width: 21px;
  height: 21px;
}

.demo-spot b {
  right: 3px;
  bottom: 4px;
  left: 3px;
  font-size: 5.5px;
}

.demo-camera {
  position: absolute;
  z-index: 7;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #10231d;
  background: var(--camera-color, #49e87d);
  border: 2px solid #f5fff8;
  border-radius: 50%;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--camera-color, #49e87d) 22%, transparent), 0 6px 16px rgba(14, 44, 35, .18);
  cursor: pointer;
  pointer-events: auto;
}

.demo-camera-spc {
  border-radius: 5px;
}

.demo-camera::before {
  display: none;
}

.demo-camera > svg {
  position: relative;
  z-index: 2;
  width: 18px;
  height: 18px;
}

.demo-plan-canvas .demo-camera img {
  position: relative;
  z-index: 2;
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: drop-shadow(0 2px 3px rgba(5, 35, 27, .18));
}

.demo-camera small {
  right: auto;
  bottom: -16px;
  left: 50%;
  width: 72px;
  color: #1d5845;
  font-size: 6px;
  text-align: center;
  transform: translateX(-50%);
}

.demo-camera-pulse {
  inset: -7px;
}

.demo-equipment,
.demo-information-board {
  position: absolute;
  z-index: 8;
  pointer-events: auto;
}

.demo-equipment {
  min-width: 34px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  color: #124d3a;
  background: rgba(250, 252, 248, .96);
  border: 1px solid #789288;
  border-radius: 3px;
  box-shadow: 0 5px 13px rgba(26, 55, 45, .12);
  cursor: pointer;
}

.demo-equipment svg {
  width: 16px;
  height: 16px;
}

.demo-equipment span {
  max-width: 88px;
  font-size: 6px;
  font-weight: 750;
}

.demo-equipment-charger {
  min-width: 30px;
  width: 30px;
  min-height: 30px;
  height: 30px;
  justify-content: center;
  padding: 0;
  color: #075e48;
  background: #d9fff1;
  border-color: #2d9b79;
  border-radius: 50%;
}

.demo-equipment-charger span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.demo-equipment-junction,
.demo-equipment-connection,
.demo-equipment-sleeve {
  color: #314c77;
  background: #f1f5fb;
  border-color: #7590ba;
}

.demo-equipment-ramp,
.demo-equipment-transport-zone {
  color: #fff;
  background: #0f755e;
  border-color: #0b5e4b;
}

.demo-information-board {
  min-width: 142px;
  padding: 8px 10px;
  color: #c9f54a;
  background: #0a1915;
  border: 1px solid #4b655b;
  border-radius: 3px;
  box-shadow: 0 8px 18px rgba(3, 19, 14, .2);
  cursor: pointer;
  text-align: left;
}

.demo-information-board small,
.demo-information-board strong {
  display: block;
}

.demo-information-board small {
  color: #799087;
  font-size: 5px;
}

.demo-information-board strong {
  margin-top: 3px;
  font-size: 9px;
}

.demo-information-board.is-row {
  min-width: 92px;
  padding: 6px 8px;
}

.demo-information-board.is-row small {
  font-size: 4.5px;
}

.demo-information-board.is-row strong {
  font-size: 7px;
}

.demo-route-layer {
  z-index: 9;
}

.demo-route-layer path {
  stroke-width: 6;
}

.demo-vehicle-token {
  z-index: 10;
  min-width: 92px;
  height: 34px;
  font-size: 8px;
}

.demo-map-legend {
  gap: 12px;
}

.demo-map-legend .equipment-key i.camera {
  background: #49e87d;
  border-radius: 50%;
}

.demo-map-legend .equipment-key i.utp {
  height: 3px;
  background: #4a8d79;
  border: 0;
}

.demo-map-legend .equipment-key i.charger {
  background: #d9fff1;
  border-color: #2d9b79;
  border-radius: 50%;
}

@media (max-width: 980px) {
  .demo-map-toolbar {
    grid-template-columns: 1fr auto;
  }

  .demo-layer-switch {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
  }

  .demo-plan-viewport {
    height: 480px;
  }
}

@media (max-width: 680px) {
  .demo-map {
    min-height: 0;
    padding: 0;
  }

  .demo-map-toolbar {
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .demo-floor-switch button {
    min-width: 62px;
  }

  .demo-floor-switch button span,
  .demo-layer-switch button span {
    display: none;
  }

  .demo-layer-switch {
    grid-column: auto;
    grid-row: auto;
    justify-content: flex-end;
  }

  .demo-plan-controls {
    grid-column: 1 / -1;
    justify-self: end;
  }

  .demo-plan-viewport {
    height: 420px;
  }

  .demo-map-legend {
    padding-inline: 12px;
  }

  .demo-map-legend .equipment-key {
    display: none;
  }
}
