/* Elevator scroll rail — homepage (and the /lab/ sandbox).
   Wider than 1080px: a robot rides a building's elevator in a column beside the page and steps out at
   each section ("floor"). Geometry lives in custom properties so the left/right
   variants are mirrors of each other; elevator.js reads the rendered positions
   rather than duplicating these numbers. The .ev-lab rules style the sandbox's
   control bar and do nothing on the homepage. The .ev-mini rules (further down)
   are the pocket elevator used at 1080px and narrower. */

body.has-elevator {
  --ev-h: min(60vh, 540px);
  --ev-slab-w: 74px;
  --ev-gate-w: 4px;
  --ev-shaft-w: 44px;
  --ev-bot: 30px;
  --ev-card-pad: 20px;   /* white card around the building */
  --ev-col-pad: 22px;    /* column space around the card */
  --ev-w: calc(var(--ev-slab-w) + var(--ev-gate-w) + var(--ev-shaft-w));
  --ev-col: calc(var(--ev-w) + 2 * var(--ev-card-pad) + 2 * var(--ev-col-pad));
}

/* Right-hand rail: floor toward the page, shaft on the outside edge. */
body.ev-right {
  --ev-slab-x: 0px;
  --ev-gate-x: var(--ev-slab-w);
  --ev-shaft-x: calc(var(--ev-slab-w) + var(--ev-gate-w));
}
/* Left-hand rail: mirrored. */
body.ev-left {
  --ev-shaft-x: 0px;
  --ev-gate-x: var(--ev-shaft-w);
  --ev-slab-x: calc(var(--ev-shaft-w) + var(--ev-gate-w));
}

/* The elevator only exists on wide screens (the same 1080px breakpoint where the
   header switches to the menu button). Below that, this page is the normal homepage. */
html:not(.js) body.has-elevator .ev-rail { display: none; } /* floors are built by elevator.js */
@media (max-width: 1080px) {
  body.has-elevator .ev-rail { display: none; }
  .ev-lab [data-ev-side],
  .ev-lab [data-ev-scrollbar] { display: none; }
}
@media (min-width: 1081px) { .ev-lab [data-ev-pocket] { display: none; } }
.ev-lab-note { display: none; }
@media (max-width: 1080px) {
  .ev-lab-note { display: inline; }
}

@media (min-width: 1081px) {
  /* The rail owns a full-height column. Page content (including full-bleed
     section backgrounds) stops at the column's edge, so nothing ever sits under it. */
  .js body.ev-right main,
  .js body.ev-right .site-footer { margin-right: var(--ev-col); }
  .js body.ev-left main,
  .js body.ev-left .site-footer { margin-left: var(--ev-col); }

  /* Left layout: the column runs the full height of the window. The logo sits at
     its top, above the elevator, and the nav starts at the content's left edge. */
  .js body.ev-left .header-inner {
    width: auto;
    height: 100%;
    margin: 0;
    padding-left: calc(var(--ev-col) + max(20px, (100% - var(--ev-col) - 1120px) / 2));
    padding-right: 20px;
  }
  .js body.ev-left .brand {
    position: absolute;
    top: 0;
    bottom: -1px; /* cover the header's bottom rule so the column reads as one piece */
    left: 0;
    width: var(--ev-col);
    justify-content: center;
    background: var(--cs-slate-100);
    box-shadow: inset -1px 0 0 var(--cs-slate-200);
  }
  .js body.ev-left .brand img { max-width: calc(var(--ev-col) - 24px); height: auto; }
  .js body.ev-left .site-nav { margin-left: 0; }
  .js body.ev-left .nav-list a { padding-left: 0; }
  .js body.ev-left .nav-list > li + li a { padding-left: 14px; }
  .js body.ev-left .header-cta { margin-left: 18px; }
  .js body.ev-left .nav-list > li.header-cta a.btn { padding-left: 16px; }
}

/* The elevator stands in for the browser scrollbar. The class is added in <head>
   so the scrollbar never flashes; only applies where the elevator is visible. */
@media (min-width: 1081px) {
  html.ev-no-scrollbar { scrollbar-width: none; }
  html.ev-no-scrollbar::-webkit-scrollbar { display: none; }
}

.ev-rail {
  position: fixed;
  top: var(--header-h);
  bottom: 0;
  z-index: 30; /* under the header and its mobile menu */
  width: var(--ev-col);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--ev-col-pad);
  background: var(--cs-slate-100);
  font-family: var(--font-body);
}
body.ev-right .ev-rail { right: 0; box-shadow: inset 1px 0 0 var(--cs-slate-200); }
body.ev-left .ev-rail { left: 0; box-shadow: inset -1px 0 0 var(--cs-slate-200); }

/* The card: padded, white, lifted well off the column. */
.ev-card {
  width: calc(var(--ev-w) + 2 * var(--ev-card-pad));
  flex: none;
  padding: var(--ev-card-pad);
  background: var(--cs-white);
  border: 1px solid rgba(44, 62, 80, 0.08);
  border-radius: 4px;
  box-shadow:
    0 44px 84px -16px rgba(21, 32, 43, 0.5),
    0 18px 34px -10px rgba(21, 32, 43, 0.28),
    0 2px 6px rgba(21, 32, 43, 0.1);
}

/* Floor indicator above the building. */
.ev-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  margin-bottom: 14px;
  background: var(--cs-slate-50);
  border: 1px solid var(--cs-slate-200);
  border-radius: 3px;
  color: var(--cs-slate);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.04em;
}
.ev-readout { font-size: 1.15rem; min-width: 2ch; text-align: center; }
.ev-arrow {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.ev-arrow.is-down { border-top: 7px solid var(--cs-lime); opacity: 1; }
.ev-arrow.is-up { border-bottom: 7px solid var(--cs-lime); opacity: 1; }

/* The building. */
.ev-building {
  position: relative;
  height: var(--ev-h);
  background: var(--cs-white);
  border: 1px solid var(--cs-slate-200);
}
.ev-roof {
  position: absolute;
  left: -1px;
  right: -1px;
  top: -5px;
  height: 5px;
  background: var(--cs-slate);
}
.ev-ground {
  position: absolute;
  left: -8px;
  right: -8px;
  bottom: -4px;
  height: 4px;
  background: var(--cs-slate);
}

.ev-floors {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: repeat(8, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}
.ev-floor { position: relative; }

/* Each floor is a call button: click to send the elevator there. */
.ev-call {
  position: absolute;
  top: 0;
  bottom: 4px;
  left: var(--ev-slab-x);
  width: var(--ev-slab-w);
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: var(--cs-slate-600);
}
.ev-call:hover { background: rgba(191, 222, 20, 0.08); }
.ev-call:focus-visible { outline: 2px solid var(--cs-slate); outline-offset: -2px; }
.ev-label {
  position: absolute;
  top: 5px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
}
body.ev-right .ev-label { left: 6px; }
body.ev-left .ev-label { right: 6px; }
.ev-floor.is-current .ev-label { color: var(--cs-slate); font-weight: 800; }
/* Floors the car only passes: quieter labels, not clickable. */
.ev-call.is-static { cursor: default; pointer-events: none; }
.ev-floor:not(.is-stop) .ev-label { color: var(--cs-slate-400); font-weight: 500; }
.ev-floor:not(.is-stop).is-current .ev-label { color: var(--cs-slate); }
/* Stops: a small lime marker beside the floor number. */
.ev-floor.is-stop .ev-label::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 4px;
  border-radius: 50%;
  background: var(--cs-lime);
  vertical-align: 1px;
}

/* Section name, shown beside the rail on hover or keyboard focus. */
.ev-tip {
  position: absolute;
  top: 50%;
  padding: 6px 10px;
  background: var(--cs-slate-900);
  color: var(--cs-white);
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 0.15s ease;
}
body.ev-right .ev-tip { right: calc(100% + 10px); }
body.ev-left .ev-tip { left: calc(100% + 10px); }
.ev-call:hover .ev-tip,
.ev-call:focus-visible .ev-tip { opacity: 1; }

/* Floor slab. Turns lime once the robot has cleaned it. */
.ev-slab {
  position: absolute;
  bottom: 0;
  left: var(--ev-slab-x);
  width: var(--ev-slab-w);
  height: 4px;
  overflow: hidden;
  background: var(--cs-slate-200);
}
.ev-shine {
  position: absolute;
  inset: 0;
  background: var(--cs-lime-bright);
  transform: scaleX(0);
  transition: transform 0.6s ease;
}
body.ev-right .ev-shine { transform-origin: right center; }
body.ev-left .ev-shine { transform-origin: left center; }
.ev-floor.is-clean .ev-shine { transform: scaleX(1); }

/* Hoistway gate between the floor and the shaft. Bi-parting, like a freight car:
   the top half lifts, the bottom half drops. JS sets --open from 0 to 1. */
.ev-gate {
  --open: 0;
  position: absolute;
  top: 6px;
  bottom: 4px;
  left: var(--ev-gate-x);
  width: var(--ev-gate-w);
}
.ev-gate-top,
.ev-gate-bottom {
  position: absolute;
  left: 0;
  right: 0;
  height: 50%;
  background: var(--cs-slate);
  transform: scaleY(calc(1 - var(--open) * 0.88));
}
/* Hall lantern above the door: lights as the gate opens. */
.ev-gate::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 4px;
  margin-left: -4px;
  border-radius: 2px;
  background: var(--cs-lime-bright);
  box-shadow: 0 0 6px rgba(191, 222, 20, 0.9);
  opacity: var(--open);
}
.ev-gate-top { top: 0; transform-origin: top center; }
.ev-gate-bottom { bottom: 0; transform-origin: bottom center; }

/* Shaft, cable and car. */
.ev-shaft {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--ev-shaft-x);
  width: var(--ev-shaft-w);
  background:
    linear-gradient(90deg, transparent 5px, var(--cs-slate-200) 5px, var(--cs-slate-200) 6px, transparent 6px,
      transparent calc(100% - 6px), var(--cs-slate-200) calc(100% - 6px), var(--cs-slate-200) calc(100% - 5px), transparent calc(100% - 5px)),
    var(--cs-slate-50);
}
.ev-cable {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 0;
  margin-left: -1px;
  background: var(--cs-slate-400);
}
.ev-car {
  position: absolute;
  top: 0;
  left: 4px;
  right: 4px;
  height: 40px;
  border: 2px solid var(--cs-slate);
  border-top-width: 4px;
  background: var(--cs-white);
  will-change: transform;
}

/* The robot. Positioned in building coordinates by JS. */
.ev-bot {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: var(--ev-bot);
  height: var(--ev-bot);
  pointer-events: none;
  will-change: transform;
}
.ev-bot svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  transition: transform 0.18s ease;
}
.ev-bot.is-flipped svg { transform: scaleX(-1); }
.ev-bot.is-driving .ev-bot-body { animation: ev-bob 0.32s ease-in-out infinite alternate; }
.ev-bot.is-driving .ev-brush { animation: ev-sweep 0.22s linear infinite alternate; }
.ev-eye { transform-box: fill-box; transform-origin: center; animation: ev-blink 4.6s infinite; }

@keyframes ev-bob { from { transform: translateY(0); } to { transform: translateY(-0.8px); } }
@keyframes ev-sweep { from { transform: translateX(-0.6px); } to { transform: translateX(0.6px); } }
@keyframes ev-blink { 0%, 94%, 100% { transform: scaleY(1); } 96% { transform: scaleY(0.1); } }

.ev-count {
  margin: 16px 0 0;
  color: var(--cs-slate-600);
  font-size: 0.72rem;
  line-height: 1.3;
  text-align: center;
}

/* Lab controls — only on this page. */
.ev-lab {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 60;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  max-width: calc(100% - 32px);
  padding: 10px 14px;
  background: var(--cs-slate-900);
  color: var(--cs-slate-100);
  font-size: 0.82rem;
  box-shadow: 0 8px 24px rgba(21, 32, 43, 0.3);
}
.ev-lab .ev-lab-tag {
  padding: 2px 6px;
  border: 0;
  background: var(--cs-lime-bright);
  color: var(--cs-slate);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ev-lab .ev-lab-tag::after { content: " \2013"; }
.ev-lab.is-min .ev-lab-tag::after { content: " +"; }
.ev-lab.is-min > :not(.ev-lab-tag) { display: none; }
.ev-lab.is-min { padding: 6px; }
.ev-lab button,
.ev-lab a {
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: var(--cs-white);
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}
.ev-lab button:hover,
.ev-lab a:hover { border-color: var(--cs-lime-bright); }
body.ev-left .ev-lab { left: auto; right: 16px; }

/* ---------- Pocket elevator: 1080px and narrower ----------
   A small floating car, placed and dragged by elevator.js (transform only, so it
   never affects layout). Tucked against an edge, only a tab stays on screen. */
.ev-mini {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 35; /* under the header (40) and its menu */
  will-change: transform;
}
html:not(.js) .ev-mini { display: none; }
@media (min-width: 1081px) { .ev-mini { display: none; } }

.ev-mini.is-ready {
  transition: transform 0.38s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s ease, visibility 0s;
}
.ev-mini.is-dragging { transition: opacity 0.2s ease; }
.ev-mini.is-away,
.ev-mini.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.ev-mini.is-ready.is-away,
.ev-mini.is-ready.is-hidden {
  transition: transform 0.38s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s ease, visibility 0s 0.3s;
}

.ev-mini-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 38px;
  padding: 7px 0 7px;
  border: 1px solid var(--cs-slate-200);
  border-radius: 13px;
  background: var(--cs-white);
  box-shadow: 0 14px 28px -10px rgba(21, 32, 43, 0.45), 0 3px 8px rgba(21, 32, 43, 0.14);
  color: var(--cs-slate);
  font: inherit;
  cursor: grab;
  touch-action: none; /* dragging the elevator must not scroll the page */
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.4s ease, box-shadow 0.2s ease;
}
.ev-mini-btn:focus-visible { outline: 2px solid var(--cs-lime); outline-offset: 2px; }
.ev-mini.is-dragging .ev-mini-btn {
  cursor: grabbing;
  box-shadow: 0 22px 40px -12px rgba(21, 32, 43, 0.55), 0 4px 10px rgba(21, 32, 43, 0.18);
}
.ev-mini.is-idle .ev-mini-btn { opacity: 0.5; }

.ev-mini-readout {
  min-width: 2ch;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  text-align: center;
}

.ev-mini-shaft {
  position: relative;
  display: block;
  width: 20px;
  height: 104px;
  border-radius: 5px;
  background: var(--cs-slate-100);
  box-shadow: inset 0 0 0 1px var(--cs-slate-200);
}
.ev-mini-tick {
  position: absolute;
  left: 3px;
  right: 3px;
  height: 2px;
  border-radius: 1px;
  background: var(--cs-slate-200);
  transition: background-color 0.3s ease;
}
.ev-mini-tick.is-done { background: var(--cs-lime-bright); }

.ev-mini-car {
  position: absolute;
  top: 0;
  left: 2px;
  right: 2px;
  height: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 3px;
  background: var(--cs-slate);
}
.ev-mini-eyes { display: flex; gap: 2px; }
.ev-mini-eyes i {
  display: block;
  width: 2.5px;
  height: 4.5px;
  border-radius: 1.25px;
  background: var(--cs-lime-bright);
}
/* Bi-parting doors: --open (0 closed .. 1 open) is set by elevator.js. */
.ev-mini-door {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 50%;
  background: var(--cs-slate-200);
  box-shadow: inset -1px 0 0 var(--cs-slate-400);
  transform: translateX(calc(var(--open, 1) * -100%));
}
.ev-mini-door.is-right {
  left: 50%;
  box-shadow: inset 1px 0 0 var(--cs-slate-400);
  transform: translateX(calc(var(--open, 1) * 100%));
}

.ev-mini-grip {
  width: 14px;
  height: 3px;
  border-radius: 2px;
  background: var(--cs-slate-200);
}

/* Display: floor number, with a direction arrow in the floors version. */
.ev-mini-display { display: flex; align-items: center; justify-content: center; gap: 3px; }
.ev-mini-dir { display: none; }
.ev-mini-bot { display: none; }

/* ----- Pocket elevator, "floors" version (the site's version; "simple" stays for the lab toggle) -----
   A taller building with extra floors between the stops, and a lit car big
   enough to show the robot, so the doors visibly close on it. */
.ev-mini[data-variant="floors"] .ev-mini-btn { width: 48px; gap: 6px; padding: 8px 0 7px; }
.ev-mini[data-variant="floors"] .ev-mini-readout { font-size: 12px; }
.ev-mini[data-variant="floors"] .ev-mini-dir {
  display: block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.ev-mini[data-variant="floors"] .ev-mini-dir.is-up { border-bottom: 5px solid var(--cs-lime); opacity: 1; }
.ev-mini[data-variant="floors"] .ev-mini-dir.is-down { border-top: 5px solid var(--cs-lime); opacity: 1; }

.ev-mini[data-variant="floors"] .ev-mini-shaft {
  width: 36px;
  height: clamp(200px, 37vh, 310px);
  border-radius: 6px;
}
.ev-mini[data-variant="floors"] .ev-mini-tick {
  left: 4px;
  right: 4px;
  height: 1px;
  background: var(--cs-slate-200);
}
.ev-mini[data-variant="floors"] .ev-mini-tick.is-stop { left: 2px; right: 2px; height: 2px; }
.ev-mini[data-variant="floors"] .ev-mini-tick.is-done { background: var(--cs-lime-bright); }

.ev-mini[data-variant="floors"] .ev-mini-car {
  left: 3px;
  right: 3px;
  height: 17px;
  align-items: flex-end;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--cs-slate-600), var(--cs-slate-900));
}
/* Frame drawn over the doors, so they close inside it. */
.ev-mini[data-variant="floors"] .ev-mini-car::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--cs-slate);
  border-top-width: 2px;
  border-radius: 3px;
  pointer-events: none;
}
.ev-mini[data-variant="floors"] .ev-mini-eyes { display: none; }
.ev-mini[data-variant="floors"] .ev-mini-bot {
  display: block;
  position: relative;
  width: 14px;
  height: 14px;
  margin-bottom: 1px;
}
.ev-mini[data-variant="floors"] .ev-mini-door {
  background: linear-gradient(90deg, #B4C1CC 0%, #E6ECF1 45%, #C6D0D9 100%);
  box-shadow: inset -1.5px 0 0 var(--cs-slate-600);
}
.ev-mini[data-variant="floors"] .ev-mini-door.is-right {
  background: linear-gradient(270deg, #B4C1CC 0%, #E6ECF1 45%, #C6D0D9 100%);
  box-shadow: inset 1.5px 0 0 var(--cs-slate-600);
}
/* Doors meet with a firm seam. */
.ev-mini[data-variant="floors"] .ev-mini-car.is-shut .ev-mini-door { box-shadow: inset -1px 0 0 var(--cs-slate); }
.ev-mini[data-variant="floors"] .ev-mini-car.is-shut .ev-mini-door.is-right { box-shadow: inset 1px 0 0 var(--cs-slate); }

/* Tucked: a lime tab on the edge that stays on screen. */
.ev-mini-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 4px;
  height: 30px;
  margin-top: -15px;
  border-radius: 2px;
  background: var(--cs-lime-bright);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.ev-mini[data-side="right"] .ev-mini-btn::before { left: 5px; }
.ev-mini[data-side="left"] .ev-mini-btn::before { right: 5px; }
.ev-mini.is-tucked .ev-mini-btn::before { opacity: 1; }
.ev-mini.is-tucked .ev-mini-btn { opacity: 0.85; }

/* Floor buttons: open toward the middle of the screen. */
.ev-mini-panel {
  position: absolute;
  width: 224px;
  max-height: 72vh;
  overflow-y: auto;
  padding: 10px;
  border: 1px solid var(--cs-slate-200);
  border-radius: 14px;
  background: var(--cs-white);
  box-shadow: 0 24px 48px -16px rgba(21, 32, 43, 0.45), 0 4px 12px rgba(21, 32, 43, 0.12);
}
.ev-mini-panel[hidden] { display: none; }
.ev-mini[data-side="right"] .ev-mini-panel { right: calc(100% + 8px); }
.ev-mini[data-side="left"] .ev-mini-panel { left: calc(100% + 8px); }
.ev-mini[data-open="down"] .ev-mini-panel { top: 0; }
.ev-mini[data-open="up"] .ev-mini-panel { bottom: 0; }

.ev-mini-title {
  margin: 2px 6px 6px;
  color: var(--cs-slate-400);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ev-mini-list {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ev-mini-list button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 40px;
  padding: 6px 8px;
  border: 0;
  border-radius: 9px;
  background: none;
  color: var(--cs-slate);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}
.ev-mini-list button:hover,
.ev-mini-list button:focus-visible { background: var(--cs-slate-50); outline: none; }
.ev-mini-num {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1.5px solid var(--cs-slate-200);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
}
.ev-mini-list button[aria-current] { background: var(--cs-slate-50); }
.ev-mini-list button[aria-current] .ev-mini-num {
  border-color: var(--cs-lime-bright);
  background: var(--cs-lime-bright);
}
.ev-mini-hint {
  margin: 8px 6px 2px;
  color: var(--cs-slate-400);
  font-size: 11px;
  line-height: 1.35;
}

/* Narrower desktops: smaller building. */
@media (max-width: 1180px) {
  body.has-elevator {
    --ev-slab-w: 54px;
    --ev-shaft-w: 38px;
    --ev-bot: 26px;
    --ev-card-pad: 14px;
    --ev-col-pad: 16px;
  }
}

/* Phones: the pocket elevator takes over; only the lab bar needs adjusting. */
@media (max-width: 800px) {
  .ev-lab { left: 8px; bottom: 8px; max-width: calc(100% - 16px); padding: 8px 10px; font-size: 0.75rem; }
  body.ev-left .ev-lab { left: 8px; right: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .ev-bot.is-driving .ev-bot-body,
  .ev-bot.is-driving .ev-brush,
  .ev-eye { animation: none; }
  .ev-shine, .ev-bot svg { transition: none; }
  .ev-mini.is-ready,
  .ev-mini.is-ready.is-away,
  .ev-mini.is-ready.is-hidden { transition: opacity 0.2s ease, visibility 0s; }
}
