/* Animations & additional styles specific to interactive pieces */

@keyframes scanLine {
  0% { top: 4px; opacity: 0; }
  15% { opacity: 1; }
  50% { top: calc(100% - 8px); opacity: 1; }
  65% { opacity: 0; }
  100% { top: 4px; opacity: 0; }
}

@keyframes rowCheck {
  0%, 100% { opacity: 0; transform: translateX(-8px); }
  20%, 80% { opacity: 1; transform: translateX(0); }
}

@keyframes badgeExtrude {
  0%, 20% { transform: translateY(0); }
  50% { transform: translateY(40px); }
  80%, 100% { transform: translateY(40px); }
}

@keyframes notifySlide {
  0%, 100% { transform: translateX(-20px); opacity: 0; }
  20%, 80% { transform: translateX(0); opacity: 1; }
}

@keyframes spin { to { transform: rotate(360deg); } }

@keyframes popIn {
  0% { transform: scale(0.3); opacity: 0; }
  60% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes lockPulse {
  0%, 100% { box-shadow: inset 0 0 40px rgba(255,255,255,0); }
  50% { box-shadow: inset 0 0 40px rgba(255,255,255,0.2); }
}

.spinner {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2.5px solid rgba(255,255,255,0.3);
  border-top-color: white;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}
.spinner-sm {
  width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

/* ---------- Badge Gallery cards ---------- */
.badge-card {
  width: 200px;
  position: relative;
  transform: rotate(var(--rot)) translateY(var(--offset));
  transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 300ms;
  cursor: pointer;
  padding-top: 30px;
}
.badge-card:hover {
  transform: rotate(0deg) translateY(-20px) scale(1.06);
  z-index: 10;
}
.lanyard-strap {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 14px;
  height: 40px;
  background: linear-gradient(180deg, #1a1410 0%, #2d2520 100%);
  border-radius: 2px 2px 0 0;
}
.lanyard-strap::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 10px;
  transform: translateX(-50%);
  width: 4px;
  height: 20px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
}
.lanyard-strap .clip {
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  width: 24px;
  height: 10px;
  background: #c4ccd4;
  border-radius: 4px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 2px 4px rgba(0,0,0,0.15);
}
.lanyard-strap .clip::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 3px;
  background: #6b7a89;
  border-radius: 1px;
}
.badge-face {
  background: white;
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(26, 20, 16, 0.18), 0 3px 6px rgba(26, 20, 16, 0.1);
  border: 1px solid var(--border-1);
}
.badge-banner {
  color: white;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 6px 10px;
  text-align: center;
}
.badge-inner {
  padding: 16px 14px 14px;
}
.badge-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 2px white, 0 0 0 2px var(--border-1);
}
.badge-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  color: var(--eb-ink);
  text-align: center;
  letter-spacing: -0.01em;
}
.badge-reason {
  font-size: 11px;
  color: var(--ink-600);
  text-align: center;
  margin: 2px 0 12px;
  font-weight: 500;
  line-height: 1.3;
}
.badge-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 10px;
  border-top: 1px dashed var(--border-1);
}
.badge-meta span {
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.badge-meta strong {
  font-size: 11px;
  color: var(--eb-ink);
  font-weight: 700;
}
.badge-barcode {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1.5px;
  height: 28px;
  margin-top: 10px;
  border-top: 1px dashed var(--border-1);
  padding-top: 10px;
}
.badge-barcode span {
  background: var(--eb-ink);
  height: 100%;
  display: block;
}

/* ---------- Switch ---------- */
.switch { position: relative; display: inline-block; width: 52px; height: 30px; flex: 0 0 auto; cursor: pointer; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch-track {
  position: absolute; inset: 0;
  background: #c4ccd4;
  border-radius: 999px;
  transition: background 180ms;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.12);
}
.switch-track::before {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 24px; height: 24px;
  background: white;
  border-radius: 50%;
  transition: transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.switch input:checked + .switch-track { background: #d14343; }
.switch input:checked + .switch-track::before { transform: translateX(22px); }

/* Fade-up entry for all sections */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Section head animation */

/* Hero suite stack — umbrella homepage */
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes classFill {
  from { opacity: 0; transform: translateY(6px) scale(0.9); }
  to   { transform: none; }
}
.cls-cell { animation: classFill 2.4s var(--delay, 0s) ease both; }
.cls-grid.paused .cls-cell { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .cls-cell { animation: none; } }

.suite-card {
  position: absolute;
  left: 50%;
  top: 40px;
  transform-origin: 50% 50%;
  width: 260px;
  height: 420px;
  margin-left: -130px;
  transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 300ms;
}
.suite-card-inner {
  height: 100%;
  background: white;
  border: 1px solid var(--border-1);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(15,26,36,0.18), 0 6px 16px rgba(15,26,36,0.08);
  display: flex;
  flex-direction: column;
}
.suite-card-head {
  padding: 14px 18px;
  font-family: var(--font-display);
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-bottom: 1px solid var(--border-1);
}
.suite-card-head .tag {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.suite-card-head .sub {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.suite-card-body { flex: 1; display: grid; place-items: center; }
.suite-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.suite-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #c4ccd4;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 180ms;
}
.suite-dot.active { background: var(--c, var(--eb-primary)); transform: scale(1.25); }

/* ============ ElasticPass — Hero pass card (replaces the phone) ============ */
.hero-pass-card {
  position: absolute;
  right: 20px;
  top: 240px;
  width: 310px;
  padding: 12px 12px 14px 16px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 24px 48px rgba(15, 31, 12, 0.22), 0 4px 12px rgba(15, 31, 12, 0.12);
  transform: rotate(2deg);
  transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--font-body);
}
.hero-pass-card:hover { transform: rotate(1deg) translateY(-4px); }

.hpc-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hpc-avatar-ring {
  width: 50px; height: 50px;
  padding: 5px;
  border-radius: 50%;
  flex: 0 0 auto;
  transition: background 1s linear;
}
.hpc-avatar {
  width: 100%; height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid white;
}
.hpc-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hpc-name {
  flex: 1;
  min-width: 0;
  font-size: 19px;
  font-weight: 500;
  color: #1a1a1a;
}
.hpc-more {
  border: none;
  background: none;
  color: #6b6b6b;
  padding: 4px;
  cursor: pointer;
}

.hpc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.hpc-locations {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 15px;
  font-weight: 500;
  color: #2b2b2b;
  min-width: 0;
}
.hpc-locations > div {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.hpc-locations svg { color: #5d5d5d; flex: 0 0 auto; }
.hpc-timer {
  font-family: "Share Tech Mono", ui-monospace, monospace;
  font-weight: 700;
  font-size: 20px;
  padding: 4px 12px;
  border-radius: 15px;
  color: #1a1a1a;
  font-variant-numeric: tabular-nums;
  transition: background 1s linear;
}

.hpc-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hpc-statuses { display: flex; gap: 6px; }
.hpc-statuses span {
  width: 21px; height: 21px;
  border-radius: 5px;
  background: #6b6b6b;
  color: white;
  display: grid;
  place-items: center;
}
.hpc-end {
  width: 33px; height: 33px;
  border-radius: 50%;
  border: none;
  background: #E64A19;
  color: white;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(230, 74, 25, 0.35);
}

@media (max-width: 960px) {
  .hero-pass-card { right: 0; width: 290px; }
}
}

/* ============ ElasticPass — Phone device (hero) ============ */
.phone-device {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 280px;
  height: 560px;
  background: linear-gradient(180deg, #0d1a10, #050a07);
  border-radius: 42px;
  padding: 12px;
  box-shadow:
    0 30px 60px rgba(15, 31, 12, 0.35),
    0 10px 20px rgba(15, 31, 12, 0.2),
    inset 0 0 0 1px rgba(255,255,255,0.05);
  transform: rotate(3deg);
  transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.phone-device:hover { transform: rotate(2deg) translateY(-4px); }
.phone-device .phone-notch {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 94px;
  height: 22px;
  background: #050a07;
  border-radius: 14px;
  z-index: 3;
}
.phone-device .phone-screen {
  width: 100%;
  height: 100%;
  background: #f7fcee;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
.phone-device .phone-header {
  padding: 14px 22px 8px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: #0f1f0c;
}
.phone-device .phone-card {
  margin: 16px;
  padding: 18px 16px;
  background: white;
  border: 1px solid #d7efc9;
  border-radius: 18px;
  box-shadow: 0 6px 14px rgba(53,132,60,0.1);
  flex: 1;
}
.phone-device .phone-home {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 130px;
  height: 4px;
  background: #0f1f0c;
  opacity: 0.2;
  border-radius: 2px;
}

/* ============ ElasticPass — Hall map demo ============ */
.hallmap-wrap {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 28px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 20px;
  max-height: 640px;
}
.hallmap-panel {
  background: rgba(15, 31, 12, 0.3);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 16px;
  overflow-y: auto;
  max-height: 600px;
}
.hallmap-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #d7efc9;
  margin-bottom: 12px;
  padding: 0 4px;
}
.hallmap-title em {
  font-style: normal;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
}
.hallmap-empty {
  padding: 14px;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  text-align: center;
  margin-bottom: 10px;
}
.req-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(132,204,110,0.08);
  border: 1px solid rgba(132,204,110,0.25);
  border-radius: 12px;
  margin-bottom: 8px;
  animation: slideInLeft 260ms cubic-bezier(0.2,0.8,0.2,1);
}
.req-card > div:first-child { flex: 1; }
.req-name {
  font-weight: 800;
  font-size: 13px;
  color: white;
}
.req-meta {
  font-size: 11px;
  color: rgba(255,255,255,0.65);
  margin-top: 2px;
  font-weight: 500;
}
.req-btns {
  display: flex;
  gap: 6px;
}
.req-yes, .req-no {
  width: 32px; height: 32px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  display: grid; place-items: center;
  transition: transform 120ms;
  color: white;
}
.req-yes { background: #4f9c3f; }
.req-no  { background: #a02e2e; }
.req-yes:hover, .req-no:hover { transform: scale(1.08); }
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-12px); }
  to   { opacity: 1; transform: translateX(0); }
}

.pass-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  margin-bottom: 6px;
  cursor: pointer;
  transition: all 180ms;
}
.pass-card:hover { background: rgba(255,255,255,0.08); }
.pass-card.selected {
  background: rgba(132,204,110,0.12);
  border-color: rgba(132,204,110,0.5);
}
.pass-card.overdue { border-color: rgba(209,67,67,0.45); background: rgba(209,67,67,0.1); }
.pass-card.warning { border-color: rgba(227,169,60,0.45); }
.status-ring { flex: 0 0 auto; }
.pass-body { flex: 1; min-width: 0; }
.pass-name {
  font-weight: 800;
  font-size: 13px;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pass-meta {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  margin-top: 1px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pass-time {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: #d7efc9;
  letter-spacing: -0.01em;
  flex: 0 0 auto;
}

.hallmap-map {
  position: relative;
  background: rgba(15, 31, 12, 0.45);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  overflow: hidden;
  min-height: 480px;
}
.pass-detail {
  position: absolute;
  right: 18px;
  bottom: 18px;
  background: rgba(15, 31, 12, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 14px 16px;
  width: 260px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.3);
  animation: slideInLeft 260ms cubic-bezier(0.2,0.8,0.2,1);
}

@keyframes passFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes approvePop {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-3px) scale(1.05); }
}
@keyframes approveGlow {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}
/* "Teacher approves": the lift is a transform and the stronger shadow fades in on a pseudo element, so the loop
   never repaints a changing box-shadow. */
.approve-card { position: relative; animation: approvePop 2.4s var(--d, 0s) infinite; }
.approve-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: 0 4px 12px rgba(53,132,60,0.18);
  opacity: 0;
  animation: approveGlow 2.4s var(--d, 0s) infinite;
}
/* The "how it works" pictures loop forever; they stop while scrolled out of view, and for people who ask for less motion. */
.step .visual.paused, .step .visual.paused * { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  .step .visual *, .step .visual *::after, .mm-route *, .mm-route *::before, .mm-timer-pill::after { animation: none !important; }
}
@keyframes ringSweep {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -327; }
}

@media (max-width: 960px) {
  .hallmap-wrap { grid-template-columns: 1fr; }
  .hallmap-panel { max-height: 320px; }
  .phone-device { width: 230px; height: 460px; }
}

/* ============ ElasticPass — Hall Monitor screen ============ */
.monitor-frame {
  background: white;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 32px 60px rgba(0,0,0,0.35),
    0 10px 20px rgba(0,0,0,0.2),
    inset 0 1px 0 rgba(255,255,255,0.05);
  height: 680px;
}

/* ---- Sidebar ---- */
.monitor-sidebar {
  position: relative;
  width: 240px;
  background: white;
  border-right: 1px solid var(--border-1);
  display: flex;
  flex-direction: column;
  padding: 18px 12px 18px;
  transition: width 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.monitor-sidebar.collapsed { width: 72px; }
.monitor-sidebar.collapsed .ms-label,
.monitor-sidebar.collapsed .ms-wordmark,
.monitor-sidebar.collapsed .ms-profile .ms-name,
.monitor-sidebar.collapsed .ms-profile .ms-dots,
.monitor-sidebar.collapsed .ms-account span { display: none; }

.ms-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px 18px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--border-1);
  position: relative;
}
.ms-logo {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #f0f7eb 100%);
  border: 1px solid #d7efc9;
  color: #4f9c3f;
  display: grid; place-items: center;
  flex: 0 0 auto;
}
.ms-wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: #0f1f0c;
  letter-spacing: -0.02em;
}
.ms-collapse {
  position: absolute;
  right: -14px;
  top: 14px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #84cc6e;
  color: white;
  border: 2px solid white;
  box-shadow: 0 4px 10px rgba(53,132,60,0.3);
  cursor: pointer;
  display: grid; place-items: center;
  transition: transform 240ms cubic-bezier(0.2,0.8,0.2,1);
  z-index: 2;
}
.monitor-sidebar.collapsed .ms-collapse { transform: rotate(180deg); }

.ms-nav { display: flex; flex-direction: column; gap: 2px; }
.ms-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #47586a;
  font-size: 14px;
  font-weight: 600;
  transition: background 140ms, color 140ms;
  white-space: nowrap;
}
.ms-item:hover { background: #f6f8fa; color: #0f1f0c; }
.ms-item.active {
  background: #84cc6e;
  color: white;
  box-shadow: 0 4px 10px rgba(53,132,60,0.25);
}
.ms-item.active:hover { background: #6bb857; color: white; }
.ms-ico {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  display: grid; place-items: center;
}

.ms-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 16px;
  border-top: 1px solid var(--border-1);
}
.ms-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f6f8fa;
  margin-top: 6px;
}
.ms-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #c4ccd4;
  color: white;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 12px;
  flex: 0 0 auto;
}
.ms-profile .ms-name {
  flex: 1;
  font-size: 13px;
  font-weight: 700;
  color: #0f1f0c;
}
.ms-profile .ms-dots { color: #97a3ae; }
.ms-account {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  margin-top: 10px;
  background: #edf8e7;
  border-radius: 12px;
  color: #4f9c3f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.ms-acct-mark {
  width: 22px; height: 22px;
  background: #84cc6e;
  color: white;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 14px;
  font-weight: 900;
  flex: 0 0 auto;
}

/* ---- Main area ---- */
.monitor-main {
  display: flex;
  flex-direction: column;
  background: white;
  overflow-y: auto;
  height: 100%;
}
.monitor-main > * { flex-shrink: 0; }
.monitor-main.no-sidebar { width: 100%; }
.mm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px 8px;
  gap: 12px;
  flex-wrap: wrap;
}
.mm-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: #0f1f0c;
  margin: 2px 0;
  letter-spacing: -0.02em;
}
.mm-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mm-new-pass {
  padding: 8px 14px;
  background: #84cc6e;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(132,204,110,0.35);
  transition: all 160ms;
}
.mm-new-pass:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(132,204,110,0.45); }

/* Tabs */
.mm-tabs {
  display: flex;
  gap: 0;
  padding: 0 22px;
  border-bottom: 1px solid var(--border-1);
  overflow-x: auto;
}
.mm-tab {
  padding: 9px 12px;
  background: none;
  border: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7a89;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 160ms;
  white-space: nowrap;
}
.mm-tab:hover { color: #0f1f0c; }
.mm-tab.active { color: #4f9c3f; border-bottom-color: #84cc6e; }
.mm-tab-ico { color: #6b7a89; }
.mm-tab-badge {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: #c4ccd4;
  color: white;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
}
.mm-tab.active .mm-tab-badge { background: #84cc6e; }

.mm-section-title {
  padding: 12px 22px 4px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: #0f1f0c;
  letter-spacing: -0.01em;
}

/* Card grid */
.mm-cards {
  padding: 4px 22px 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: min-content;
  gap: 10px;
  align-content: start;
  align-items: start; /* don't let tall cards stretch shorter siblings */
}
.mm-cards-active { min-height: 128px; }  /* always 1 row (max 3 cards) */
.mm-cards-ready  { min-height: 262px; }  /* reserve 2 rows (up to 4 cards) */
@media (max-width: 900px) {
  .mm-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mm-cards-active { min-height: 262px; }
  .mm-cards-ready  { min-height: 262px; }
}
@media (max-width: 600px) {
  .mm-cards { grid-template-columns: 1fr; }
  .mm-cards-active, .mm-cards-ready { min-height: 128px; }
}

.mm-card {
  background: white;
  border: 1px solid #e1e6eb;
  border-radius: 10px;
  padding: 8px 10px;
  box-shadow: 0 1px 2px rgba(15,26,36,0.04);
  display: flex;
  flex-direction: column;
  gap: 6px;
  animation: mmCardEnter 340ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  transform-origin: top center;
  transition: border-color 220ms, background 220ms, box-shadow 220ms;
  position: relative;
  overflow: hidden; /* clip content during exit collapse */
}
.mm-card.exit { animation: mmCardExit 280ms cubic-bezier(0.5, 0, 0.8, 0) forwards; pointer-events: none; }
.mm-card.overtime .mm-name { color: #0f1f0c; }

@keyframes mmCardEnter {
  from { opacity: 0; transform: translateY(-6px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
/* A leaving card only fades (opacity and transform, so it never re-lays-out the grid); when it is removed the
   cards after it slide into the gap (FlipGrid in components-pass.jsx). */
@keyframes mmCardExit {
  0%   { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-6px) scale(0.96); }
}
/* The walkthrough's teacher view removes its card without a slide, so it still closes the gap itself. */
@keyframes mmCardCollapse {
  0%   { opacity: 1; transform: translateY(0) scale(1); max-height: 240px; padding-top: 8px; padding-bottom: 8px; }
  60%  { opacity: 0; transform: translateY(-4px) scale(0.97); max-height: 240px; }
  100% { opacity: 0; transform: translateY(-6px) scale(0.96); max-height: 0;   padding-top: 0; padding-bottom: 0; border-width: 0; }
}
.wt-mm .mm-card.exit { animation-name: mmCardCollapse; }

.mm-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mm-avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: white;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.04em;
  flex: 0 0 auto;
  position: relative;
}
.mm-avatar.ring-green {
  box-shadow: 0 0 0 2px white, 0 0 0 3px #84cc6e;
}
.mm-name {
  flex: 1;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: #0f1f0c;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mm-ico-btn {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #eef1f4;
  border: none;
  color: #6b7a89;
  cursor: pointer;
  display: grid; place-items: center;
  transition: all 140ms;
}
.mm-ico-btn:hover { background: #e1e6eb; color: #0f1f0c; }

.mm-card-body {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}
.mm-meta { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.mm-meta-row {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #47586a;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
}
.mm-meta-row svg { color: #97a3ae; flex: 0 0 auto; }

/* From → To route track (en route / active passes) */
.mm-card-body.with-route {
  grid-template-columns: auto 1fr auto;
  gap: 8px;
}
.mm-route {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 4px 2px;
  flex: 0 0 auto;
  align-self: stretch;
}
.rt-dot {
  flex: 0 0 auto;
  border-radius: 50%;
}
.rt-dot.filled {
  width: 7px; height: 7px;
  background: #4f9c3f;
  box-shadow: 0 0 0 2px rgba(132,204,110,0.25);
}
.rt-dot.hollow {
  width: 8px; height: 8px;
  border: 1.5px solid #4f9c3f;
  background: white;
}
.rt-line {
  width: 2px;
  flex: 1 1 auto;
  min-height: 12px;
  margin: 1px 0;
  position: relative;
  overflow: hidden;
}
/* The dots are one 4px pattern; sliding the pattern by 4px loops seamlessly. It is a transform on its own layer,
   not a background-position, so it doesn't repaint every frame. */
.rt-line::before {
  content: "";
  position: absolute; left: 0; right: 0; top: -4px; bottom: 0;
  background-image: radial-gradient(circle at center, #4f9c3f 0.8px, transparent 1.2px);
  background-size: 2px 4px;
  background-repeat: repeat-y;
  animation: routeDrift 1.4s linear infinite;
}
@keyframes routeDrift {
  from { transform: translateY(0); }
  to   { transform: translateY(4px); }
}
.mm-loc-label {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 800;
  color: #6b7a89;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-right: 5px;
  display: inline-block;
  min-width: 26px;
}
.mm-loc-label.from { color: #4f9c3f; }
.mm-loc-label.to   { color: #6b7a89; }
/* Overtime route recolors */
.mm-card.overtime .rt-dot.filled { background: #dc5b2a; box-shadow: 0 0 0 2px rgba(220,91,42,0.22); }
.mm-card.overtime .rt-dot.hollow { border-color: #dc5b2a; }
.mm-card.overtime .rt-line::before { background-image: radial-gradient(circle at center, #dc5b2a 0.8px, transparent 1.2px); }
.mm-card.overtime .mm-loc-label.from { color: #dc5b2a; }

.mm-duration { text-align: right; }
.mm-duration-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  color: #0f1f0c;
  letter-spacing: -0.01em;
}
.mm-duration-val {
  font-size: 11px;
  font-weight: 600;
  color: #47586a;
  margin-top: 1px;
  font-variant-numeric: tabular-nums;
}

/* Green countdown pill (active) */
.mm-timer-pill {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: #0f1f0c;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  position: relative;
  transition: background-color 180ms, color 180ms;
}
.mm-timer-pill.green { background: #dff2d0; color: #0f1f0c; }
.mm-timer-pill.red { background: #fde2d8; color: #a02e2e; }
/* The overtime ring breathes by fading a still ring in and out (opacity and scale), not by animating box-shadow. */
.mm-timer-pill.red::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 0 4px rgba(209,67,67,0.18);
  opacity: 0;
  animation: overtimePillPulse 2s ease-in-out infinite;
}
@keyframes overtimePillPulse {
  0%, 100% { opacity: 0; transform: scale(0.9); }
  50%      { opacity: 1; transform: scale(1); }
}

.mm-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2px;
}
.mm-card-left { display: flex; gap: 5px; }
.mm-card-right { display: flex; gap: 6px; }
.mm-pill-btn {
  width: 22px; height: 20px;
  border: none;
  border-radius: 4px;
  background: #45505a;
  color: white;
  cursor: pointer;
  display: grid; place-items: center;
  transition: all 140ms;
}
.mm-pill-btn:hover { background: #2e3e4e; }
.mm-action {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: grid; place-items: center;
  color: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: all 140ms;
}
.mm-action:hover { transform: scale(1.08); }
.mm-action.orange { background: #ec7a44; }
.mm-action.orange:hover { background: #d96524; }
.mm-action.green { background: #5dbd4a; }
.mm-action.green:hover { background: #4aa038; }
.mm-action.stop { background: #dc5b2a; }
.mm-action.stop:hover { background: #c24717; }
.mm-action.green.loading {
  background: #4aa038;
  cursor: wait;
}
.mm-action[disabled] { cursor: default; opacity: 0.85; transform: none; }
.mm-pill-btn[disabled] { opacity: 0.5; cursor: default; }

.btn-spinner {
  width: 12px; height: 12px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}

.mm-card.starting {
  border-color: #c6dfb1;
  background: #f7fcee;
  box-shadow: 0 0 0 1px rgba(132,204,110,0.2), 0 2px 8px rgba(132,204,110,0.15);
  animation: mmStartingPulse 1.1s ease-in-out;
}
@keyframes mmStartingPulse {
  0%   { box-shadow: 0 0 0 0 rgba(132,204,110,0.4); }
  50%  { box-shadow: 0 0 0 6px rgba(132,204,110,0); }
  100% { box-shadow: 0 0 0 1px rgba(132,204,110,0.2); }
}

@media (max-width: 1080px) {
  .mm-cards { grid-template-columns: 1fr; max-height: 560px; }
  .mm-header { flex-direction: column; align-items: stretch; }
  .mm-header-right { flex-wrap: wrap; }
}
@media (max-width: 760px) {
  .monitor-sidebar { width: 72px; padding: 12px 6px; }
  .monitor-sidebar .ms-label,
  .monitor-sidebar .ms-wordmark,
  .monitor-sidebar .ms-profile .ms-name,
  .monitor-sidebar .ms-profile .ms-dots,
  .monitor-sidebar .ms-account span { display: none; }
  .mm-tabs { padding: 0 16px; }
  .mm-cards { padding: 8px 16px 16px; }
  .mm-header { padding: 16px; }
}

/* ============ ElasticClass — Laptop device (hero) ============ */
.laptop-device {
  position: absolute;
  right: 0;
  top: 30px;
  width: 420px;
  transform: rotate(1.5deg);
  transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.laptop-device:hover { transform: rotate(0.8deg) translateY(-3px); }
.laptop-device .laptop-screen {
  background: #0d1a24;
  border-radius: 14px 14px 2px 2px;
  padding: 6px 6px 0;
  box-shadow: 0 28px 50px rgba(13,26,36,0.28), 0 8px 18px rgba(13,26,36,0.16);
}
.laptop-device .laptop-header {
  background: #1d2b38;
  border-radius: 8px 8px 0 0;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.laptop-device .laptop-header .dots {
  display: flex;
  gap: 5px;
}
.laptop-device .laptop-header .dots span {
  width: 9px; height: 9px;
  border-radius: 50%;
  display: block;
}
.laptop-device .laptop-header .dots span:nth-child(1) { background: #ff5f57; }
.laptop-device .laptop-header .dots span:nth-child(2) { background: #ffbd2e; }
.laptop-device .laptop-header .dots span:nth-child(3) { background: #28c940; }
.laptop-device .laptop-header .url-bar {
  flex: 1;
  font-size: 11px;
  font-family: var(--font-mono, monospace);
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.06);
  padding: 4px 10px;
  border-radius: 6px;
  text-align: center;
}
.laptop-device .laptop-body {
  background: white;
  padding: 18px 20px;
  border-radius: 0 0 2px 2px;
  min-height: 340px;
}
.laptop-device .laptop-base {
  height: 12px;
  background: linear-gradient(180deg, #c4ccd4 0%, #8a94a0 100%);
  border-radius: 0 0 16px 16px;
  margin: 0 -8px;
  position: relative;
}
.laptop-device .laptop-base::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #6b7a89;
  border-radius: 0 0 4px 4px;
}

@keyframes cellFill {
  from { opacity: 0; transform: scale(0.6); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes syncArrow {
  0%, 100% { transform: translateX(0); opacity: 0.7; }
  50% { transform: translateX(4px); opacity: 1; }
}
@keyframes enrollSlide {
  0%, 100% { opacity: 0; transform: translateX(-10px); }
  20%, 80% { opacity: 1; transform: translateX(0); }
}

/* ============ ElasticClass — AutoScheduler demo (design audit 288A) ============
   The booth loop's picture: a white panel on the dark demo section, the pool of students who haven't signed up on
   the left, their teachers' classes and the open sessions on the right; faces fly to their seats when it runs.
   Stacks on phones. */
.asf { --ec-deep: #336387; --ec-700: #3b7eb2; --ec-50: #eaf3fa; position: relative; padding: 26px 28px 22px; border-radius: 22px; background: white; color: #1d2b38; box-shadow: 0 24px 60px rgba(0,0,0,0.28); }
.asf-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 20px; }
.asf-title { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 26px; font-weight: 800; color: var(--ec-deep); letter-spacing: -0.01em; }
.asf-title svg { color: var(--ec-700); }
.asf-clock { display: grid; grid-template-columns: auto auto; column-gap: 10px; align-items: center; padding: 8px 14px; border-radius: 14px; background: var(--ec-50); transition: box-shadow 900ms ease; }
.asf-clock svg { grid-row: span 2; color: var(--ec-700); }
.asf-clock b { font-size: 24px; line-height: 1; font-weight: 800; font-variant-numeric: tabular-nums; }
.asf-clock span { font-size: 12.5px; font-weight: 600; color: #47586a; }
.asf-clock.hit { animation: asfClock 1.1s ease-out; }
@keyframes asfClock { from { box-shadow: 0 0 0 7px rgba(101,166,216,0.55); } to { box-shadow: 0 0 0 0 rgba(101,166,216,0); } }
.asf-body { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 26px; }
.asf-pool { align-self: start; padding: 16px 18px 18px; border-radius: 16px; background: var(--ec-50); }
.asf-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.asf-label { font-size: 17px; font-weight: 700; line-height: 1.2; }
.asf-count { font-family: var(--font-display); font-size: 38px; line-height: 0.9; font-weight: 800; color: var(--ec-700); font-variant-numeric: tabular-nums; }
.asf-pool .asf-grid { display: grid; grid-template-columns: repeat(6, 36px); gap: 8px; }
.asf-slot { position: relative; display: block; width: 36px; height: 36px; border-radius: 50%; border: 1.5px dashed rgba(51,99,135,0.25); }
.asf-av { position: absolute; inset: -1.5px; width: calc(100% + 3px); height: calc(100% + 3px); border-radius: 50%; background: white; box-shadow: 0 0 0 3px var(--ring), 0 4px 10px rgba(15,26,36,0.16); }
.asf-step { margin: 0 0 10px; font-size: 15px; font-weight: 700; color: #47586a; }
.asf-classes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.asf-classes:last-child { margin-bottom: 0; }
.asf-class { padding: 10px 12px 12px 14px; border-radius: 12px; border: 1.5px solid #eef1f4; border-left: 6px solid var(--c); background: white; }
.asf-class.other { border-left-color: #c4ccd4; background: #f6f8fa; }
.asf-ch { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-bottom: 9px; }
.asf-ch b { font-size: 15px; font-weight: 800; }
.asf-ch span { font-size: 12px; font-weight: 600; color: #6b7a89; }
.asf-seats { margin-left: auto; padding: 2px 8px; border-radius: 8px; font-style: normal; font-size: 12px; font-weight: 800; color: #2a6fa3; background: var(--ec-50); font-variant-numeric: tabular-nums; }
.asf-class.full .asf-seats { color: white; background: #1d2b38; }
.asf-class .asf-grid { display: flex; flex-wrap: wrap; gap: 7px; }
.asf-class .asf-slot { width: 32px; height: 32px; border-color: rgba(15,26,36,0.16); }
.asf-foot { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 16px; font-weight: 700; color: #2e3e4e; opacity: 0; transition: opacity 400ms ease; }
.asf-done .asf-foot { opacity: 1; }
.asf-tick { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #2e7d32; color: white; }
.asf-fly { position: absolute; inset: 0; pointer-events: none; overflow: visible; }
.asf-flying { position: absolute; inset: auto; left: 0; top: 0; }
.asf-controls { display: flex; justify-content: center; margin: 0 0 22px; }
@media (max-width: 860px) {
  .asf { padding: 18px 14px 16px; }
  .asf-body { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .asf-pool .asf-grid { grid-template-columns: repeat(10, 28px); gap: 6px; }
  .asf-pool .asf-slot { width: 28px; height: 28px; }
}
@media (max-width: 520px) {
  .asf-title { font-size: 21px; }
  .asf-pool .asf-grid { grid-template-columns: repeat(6, 30px); gap: 7px; }
  .asf-pool .asf-slot { width: 30px; height: 30px; }
  .asf-classes { gap: 8px; }
  .asf-class { padding: 8px 8px 10px 10px; border-left-width: 5px; }
  .asf-class .asf-grid { gap: 5px; }
  .asf-class .asf-slot { width: 24px; height: 24px; }
  .asf-ch b { font-size: 13px; }
  .asf-seats { margin-left: 0; }
}

/* ============ ElasticClass — Period types grid ============ */
.period-defs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border-1);
}
.period-def {
  padding: 22px 0;
  border-bottom: 1px solid var(--border-1);
}
.period-def:nth-child(odd)  { padding-right: 48px; border-right: 1px solid var(--border-1); }
.period-def:nth-child(even) { padding-left: 48px; }
.period-def-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
}
.period-def-code {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--pc);
}
.period-def-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--eb-ink);
}
.period-def-body {
  font-size: 13px;
  color: var(--ink-600);
  font-weight: 500;
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 1080px) {
  .period-defs { grid-template-columns: 1fr; }
  .period-def:nth-child(odd) { padding-right: 0; border-right: none; }
  .period-def:nth-child(even) { padding-left: 0; }
  .period-def:last-child { border-bottom: 1px solid var(--border-1); }
}
@media (max-width: 960px) {
  .laptop-device { width: 360px; }
}

/* Nav smaller on mobile */
@media (max-width: 640px) {
  .nav-brand .sub { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .wrap { padding: 0 20px; }
  section { padding: 72px 0; }
  .features { grid-template-columns: 1fr; }
  .feature.wide { grid-column: span 1; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .cta-card { padding: 44px 24px; }
  .hero-visual { height: 580px; transform: scale(0.85); transform-origin: top center; }
  .quotes { grid-template-columns: 1fr; }
  #demo .wrap > div:last-child { grid-template-columns: 1fr !important; }
}

/* =========================================================================
   ElasticClass hero: a student signs up for a flex block (StudentPickHero).
   Mirrors the real student schedule UI: period cards, Edit on hover, the
   Offering dropdown, Save, and the success toast.
   ========================================================================= */
.ecpick .ecpick-device { right: 0; top: 14px; width: 470px; transform: rotate(1deg); }
.ecpick .ecpick-device:hover { transform: rotate(1deg); }
.ecpick .ecpick-device .ecpick-body { position: relative; height: 480px; min-height: 0; padding: 16px 18px 56px; background: #f5f7fa; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; overflow: hidden; }
.ecpick-head { margin-bottom: 6px; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.ecpick-student { display: flex; align-items: center; gap: 8px; padding: 5px 10px 5px 5px; border-radius: 999px; background: white; box-shadow: 0 0 0 1px #e1e6eb; }
.ecpick-avatar { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #65A6D8; color: white; font-size: 11px; font-weight: 800; }
.ecpick-student b { display: block; font-size: 12px; color: #0d1a24; line-height: 1.1; }
.ecpick-student small { display: block; font-size: 10.5px; color: #6b7a89; }
/* Only the screen's top bar turns blue and carries the "Student View" label; the bezels stay black. */
.ecpick .laptop-device .laptop-header.ecpick-bar-top { justify-content: center; gap: 8px; padding: 9px 12px; background: #336387; color: white; font-family: var(--font-display); font-size: 16px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.ecpick-bar-top svg { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.ecpick-kicker { font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; color: #3b7eb2; }
.ecpick-day { font-family: var(--font-display); font-size: 20px; font-weight: 800; color: #0d1a24; letter-spacing: -0.01em; }
.ecpick-label { font-size: 11px; font-weight: 700; color: #6b7a89; margin: 12px 0 5px 2px; }
.ecpick-card { position: relative; display: flex; gap: 10px; background: white; border-radius: 10px; box-shadow: 0 1px 2px rgba(13,26,36,0.08), 0 0 0 1px #e1e6eb; padding: 11px 12px 11px 18px; min-height: 50px; transition: background 200ms; }
.ecpick-card.hovered { background: #f2f7fb; }
.ecpick-card.saved { animation: ecpickSaved 700ms ease; }
@keyframes ecpickSaved { 0% { box-shadow: 0 0 0 3px rgba(117,220,55,0.55), 0 1px 2px rgba(13,26,36,0.08); } 100% { box-shadow: 0 1px 2px rgba(13,26,36,0.08), 0 0 0 1px #e1e6eb; } }
.ecpick-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 6px; border-radius: 10px 0 0 10px; transition: background 400ms; }
.ecpick-card-main { flex: 1; min-width: 0; animation: ecpickFadeIn 320ms ease; }
/* The Flex Block card: its title swaps with a fade, while the form below it stays mounted and folds open and shut. */
.ecpick-card-main.still { display: flex; flex-direction: column; justify-content: center; animation: none; }
.ecpick-swap { display: flex; flex-direction: column; justify-content: center; min-height: 46px; animation: ecpickFadeIn 320ms ease; } /* 46px is the saved title and detail, so the swap doesn't change the card's height */
@keyframes ecpickFadeIn { from { opacity: 0; } to { opacity: 1; } }
.ecpick-day-next { margin-top: 16px; font-size: 16px; color: #47586a; }
.ecpick-form { z-index: 6; }
/* The Flex Block card holds the dropdown, so it sits above the cards after it (Friday). */
.ecpick-card.ecpick-flex { z-index: 4; min-height: 70px; } /* the same height as the Advisory cards, so Unscheduled to saved doesn't shift the cards below */
.ecpick-title { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: #0d1a24; }
.ecpick-unscheduled { color: #6b7a89; }
.ecpick-unscheduled svg, .ecpick-field svg, .ecpick-edit svg, .ecpick-toast svg, .ecpick-option .pin { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ecpick-meta { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: #47586a; margin-top: 3px; }
.ecpick-teacher { font-size: 12px; font-weight: 600; color: #0d1a24; white-space: nowrap; }
.ecpick-flex .ecpick-teacher { animation: ecpickFadeIn 320ms ease; }
.ecpick-edit { position: absolute; right: 14px; top: 50%; display: inline-flex; align-items: center; gap: 5px; padding: 5px 13px; border-radius: 999px; background: #2f7fb8; color: white; font-size: 12px; font-weight: 600; box-shadow: 0 0 15px rgba(0,0,0,0.28); opacity: 0; transform: translateY(-50%) scale(0.9); transition: opacity 180ms, transform 180ms; }
.ecpick-edit.show { opacity: 1; transform: translateY(-50%) scale(1); }
/* grid-template-rows 0fr to 1fr animates the form's height without knowing it. The dropdown is outside the clip, so
   it can still hang over the cards below. */
.ecpick-form { position: relative; display: grid; grid-template-rows: 0fr; margin-top: 0; transition: grid-template-rows 340ms cubic-bezier(0.4, 0, 0.2, 1), margin-top 340ms cubic-bezier(0.4, 0, 0.2, 1); }
.ecpick-form.open { grid-template-rows: 1fr; margin-top: 4px; }
.ecpick-form-clip { min-height: 0; overflow: hidden; padding-top: 12px; margin-top: -12px; } /* the field's label sits above its border, so the clip starts 12px higher (the margin gives the space back) */
.ecpick-form-inner { display: grid; gap: 10px; opacity: 0; transition: opacity 200ms ease; }
.ecpick-form.open .ecpick-form-inner { opacity: 1; transition: opacity 260ms ease 110ms; }
.ecpick-field { position: relative; padding: 12px 30px 9px 10px; font-size: 13px; color: #0d1a24; background: white; border-radius: 6px; }
/* Notched outline, the way MUI draws it: the legend cuts an even gap in the border on any background. */
.ecpick-outline { position: absolute; inset: -6px 0 0; margin: 0; padding: 0 7px; border: 1.5px solid #c4ccd4; border-radius: 6px; pointer-events: none; transition: border-color 150ms; }
.ecpick-outline legend { padding: 0 3px; font-size: 10.5px; line-height: 1; color: #6b7a89; transition: color 150ms; }
.ecpick-field.focused .ecpick-outline { border-color: #2f7fb8; }
.ecpick-field.focused .ecpick-outline legend { color: #2f7fb8; }
.ecpick-field-value.empty { color: #97a3ae; }
.ecpick-field svg { position: absolute; right: 9px; top: 50%; transform: translateY(-50%); color: #6b7a89; }
.ecpick-actions { display: flex; justify-content: flex-end; gap: 8px; }
.ecpick-btn { font-size: 12px; font-weight: 600; padding: 6px 14px; border-radius: 6px; background: #2f7fb8; color: white; }
.ecpick-btn.ghost { background: transparent; color: #2f7fb8; }
.ecpick-list { position: absolute; left: 0; right: 0; top: 44px; height: 0; overflow: hidden; background: white; border-radius: 6px; box-shadow: 0 10px 26px rgba(13,26,36,0.2), 0 0 0 1px #e1e6eb; opacity: 0; z-index: 5; transition: height 240ms ease, opacity 180ms; }
.ecpick-list.open { height: 160px; opacity: 1; }
.ecpick-list-inner { transition: transform 1700ms cubic-bezier(0.4, 0, 0.2, 1); }
.ecpick-list-inner.scrolled { transform: translateY(-64px); }
.ecpick-option { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; font-size: 12.5px; color: #0d1a24; white-space: nowrap; transition: background 150ms; }
.ecpick-option.active { background: #e3f0fa; }
.ecpick-option .pin { color: #2f7fb8; flex: 0 0 auto; }
.ecpick-toast { position: absolute; right: 14px; bottom: 16px; display: flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 6px; background: white; color: #1e4620; font-size: 12.5px; font-weight: 600; white-space: nowrap; box-shadow: 0 8px 22px rgba(13,26,36,0.18); border-left: 4px solid #2e7d32; opacity: 0; transform: translateY(14px); transition: opacity 300ms, transform 300ms; }
.ecpick-toast svg { color: #2e7d32; }
.ecpick-toast.show { opacity: 1; transform: translateY(0); }
.ecpick-cursor { position: absolute; left: 0; top: 0; z-index: 10; pointer-events: none; transition: transform 650ms cubic-bezier(0.45, 0.05, 0.25, 1); }
.ecpick-cursor svg { display: block; margin: -2px 0 0 -4px; filter: drop-shadow(0 2px 3px rgba(0,0,0,0.25)); }
.ecpick-cursor.wt-ptr { transition: none; will-change: transform; }
.ecpick-click { position: absolute; left: -14px; top: -14px; width: 28px; height: 28px; border-radius: 50%; background: rgba(47,127,184,0.4); opacity: 0; }
.ecpick-click.go { animation: ecpickClick 520ms ease-out; }
@keyframes ecpickClick { 0% { transform: scale(0.2); opacity: 0.9; } 100% { transform: scale(1.7); opacity: 0; } }
.ecpick-note { position: absolute; z-index: 12; width: 196px; padding: 9px 13px; border-radius: 12px; background: #fffdf6; box-shadow: 0 8px 22px rgba(13,26,36,0.18), 0 0 0 1px rgba(51,99,135,0.12); font-family: 'Caveat', cursive; font-size: 22px; font-weight: 600; line-height: 1.05; color: #336387; opacity: 0; transform: translateY(8px) rotate(-2deg); transition: opacity 350ms, transform 350ms; pointer-events: none; text-wrap: pretty; }
.ecpick-note.show { opacity: 1; transform: translateY(0) rotate(-2deg); }
.ecpick-arrows { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 12; pointer-events: none; overflow: visible; opacity: 0; transition: opacity 350ms; }
.ecpick-arrows.show { opacity: 1; }
.ecpick-arrows path { fill: none; stroke: #336387; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ecpick-arrows .line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: ecpickDraw 450ms ease-out forwards; }
.ecpick-arrows .head { opacity: 0; animation: ecpickHead 150ms 400ms ease-out forwards; }
@keyframes ecpickHead { to { opacity: 1; } }
@keyframes ecpickDraw { to { stroke-dashoffset: 0; } }
/* Both callouts sit over the Advisory card, where nothing happens during the demo. */
.ecpick-note-1 { left: 66px; top: 128px; }
.ecpick-note-2 { left: 228px; top: 128px; }
/* Above 960px the laptop is pinned to the right of a box wider (homepage) or narrower (/elasticclass) than it, so the callouts are pinned right too. */
@media (min-width: 961px) {
  .ecpick-note-1 { left: auto; right: 252px; }
  .ecpick-note-2 { left: auto; right: 90px; }
}
/* Narrow screens: keep the whole 470px laptop, centered and scaled to fit the column. */
@media (max-width: 960px) {
  .hero-visual.ecpick { width: 470px; height: 580px; left: 50%; margin-left: -235px; transform: none; }
}
@media (max-width: 640px) {
  .hero-visual.ecpick { transform: scale(0.74); transform-origin: top center; margin-bottom: -150px; }
}
@media (prefers-reduced-motion: reduce) {
  .ecpick-list-inner, .ecpick-cursor, .ecpick-note, .ecpick-toast, .ecpick-arrows { transition: none; }
  .ecpick-arrows .line { animation: none; stroke-dashoffset: 0; }
  .ecpick-arrows .head { animation: none; opacity: 1; }
  .ecpick-card-main, .ecpick-swap { animation: none; }
}

/* =========================================================================
   Hero walkthroughs (walkthrough.jsx), built on the ElasticClass hero (.ecpick):
   the same device frame, view bar, pointer, handwritten callouts and arrows.
   ========================================================================= */
.wt .wt-ico { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.wt-resetting .wt-stage > *:not(.ecpick-cursor, .ecpick-toast), .wt-resetting .wt-kiosk-body > *:not(.ecpick-cursor) { opacity: 0; transition: opacity 450ms ease; }
/* Not the pointer: its own rule glides it between targets with a transform transition, and this one would replace
   that with an opacity fade, so it would jump from spot to spot. */
.wt-stage > *:not(.ecpick-cursor, .ecpick-toast), .wt-kiosk-body > *:not(.ecpick-cursor) { transition: opacity 450ms ease, background 200ms; }
.wt-kiosk-body > .leaving, .wt-kiosk .wt-kiosk-foot.leaving { opacity: 0; transition: opacity 220ms ease; }
.ecpick-swap.leaving { opacity: 0; transition: opacity 250ms ease; }

/* ElasticPass: Teacher View of the Hall Monitor */
.wt-pass.ecpick .laptop-device .laptop-header.ecpick-bar-top { background: #35843c; }
.wt-pass .ecpick-arrows path { stroke: #35843c; }
.wt-pass .ecpick-click { background: rgba(53,132,60,0.38); }
.wt-pass .ecpick-device .ecpick-body.wt-stage { height: 470px; min-height: 0; padding: 0; background: white; }
.wt-mm { height: auto; overflow: visible; }
.wt-mm .mm-header { padding: 14px 16px 6px; }
.wt-mm .mm-title { font-size: 19px; }
.wt-mm .mm-section-title { padding: 8px 16px 4px; display: flex; align-items: center; gap: 7px; }
.wt-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #84cc6e; color: white; font-family: system-ui, sans-serif; font-size: 11px; font-weight: 800; }
.wt-mm .mm-cards { padding: 4px 16px 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 0; }
.wt-mm .mm-cards-active { min-height: 236px; }
.wt-ready { opacity: 0; transform: translateY(8px); transition: opacity 300ms ease, transform 300ms ease; }
.wt-ready.show { opacity: 1; transform: none; }
.mm-card.wt-fresh { animation: wtCardIn 520ms cubic-bezier(0.3, 1.25, 0.6, 1) both; }
@keyframes wtCardIn { from { opacity: 0; transform: translateY(14px) scale(0.96); } to { opacity: 1; transform: none; } }
.mm-card.wt-hover { background: #f4faf0; border-color: #b9e2a6; }
.wt-pass-note-1 { left: auto; right: 12px; top: 404px; width: 190px; }
.wt-pass-note-2 { left: auto; right: 12px; top: 270px; width: 196px; }


/* ElasticBadge: Visitor View on the kiosk */
.wt-tablet { position: absolute; right: 0; top: 22px; width: 470px; transform: rotate(1deg); }
.wt-tablet-screen { background: #0d1a24; border-radius: 22px; padding: 11px; box-shadow: 0 28px 50px rgba(13,26,36,0.28), 0 8px 18px rgba(13,26,36,0.16); }
.wt-kiosk .wt-bar { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 12px 12px 0 0; background: #b85f27; color: white; font-family: var(--font-display); font-size: 16px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.wt-kiosk-body { position: relative; height: 400px; padding: 12px 16px; background: #fffaf5; border-radius: 0 0 12px 12px; overflow: hidden; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #1a1410; }
.wt-tablet-stand { position: relative; width: 70px; height: 40px; margin: 0 auto; background: linear-gradient(90deg, #8a94a0, #c4ccd4 50%, #8a94a0); }
.wt-tablet-stand::after { content: ""; position: absolute; left: -60px; right: -60px; bottom: -10px; height: 12px; border-radius: 8px; background: linear-gradient(180deg, #c4ccd4, #8a94a0); }
.wt-kiosk .ecpick-arrows path { stroke: #b85f27; }
.wt-touch .ecpick-click { background: rgba(184,95,39,0.35); }
.wt-finger { position: absolute; left: -13px; top: -13px; width: 26px; height: 26px; border-radius: 50%; background: rgba(13,26,36,0.22); box-shadow: 0 0 0 2px rgba(255,255,255,0.9), 0 3px 8px rgba(0,0,0,0.25); }
.wt-steps { display: flex; gap: 6px; margin: 10px 0 2px; }
.wt-step { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 3px; border-radius: 999px; background: #f3e9df; color: #8a7a6c; font-size: 11px; font-weight: 700; transition: background 200ms ease, color 200ms ease; }
.wt-step .num { width: 17px; height: 17px; border-radius: 50%; display: grid; place-items: center; background: white; font-size: 10px; transition: background 200ms ease, color 200ms ease; }
.wt-step.done .num svg { animation: wtFadeFrom 200ms ease backwards; }
.wt-step.on { background: #df8448; color: white; }
.wt-step.on .num { color: #b85f27; }
.wt-step.done { background: #fbe6d6; color: #b85f27; }
.wt-step.done .num { background: #b85f27; color: white; }
.wt-screen { animation: wtScreenIn 360ms ease backwards; }
.wt-kiosk .wt-steps, .wt-kiosk .wt-kiosk-foot { animation: ecpickFadeIn 360ms ease backwards; }
@keyframes wtScreenIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.wt-h { font-family: var(--font-display); font-size: 25px; font-weight: 800; line-height: 1.1; margin: 10px 0 4px; }
.wt-h.sm { font-size: 20px; margin: 12px 0 10px; }
.wt-sub { font-size: 13px; color: #6b5b4e; margin-bottom: 16px; }
.wt-btn { display: inline-flex; align-items: center; gap: 7px; padding: 12px 26px; border-radius: 12px; background: #df8448; color: white; font-size: 15px; font-weight: 700; box-shadow: 0 6px 16px rgba(223,132,72,0.35); transition: transform 150ms, opacity 200ms; }
.wt-btn.sm { padding: 9px 18px; font-size: 13px; }
.wt-btn.off { opacity: 0.45; box-shadow: none; }
.wt-btn.pressed { transform: scale(0.96); }
.wt-foot { display: flex; justify-content: flex-end; margin-top: 14px; }
.wt-foot.center { justify-content: center; }
/* Visitor View rebuilt from the real kiosk in edlastics-ui (design audit 263, rewritten Nov 16 2026).
   Nothing on these screens mentions the registry check: the visitor isn't told about it. */
.wt-kiosk-head { display: flex; align-items: center; gap: 7px; padding-bottom: 8px; border-bottom: 1px solid #f0e2d4; }
.wt-kiosk-mark { width: 22px; height: 22px; display: block; }
.wt-kiosk-head b { font: 800 14px/1 var(--font-display); color: #b85f27; }
.wt-kiosk-head span { margin-left: auto; font-size: 11px; font-weight: 700; color: #8a7a6c; }
.wt-welcome { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 30px; }
.wt-welcome-logo { width: 62px; height: 62px; display: block; margin-bottom: 6px; }
.wt-welcome .wt-h { margin: 4px 0 16px; }
.wt-btn.ghost { margin-top: 10px; padding: 10px 20px; background: white; color: #b85f27; font-size: 13.5px; box-shadow: 0 0 0 1.5px #e7c3a6; }
.wt-kiosk .wt-h.sm { margin: 8px 0 2px; }
.wt-kiosk .wt-sub { margin-bottom: 10px; font-size: 12px; }
/* The scanner hint folds shut (rows 1fr to 0fr, with its margin) when the fields fill in. The 2px of padding
   inside a matching negative margin leaves room for the "scanning" ring, which overflow would otherwise clip. */
.wt-collapse { display: grid; grid-template-rows: 1fr; margin-bottom: 8px; transition: grid-template-rows 360ms cubic-bezier(0.4, 0, 0.2, 1), margin-bottom 360ms cubic-bezier(0.4, 0, 0.2, 1), opacity 240ms ease; }
.wt-collapse > div { min-height: 0; overflow: hidden; margin: -2px; padding: 2px; }
.wt-collapse.shut { grid-template-rows: 0fr; margin-bottom: 0; opacity: 0; }
.wt-scanhint { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; background: #f6efe8; color: #6b5b4e; font-size: 11.5px; font-weight: 600; transition: box-shadow 200ms; }
.wt-scanhint .wt-ico { color: #b85f27; }
.wt-scanhint.scanning { box-shadow: 0 0 0 1.5px #df8448; }
.wt-scanhint.scanning .wt-ico { animation: wtBlink 500ms ease-in-out infinite alternate; }
@keyframes wtBlink { to { opacity: 0.25; } }
.wt-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wt-fields .wt-field:nth-child(3) { grid-column: 1 / -1; }
.wt-field { display: grid; gap: 1px; padding: 6px 10px 7px; border-radius: 8px; background: white; box-shadow: 0 0 0 1px #e6d9cc; transition: box-shadow 300ms ease, background 300ms ease; }
.wt-field small { font-size: 10px; font-weight: 600; color: #8a7a6c; }
.wt-field b { min-height: 16px; font-size: 13px; color: #1a1410; }
.wt-field.filled b { animation: ecpickFadeIn 220ms ease backwards; }
.wt-field.filled:nth-child(2) b { animation-delay: 60ms; }
.wt-field.filled:nth-child(3) b { animation-delay: 120ms; }
.wt-field.filled { background: #fffaf5; box-shadow: 0 0 0 1.5px #efc6a4; }
.wt-kiosk .wt-foot { margin-top: 10px; }
.wt-details { display: grid; grid-template-columns: 112px minmax(0, 1fr); overflow: hidden; border-radius: 12px; background: white; box-shadow: 0 0 0 1px #e6d9cc; }
.wt-details-who { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 8px; background: #f8f2ec; border-right: 1px solid #efe3d7; text-align: center; }
.wt-details-who img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.wt-details-who b { font-size: 12px; }
.wt-details-who small { font-size: 10px; color: #8a7a6c; }
.wt-details-form { display: grid; align-content: start; gap: 7px; padding: 10px 12px; }
.wt-details-label { font-size: 11px; font-weight: 600; color: #6b5b4e; }
.wt-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.wt-chip { padding: 4px 10px; border-radius: 999px; background: white; color: #4a3d33; font-size: 11px; font-weight: 600; box-shadow: 0 0 0 1px #d9c7b6; transition: background 200ms, color 200ms, box-shadow 200ms; }
.wt-chip.on { background: #df8448; color: white; box-shadow: none; }
.wt-details-more { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; opacity: 0; transform: translateY(-6px); transition: opacity 300ms ease, transform 300ms ease; }
.wt-details-more.show { opacity: 1; transform: none; }
.wt-waiting { display: grid; place-items: center; height: 300px; }
.wt-spinner { width: 66px; height: 66px; border-radius: 50%; border: 6px solid #f3e1d2; border-top-color: #df8448; animation: wtSpin 900ms linear infinite; }
@keyframes wtSpin { to { transform: rotate(360deg); } }
.wt-spin-box { display: grid; }
.wt-kiosk-foot { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; padding: 8px 14px; border-top: 1px solid #f0e2d4; background: #fbf5ef; }
/* In the hero the footer holds its height on the ID and Photo screens (so it never covers Take photo) and grows to fit the
   Check in button on Details. Setting the height lets it grow smoothly; left to its content it would jump. */
.wt-kiosk .wt-kiosk-foot { box-sizing: border-box; height: 34px; transition: height 320ms cubic-bezier(0.4, 0, 0.2, 1); }
.wt-kiosk .wt-kiosk-foot.tall { height: 55px; }
.wt-foot-link { display: inline-flex; align-items: center; gap: 5px; color: #9a8a7c; font-size: 11.5px; font-weight: 600; }
.wt-foot-link.dark { color: #4a3d33; }
.wt-foot-right { display: inline-flex; align-items: center; gap: 12px; }
.wt-kiosk .wt-foot-right > * { animation: wtFadeFrom 300ms ease backwards; }
@keyframes wtFadeFrom { from { opacity: 0; } }
.wt-kiosk-note-1 { left: auto; right: 250px; top: 388px; width: 180px; }
.wt-kiosk-note-2 { left: auto; right: 248px; top: 396px; width: 200px; }
.wt-kiosk-note-3 { left: auto; right: 140px; top: 382px; width: 196px; }
.wt-kiosk-note-4 { left: auto; right: 16px; top: 374px; width: 180px; }
.wt-frame { position: relative; margin: 0 auto; border-radius: 14px; background: #2b2420; overflow: hidden; }
.wt-frame.face { width: 200px; height: 176px; }
.wt-frame.face img { width: 100%; height: 100%; object-fit: cover; opacity: 0.82; filter: saturate(0.85); }
.wt-frame.face.snapped img { opacity: 1; filter: none; }
.wt-oval { position: absolute; left: 50%; top: 50%; width: 112px; height: 140px; margin: -70px 0 0 -56px; border-radius: 50%; border: 3px dashed rgba(255,255,255,0.75); }
.wt-frame.face.snapped .wt-oval { border-style: solid; border-color: #84cc6e; }
.wt-flash { position: absolute; inset: 0; background: white; opacity: 0; pointer-events: none; }
.wt-frame.face.snapped .wt-flash { animation: wtFlash 420ms ease-out; }
@keyframes wtFlash { 0% { opacity: 0.9; } 100% { opacity: 0; } }

/* Homepage: product tabs over the three walkthroughs */
.wt-suite { position: relative; height: 620px; }
.wt-suite-tabs { position: relative; z-index: 14; display: flex; justify-content: flex-end; gap: 6px; }
.wt-suite-tab { position: relative; overflow: hidden; padding: 7px 14px 9px; border: 0; border-radius: 999px; background: white; color: #47586a; font: 700 13px/1 var(--font-display); letter-spacing: 0.02em; box-shadow: 0 0 0 1px #dde3e9; cursor: pointer; }
.wt-suite-tab.on { color: var(--c); box-shadow: 0 0 0 1.5px var(--c); }
.wt-suite-tab:focus-visible { outline: 2px solid var(--c); outline-offset: 2px; }
.wt-suite-progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--c); transform-origin: left; animation: wtProgress linear both; transition: opacity 200ms ease; }
.wt-suite-tabs.held .wt-suite-progress, .wt-suite-progress.leaving { opacity: 0; }
@keyframes wtProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.wt-suite-stages { display: grid; }
.wt-suite-stage { position: relative; grid-area: 1 / 1; }
.wt-suite-stage-in { animation: wtStageIn 420ms ease both; }
@keyframes wtStageIn { from { opacity: 0; transform: translateX(6px); } }
.wt-suite-stage.leaving { pointer-events: none; animation: wtFadeOut 240ms 140ms ease both; }
.wt-suite-stage.leaving :is(.ecpick-cursor, .ecpick-note, .ecpick-arrows) { opacity: 0; transition: opacity 120ms ease; }

/* Homepage headline: "One system for ___" */
.wt-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero h1.wt-flip-h1 { font-size: clamp(40px, 4.8vw, 64px); }
.wt-flip { position: relative; display: block; height: 1.12em; overflow: hidden; }
.wt-flip-word { display: block; white-space: nowrap; }
.wt-flip-word.in { animation: wtFlipIn 560ms cubic-bezier(0.3, 1.2, 0.6, 1) both; }
.wt-flip-word.out { position: absolute; left: 0; top: 0; animation: wtFlipOut 380ms ease-in both; }
@keyframes wtFlipIn { from { transform: translateY(70%); opacity: 0; filter: blur(3px); } to { transform: none; opacity: 1; filter: none; } }
@keyframes wtFlipOut { from { transform: none; opacity: 1; } to { transform: translateY(-70%); opacity: 0; filter: blur(3px); } }
.wt-flip-word.p-pass { color: #4f9c3f; }
.wt-flip-word.p-class { color: #3b7eb2; }
.wt-flip-word.p-badge { color: #c96f35; }

@media (max-width: 960px) {
  .hero-visual.wt { width: 470px; height: 580px; left: 50%; margin-left: -235px; transform: none; }
  .wt-suite { width: 470px; margin: 0 auto; }
  .wt-suite .hero-visual.wt, .wt-suite .hero-visual.ecpick { left: 0; margin-left: 0; }
  .wt-suite-tabs { justify-content: center; }
}
@media (max-width: 640px) {
  .hero-visual.wt { transform: scale(0.74); transform-origin: top center; margin-bottom: -150px; }
  .wt-suite { transform: scale(0.74); transform-origin: top center; margin-bottom: -160px; }
  .wt-suite .hero-visual.wt, .wt-suite .hero-visual.ecpick { transform: none; margin-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .wt-screen, .mm-card.wt-fresh, .wt-details-more, .wt-flip-word, .wt-suite-stage, .wt-suite-stage-in, .wt-field.filled b, .wt-step.done .num svg, .wt-kiosk .wt-foot-right > *, .wt-kiosk .wt-steps, .wt-kiosk .wt-kiosk-foot { animation: none !important; transition: none !important; opacity: 1; }
  .wt-suite-progress { display: none; }
  .wt-scanline { display: none; }
}

/* ElasticPass Student View (walkthrough.jsx, StudentPassHero), from edlastics-ui apps/elastic-pass */
.wt-sp .ecpick-device .ecpick-body.wt-stage { background: #f5f7fa; }
.wt-sp-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px 4px; }
.wt-sp-title { font-family: var(--font-display); font-size: 24px; font-weight: 800; color: #0d1a24; }
.wt-sp-new { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 8px; background: #2e7d32; color: white; font-size: 13px; font-weight: 700; box-shadow: 0 2px 6px rgba(46,125,50,0.3); transition: background 150ms; }
.wt-sp-new.hover { background: #256b29; }
.wt-sp-who { display: flex; align-items: center; gap: 8px; margin: 2px 16px 0; }
.wt-sp-who b { display: block; font-size: 12px; color: #0d1a24; line-height: 1.1; }
.wt-sp-who small { display: block; font-size: 10.5px; color: #6b7a89; }
.wt-sp-avatar { background: #4f9c3f; }
.wt-sp-section { margin: 16px 16px 6px; font-family: var(--font-display); font-size: 15px; font-weight: 800; color: #0f1f0c; }
.wt-sp-empty { margin: 0 16px; height: 120px; border-radius: 10px; border: 1.5px dashed #d5dde4; }
.wt-dlg-back { position: absolute; inset: 0; z-index: 4; background: rgba(13,26,36,0.32); animation: ecpickFadeIn 250ms ease both; }
.wt-dlg { position: absolute; left: 14px; right: 14px; top: 12px; z-index: 5; padding: 14px 16px 14px; border-radius: 12px; background: white; box-shadow: 0 18px 40px rgba(13,26,36,0.3); font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; animation: wtDlgIn 320ms cubic-bezier(0.3, 1.2, 0.6, 1) both; }
@keyframes wtDlgIn { from { opacity: 0; transform: translateY(10px) scale(0.97); } to { opacity: 1; transform: none; } }
.wt-dlg-title { font-family: var(--font-display); font-size: 18px; font-weight: 800; color: #0d1a24; margin-bottom: 8px; }
.wt-sp .wt-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.wt-sp .wt-chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: #ebebeb; color: #2b3640; font-size: 12px; font-weight: 600; }
.wt-sp .wt-chip.sched { background: #e3f0fa; color: #2f6f9e; }
.wt-sp .wt-chip.on { background: #e8f5e9; color: #1e4620; box-shadow: inset 0 0 0 1.5px #66bb6a; }
.wt-sp-label { margin: 10px 0 5px; font-size: 11.5px; font-weight: 700; color: #47586a; }
.wt-journey { display: inline-flex; margin: 10px 0 12px; border-radius: 8px; box-shadow: inset 0 0 0 1px #c4ccd4; overflow: hidden; }
.wt-journey span { padding: 5px 12px; font-size: 12px; font-weight: 600; color: #47586a; }
.wt-journey span.on { background: #2e7d32; color: white; }
.wt-sp .ecpick-field.focused .ecpick-outline { border-color: #2e7d32; }
.wt-sp .ecpick-field.focused .ecpick-outline legend { color: #2e7d32; }
.wt-sp-field { z-index: 6; }
.wt-sp .ecpick-list.wt-sp-list { top: 40px; }
.wt-sp .ecpick-list.wt-sp-list.open { height: 166px; }
.wt-sp .ecpick-option { justify-content: space-between; }
.wt-sp .ecpick-option.active { background: #e8f5e9; }
.wt-star { color: #b8c2cc; font-size: 13px; }
.wt-star.fav { color: #f2b01e; }
.wt-sp-after { display: flex; align-items: flex-end; gap: 12px; margin-top: 12px; opacity: 0; transform: translateY(6px); transition: opacity 300ms ease, transform 300ms ease; }
.wt-sp-after.show { opacity: 1; transform: none; transition-delay: 160ms; }
.wt-sp-duration { width: 110px; flex: 0 0 auto; }
.wt-limits { display: flex; gap: 14px; padding: 6px 10px; border-radius: 8px; background: #f5f7fa; }
.wt-limits small { display: block; font-size: 10.5px; color: #6b7a89; }
.wt-limits b { display: block; font-size: 15px; color: #0d1a24; }
.wt-sp-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.wt-sp-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 8px; background: #2e7d32; color: white; font-size: 12.5px; font-weight: 700; transition: background 150ms, opacity 200ms; }
.wt-sp-btn.outline { background: transparent; color: #2e7d32; box-shadow: inset 0 0 0 1.5px #66bb6a; }
.wt-sp-btn.off { opacity: 0.45; }
.wt-sp-btn.hover { background: #256b29; }
.wt-sp-active { position: absolute; inset: 0; z-index: 7; display: grid; place-items: center; background: radial-gradient(circle, rgb(240 255 235) 0%, rgba(0, 204, 0, 0.5) 100%); animation: ecpickFadeIn 380ms ease both; }
.wt-sp-active.leaving { animation: wtFadeOut 420ms ease both; }
@keyframes wtFadeOut { from { opacity: 1; } to { opacity: 0; } }
.wt-dlg.leaving { animation: wtFadeOut 380ms ease both; }
.wt-dlg-back.leaving { animation: wtFadeOut 380ms 200ms ease both; }
.wt-sp-card { display: grid; justify-items: center; gap: 4px; padding: 20px 44px 16px; border-radius: 16px; background: #f5f5f5; box-shadow: 0 10px 28px rgba(13,26,36,0.22); animation: wtDlgIn 420ms cubic-bezier(0.3, 1.2, 0.6, 1) both; }
.wt-sp-ring { position: relative; width: 104px; height: 104px; }
.wt-sp-ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.wt-sp-ring circle { fill: none; stroke-width: 7; }
.wt-sp-ring .track { stroke: #dfe6dc; }
.wt-sp-ring .bar { stroke: rgb(0, 204, 0); stroke-linecap: round; }
.wt-sp-ring-face { position: absolute; inset: 12px; border-radius: 50%; display: grid; place-items: center; background: #65A6D8; color: white; font-family: var(--font-display); font-size: 26px; font-weight: 800; }
.wt-sp-name { margin-top: 6px; font-family: var(--font-display); font-size: 22px; font-weight: 800; color: #0d1a24; }
.wt-sp-time { font-size: 26px; font-weight: 700; color: #0d1a24; font-variant-numeric: tabular-nums; }
.wt-sp-end { display: inline-flex; align-items: center; justify-content: center; gap: 7px; width: 100%; margin-top: 8px; padding: 8px 16px; border-radius: 8px; background: #d32f2f; color: white; font-size: 13px; font-weight: 700; transition: background 150ms ease; }
.wt-sp-end.hover { background: #b71c1c; }
.ecpick-toast.wt-toast-top { top: 12px; bottom: auto; right: auto; left: 50%; z-index: 9; transform: translate(-50%, -10px); }
.ecpick-toast.wt-toast-top.show { transform: translate(-50%, 0); }
.wt-sp-note-1 { left: auto; right: 24px; top: 236px; width: 200px; }
/* Below the form on the left, so its arrow reaches the limits without crossing Create & Start. */
.wt-sp-note-2 { left: auto; right: 248px; top: 430px; width: 196px; }
/* Clear of the "Pass started" toast, which is centered at the top of the screen. */
.wt-sp-note-3 { left: auto; right: 312px; top: 74px; width: 150px; }
@media (prefers-reduced-motion: reduce) { .wt-dlg, .wt-dlg-back, .wt-sp-active, .wt-sp-card { animation: none; } .wt-dlg.leaving, .wt-dlg-back.leaving { display: none; } }

/* Homepage headline roller: "One system for" over a drum of phrases (walkthrough.jsx, RotatingPhrase).
   Rows are 1.12em tall, 25 degrees apart on a 2.05em drum; the rows next to the window are scaled down. */
.wt-wheel-lead { display: block; }
.wt-wheel { --wt-r: 2.05em; position: relative; display: block; height: 3.5em; margin: 0.06em 0 0.1em; font-size: 0.88em; perspective: 900px; perspective-origin: 40% 50%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 8%, #000 92%, transparent 100%); }
.wt-wheel-window { position: absolute; left: -0.22em; width: 8em; top: 50%; height: 1.16em; transform: translateY(-50%); transition: width 700ms cubic-bezier(0.22, 1, 0.36, 1); border-radius: 0.28em; background: rgba(15, 31, 12, 0.045); box-shadow: inset 0 1px 0 rgba(15, 31, 12, 0.08), inset 0 -1px 0 rgba(15, 31, 12, 0.08); }
.wt-wheel-drum { position: absolute; left: 0; right: 0; top: 50%; height: 0; transform-style: preserve-3d; transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1); }
.wt-wheel-row { position: absolute; left: 0; top: -0.56em; height: 1.12em; line-height: 1.12em; white-space: nowrap; transform-origin: 0 50%; backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1); }
.wt-wheel-row.p-pass { color: #4f9c3f; }
.wt-wheel-row.p-class { color: #3b7eb2; }
.wt-wheel-row.p-badge { color: #c96f35; }
@media (prefers-reduced-motion: reduce) { .wt-wheel-drum, .wt-wheel-row, .wt-wheel-window { transition: none; } }

/* Homepage hero (user, Nov 16 2026): the headline across the top with the roller to the right of
   "One system for"; under it, the lead, buttons and product list on the left and the walkthrough on the
   right, so the walkthrough is in view without scrolling. */
.hero.hero-stacked { padding: 30px 0 72px; }
.hero-stacked .hero-top { display: flex; flex-direction: column; align-items: flex-start; }
.hero-stacked .hero-top .eyebrow::after { display: none; }
.hero h1.wt-roller-h1 { display: flex; align-items: center; column-gap: 0.3em; margin: 4px 0 2px; font-size: clamp(40px, 4.3vw, 60px); }
.wt-roller-h1 .wt-wheel-lead { white-space: nowrap; }
.wt-roller-h1 .wt-wheel { flex: 0 0 9.2em; margin: 0; font-size: 1em; }
.wt-split { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 560px; column-gap: 40px; align-items: start; }
.wt-split-copy { padding-top: 22px; }
.hero-stacked p.lede { max-width: 500px; margin: 0 0 26px; }
.wt-split-demo .wt-suite { width: 560px; height: 590px; }
/* The product list doubles as the walkthrough tabs. */
.wt-suite-list { flex-direction: column; align-items: stretch; gap: 8px; max-width: 400px; margin-top: 36px; }
.wt-suite-list .wt-suite-tab { display: grid; grid-template-columns: 38px 1fr; grid-template-rows: auto auto; column-gap: 14px; row-gap: 3px; align-items: center; padding: 11px 16px 13px 12px; border-radius: 14px; text-align: left; letter-spacing: 0; color: var(--eb-ink); background: rgba(255, 255, 255, 0.62); box-shadow: 0 0 0 1px #e1e7ec; transition: background 200ms ease, box-shadow 200ms ease; }
.wt-suite-list .wt-suite-tab:hover { background: white; }
.wt-suite-list .wt-suite-tab.on { background: white; box-shadow: 0 0 0 1.5px var(--c), 0 10px 24px rgba(15, 31, 12, 0.08); }
.wt-suite-mark { grid-row: 1 / span 2; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: white; box-shadow: 0 0 0 1px #e1e7ec; }
.wt-suite-mark img { width: 66%; height: 66%; display: block; }
.wt-suite-name { align-self: end; font: 700 16px/1.1 var(--font-display); transition: color 200ms ease; }
.wt-suite-tab.on .wt-suite-name { color: var(--c); }
.wt-suite-desc { align-self: start; font-size: 13px; line-height: 1.25; font-weight: 600; color: #5d6b78; }
@media (max-width: 1100px) {
  .wt-split { grid-template-columns: minmax(0, 1fr) 500px; column-gap: 28px; }
  .wt-split-demo .wt-suite { transform: scale(0.893); transform-origin: top left; margin-bottom: -63px; }
}
@media (max-width: 960px) {
  .hero-stacked .hero-top { align-items: center; text-align: center; }
  .hero-stacked .hero-top .eyebrow::after { display: block; }
  .hero h1.wt-roller-h1 { flex-direction: column; align-items: center; gap: 0.05em; }
  .wt-roller-h1 .wt-wheel { flex: none; width: min(8.9em, 100%); font-size: 0.86em; }
  .wt-split { grid-template-columns: minmax(0, 1fr); }
  .wt-split-copy { padding-top: 8px; text-align: center; }
  .hero-stacked p.lede { max-width: 620px; margin: 0 auto 24px; }
  .hero-stacked .hero-cta { justify-content: center; }
  .wt-suite-list { flex-direction: row; flex-wrap: wrap; justify-content: center; max-width: none; margin: 30px 0 18px; }
  .wt-suite-list .wt-suite-tab { grid-template-columns: 28px auto; grid-template-rows: auto; column-gap: 8px; padding: 6px 14px 8px 6px; border-radius: 999px; }
  .wt-suite-list .wt-suite-mark { grid-row: auto; width: 28px; height: 28px; }
  .wt-suite-list .wt-suite-desc { display: none; }
  .wt-suite-list .wt-suite-name { align-self: center; font-size: 14px; }
  .wt-suite-list .wt-suite-progress { left: 14px; width: calc(100% - 28px); bottom: 2px; border-radius: 2px; }
  .wt-split-demo { display: flex; justify-content: center; }
  .wt-split-demo .wt-suite { flex: none; width: 470px; height: 600px; margin: 0; transform: none; }
}
@media (max-width: 640px) {
  .wt-split-demo .wt-suite { transform: scale(0.74); transform-origin: top center; margin-bottom: -156px; }
}

/* Homepage roller over the product cards (design audit 260A, picked Nov 16 2026). The roller turns only
   while it's on screen and lights the card for the product it names; the hero headline holds still. */
.hero h1.wt-static-h1 { margin: 4px 0 2px; max-width: 980px; font-size: clamp(34px, 3.6vw, 52px); line-height: 1.08; text-wrap: balance; }
.hero h1.wt-static-h1 .wt-flip-word { display: inline; position: static; transform: none; opacity: 1; animation: none; }
.wt-roller-h2 { display: flex; align-items: center; column-gap: 0.3em; }
.wt-roller-h2 .wt-wheel-lead { white-space: nowrap; }
.wt-roller-h2 .wt-wheel { flex: 0 0 9.2em; margin: 0; font-size: 1em; }
#products .section-head { text-align: left; margin-left: 0; margin-right: 0; max-width: 820px; }
#products .section-head .section-sub { margin-left: 0; }
#products:not([data-lit="none"]) .prod-card:not(:hover) { transition: all 260ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 700ms ease, transform 700ms ease; }
#products[data-lit="pass"] .prod-card[data-name="ElasticPass"]:not(:hover),
#products[data-lit="class"] .prod-card[data-name="ElasticClass"]:not(:hover),
#products[data-lit="badge"] .prod-card[data-name="ElasticBadge"]:not(:hover) { box-shadow: 0 0 0 2px var(--prod-primary-deep), 0 18px 40px var(--prod-shadow); transform: translateY(-3px); }
#products[data-lit="pass"] .prod-card[data-name="ElasticPass"]:hover,
#products[data-lit="class"] .prod-card[data-name="ElasticClass"]:hover,
#products[data-lit="badge"] .prod-card[data-name="ElasticBadge"]:hover { box-shadow: 0 0 0 2px var(--prod-primary-deep), 0 24px 48px rgba(15,26,36,0.12); }
#products:not([data-lit="none"]) .prod-card:hover { transition: all 260ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 700ms ease; }
@media (max-width: 640px) {
  .wt-roller-h2 { flex-direction: column; align-items: flex-start; }
  .wt-roller-h2 .wt-wheel { flex: none; width: 100%; font-size: 0.86em; }
}
@media (prefers-reduced-motion: reduce) { #products:not([data-lit="none"]) .prod-card:not(:hover) { transition: none; } }

/* "Try it yourself" under the ElasticPass and ElasticClass hero walkthroughs, down to the live demo
   (design audit 238, picked Nov 16 2026). */
.wt-hero-col { position: relative; min-width: 0; }
.wt-try { position: absolute; top: 556px; right: 0; width: 470px; text-align: center; font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--eb-primary-700); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.wt-try:hover { color: var(--eb-ink); }
@media (max-width: 960px) { .wt-try { position: static; display: block; width: auto; margin: 10px auto 0; } }

/* A small copy of the kiosk's last screen (KioskBadge in edlastics-ui) for picture slots: the homepage
   ElasticBadge card (282) and ElasticBadge How it works step 3 (280B), both picked Nov 16 2026. */
.wt-mini { display: grid; gap: 7px; width: 206px; padding: 10px 11px 11px; border-radius: 12px; background: white; box-shadow: 0 10px 24px rgba(26,20,16,0.14), 0 0 0 1px #eadccf; color: #1a1410; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; text-align: left; }
.wt-mini-title { display: flex; align-items: center; gap: 6px; font: 800 13.5px/1.1 var(--font-display); }
.wt-mini .wt-ico { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
/* ElasticBadge How it works: close-ups of the kiosk screens (item 239A) */
.step .visual.wt-stepvis { height: 184px; }
.wt-stepart { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; background: #fbf1e6; }
.wt-close { width: 214px; }
.wt-close .wt-mini-title { font-size: 12.5px; }
.wt-close .wt-fields { gap: 6px; }
.wt-close .wt-field { padding: 4px 8px 5px; }
.wt-close .wt-field small { font-size: 9.5px; }
.wt-close .wt-field b { min-height: 14px; font-size: 12px; }
.wt-close-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.wt-close-details .wt-field:first-child { background: #fff4ea; box-shadow: 0 0 0 2px #df8448; }
.wt-close-waiting { width: 150px; padding: 16px 0; place-items: center; background: #fffaf5; }
.wt-close .wt-waiting { height: auto; }
.wt-close .wt-spinner { width: 44px; height: 44px; border-width: 5px; }
.wt-stepnote { position: relative; z-index: 2; max-width: 196px; margin-top: -6px; padding: 5px 11px 6px; border-radius: 10px; background: #fffdf6; box-shadow: 0 6px 16px rgba(26,20,16,0.14), 0 0 0 1px rgba(184,95,39,0.16); color: #8a4c24; font-family: 'Caveat', cursive; font-size: 19px; font-weight: 600; line-height: 1.05; text-align: center; transform: rotate(-2deg); }
@media (prefers-reduced-motion: reduce) { .wt-stepart .wt-spinner { animation: none; } }

/* "Try the kiosk yourself": the kiosk rebuilt from the real app (design audit 221, live Nov 17 2026). It reuses the
   Visitor View screens above at a larger size, with real buttons and fields. */
.wt-kd { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.wt-kd-device { position: relative; }
.wt-kd .wt-tablet { position: relative; right: auto; top: auto; transform: none; zoom: 1.25; }
.wt-kd .wt-kiosk-body { height: 430px; }
.wt-kd button { border: 0; cursor: pointer; font-family: inherit; line-height: 1.2; }
.wt-kd .wt-chip, .wt-kd .wt-chip[aria-pressed] { padding: 4px 10px; border-radius: 999px; background: white; color: #4a3d33; font-size: 11px; font-weight: 600; box-shadow: 0 0 0 1px #d9c7b6; outline: none; }
.wt-kd .wt-chip.on, .wt-kd .wt-chip.on[aria-pressed] { background: #df8448; color: white; box-shadow: none; }
.wt-kd .wt-foot-link { font-size: 11.5px; font-weight: 600; }
.wt-kd .wt-kd-sample { font-size: 11px; font-weight: 700; }
.wt-kd .wt-kd-text { font-size: 12.5px; font-weight: 600; }
.wt-kd .wt-btn { font-size: 15px; }
.wt-kd .wt-btn.sm { font-size: 13px; }
.wt-kd .wt-btn:disabled { opacity: 0.45; box-shadow: none; cursor: default; }
.wt-kd .wt-btn:focus-visible, .wt-kd .wt-chip:focus-visible, .wt-kd .wt-foot-link:focus-visible, .wt-kd-sample:focus-visible, .wt-kd-text:focus-visible { outline: 2px solid #2a6fa3; outline-offset: 2px; }
.wt-kd .wt-chip { cursor: pointer; }
.wt-kd .wt-foot-link { background: none; padding: 2px 0; }
.wt-kd .wt-field { cursor: text; }
.wt-kd .wt-field:focus-within { box-shadow: 0 0 0 2px #df8448; }
.wt-kd .wt-field input, .wt-kd .wt-field select { width: 100%; min-width: 0; padding: 0; border: 0; background: transparent; color: #1a1410; font: 700 13px/1.25 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; outline: none; }
.wt-kd .wt-field input::placeholder { color: #a99a8c; font-weight: 500; }
.wt-kd .wt-scanhint { flex-wrap: wrap; }
.wt-kd-sample { margin-left: auto; padding: 4px 10px; border-radius: 999px; background: white; color: #8a4c24; font-size: 11px; font-weight: 700; box-shadow: 0 0 0 1px #e7c3a6; }
.wt-kd-center { display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: 18px; text-align: center; }
.wt-kd-center .wt-sub { margin-bottom: 4px; }
/* The one-line "You're checked in" screen and mini (221), and the sample license button beside the ID heading. */
.wt-done-clean { padding-top: 34px; gap: 4px; }
.wt-done-clean .wt-h { margin: 12px 0 2px; }
.wt-done-clean .wt-sub { margin-bottom: 14px; font-size: 14px; }
.wt-done-face { position: relative; display: block; width: 84px; height: 84px; }
.wt-done-face img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px white, 0 6px 16px rgba(26,20,16,0.16); }
.wt-done-tick { position: absolute; right: -2px; bottom: -2px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #2e7d32; color: white; box-shadow: 0 0 0 3px white; }
.wt-done-face.sm { width: 46px; height: 46px; margin: 2px auto 0; }
.wt-done-face.sm .wt-done-tick { width: 18px; height: 18px; box-shadow: 0 0 0 2px white; }
.wt-mini-clean { justify-items: center; text-align: center; }
.wt-mini-clean small { color: #6b5b4e; font-size: 10.5px; font-weight: 600; line-height: 1.35; }
.wt-kd-title-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; margin-bottom: 4px; }
.wt-kd-title-row .wt-h.sm { margin: 12px 0 8px; }
.wt-kd-title-row .wt-kd-sample { margin-left: 0; display: inline-flex; align-items: center; gap: 6px; }
.wt-kd-camera { display: grid; place-items: center; width: 190px; height: 130px; border-radius: 14px; background: #2b2420; color: #f6c39b; }
.wt-kd-text { background: none; color: #6b5b4e; font-size: 12.5px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.wt-kd-wait { margin-top: 14px; font: 800 18px/1.2 var(--font-display); color: #1a1410; }
.wt-kd .wt-waiting { flex-direction: column; }
.wt-kd-bell { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #fbe6d6; color: #b85f27; }
.wt-kd-controls { display: grid; justify-items: center; gap: 6px; max-width: 560px; text-align: center; }
.wt-kd-controls p { margin: 0; font-size: 14px; color: var(--ink-600); }
.wt-kd-switch { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border: 0; border-radius: 999px; background: white; color: var(--eb-ink); font: 600 14px/1.2 var(--font-body, inherit); box-shadow: 0 0 0 1px var(--border-1); cursor: pointer; }
/* The registry demo's button and switch sit side by side and wrap on phones (design audit 289). */
.bgc-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.wt-kd-switch .wt-kd-knob { position: relative; width: 38px; height: 22px; border-radius: 999px; background: #d9cfc6; transition: background 200ms ease; }
.wt-kd-switch .wt-kd-knob::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: white; box-shadow: 0 1px 3px rgba(0,0,0,0.2); transition: transform 200ms ease; }
.wt-kd-switch.on .wt-kd-knob { background: #b85f27; }
.wt-kd-switch.on .wt-kd-knob::after { transform: translateX(16px); }
.wt-kd-switch:focus-visible { outline: 2px solid #2a6fa3; outline-offset: 2px; }
@media (max-width: 640px) { .wt-kd .wt-tablet { zoom: 0.72; } }
@media (min-width: 641px) and (max-width: 960px) { .wt-kd .wt-tablet { zoom: 1.05; } }

/* A block that folds open and shut without a known height (grid rows 0fr to 1fr), so what is below it glides
   instead of jumping. The block's margin goes inside, on its first child, so it folds too. */
.fold { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 320ms cubic-bezier(0.4, 0, 0.2, 1), opacity 240ms ease; }
.fold.open { grid-template-rows: 1fr; opacity: 1; }
.fold > div { min-height: 0; overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .fold { transition: none; } }
