/* === shared.css === */
/* Shared hero utilities (used by multiple page heroes) */
.ops-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.ops-glow-a {
  width: 180px; height: 180px;
  top: -40px; right: -30px;
  background: rgba(255, 139, 101, 0.28);
  animation: glowDrift 8s ease-in-out infinite alternate;
}
.ops-glow-b {
  width: 200px; height: 200px;
  bottom: -60px; left: -40px;
  background: rgba(0, 91, 113, 0.18);
  animation: glowDrift 10s ease-in-out infinite alternate-reverse;
}
@keyframes glowDrift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(12px, 8px) scale(1.08); }
}
.ops-merge-brand {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-teal-dark);
  letter-spacing: -0.02em;
}
.ops-merge-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-success);
}
.hero-dash-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  animation: dashPulse 1.6s ease-out infinite;
}
@keyframes dashPulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
@keyframes kpiPop {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(-1px); opacity: 0.92; }
}
@keyframes linkRun {
  0% { left: -40%; }
  100% { left: 100%; }
}
@keyframes panelIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.ops-link {
  width: 48px; height: 4px;
  border-radius: 99px;
  background: rgba(0,91,113,0.12);
  overflow: hidden;
  position: relative;
}
.ops-link i {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 40%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--color-teal), var(--color-accent));
  animation: linkRun 1.8s ease-in-out infinite;
}
.kpi-label {
  display: block;
  font-size: 0.65rem;
  color: var(--color-text-muted);
  margin-bottom: 0.15rem;
}
.kpi-value {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-teal-dark);
}
.kpi-value.accent { color: var(--color-accent); }

@media (prefers-reduced-motion: reduce) {
  .ops-glow-a, .ops-glow-b, .hero-dash-pulse, .ops-link i {
    animation: none !important;
  }
}

/* === job-management.css === */
/* Job management system hero */
/* ---------- Merged hero: Level 1 board + Level 2 atmosphere ---------- */
.ops-merge {
  position: relative;
  isolation: isolate;
  min-height: 420px;
  border-radius: 18px;
  padding: 1.25rem 1.2rem 1.3rem;
  background: linear-gradient(165deg, rgba(255,255,255,0.97) 0%, rgba(240,247,250,0.94) 100%);
  border: 1px solid rgba(0, 91, 113, 0.09);
  box-shadow: 0 16px 36px rgba(6, 58, 71, 0.1), inset 0 1px 0 rgba(255,255,255,0.9);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.ops-merge .ops-glow { z-index: 0; }
.ops-merge-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.ops-merge-brand {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-teal-dark);
  letter-spacing: -0.02em;
}
.ops-merge-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-success);
}
.ops-merge-kpis {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.ops-merge-kpi {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(6px);
  border-radius: 10px;
  padding: 0.5rem 0.55rem;
  border: 1px solid rgba(0,91,113,0.06);
}
.ops-merge-body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.45fr 0.9fr;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
  align-items: stretch;
}
.ops-merge-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
}
.ops-merge-board .hero-dash-col {
  min-height: 9rem;
}
.ops-merge-body {
  flex: 1;
}
.ops-merge-side {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 12px;
  padding: 0.6rem 0.7rem;
  display: flex;
  flex-direction: column;
}
.ops-merge-side .ops-feed {
  flex: 1;
}
.ops-merge-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
}
.ops-merge .hero-dash-bar {
  position: relative;
  z-index: 1;
}
.ops-merge .kpi-value {
  animation: kpiPop 2.8s ease-in-out infinite;
}

@media (max-width: 640px) {
  .ops-merge-body {
    grid-template-columns: 1fr;
  }
  .ops-merge-board {
    grid-template-columns: 1fr;
  }
  .ops-merge-board .hero-dash-col {
    min-height: 0;
  }
}


/* Cleaner merge refinements */
.ops-merge .ops-glow-a {
  opacity: 0.55;
  width: 140px;
  height: 140px;
}
.ops-merge .ops-glow-b {
  opacity: 0.5;
  width: 150px;
  height: 150px;
}
.ops-merge-kpis {
  margin-bottom: 1rem;
}
.ops-merge-kpi .kpi-value {
  font-size: 1.2rem;
}
.ops-merge-body {
  margin-bottom: 1rem;
}
.ops-merge .job-chip {
  font-size: 0.72rem;
  padding: 0.45rem 0.5rem;
}
.ops-merge .ops-feed li {
  font-size: 0.75rem;
  padding: 0.35rem 0;
}
.ops-merge .hero-dash-bar {
  margin-top: auto;
}



/* Cleaner merge refinements */
.ops-merge .ops-glow-a {
  opacity: 0.55;
  width: 140px;
  height: 140px;
}
.ops-merge .ops-glow-b {
  opacity: 0.5;
  width: 150px;
  height: 150px;
}
.ops-merge-kpis {
  margin-bottom: 1rem;
}
.ops-merge-kpi .kpi-value {
  font-size: 1.2rem;
}
.ops-merge-body {
  margin-bottom: 1rem;
}
.ops-merge .job-chip {
  font-size: 0.72rem;
  padding: 0.45rem 0.5rem;
}
.ops-merge .ops-feed li {
  font-size: 0.75rem;
  padding: 0.35rem 0;
}
.ops-merge .hero-dash-bar {
  margin-top: auto;
}

/* === enquiry.css === */
/* ---------- Enquiry hero hub (unique to enquiries page) ---------- */
.enq-hub {
  position: relative;
  isolation: isolate;
  min-height: 420px;
  border-radius: 18px;
  padding: 1.25rem 1.2rem 1.3rem;
  background: linear-gradient(165deg, rgba(255,255,255,0.97) 0%, rgba(240,247,250,0.94) 100%);
  border: 1px solid rgba(0, 91, 113, 0.09);
  box-shadow: 0 16px 36px rgba(6, 58, 71, 0.1), inset 0 1px 0 rgba(255,255,255,0.9);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.enq-hub .ops-glow { z-index: 0; opacity: 0.5; }
.enq-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.enq-stream {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
  margin-bottom: 1rem;
}
.enq-card {
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(0,91,113,0.08);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  box-shadow: 0 4px 12px rgba(6,58,71,0.06);
  opacity: 0;
  transform: translateX(-12px);
  animation: enqSlide 0.55s ease forwards;
}
.enq-card.a1 { animation-delay: 0.15s; }
.enq-card.a2 { animation-delay: 0.4s; }
.enq-card.a3 { animation-delay: 0.65s; }
@keyframes enqSlide {
  to { opacity: 1; transform: translateX(0); }
}
.enq-card strong {
  display: block;
  font-size: 0.82rem;
  color: var(--color-teal-dark);
  margin: 0.25rem 0 0.15rem;
}
.enq-card em {
  font-style: normal;
  font-size: 0.7rem;
  color: var(--color-text-muted);
}
.enq-tag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.45rem;
  border-radius: 99px;
}
.enq-tag.new { background: rgba(0,91,113,0.1); color: var(--color-teal); }
.enq-tag.urgent { background: rgba(255,139,101,0.2); color: #d95a30; }
.enq-tag.follow { background: rgba(16,185,129,0.15); color: #0d8f62; }

.enq-convert {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  margin-bottom: 1rem;
  padding: 0.65rem 0.5rem;
  background: rgba(255,255,255,0.75);
  border-radius: 12px;
  border: 1px solid rgba(0,91,113,0.06);
}
.enq-step {
  flex: 1;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--color-text-muted);
}
.enq-step i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: 0 auto 0.35rem;
  border-radius: 10px;
  background: var(--color-bg-soft);
  color: var(--color-teal);
  font-size: 0.9rem;
}
.enq-step.hot i {
  background: linear-gradient(145deg, var(--color-teal), var(--color-teal-dark));
  color: #fff;
  box-shadow: 0 6px 14px rgba(6,58,71,0.25);
  animation: kpiPop 2.5s ease-in-out infinite;
}
.enq-step.hot span { color: var(--color-teal-dark); }
.enq-arrow {
  width: 28px;
  height: 3px;
  background: rgba(0,91,113,0.12);
  border-radius: 99px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.enq-arrow i {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 50%;
  background: linear-gradient(90deg, var(--color-teal), var(--color-accent));
  border-radius: 99px;
  animation: linkRun 1.6s ease-in-out infinite;
}
.enq-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  margin-top: auto;
}

@media (prefers-reduced-motion: reduce) {
  .enq-card, .enq-arrow i, .enq-step.hot i { animation: none !important; }
  .enq-card { opacity: 1; transform: none; }
}

/* === estimates.css === */
/* ---------- Estimate hero hub ---------- */
.est-hub {
  position: relative;
  isolation: isolate;
  min-height: 420px;
  border-radius: 18px;
  padding: 1.25rem 1.2rem 1.3rem;
  background: linear-gradient(165deg, rgba(255,255,255,0.97) 0%, rgba(240,247,250,0.94) 100%);
  border: 1px solid rgba(0, 91, 113, 0.09);
  box-shadow: 0 16px 36px rgba(6, 58, 71, 0.1), inset 0 1px 0 rgba(255,255,255,0.9);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.est-hub .ops-glow { z-index: 0; opacity: 0.5; }
.est-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}
.est-doc {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,91,113,0.08);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  box-shadow: 0 6px 16px rgba(6,58,71,0.07);
  margin-bottom: 0.9rem;
  animation: panelIn 0.6s ease both;
}
.est-doc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-teal);
  margin-bottom: 0.65rem;
}
.est-status {
  color: var(--color-accent);
  animation: kpiPop 2.8s ease-in-out infinite;
}
.est-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--color-text);
  padding: 0.28rem 0;
  border-bottom: 1px solid rgba(0,91,113,0.06);
}
.est-line.total {
  border-bottom: 0;
  margin-top: 0.25rem;
  font-weight: 700;
  color: var(--color-teal-dark);
}
.est-line b { color: var(--color-teal-dark); }
.est-actions-row {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  justify-content: flex-end;
}
.est-btn {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
}
.est-btn.ghost {
  border: 1px solid rgba(0,91,113,0.2);
  color: var(--color-teal);
}
.est-btn.solid {
  background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-teal-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(6,58,71,0.2);
  animation: kpiPop 2.5s ease-in-out infinite;
}
.est-path {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem;
  margin-bottom: 0.9rem;
  padding: 0.55rem 0.35rem;
  background: rgba(255,255,255,0.7);
  border-radius: 12px;
  border: 1px solid rgba(0,91,113,0.06);
}
.est-node {
  flex: 1;
  text-align: center;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--color-text-muted);
}
.est-node i {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin: 0 auto 0.3rem;
  border-radius: 9px;
  background: var(--color-bg-soft);
  color: var(--color-teal);
  font-size: 0.8rem;
}
.est-node.hot i {
  background: rgba(255,139,101,0.2);
  color: #d95a30;
}
.est-node.job i {
  background: linear-gradient(145deg, var(--color-teal), var(--color-teal-dark));
  color: #fff;
  box-shadow: 0 4px 12px rgba(6,58,71,0.25);
  animation: kpiPop 2.5s ease-in-out infinite;
}
.est-node.job span { color: var(--color-teal-dark); }
.est-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  margin-top: auto;
}

@media (prefers-reduced-motion: reduce) {
  .est-doc, .est-btn.solid, .est-status, .est-node.job i { animation: none !important; }
}

/* === dashboard.css === */
/* ---------- Dashboard reporting hero hub ---------- */
.dash-hub {
  position: relative;
  isolation: isolate;
  min-height: 420px;
  border-radius: 18px;
  padding: 1.15rem 1.15rem 1.2rem;
  background: #fff;
  border: 1px solid rgba(0, 91, 113, 0.1);
  box-shadow: 0 16px 36px rgba(6, 58, 71, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.dash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(0,91,113,0.08);
}
.dash-report {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 0.85rem;
  flex: 1;
  margin-bottom: 0.75rem;
}
.dash-kpis-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  margin-bottom: 0.7rem;
}
.dash-kpi {
  background: var(--color-bg-soft);
  border: none;
  border-radius: 10px;
  padding: 0.5rem 0.55rem;
}
.dash-kpi .kpi-value {
  display: block;
  font-size: 1.1rem;
  color: var(--color-teal-dark);
  margin: 0.1rem 0;
  animation: none;
}
.kpi-trend {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--color-text-muted);
}
.kpi-trend.up { color: var(--color-success); }

.dash-chart {
  background: var(--color-bg-soft);
  border-radius: 12px;
  border: none;
  padding: 0.65rem 0.75rem 0.55rem;
}
.dash-chart-head {
  margin-bottom: 0.45rem;
}
.dash-chart-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
}
.dash-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 88px;
}
.dash-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
  gap: 0.25rem;
}
.dash-bar-col i {
  display: block;
  width: 100%;
  max-width: 22px;
  height: var(--h);
  border-radius: 4px 4px 0 0;
  background: var(--color-teal);
  opacity: 0.9;
  animation: barRise 1.2s ease both;
}
.dash-bar-col:nth-child(1) i { animation-delay: 0.05s; }
.dash-bar-col:nth-child(2) i { animation-delay: 0.1s; }
.dash-bar-col:nth-child(3) i { animation-delay: 0.15s; }
.dash-bar-col:nth-child(4) i { animation-delay: 0.2s; }
.dash-bar-col:nth-child(5) i { animation-delay: 0.25s; }
.dash-bar-col:nth-child(6) i { animation-delay: 0.3s; }
.dash-bar-col:nth-child(7) i { animation-delay: 0.35s; }
.dash-bar-col em {
  font-style: normal;
  font-size: 0.58rem;
  font-weight: 600;
  color: var(--color-text-muted);
}
@keyframes barRise {
  from { transform: scaleY(0); transform-origin: bottom; }
  to { transform: scaleY(1); transform-origin: bottom; }
}

.dash-report-side {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.dash-pie-card {
  flex: 1;
  background: var(--color-bg-soft);
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.dash-pie-card .dash-chart-label {
  align-self: flex-start;
  margin-bottom: 0.5rem;
}
.dash-pie {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  /* teal tones only - professional single-family palette */
  background: conic-gradient(
    var(--color-teal-dark) 0% 42%,
    var(--color-teal) 42% 70%,
    #7eb6c4 70% 100%
  );
  box-shadow: inset 0 0 0 10px #fff;
  margin-bottom: 0.55rem;
  animation: pieIn 0.8s ease both;
}
@keyframes pieIn {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.dash-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  font-size: 0.65rem;
  color: var(--color-text);
}
.dash-legend li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.2rem;
}
.dash-legend .lg {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  flex-shrink: 0;
}
.dash-legend .lg.a { background: var(--color-teal-dark); }
.dash-legend .lg.b { background: var(--color-teal); }
.dash-legend .lg.c { background: #7eb6c4; }

.dash-alert {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: #fff8f5;
  border: 1px solid rgba(255, 139, 101, 0.35);
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
}
.dash-alert i {
  color: var(--color-accent);
  font-size: 0.95rem;
}
.dash-alert strong {
  display: block;
  font-size: 0.75rem;
  color: var(--color-teal-dark);
}
.dash-alert span {
  font-size: 0.65rem;
  color: var(--color-text-muted);
}
.dash-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(0,91,113,0.08);
}

@media (max-width: 640px) {
  .dash-report {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dash-bar-col i, .dash-pie { animation: none !important; }
}


/* === business-insights hero === */
.insights-hub {
  position: relative;
  isolation: isolate;
  min-height: 420px;
  border-radius: 18px;
  padding: 1.25rem 1.2rem 1.3rem;
  background: linear-gradient(165deg, rgba(255,255,255,0.97) 0%, rgba(240,247,250,0.94) 100%);
  border: 1px solid rgba(0, 91, 113, 0.09);
  box-shadow: 0 16px 36px rgba(6, 58, 71, 0.1), inset 0 1px 0 rgba(255,255,255,0.9);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.insights-hub .ops-glow { z-index: 0; opacity: 0.5; }
.insights-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.insights-cards {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.insights-card {
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(0,91,113,0.08);
  border-radius: 12px;
  padding: 0.7rem 0.65rem;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  animation: panelIn 0.55s ease forwards;
}
.insights-card.c1 { animation-delay: 0.1s; }
.insights-card.c2 { animation-delay: 0.25s; }
.insights-card.c3 { animation-delay: 0.4s; }
.insights-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  margin-bottom: 0.35rem;
}
.insights-card strong {
  display: block;
  font-size: 1.25rem;
  color: var(--color-teal-dark);
  font-weight: 800;
}
.insights-card em {
  font-style: normal;
  font-size: 0.65rem;
  color: var(--color-success);
}
.insights-ai {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(0,91,113,0.08);
  border-radius: 12px;
  padding: 0.85rem 0.9rem;
  margin-bottom: 1rem;
  flex: 1;
}
.insights-ai > i {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--color-teal), var(--color-teal-dark));
  color: #fff;
  flex-shrink: 0;
  animation: kpiPop 2.5s ease-in-out infinite;
}
.insights-ai strong {
  display: block;
  font-size: 0.75rem;
  color: var(--color-teal-dark);
  margin-bottom: 0.25rem;
}
.insights-ai p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--color-text);
  line-height: 1.4;
}
.insights-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  margin-top: auto;
}
.insights-hub--compact {
  min-height: 0;
  justify-content: center;
}
@media (max-width: 640px) {
  .insights-cards { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .insights-card, .insights-ai > i { animation: none !important; }
  .insights-card { opacity: 1; transform: none; }
}


/* === ai-powered-scheduling hero === */
.ai-hub {
  position: relative;
  isolation: isolate;
  min-height: 420px;
  border-radius: 18px;
  padding: 1.25rem 1.2rem 1.3rem;
  background: linear-gradient(165deg, rgba(255,255,255,0.97) 0%, rgba(240,247,250,0.94) 100%);
  border: 1px solid rgba(0, 91, 113, 0.09);
  box-shadow: 0 16px 36px rgba(6, 58, 71, 0.1), inset 0 1px 0 rgba(255,255,255,0.9);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.ai-hub .ops-glow { z-index: 0; opacity: 0.5; }
.ai-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}
.ai-voice {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.55rem;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(0,91,113,0.08);
  border-radius: 14px;
  padding: 1rem 0.9rem;
  margin-bottom: 0.85rem;
}
.ai-mic {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--color-teal), var(--color-teal-dark));
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 0 0 0 rgba(0, 91, 113, 0.35);
  animation: micPulse 2s ease-out infinite;
}
@keyframes micPulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 91, 113, 0.4); }
  70% { box-shadow: 0 0 0 14px rgba(0, 91, 113, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 91, 113, 0); }
}
.ai-wave {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 24px;
}
.ai-wave i {
  display: block;
  width: 4px;
  height: 100%;
  border-radius: 2px;
  background: var(--color-teal);
  animation: waveBar 1s ease-in-out infinite;
}
.ai-wave i:nth-child(1) { animation-delay: 0s; height: 40%; }
.ai-wave i:nth-child(2) { animation-delay: 0.1s; height: 70%; }
.ai-wave i:nth-child(3) { animation-delay: 0.2s; height: 100%; }
.ai-wave i:nth-child(4) { animation-delay: 0.3s; height: 65%; }
.ai-wave i:nth-child(5) { animation-delay: 0.4s; height: 45%; }
@keyframes waveBar {
  0%, 100% { transform: scaleY(0.55); }
  50% { transform: scaleY(1); }
}
.ai-voice p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--color-text);
  max-width: 16rem;
  line-height: 1.35;
}
.ai-assign {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
  flex: 1;
}
.ai-row {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: center;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(0,91,113,0.07);
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  font-size: 0.72rem;
}
.ai-job { color: var(--color-teal-dark); font-weight: 600; }
.ai-match { color: var(--color-teal); font-weight: 600; white-space: nowrap; }
.ai-row.hot {
  border-color: rgba(255,139,101,0.4);
  background: #fff8f5;
}
.ai-row.hot .ai-match { color: #d95a30; }
.ai-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  margin-top: auto;
}
@media (prefers-reduced-motion: reduce) {
  .ai-mic, .ai-wave i { animation: none !important; }
}


/* === Kanban board hero (unique) === */
.kanban-hub {
  position: relative;
  isolation: isolate;
  min-height: 420px;
  border-radius: 18px;
  padding: 1.15rem 1.1rem 1.2rem;
  background: linear-gradient(165deg, rgba(255,255,255,0.97) 0%, rgba(240,247,250,0.94) 100%);
  border: 1px solid rgba(0, 91, 113, 0.09);
  box-shadow: 0 16px 36px rgba(6, 58, 71, 0.1), inset 0 1px 0 rgba(255,255,255,0.9);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.kanban-hub .ops-glow { z-index: 0; opacity: 0.45; }
.kanban-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}
.kanban-cols {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  flex: 1;
  margin-bottom: 0.85rem;
}
.kanban-col {
  background: rgba(248, 250, 252, 0.95);
  border-radius: 12px;
  padding: 0.45rem;
  border: 1px solid rgba(0,91,113,0.06);
  min-height: 11rem;
}
.kanban-col.highlight {
  background: rgba(255, 139, 101, 0.08);
  border-color: rgba(255, 139, 101, 0.28);
  box-shadow: 0 0 0 1px rgba(255,139,101,0.12);
  animation: colPulse 2.4s ease-in-out infinite;
}
@keyframes colPulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255,139,101,0.12); }
  50% { box-shadow: 0 0 0 3px rgba(255,139,101,0.22); }
}
.kanban-col-title {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  margin-bottom: 0.4rem;
  padding: 0 0.15rem;
}
.kanban-card {
  background: #fff;
  border-left: 3px solid var(--color-teal);
  border-radius: 8px;
  padding: 0.45rem 0.5rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--color-teal-dark);
  margin-bottom: 0.35rem;
  box-shadow: 0 2px 6px rgba(6,58,71,0.07);
  position: relative;
}
.kanban-card.muted { opacity: 0.55; border-left-color: #94a3b8; }
.kanban-card.c3 { border-left-color: var(--color-accent); }
.kanban-card.c4 { border-left-color: var(--color-success); }

/* Moving card arc: On the way → In progress */
.kanban-card.moving {
  border-left-color: var(--color-accent);
  background: linear-gradient(135deg, #fff 0%, #fff8f5 100%);
  z-index: 5;
  animation: cardDrag 3.2s ease-in-out infinite;
  box-shadow: 0 8px 20px rgba(255,139,101,0.25);
}
@keyframes cardDrag {
  0%, 12% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 1;
  }
  35% {
    transform: translate(calc(100% + 0.9rem), -12px) rotate(2deg) scale(1.04);
    opacity: 1;
  }
  55%, 70% {
    transform: translate(calc(200% + 1.8rem), 4px) rotate(0deg) scale(1);
    opacity: 1;
  }
  78% {
    transform: translate(calc(200% + 1.8rem), 4px) scale(0.96);
    opacity: 0.35;
  }
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
}
.kanban-ghost { display: block; }

.kanban-card.drop {
  border-left-color: transparent;
  border: 1.5px dashed rgba(255,139,101,0.55);
  background: rgba(255,139,101,0.06);
  min-height: 2.2rem;
  box-shadow: none;
  display: grid;
  place-items: center;
  animation: dropFlash 3.2s ease-in-out infinite;
}
.kanban-drop-label {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-accent);
  opacity: 0.85;
}
@keyframes dropFlash {
  0%, 40% { background: rgba(255,139,101,0.06); }
  55%, 70% { background: rgba(255,139,101,0.18); }
  100% { background: rgba(255,139,101,0.06); }
}

.kanban-cursor {
  position: absolute;
  z-index: 6;
  left: 38%;
  top: 42%;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--color-teal-dark);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
  animation: cursorFollow 3.2s ease-in-out infinite;
  pointer-events: none;
}
.kanban-cursor i { font-size: 1.1rem; }
@keyframes cursorFollow {
  0%, 12% { left: 38%; top: 42%; opacity: 0.9; }
  35% { left: 52%; top: 36%; opacity: 1; }
  55%, 70% { left: 72%; top: 44%; opacity: 1; }
  78% { left: 72%; top: 44%; opacity: 0; }
  100% { left: 38%; top: 42%; opacity: 0.9; }
}

.kanban-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  margin-top: auto;
}

@media (max-width: 640px) {
  .kanban-cols { grid-template-columns: 1fr; }
  .kanban-card.moving { animation: none; }
  .kanban-cursor { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .kanban-card.moving,
  .kanban-col.highlight,
  .kanban-card.drop,
  .kanban-cursor {
    animation: none !important;
  }
}


/* === Job tracking hero (unique) === */
.track-hub {
  position: relative;
  isolation: isolate;
  min-height: 420px;
  border-radius: 18px;
  padding: 1.15rem 1.1rem 1.2rem;
  background: linear-gradient(165deg, rgba(255,255,255,0.97) 0%, rgba(240,247,250,0.94) 100%);
  border: 1px solid rgba(0, 91, 113, 0.09);
  box-shadow: 0 16px 36px rgba(6, 58, 71, 0.1), inset 0 1px 0 rgba(255,255,255,0.9);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.track-hub .ops-glow { z-index: 0; opacity: 0.45; }
.track-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}
.track-timeline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 1rem;
  padding: 0.55rem 0.4rem;
  background: rgba(255,255,255,0.85);
  border-radius: 12px;
  border: 1px solid rgba(0,91,113,0.06);
}
.track-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.track-step i {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--color-bg-soft);
  color: var(--color-text-muted);
  font-size: 0.7rem;
}
.track-step.done i {
  background: rgba(16,185,129,0.15);
  color: var(--color-success);
}
.track-step.active i {
  background: linear-gradient(145deg, var(--color-teal), var(--color-teal-dark));
  color: #fff;
  box-shadow: 0 0 0 0 rgba(0,91,113,0.4);
  animation: trackPing 1.8s ease-out infinite;
}
.track-step.active { color: var(--color-teal-dark); }
@keyframes trackPing {
  0% { box-shadow: 0 0 0 0 rgba(0,91,113,0.4); }
  70% { box-shadow: 0 0 0 10px rgba(0,91,113,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,91,113,0); }
}
.track-rail {
  flex: 1;
  height: 3px;
  background: rgba(0,91,113,0.12);
  border-radius: 99px;
  overflow: hidden;
  position: relative;
  min-width: 12px;
}
.track-rail i {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 100%;
  background: linear-gradient(90deg, var(--color-teal), var(--color-success));
  border-radius: 99px;
}
.track-rail.dim i {
  width: 0;
  background: rgba(0,91,113,0.15);
  animation: railFill 3.5s ease-in-out infinite;
}
@keyframes railFill {
  0%, 30% { width: 0; }
  60%, 80% { width: 55%; }
  100% { width: 0; }
}
.track-jobs {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
  margin-bottom: 0.75rem;
}
.track-job {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,91,113,0.08);
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
  opacity: 0;
  transform: translateY(8px);
  animation: panelIn 0.5s ease forwards;
}
.track-job.j1 { animation-delay: 0.1s; }
.track-job.j2 { animation-delay: 0.25s; }
.track-job.j3 { animation-delay: 0.4s; }
.track-job-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}
.track-job-head strong {
  font-size: 0.75rem;
  color: var(--color-teal-dark);
}
.track-job-head .status {
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.15rem 0.4rem;
  border-radius: 99px;
}
.status.live {
  background: rgba(0,91,113,0.1);
  color: var(--color-teal);
  animation: kpiPop 2.2s ease-in-out infinite;
}
.status.warn {
  background: rgba(255,139,101,0.2);
  color: #d95a30;
}
.status.ok {
  background: rgba(16,185,129,0.15);
  color: #0d8f62;
}
.track-bar {
  height: 6px;
  background: #e8eef1;
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 0.35rem;
}
.track-bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--color-teal), var(--color-accent));
  animation: trackBar 2.2s ease forwards;
}
.track-bar.warn i {
  background: linear-gradient(90deg, var(--color-accent), #ff6b3d);
}
.track-job.j1 .track-bar i { animation-delay: 0.3s; width: var(--w); }
.track-job.j2 .track-bar i { animation-delay: 0.45s; }
.track-job.j3 .track-bar i { animation-delay: 0.6s; }
@keyframes trackBar {
  from { width: 0; }
  to { width: var(--w, 50%); }
}
.track-meta {
  font-size: 0.65rem;
  color: var(--color-text-muted);
}
.track-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  margin-top: auto;
}
@media (prefers-reduced-motion: reduce) {
  .track-step.active i,
  .track-rail.dim i,
  .track-job,
  .track-bar i,
  .status.live {
    animation: none !important;
  }
  .track-job { opacity: 1; transform: none; }
  .track-bar i { width: var(--w, 50%); }
}


/* === Job sheet hero (unique) === */
.sheet-hub {
  position: relative;
  isolation: isolate;
  min-height: 420px;
  border-radius: 18px;
  padding: 1.15rem 1.1rem 1.2rem;
  background: linear-gradient(165deg, rgba(255,255,255,0.97) 0%, rgba(240,247,250,0.94) 100%);
  border: 1px solid rgba(0, 91, 113, 0.09);
  box-shadow: 0 16px 36px rgba(6, 58, 71, 0.1), inset 0 1px 0 rgba(255,255,255,0.9);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.sheet-hub .ops-glow { z-index: 0; opacity: 0.45; }
.sheet-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}
.sheet-doc {
  position: relative;
  z-index: 1;
  flex: 1;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(0,91,113,0.08);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  box-shadow: 0 6px 18px rgba(6,58,71,0.08);
  margin-bottom: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.sheet-doc-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.35rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0,91,113,0.08);
}
.sheet-doc-head strong {
  font-size: 0.85rem;
  color: var(--color-teal-dark);
}
.sheet-doc-head em {
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-text-muted);
}
.sheet-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--color-text);
  opacity: 0;
  transform: translateX(-6px);
  animation: sheetLine 0.45s ease forwards;
}
.sheet-line:nth-child(2) { animation-delay: 0.15s; }
.sheet-line:nth-child(3) { animation-delay: 0.35s; }
.sheet-line:nth-child(4) { animation-delay: 0.55s; }
.sheet-line i {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  flex-shrink: 0;
}
.sheet-line.done i {
  background: rgba(16,185,129,0.15);
  color: var(--color-success);
}
.sheet-line.active i {
  background: rgba(255,139,101,0.2);
  color: #d95a30;
  animation: kpiPop 2s ease-in-out infinite;
}
@keyframes sheetLine {
  to { opacity: 1; transform: translateX(0); }
}
.sheet-photo {
  display: flex;
  gap: 0.35rem;
  margin: 0.15rem 0 0.25rem 1.7rem;
}
.sheet-photo span {
  width: 36px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, #e0f2fe, #f0f9ff);
  border: 1px solid rgba(0,91,113,0.1);
  opacity: 0;
  animation: photoIn 0.4s ease forwards;
}
.sheet-photo span:nth-child(1) { animation-delay: 0.7s; }
.sheet-photo span:nth-child(2) { animation-delay: 0.85s; background: linear-gradient(135deg, #fff7ed, #ffedd5); }
.sheet-photo span:nth-child(3) { animation-delay: 1s; }
@keyframes photoIn {
  to { opacity: 1; }
}
.sheet-sign {
  margin-top: 0.35rem;
  padding: 0.5rem 0.65rem 0.35rem;
  border: 1px dashed rgba(0,91,113,0.2);
  border-radius: 10px;
  background: #fafbfc;
}
.sheet-sign-label {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  margin-bottom: 0.2rem;
}
.sheet-sign-path {
  width: 100%;
  height: 28px;
  color: var(--color-teal-dark);
  display: block;
}
.sheet-sign-path path {
  stroke-dasharray: 180;
  stroke-dashoffset: 180;
  animation: signDraw 2.8s ease forwards infinite;
}
@keyframes signDraw {
  0%, 8% { stroke-dashoffset: 180; }
  45%, 75% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 180; }
}
.sheet-gps {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--color-teal);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.15rem;
}
.sheet-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  margin-top: auto;
}
@media (prefers-reduced-motion: reduce) {
  .sheet-line, .sheet-photo span, .sheet-sign-path path, .sheet-line.active i {
    animation: none !important;
  }
  .sheet-line, .sheet-photo span { opacity: 1; transform: none; }
  .sheet-sign-path path { stroke-dashoffset: 0; }
}


/* === Job management software hero === */
.jms-hub {
  position: relative; isolation: isolate;
  min-height: 420px; border-radius: 18px;
  padding: 1.15rem 1.1rem 1.2rem;
  background: linear-gradient(165deg, rgba(255,255,255,0.97) 0%, rgba(240,247,250,0.94) 100%);
  border: 1px solid rgba(0, 91, 113, 0.09);
  box-shadow: 0 16px 36px rgba(6, 58, 71, 0.1), inset 0 1px 0 rgba(255,255,255,0.9);
  overflow: hidden; display: flex; flex-direction: column;
}
.jms-hub .ops-glow { z-index: 0; opacity: 0.45; }
.jms-top {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1rem;
}
.jms-flow {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.35rem; margin-bottom: 1rem;
}
.jms-node {
  flex: 1; text-align: center; font-size: 0.68rem; font-weight: 700;
  color: var(--color-text-muted);
}
.jms-node i {
  display: grid; place-items: center;
  width: 42px; height: 42px; margin: 0 auto 0.35rem;
  border-radius: 12px; background: var(--color-bg-soft); color: var(--color-teal);
  font-size: 1rem;
}
.jms-node.hot i {
  background: linear-gradient(145deg, var(--color-teal), var(--color-teal-dark));
  color: #fff; box-shadow: 0 6px 14px rgba(6,58,71,0.25);
  animation: kpiPop 2.4s ease-in-out infinite;
}
.jms-node.last i { background: rgba(255,139,101,0.18); color: #d95a30; }
.jms-arrow {
  width: 28px; height: 3px; background: rgba(0,91,113,0.12);
  border-radius: 99px; overflow: hidden; flex-shrink: 0; position: relative;
}
.jms-arrow i {
  position: absolute; left: 0; top: 0; bottom: 0; width: 50%;
  background: linear-gradient(90deg, var(--color-teal), var(--color-accent));
  border-radius: 99px; animation: linkRun 1.6s ease-in-out infinite;
}
.jms-card {
  position: relative; z-index: 1;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,91,113,0.08);
  border-radius: 14px; padding: 0.9rem 1rem;
  flex: 1; margin-bottom: 0.85rem;
  animation: panelIn 0.55s ease both;
}
.jms-card strong { display: block; font-size: 0.88rem; color: var(--color-teal-dark); margin-bottom: 0.2rem; }
.jms-card em { font-style: normal; font-size: 0.75rem; color: var(--color-text-muted); }
.jms-meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 0.75rem; font-weight: 800; color: var(--color-teal-dark);
}
.jms-cta {
  font-size: 0.72rem; font-weight: 700; color: var(--color-accent);
  animation: kpiPop 2.2s ease-in-out infinite;
}
.jms-foot {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--color-text-muted); margin-top: auto;
}

/* === Job scheduling hero === */
.sched-hub {
  position: relative; isolation: isolate;
  min-height: 420px; border-radius: 18px;
  padding: 1.15rem 1.1rem 1.2rem;
  background: linear-gradient(165deg, rgba(255,255,255,0.97) 0%, rgba(240,247,250,0.94) 100%);
  border: 1px solid rgba(0, 91, 113, 0.09);
  box-shadow: 0 16px 36px rgba(6, 58, 71, 0.1), inset 0 1px 0 rgba(255,255,255,0.9);
  overflow: hidden; display: flex; flex-direction: column;
}
.sched-hub .ops-glow { z-index: 0; opacity: 0.45; }
.sched-top {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0.75rem;
}
.sched-days {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0.25rem; margin-bottom: 0.55rem;
  font-size: 0.62rem; font-weight: 700; text-align: center;
  text-transform: uppercase; color: var(--color-text-muted);
}
.sched-days .on { color: var(--color-teal-dark); }
.sched-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0.45rem; flex: 1; margin-bottom: 0.65rem;
}
.sched-slot {
  background: #fff; border-radius: 10px; padding: 0.65rem 0.7rem;
  font-size: 0.72rem; font-weight: 600; color: var(--color-teal-dark);
  border-left: 3px solid var(--color-teal);
  box-shadow: 0 2px 8px rgba(6,58,71,0.07);
}
.sched-slot.priya { border-left-color: var(--color-accent); }
.sched-slot.moving {
  border-left-color: var(--color-success);
  animation: slotSlide 3.2s ease-in-out infinite;
}
@keyframes slotSlide {
  0%, 20% { transform: translate(0,0); }
  45%, 65% { transform: translate(8px, 18px); }
  100% { transform: translate(0,0); }
}
.sched-slot.conflict {
  border-left-color: #d95a30;
  background: #fff8f5;
  opacity: 0;
  animation: conflictPop 3.2s ease-in-out infinite;
}
@keyframes conflictPop {
  0%, 35% { opacity: 0; transform: scale(0.96); }
  50%, 70% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; }
}
.sched-note {
  position: relative; z-index: 1;
  text-align: center; font-size: 0.68rem; font-weight: 700;
  color: var(--color-teal); margin-bottom: 0.55rem;
}
.sched-foot {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--color-text-muted); margin-top: auto;
}
@media (prefers-reduced-motion: reduce) {
  .jms-node.hot i, .jms-arrow i, .jms-cta, .jms-card,
  .sched-slot.moving, .sched-slot.conflict { animation: none !important; }
  .sched-slot.conflict { opacity: 1; }
}


/* === Smart forms hero === */
.form-hub {
  position: relative; isolation: isolate;
  min-height: 420px; border-radius: 18px;
  padding: 1.15rem 1.1rem 1.2rem;
  background: linear-gradient(165deg, rgba(255,255,255,0.97) 0%, rgba(240,247,250,0.94) 100%);
  border: 1px solid rgba(0, 91, 113, 0.09);
  box-shadow: 0 16px 36px rgba(6, 58, 71, 0.1), inset 0 1px 0 rgba(255,255,255,0.9);
  overflow: hidden; display: flex; flex-direction: column;
}
.form-hub .ops-glow { z-index: 0; opacity: 0.45; }
.form-top {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0.85rem;
}
.form-card {
  position: relative; z-index: 1; flex: 1;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(0,91,113,0.08);
  border-radius: 14px; padding: 0.85rem 0.9rem;
  margin-bottom: 0.85rem; display: flex; flex-direction: column; gap: 0.45rem;
}
.form-row {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--color-bg-soft); border-radius: 10px;
  padding: 0.55rem 0.7rem; font-size: 0.75rem; color: var(--color-teal-dark);
  font-weight: 600;
}
.form-row em { font-style: normal; font-size: 0.65rem; color: var(--color-text-muted); font-weight: 600; }
.form-row em.req { color: #d95a30; }
.form-row.late, .form-row.late2, .form-pdf, .form-branch {
  opacity: 0; transform: translateY(6px);
}
.form-row.late { animation: formIn 0.45s ease 0.9s forwards; }
.form-row.late2 { animation: formIn 0.45s ease 1.35s forwards; }
.form-branch {
  font-size: 0.68rem; font-weight: 700; color: var(--color-accent);
  display: flex; align-items: center; gap: 0.4rem;
  animation: formIn 0.45s ease 0.5s forwards;
}
.form-pdf {
  margin-top: auto; font-size: 0.75rem; font-weight: 700; color: var(--color-teal);
  display: flex; align-items: center; gap: 0.45rem;
  animation: formIn 0.45s ease 1.8s forwards;
}
@keyframes formIn { to { opacity: 1; transform: none; } }
.form-foot {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--color-text-muted); margin-top: auto;
}

/* === Job history hero === */
.hist-hub {
  position: relative; isolation: isolate;
  min-height: 420px; border-radius: 18px;
  padding: 1.15rem 1.1rem 1.2rem;
  background: linear-gradient(165deg, rgba(255,255,255,0.97) 0%, rgba(240,247,250,0.94) 100%);
  border: 1px solid rgba(0, 91, 113, 0.09);
  box-shadow: 0 16px 36px rgba(6, 58, 71, 0.1), inset 0 1px 0 rgba(255,255,255,0.9);
  overflow: hidden; display: flex; flex-direction: column;
}
.hist-hub .ops-glow { z-index: 0; opacity: 0.45; }
.hist-top {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0.85rem;
}
.hist-tl {
  position: relative; z-index: 1; flex: 1;
  list-style: none; margin: 0 0 0.85rem; padding: 0 0 0 1.1rem;
  border-left: 2px solid rgba(0,91,113,0.12);
}
.hist-tl li {
  position: relative; margin: 0 0 0.7rem;
  font-size: 0.75rem; color: var(--color-text);
  opacity: 0; transform: translateX(-8px);
  animation: histIn 0.4s ease forwards;
}
.hist-tl li::before {
  content: ""; position: absolute; left: -1.35rem; top: 0.35rem;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--color-teal); box-shadow: 0 0 0 3px #fff;
}
.hist-tl .e5::before { background: var(--color-accent); }
.hist-tl li b { color: var(--color-teal-dark); margin-right: 0.35rem; }
.hist-tl .e1 { animation-delay: 0.1s; }
.hist-tl .e2 { animation-delay: 0.35s; }
.hist-tl .e3 { animation-delay: 0.6s; }
.hist-tl .e4 { animation-delay: 0.85s; }
.hist-tl .e5 { animation-delay: 1.1s; }
@keyframes histIn { to { opacity: 1; transform: none; } }
.hist-foot {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--color-text-muted); margin-top: auto;
}
@media (prefers-reduced-motion: reduce) {
  .form-row.late, .form-row.late2, .form-pdf, .form-branch, .hist-tl li {
    animation: none !important; opacity: 1; transform: none;
  }
}


/* === Invoice hero === */
.inv-hub {
  position: relative; isolation: isolate;
  min-height: 420px; border-radius: 18px;
  padding: 1.15rem 1.1rem 1.2rem;
  background: linear-gradient(165deg, rgba(255,255,255,0.97) 0%, rgba(240,247,250,0.94) 100%);
  border: 1px solid rgba(0, 91, 113, 0.09);
  box-shadow: 0 16px 36px rgba(6, 58, 71, 0.1), inset 0 1px 0 rgba(255,255,255,0.9);
  overflow: hidden; display: flex; flex-direction: column;
}
.inv-hub .ops-glow { z-index: 0; opacity: 0.45; }
.inv-top {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0.85rem;
}
.inv-doc {
  position: relative; z-index: 1; flex: 1;
  background: #fff; border-radius: 14px; padding: 0.9rem 1rem;
  border: 1px solid rgba(0,91,113,0.08);
  box-shadow: 0 6px 16px rgba(6,58,71,0.07);
  margin-bottom: 0.75rem;
}
.inv-doc-row {
  display: flex; justify-content: space-between;
  font-size: 0.8rem; padding: 0.35rem 0;
  border-bottom: 1px solid rgba(0,91,113,0.06);
  color: var(--color-text);
}
.inv-doc-row.total { border: 0; font-weight: 800; color: var(--color-teal-dark); margin-top: 0.25rem; }
.inv-send {
  margin-top: 0.75rem; text-align: center;
  font-size: 0.72rem; font-weight: 700; color: var(--color-success);
  animation: kpiPop 2.2s ease-in-out infinite;
}
.inv-status {
  position: relative; z-index: 1;
  display: flex; justify-content: center; gap: 0.45rem;
  margin-bottom: 0.75rem; font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; color: var(--color-text-muted);
}
.inv-status .on {
  color: var(--color-teal); background: rgba(0,91,113,0.08);
  padding: 0.2rem 0.45rem; border-radius: 99px;
}
.inv-status .paid {
  color: var(--color-success);
  animation: paidPop 3s ease-in-out infinite;
}
@keyframes paidPop {
  0%, 45% { opacity: 0.35; }
  60%, 85% { opacity: 1; }
  100% { opacity: 0.35; }
}
.inv-foot, .cost-foot {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--color-text-muted); margin-top: auto;
}

/* === Job costing hero === */
.cost-hub {
  position: relative; isolation: isolate;
  min-height: 420px; border-radius: 18px;
  padding: 1.15rem 1.1rem 1.2rem;
  background: linear-gradient(165deg, rgba(255,255,255,0.97) 0%, rgba(240,247,250,0.94) 100%);
  border: 1px solid rgba(0, 91, 113, 0.09);
  box-shadow: 0 16px 36px rgba(6, 58, 71, 0.1), inset 0 1px 0 rgba(255,255,255,0.9);
  overflow: hidden; display: flex; flex-direction: column;
}
.cost-hub .ops-glow { z-index: 0; opacity: 0.45; }
.cost-top {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0.85rem;
}
.cost-rows {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 0.4rem;
  margin-bottom: 0.85rem;
}
.cost-rows div {
  display: flex; justify-content: space-between;
  background: rgba(255,255,255,0.9);
  border-radius: 10px; padding: 0.5rem 0.7rem;
  font-size: 0.78rem; color: var(--color-text);
}
.cost-rows b { color: var(--color-teal-dark); }
.cost-profit {
  position: relative; z-index: 1;
  background: rgba(255,255,255,0.92);
  border-radius: 14px; padding: 0.85rem 1rem;
  margin-bottom: 0.55rem;
}
.cost-profit span { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; color: var(--color-text-muted); }
.cost-profit strong {
  display: block; font-size: 1.6rem; color: var(--color-success);
  animation: kpiPop 2.4s ease-in-out infinite;
}
.cost-bar { height: 8px; background: #e8eef1; border-radius: 99px; overflow: hidden; margin-top: 0.45rem; }
.cost-bar i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--color-teal), var(--color-success));
  animation: costFill 1.8s ease forwards;
}
@keyframes costFill { to { width: 38%; } }
.cost-compare {
  position: relative; z-index: 1;
  text-align: center; font-size: 0.7rem; font-weight: 600;
  color: var(--color-text-muted); margin-bottom: 0.55rem;
}
@media (prefers-reduced-motion: reduce) {
  .inv-send, .inv-status .paid, .cost-profit strong, .cost-bar i { animation: none !important; }
  .cost-bar i { width: 38%; }
}


/* === Accounting sync heroes (QB / Xero) === */
.sync-hub {
  position: relative; isolation: isolate;
  min-height: 420px; border-radius: 18px;
  padding: 1.15rem 1.1rem 1.2rem;
  background: linear-gradient(165deg, rgba(255,255,255,0.97) 0%, rgba(240,247,250,0.94) 100%);
  border: 1px solid rgba(0, 91, 113, 0.09);
  box-shadow: 0 16px 36px rgba(6, 58, 71, 0.1), inset 0 1px 0 rgba(255,255,255,0.9);
  overflow: hidden; display: flex; flex-direction: column;
}
.sync-hub .ops-glow { z-index: 0; opacity: 0.45; }
.sync-top {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1rem;
}
.sync-pair {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 1rem;
}
.sync-box {
  flex: 1; text-align: center;
  background: #fff; border-radius: 12px;
  padding: 0.85rem 0.6rem;
  font-size: 0.82rem; font-weight: 800; color: var(--color-teal-dark);
  border: 1px solid rgba(0,91,113,0.08);
  box-shadow: 0 4px 12px rgba(6,58,71,0.07);
}
.sync-box small { display: block; font-weight: 600; font-size: 0.65rem; color: var(--color-text-muted); margin-top: 0.25rem; }
.sync-box.qb { background: #2ca01c; color: #fff; border: 0; }
.sync-box.qb small { color: rgba(255,255,255,0.85); }
.sync-box.xero { background: #13B5EA; color: #fff; border: 0; }
.sync-box.xero small { color: rgba(255,255,255,0.9); }
.sync-pipe {
  width: 36px; height: 4px; background: rgba(0,91,113,0.12);
  border-radius: 99px; overflow: hidden; position: relative; flex-shrink: 0;
}
.sync-pipe i {
  position: absolute; left: 0; top: 0; bottom: 0; width: 45%;
  background: linear-gradient(90deg, var(--color-teal), var(--color-accent));
  animation: linkRun 1.4s ease-in-out infinite;
}
.sync-log {
  position: relative; z-index: 1; list-style: none; margin: 0 0 0.85rem; padding: 0;
  flex: 1;
}
.sync-log li {
  font-size: 0.78rem; color: var(--color-text);
  padding: 0.4rem 0; border-bottom: 1px solid rgba(0,91,113,0.06);
  opacity: 0.4; animation: syncFlash 3.6s ease-in-out infinite;
}
.sync-log li:nth-child(1) { animation-delay: 0s; }
.sync-log li:nth-child(2) { animation-delay: 1.2s; }
.sync-log li:nth-child(3) { animation-delay: 2.4s; }
@keyframes syncFlash {
  0%, 20% { opacity: 1; color: var(--color-teal-dark); font-weight: 700; }
  30%, 100% { opacity: 0.45; font-weight: 500; }
}
.sync-foot {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--color-text-muted); margin-top: auto;
}
@media (prefers-reduced-motion: reduce) {
  .sync-pipe i, .sync-log li { animation: none !important; }
  .sync-log li { opacity: 1; }
}


/* === Purchase order hero === */
.po-hub {
  position: relative; isolation: isolate;
  min-height: 420px; border-radius: 18px;
  padding: 1.15rem 1.1rem 1.2rem;
  background: linear-gradient(165deg, rgba(255,255,255,0.97) 0%, rgba(240,247,250,0.94) 100%);
  border: 1px solid rgba(0, 91, 113, 0.09);
  box-shadow: 0 16px 36px rgba(6, 58, 71, 0.1), inset 0 1px 0 rgba(255,255,255,0.9);
  overflow: hidden; display: flex; flex-direction: column;
}
.po-hub .ops-glow { z-index: 0; opacity: 0.45; }
.po-top {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0.9rem;
}
.po-steps {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.3rem; margin-bottom: 0.9rem;
  text-align: center; font-size: 0.58rem; font-weight: 700;
  text-transform: uppercase; color: var(--color-text-muted);
}
.po-step i {
  display: grid; place-items: center;
  width: 28px; height: 28px; margin: 0 auto 0.25rem;
  border-radius: 50%; background: var(--color-bg-soft);
  font-size: 0.7rem; color: var(--color-text-muted);
}
.po-step.done i { background: rgba(16,185,129,0.15); color: var(--color-success); }
.po-step.active i {
  background: linear-gradient(145deg, var(--color-teal), var(--color-teal-dark));
  color: #fff; animation: trackPing 1.8s ease-out infinite;
}
.po-card {
  position: relative; z-index: 1; flex: 1;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(0,91,113,0.08);
  border-radius: 14px; padding: 0.9rem 1rem;
  margin-bottom: 0.85rem;
}
.po-card strong { display: block; font-size: 0.88rem; color: var(--color-teal-dark); }
.po-card em { font-style: normal; font-size: 0.72rem; color: var(--color-text-muted); }
.po-lines {
  display: flex; justify-content: space-between;
  margin-top: 0.65rem; padding-top: 0.55rem;
  border-top: 1px solid rgba(0,91,113,0.08);
  font-size: 0.78rem; font-weight: 600; color: var(--color-text);
}
.po-link-job {
  margin-top: 0.65rem; font-size: 0.7rem; font-weight: 700;
  color: var(--color-accent); animation: kpiPop 2.4s ease-in-out infinite;
}
.po-foot {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--color-text-muted); margin-top: auto;
}
@media (prefers-reduced-motion: reduce) {
  .po-step.active i, .po-link-job { animation: none !important; }
}


/* === Assets & maintenance heroes === */
.asset-hub, .cmms-hub, .ppm-hub, .svc-hub, .sor-hub, .mfa-hub {
  position: relative; isolation: isolate;
  min-height: 400px; border-radius: 18px;
  padding: 1.15rem 1.1rem 1.2rem;
  background: linear-gradient(165deg, rgba(255,255,255,0.97) 0%, rgba(240,247,250,0.94) 100%);
  border: 1px solid rgba(0, 91, 113, 0.09);
  box-shadow: 0 16px 36px rgba(6, 58, 71, 0.1), inset 0 1px 0 rgba(255,255,255,0.9);
  overflow: hidden; display: flex; flex-direction: column;
}
.asset-hub .ops-glow, .cmms-hub .ops-glow, .ppm-hub .ops-glow,
.svc-hub .ops-glow, .sor-hub .ops-glow, .mfa-hub .ops-glow { z-index: 0; opacity: 0.45; }
.am-top {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0.85rem;
}
.am-foot {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--color-text-muted); margin-top: auto;
}
.am-list { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 0.45rem; flex: 1; margin-bottom: 0.75rem; }
.am-row {
  display: flex; align-items: center; gap: 0.55rem;
  background: #fff; border-radius: 10px; padding: 0.55rem 0.7rem;
  font-size: 0.75rem; font-weight: 600; color: var(--color-teal-dark);
  border: 1px solid rgba(0,91,113,0.07);
}
.am-row i { color: var(--color-teal); width: 1.1rem; text-align: center; }
.am-row em { margin-left: auto; font-style: normal; font-size: 0.65rem; color: var(--color-text-muted); }
.am-row.hot { border-color: rgba(255,139,101,0.35); animation: kpiPop 2.4s ease-in-out infinite; }
.am-row.hot em { color: #d95a30; }

.cmms-tabs { position: relative; z-index: 1; display: flex; gap: 0.4rem; margin-bottom: 0.75rem; }
.cmms-tabs span {
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  padding: 0.25rem 0.55rem; border-radius: 99px; color: var(--color-text-muted);
}
.cmms-tabs .on { background: var(--color-teal); color: #fff; }
.cmms-wo {
  position: relative; z-index: 1; flex: 1;
  background: #fff; border-radius: 14px; padding: 0.9rem 1rem;
  margin-bottom: 0.75rem; border: 1px solid rgba(0,91,113,0.08);
}
.cmms-wo strong { display: block; color: var(--color-teal-dark); font-size: 0.88rem; }
.cmms-wo em { font-style: normal; font-size: 0.72rem; color: var(--color-text-muted); }
.cmms-bar { height: 6px; background: #e8eef1; border-radius: 99px; margin-top: 0.7rem; overflow: hidden; }
.cmms-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--color-teal), var(--color-accent)); animation: costFill 2s ease forwards; }

.ppm-cal {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.35rem;
  flex: 1; margin-bottom: 0.5rem;
}
.ppm-cal span {
  height: 36px; border-radius: 8px; background: #eef3f5;
}
.ppm-cal .due { background: rgba(255,139,101,0.25); }
.ppm-cal .done { background: rgba(16,185,129,0.3); }
.ppm-cal .pulse { animation: kpiPop 1.8s ease-in-out infinite; }
.ppm-note { position: relative; z-index: 1; text-align: center; font-size: 0.72rem; font-weight: 700; color: var(--color-teal); margin-bottom: 0.55rem; }

.svc-jobs { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 0.45rem; flex: 1; margin-bottom: 0.75rem; }
.svc-job {
  background: #fff; border-radius: 10px; padding: 0.6rem 0.75rem;
  font-size: 0.78rem; color: var(--color-text); border-left: 3px solid var(--color-teal);
}
.svc-job b { display: block; font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-text-muted); }
.svc-job.on { border-left-color: var(--color-accent); animation: kpiPop 2.2s ease-in-out infinite; }

.sor-lines { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.sor-lines div {
  display: flex; justify-content: space-between;
  background: #fff; border-radius: 10px; padding: 0.5rem 0.7rem;
  font-size: 0.75rem; color: var(--color-text);
}
.sor-lines .on { box-shadow: 0 0 0 1px rgba(255,139,101,0.35); }
.sor-total {
  position: relative; z-index: 1; text-align: right;
  font-weight: 800; color: var(--color-teal-dark); margin: 0.65rem 0 0.7rem;
  animation: kpiPop 2.4s ease-in-out infinite;
}

.mfa-steps { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 0.85rem; }
.mfa-steps div {
  background: #fff; border-radius: 10px; padding: 0.7rem 0.85rem;
  font-size: 0.85rem; font-weight: 700; color: var(--color-teal-dark);
}
.mfa-steps .active {
  letter-spacing: 0.12em;
  animation: kpiPop 2s ease-in-out infinite;
  border: 1px solid rgba(0,91,113,0.15);
}
.mfa-opts { position: relative; z-index: 1; display: flex; gap: 0.4rem; justify-content: center; margin-bottom: 0.85rem; }
.mfa-opts span {
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  padding: 0.25rem 0.55rem; border-radius: 99px; color: var(--color-text-muted);
  background: var(--color-bg-soft);
}
.mfa-opts .on { background: var(--color-teal); color: #fff; }
@media (prefers-reduced-motion: reduce) {
  .am-row.hot, .ppm-cal .pulse, .svc-job.on, .sor-total, .mfa-steps .active, .cmms-bar i { animation: none !important; }
  .cmms-bar i { width: 62%; }
}


/* === Field / job management app heroes === */
.app-foot {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--color-text-muted); margin-top: auto;
}

/* === Job tracking app + mobile engineer app heroes === */
.jta-hub {
  position: relative; isolation: isolate;
  min-height: 400px; border-radius: 18px;
  padding: 1.15rem 1.1rem 1.2rem;
  background: linear-gradient(165deg, rgba(255,255,255,0.97) 0%, rgba(240,247,250,0.94) 100%);
  border: 1px solid rgba(0, 91, 113, 0.09);
  box-shadow: 0 16px 36px rgba(6, 58, 71, 0.1), inset 0 1px 0 rgba(255,255,255,0.9);
  overflow: hidden; display: flex; flex-direction: column;
}
.jta-hub .ops-glow { z-index: 0; opacity: 0.45; }
.jta-top {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0.85rem;
}
.jta-pills {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.85rem;
}
.jta-pills span {
  font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
  padding: 0.28rem 0.5rem; border-radius: 99px; background: var(--color-bg-soft);
  color: var(--color-text-muted);
}
.jta-card {
  position: relative; z-index: 1; flex: 1;
  background: #fff; border-radius: 14px; padding: 0.9rem 1rem;
  border: 1px solid rgba(0,91,113,0.08); margin-bottom: 0.75rem;
}
.jta-card button {
  border: 0; border-radius: 8px; padding: 0.45rem 0.7rem;
  background: var(--color-accent); color: #fff; font-weight: 700; font-size: 0.72rem;
}
@media (prefers-reduced-motion: reduce) {
}


/* === Job sheet app + scheduling app heroes === */
.jsa-hub {
  position: relative; isolation: isolate;
  min-height: 400px; border-radius: 18px;
  padding: 1.15rem 1.1rem 1.2rem;
  background: linear-gradient(165deg, rgba(255,255,255,0.97) 0%, rgba(240,247,250,0.94) 100%);
  border: 1px solid rgba(0, 91, 113, 0.09);
  box-shadow: 0 16px 36px rgba(6, 58, 71, 0.1), inset 0 1px 0 rgba(255,255,255,0.9);
  overflow: hidden; display: flex; flex-direction: column;
}
.jsa-hub .ops-glow { z-index: 0; opacity: 0.45; }
.jsa-lines { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; margin-bottom: 0.55rem; }
.jsa-lines div {
  background: #fff; border-radius: 10px; padding: 0.55rem 0.7rem;
  font-size: 0.78rem; font-weight: 600; color: var(--color-teal-dark);
}
.jsa-lines .on { border: 1px solid rgba(255,139,101,0.35); animation: kpiPop 2.2s ease-in-out infinite; }
.jsa-pdf {
  position: relative; z-index: 1; text-align: center;
  font-size: 0.75rem; font-weight: 700; color: var(--color-teal); margin-bottom: 0.65rem;
}
.jscha-rows { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; margin-bottom: 0.75rem; }
.jscha-rows div {
  background: #fff; border-radius: 10px; padding: 0.6rem 0.75rem;
  font-size: 0.78rem; color: var(--color-text); border-left: 3px solid var(--color-teal);
}
.jscha-rows .move { border-left-color: var(--color-accent); animation: kpiPop 2.2s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .jscha-rows .move { animation: none !important; }
}

/* === Final App heroes: tracking, forms, workforce === */
.met-hub {
  position: relative; isolation: isolate;
  min-height: 400px; border-radius: 18px;
  padding: 1.15rem 1.1rem 1.2rem;
  background: linear-gradient(165deg, rgba(255,255,255,0.97) 0%, rgba(240,247,250,0.94) 100%);
  border: 1px solid rgba(0, 91, 113, 0.09);
  box-shadow: 0 16px 36px rgba(6, 58, 71, 0.1), inset 0 1px 0 rgba(255,255,255,0.9);
  overflow: hidden; display: flex; flex-direction: column;
}
.met-hub .ops-glow { z-index: 0; opacity: 0.45; }
.met-map {
  position: relative; z-index: 1; flex: 1;
  background: linear-gradient(145deg, #e0f2fe, #f0f9ff);
  border-radius: 14px; margin-bottom: 0.55rem; min-height: 140px;
}
.met-eta {
  position: relative; z-index: 1; text-align: center;
  font-size: 0.75rem; font-weight: 700; color: var(--color-teal); margin-bottom: 0.55rem;
}
.mfs-fields { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; margin-bottom: 0.75rem; }
.mfs-fields div {
  background: #fff; border-radius: 10px; padding: 0.55rem 0.7rem;
  font-size: 0.78rem; font-weight: 600; color: var(--color-teal-dark);
}
.mfs-fields .on { border: 1px solid rgba(255,139,101,0.35); animation: kpiPop 2.2s ease-in-out infinite; }
.mwm-team { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; margin-bottom: 0.75rem; }
.mwm-team div {
  background: #fff; border-radius: 10px; padding: 0.6rem 0.75rem;
  font-size: 0.78rem; color: var(--color-text); border-left: 3px solid var(--color-teal);
}
.mwm-team .hot { border-left-color: var(--color-accent); animation: kpiPop 2.2s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
}


/* === Customer communication software hero === */
.ccs-hub {
  position: relative; isolation: isolate;
  min-height: 420px; border-radius: 18px;
  padding: 1.15rem 1.1rem 1.2rem;
  background: linear-gradient(165deg, rgba(255,255,255,0.97) 0%, rgba(240,247,250,0.94) 100%);
  border: 1px solid rgba(0, 91, 113, 0.09);
  box-shadow: 0 16px 36px rgba(6, 58, 71, 0.1), inset 0 1px 0 rgba(255,255,255,0.9);
  overflow: hidden; display: flex; flex-direction: column;
}
.ccs-hub .ops-glow { z-index: 0; opacity: 0.45; }
.ccs-top {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0.85rem;
}
.ccs-thread {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 0.45rem;
  flex: 1; margin-bottom: 0.7rem;
}
.ccs-msg {
  max-width: 88%;
  border-radius: 12px;
  padding: 0.55rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.35;
}
.ccs-msg.out {
  align-self: flex-end;
  background: var(--color-teal);
  color: #fff;
}
.ccs-msg.in {
  align-self: flex-start;
  background: #fff;
  color: var(--color-teal-dark);
  border: 1px solid rgba(0,91,113,0.08);
}
.ccs-msg.on {
  animation: kpiPop 2.2s ease-in-out infinite;
}
.ccs-status {
  position: relative; z-index: 1;
  text-align: center;
  font-size: 0.7rem; font-weight: 700;
  color: var(--color-teal);
  margin-bottom: 0.55rem;
}
.ccs-foot {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--color-text-muted); margin-top: auto;
}
@media (prefers-reduced-motion: reduce) {
  .ccs-msg.on { animation: none !important; }
}


/* === Shared App hero: light mobile device === */
.app-device {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}
.app-device-phone {
  width: min(260px, 100%);
  background: linear-gradient(180deg, #e8eef1 0%, #d7e2e6 100%);
  border-radius: 32px;
  padding: 10px 10px 14px;
  box-shadow:
    0 22px 40px rgba(6, 58, 71, 0.16),
    inset 0 1px 0 rgba(255,255,255,0.8);
  border: 1px solid rgba(0, 91, 113, 0.12);
}
.app-device-notch {
  display: block;
  width: 72px;
  height: 8px;
  margin: 4px auto 8px;
  background: #0f172a;
  border-radius: 99px;
  opacity: 0.35;
}
.app-device-screen {
  background: #fff;
  border-radius: 22px;
  min-height: 340px;
  padding: 0.85rem 0.75rem 0.7rem;
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 0 0 1px rgba(0,91,113,0.06);
}
.app-device-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--color-teal-dark);
  margin-bottom: 0.55rem;
}
.app-device-label {
  margin: 0 0 0.55rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.app-device-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}
.app-device-list div {
  background: var(--color-bg-soft, #f8fafc);
  border-radius: 10px;
  padding: 0.55rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-teal-dark);
}
.app-device-list .on {
  background: rgba(0, 91, 113, 0.08);
  box-shadow: inset 3px 0 0 var(--color-accent);
  animation: kpiPop 2.2s ease-in-out infinite;
}
.app-device-dock {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.3rem;
  margin-top: 0.7rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(0,91,113,0.08);
}
.app-device-dock span {
  text-align: center;
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-text-muted);
  padding: 0.3rem 0;
  border-radius: 8px;
}
.app-device-dock .on {
  background: var(--color-teal);
  color: #fff;
}
.app-device-caption {
  margin: 0.75rem 0 0;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-teal);
  text-align: center;
}
@media (prefers-reduced-motion: reduce) {
  .app-device-list .on { animation: none !important; }
}


/* === Larger App phone + Field Service flow === */
.app-device--lg { min-height: 520px; }
.app-device--lg .app-device-phone {
  width: min(320px, 92%);
  padding: 12px 12px 16px;
  border-radius: 36px;
}
.app-device--lg .app-device-screen {
  min-height: 430px;
  border-radius: 26px;
  position: relative;
  overflow: hidden;
}
.app-device--lg .app-device-caption {
  font-size: 0.78rem;
}

.fsa-screen {
  position: relative;
  display: flex !important;
  flex-direction: column;
  overflow: hidden;
}
.fsa-stage-wrap {
  position: relative;
  flex: 1 1 auto;
  min-height: 230px;
  overflow: hidden;
}
.fsa-stage {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  background: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateX(16px);
  pointer-events: none;
  z-index: 1;
}
.fsa-stage--jobs { animation: fsaJobs 12s ease-in-out infinite; }
.fsa-stage--job  { animation: fsaJob 12s ease-in-out infinite; }
.fsa-stage--done { animation: fsaDone 12s ease-in-out infinite; }

@keyframes fsaJobs {
  0%, 28% { opacity: 1; visibility: visible; transform: none; z-index: 3; }
  32%, 100% { opacity: 0; visibility: hidden; transform: translateX(-14px); z-index: 1; }
}
@keyframes fsaJob {
  0%, 30% { opacity: 0; visibility: hidden; transform: translateX(16px); z-index: 1; }
  34%, 62% { opacity: 1; visibility: visible; transform: none; z-index: 3; }
  66%, 100% { opacity: 0; visibility: hidden; transform: translateX(-14px); z-index: 1; }
}
@keyframes fsaDone {
  0%, 64% { opacity: 0; visibility: hidden; transform: translateX(16px); z-index: 1; }
  68%, 96% { opacity: 1; visibility: visible; transform: none; z-index: 3; }
  100% { opacity: 0; visibility: hidden; transform: translateX(-14px); z-index: 1; }
}

.fsa-screen .app-device-dock {
  flex: 0 0 auto;
  margin-top: 0.35rem;
  position: relative;
  z-index: 4;
  background: #fff;
}

.fsa-jobcard {
  background: var(--color-bg-soft, #f8fafc);
  border-radius: 12px;
  padding: 0.85rem 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.fsa-jobcard strong {
  font-size: 0.9rem;
  color: var(--color-teal-dark);
}
.fsa-jobcard span {
  font-size: 0.72rem;
  color: var(--color-text-muted);
}
.fsa-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 0.85rem;
  gap: 0.4rem;
}
.fsa-actions i {
  flex: 1;
  text-align: center;
  padding: 0.7rem 0;
  border-radius: 10px;
  background: rgba(0,91,113,0.07);
  color: var(--color-teal);
  font-size: 0.95rem;
}
.fsa-actions i:nth-child(2) { animation: kpiPop 12s ease-in-out infinite; }
.fsa-done {
  background: var(--color-bg-soft, #f8fafc);
  border-radius: 12px;
  padding: 1.1rem 0.8rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: center;
}
.fsa-done i {
  color: var(--color-accent);
  font-size: 1.6rem;
  margin-bottom: 0.2rem;
}
.fsa-done strong { font-size: 0.88rem; color: var(--color-teal-dark); }
.fsa-done span { font-size: 0.72rem; color: var(--color-text-muted); }

.fsa-phone .tab-jobs { animation: fsaTabJobs 12s linear infinite; }
.fsa-phone .tab-job  { animation: fsaTabJob 12s linear infinite; }
.fsa-phone .tab-done { animation: fsaTabDone 12s linear infinite; }
@keyframes fsaTabJobs {
  0%, 32% { background: var(--color-teal); color: #fff; }
  33%, 100% { background: transparent; color: var(--color-text-muted); }
}
@keyframes fsaTabJob {
  0%, 32% { background: transparent; color: var(--color-text-muted); }
  33%, 68% { background: var(--color-teal); color: #fff; }
  69%, 100% { background: transparent; color: var(--color-text-muted); }
}
@keyframes fsaTabDone {
  0%, 68% { background: transparent; color: var(--color-text-muted); }
  69%, 96% { background: var(--color-teal); color: #fff; }
  97%, 100% { background: transparent; color: var(--color-text-muted); }
}

@media (prefers-reduced-motion: reduce) {
  .fsa-stage, .fsa-phone .app-device-dock span, .fsa-actions i {
    animation: none !important;
  }
  .fsa-stage--jobs { opacity: 1; transform: none; position: relative; left: 0; right: 0; top: 0; bottom: auto; }
  .fsa-stage--job, .fsa-stage--done { display: none; }
}


/* === Job management app hub console === */
.hub-console {
  position: relative;
  isolation: isolate;
  min-height: 420px;
  border-radius: 18px;
  padding: 1.15rem 1.1rem 1.2rem;
  background: linear-gradient(165deg, rgba(255,255,255,0.97) 0%, rgba(240,247,250,0.94) 100%);
  border: 1px solid rgba(0, 91, 113, 0.09);
  box-shadow: 0 16px 36px rgba(6, 58, 71, 0.1), inset 0 1px 0 rgba(255,255,255,0.9);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.hub-console .ops-glow { z-index: 0; opacity: 0.45; }
.hub-console-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}
.hub-kpis {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}
.hub-kpis div {
  background: #fff;
  border-radius: 10px;
  padding: 0.45rem 0.4rem;
  text-align: center;
  box-shadow: 0 1px 0 rgba(0,91,113,0.06);
}
.hub-kpis em {
  display: block;
  font-style: normal;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.hub-kpis strong {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.95rem;
  color: var(--color-teal-dark);
}
.hub-kpis div:nth-child(2) strong { animation: kpiPop 2.4s ease-in-out infinite; }
.hub-console-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  flex: 1;
}
.hub-col {
  background: #fff;
  border-radius: 12px;
  padding: 0.65rem 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.hub-col span {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.hub-col b {
  font-size: 0.75rem;
  color: var(--color-teal-dark);
}
.hub-col b.muted { color: var(--color-text-muted); font-weight: 600; }
.hub-col.accent {
  box-shadow: inset 0 0 0 1px rgba(249, 115, 22, 0.25);
}
.hub-col.accent b:first-of-type { color: var(--color-accent); }
.hub-console-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.75rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
}
.hub-console-foot i {
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-teal), var(--color-accent));
  border-radius: 99px;
  animation: linkRun 2s ease-in-out infinite;
}
@media (max-width: 640px) {
  .hub-kpis, .hub-console-grid { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .hub-kpis strong, .hub-console-foot i { animation: none !important; }
}


/* === Mobile engineer app phone flow === */
.mea-screen { display: flex; flex-direction: column; overflow: hidden; }
.mea-stage-wrap { position: relative; flex: 1 1 auto; min-height: 230px; overflow: hidden; }
.mea-stage {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; gap: 0.45rem;
  background: #fff; opacity: 0; visibility: hidden;
  pointer-events: none; z-index: 1;
}
.mea-stage--jobs { animation: meaJobs 12s ease-in-out infinite; }
.mea-stage--work { animation: meaWork 12s ease-in-out infinite; }
.mea-stage--sync { animation: meaSync 12s ease-in-out infinite; }
@keyframes meaJobs {
  0%, 28% { opacity: 1; visibility: visible; z-index: 3; }
  32%, 100% { opacity: 0; visibility: hidden; z-index: 1; }
}
@keyframes meaWork {
  0%, 30% { opacity: 0; visibility: hidden; }
  34%, 62% { opacity: 1; visibility: visible; z-index: 3; }
  66%, 100% { opacity: 0; visibility: hidden; }
}
@keyframes meaSync {
  0%, 64% { opacity: 0; visibility: hidden; }
  68%, 96% { opacity: 1; visibility: visible; z-index: 3; }
  100% { opacity: 0; visibility: hidden; }
}
.mea-stage .mea-tools {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4rem;
}
.mea-stage .mea-tools div {
  background: var(--color-bg-soft, #f8fafc);
  border-radius: 10px; padding: 0.75rem 0.3rem;
  text-align: center; font-size: 0.68rem; font-weight: 700;
  color: var(--color-teal-dark);
}
.mea-stage .mea-tools i { display: block; font-size: 1rem; color: var(--color-teal); margin-bottom: 0.3rem; }
.mea-stage .mea-tools .on { box-shadow: inset 0 0 0 1px var(--color-accent); }
.mea-sync {
  background: var(--color-bg-soft, #f8fafc);
  border-radius: 12px; padding: 1rem 0.8rem;
  text-align: center; display: flex; flex-direction: column; gap: 0.3rem; align-items: center;
}
.mea-sync i { color: var(--color-accent); font-size: 1.4rem; }
.mea-sync strong { font-size: 0.85rem; color: var(--color-teal-dark); }
.mea-sync span { font-size: 0.72rem; color: var(--color-text-muted); }
.mea-phone .tab-jobs { animation: meaTab1 12s linear infinite; }
.mea-phone .tab-work { animation: meaTab2 12s linear infinite; }
.mea-phone .tab-sync { animation: meaTab3 12s linear infinite; }
@keyframes meaTab1 {
  0%, 30% { background: var(--color-teal); color: #fff; }
  31%, 100% { background: transparent; color: var(--color-text-muted); }
}
@keyframes meaTab2 {
  0%, 32% { background: transparent; color: var(--color-text-muted); }
  33%, 64% { background: var(--color-teal); color: #fff; }
  65%, 100% { background: transparent; color: var(--color-text-muted); }
}
@keyframes meaTab3 {
  0%, 66% { background: transparent; color: var(--color-text-muted); }
  67%, 96% { background: var(--color-teal); color: #fff; }
  97%, 100% { background: transparent; color: var(--color-text-muted); }
}
.mea-screen .app-device-dock { flex: 0 0 auto; background: #fff; position: relative; z-index: 4; }
@media (prefers-reduced-motion: reduce) {
  .mea-stage { animation: none !important; }
  .mea-stage--jobs { opacity: 1; visibility: visible; position: relative; }
  .mea-stage--work, .mea-stage--sync { display: none; }
}


/* === Mobile workforce management phone flow === */
.mwm-screen { display: flex; flex-direction: column; overflow: hidden; }
.mwm-stage-wrap { position: relative; flex: 1 1 auto; min-height: 230px; overflow: hidden; }
.mwm-stage {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; gap: 0.45rem;
  background: #fff; opacity: 0; visibility: hidden; z-index: 1;
}
.mwm-stage--team { animation: mwmA 12s ease-in-out infinite; }
.mwm-stage--assign { animation: mwmB 12s ease-in-out infinite; }
.mwm-stage--done { animation: mwmC 12s ease-in-out infinite; }
@keyframes mwmA {
  0%, 28% { opacity: 1; visibility: visible; z-index: 3; }
  32%, 100% { opacity: 0; visibility: hidden; }
}
@keyframes mwmB {
  0%, 30% { opacity: 0; visibility: hidden; }
  34%, 62% { opacity: 1; visibility: visible; z-index: 3; }
  66%, 100% { opacity: 0; visibility: hidden; }
}
@keyframes mwmC {
  0%, 64% { opacity: 0; visibility: hidden; }
  68%, 96% { opacity: 1; visibility: visible; z-index: 3; }
  100% { opacity: 0; visibility: hidden; }
}
.mwm-assign {
  background: var(--color-bg-soft, #f8fafc);
  border-radius: 12px; padding: 0.9rem 0.75rem;
  display: flex; flex-direction: column; gap: 0.3rem;
}
.mwm-assign strong { font-size: 0.88rem; color: var(--color-teal-dark); }
.mwm-assign span { font-size: 0.75rem; color: var(--color-text-muted); }
.mwm-assign em {
  font-style: normal; font-size: 0.7rem; font-weight: 800;
  color: #fff; background: var(--color-teal);
  border-radius: 8px; padding: 0.4rem 0.55rem; text-align: center; margin-top: 0.35rem;
}
.mwm-phone .tab-team { animation: mwmT1 12s linear infinite; }
.mwm-phone .tab-assign { animation: mwmT2 12s linear infinite; }
.mwm-phone .tab-done { animation: mwmT3 12s linear infinite; }
@keyframes mwmT1 {
  0%, 30% { background: var(--color-teal); color: #fff; }
  31%, 100% { background: transparent; color: var(--color-text-muted); }
}
@keyframes mwmT2 {
  0%, 32% { background: transparent; color: var(--color-text-muted); }
  33%, 64% { background: var(--color-teal); color: #fff; }
  65%, 100% { background: transparent; color: var(--color-text-muted); }
}
@keyframes mwmT3 {
  0%, 66% { background: transparent; color: var(--color-text-muted); }
  67%, 96% { background: var(--color-teal); color: #fff; }
  97%, 100% { background: transparent; color: var(--color-text-muted); }
}
.mwm-screen .app-device-dock { flex: 0 0 auto; background: #fff; z-index: 4; position: relative; }
@media (prefers-reduced-motion: reduce) {
  .mwm-stage { animation: none !important; }
  .mwm-stage--team { opacity: 1; visibility: visible; position: relative; }
  .mwm-stage--assign, .mwm-stage--done { display: none; }
}


/* === Mobile forms software phone flow === */
.mfs-screen { display: flex; flex-direction: column; overflow: hidden; }
.mfs-stage-wrap { position: relative; flex: 1 1 auto; min-height: 230px; overflow: hidden; }
.mfs-stage {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; gap: 0.45rem;
  background: #fff; opacity: 0; visibility: hidden; z-index: 1;
}
.mfs-stage--form { animation: mfsA 12s ease-in-out infinite; }
.mfs-stage--logic { animation: mfsB 12s ease-in-out infinite; }
.mfs-stage--sync { animation: mfsC 12s ease-in-out infinite; }
@keyframes mfsA {
  0%, 28% { opacity: 1; visibility: visible; z-index: 3; }
  32%, 100% { opacity: 0; visibility: hidden; }
}
@keyframes mfsB {
  0%, 30% { opacity: 0; visibility: hidden; }
  34%, 62% { opacity: 1; visibility: visible; z-index: 3; }
  66%, 100% { opacity: 0; visibility: hidden; }
}
@keyframes mfsC {
  0%, 64% { opacity: 0; visibility: hidden; }
  68%, 96% { opacity: 1; visibility: visible; z-index: 3; }
  100% { opacity: 0; visibility: hidden; }
}
.mfs-card {
  background: var(--color-bg-soft, #f8fafc);
  border-radius: 12px; padding: 0.9rem 0.75rem;
  display: flex; flex-direction: column; gap: 0.3rem;
}
.mfs-card strong { font-size: 0.88rem; color: var(--color-teal-dark); }
.mfs-card span { font-size: 0.75rem; color: var(--color-text-muted); }
.mfs-phone .tab-form { animation: mfsT1 12s linear infinite; }
.mfs-phone .tab-logic { animation: mfsT2 12s linear infinite; }
.mfs-phone .tab-sync { animation: mfsT3 12s linear infinite; }
@keyframes mfsT1 {
  0%, 30% { background: var(--color-teal); color: #fff; }
  31%, 100% { background: transparent; color: var(--color-text-muted); }
}
@keyframes mfsT2 {
  0%, 32% { background: transparent; color: var(--color-text-muted); }
  33%, 64% { background: var(--color-teal); color: #fff; }
  65%, 100% { background: transparent; color: var(--color-text-muted); }
}
@keyframes mfsT3 {
  0%, 66% { background: transparent; color: var(--color-text-muted); }
  67%, 96% { background: var(--color-teal); color: #fff; }
  97%, 100% { background: transparent; color: var(--color-text-muted); }
}
.mfs-screen .app-device-dock { flex: 0 0 auto; background: #fff; z-index: 4; position: relative; }
@media (prefers-reduced-motion: reduce) {
  .mfs-stage { animation: none !important; }
  .mfs-stage--form { opacity: 1; visibility: visible; position: relative; }
  .mfs-stage--logic, .mfs-stage--sync { display: none; }
}


/* === Job scheduling app phone flow === */
.jscha-screen { display: flex; flex-direction: column; overflow: hidden; }
.jscha-stage-wrap { position: relative; flex: 1 1 auto; min-height: 230px; overflow: hidden; }
.jscha-stage {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; gap: 0.45rem;
  background: #fff; opacity: 0; visibility: hidden; z-index: 1;
}
.jscha-stage--day { animation: jschaA 12s ease-in-out infinite; }
.jscha-stage--assign { animation: jschaB 12s ease-in-out infinite; }
.jscha-stage--live { animation: jschaC 12s ease-in-out infinite; }
@keyframes jschaA {
  0%, 28% { opacity: 1; visibility: visible; z-index: 3; }
  32%, 100% { opacity: 0; visibility: hidden; }
}
@keyframes jschaB {
  0%, 30% { opacity: 0; visibility: hidden; }
  34%, 62% { opacity: 1; visibility: visible; z-index: 3; }
  66%, 100% { opacity: 0; visibility: hidden; }
}
@keyframes jschaC {
  0%, 64% { opacity: 0; visibility: hidden; }
  68%, 96% { opacity: 1; visibility: visible; z-index: 3; }
  100% { opacity: 0; visibility: hidden; }
}
.jscha-card {
  background: var(--color-bg-soft, #f8fafc);
  border-radius: 12px; padding: 0.9rem 0.75rem;
  display: flex; flex-direction: column; gap: 0.3rem;
}
.jscha-card strong { font-size: 0.88rem; color: var(--color-teal-dark); }
.jscha-card span { font-size: 0.75rem; color: var(--color-text-muted); }
.jscha-phone .tab-day { animation: jschaT1 12s linear infinite; }
.jscha-phone .tab-assign { animation: jschaT2 12s linear infinite; }
.jscha-phone .tab-live { animation: jschaT3 12s linear infinite; }
@keyframes jschaT1 {
  0%, 30% { background: var(--color-teal); color: #fff; }
  31%, 100% { background: transparent; color: var(--color-text-muted); }
}
@keyframes jschaT2 {
  0%, 32% { background: transparent; color: var(--color-text-muted); }
  33%, 64% { background: var(--color-teal); color: #fff; }
  65%, 100% { background: transparent; color: var(--color-text-muted); }
}
@keyframes jschaT3 {
  0%, 66% { background: transparent; color: var(--color-text-muted); }
  67%, 96% { background: var(--color-teal); color: #fff; }
  97%, 100% { background: transparent; color: var(--color-text-muted); }
}
.jscha-screen .app-device-dock { flex: 0 0 auto; background: #fff; z-index: 4; position: relative; }
@media (prefers-reduced-motion: reduce) {
  .jscha-stage { animation: none !important; }
  .jscha-stage--day { opacity: 1; visibility: visible; position: relative; }
  .jscha-stage--assign, .jscha-stage--live { display: none; }
}


/* === Job sheet app phone flow === */
.jsa-screen { display: flex; flex-direction: column; overflow: hidden; }
.jsa-stage-wrap { position: relative; flex: 1 1 auto; min-height: 230px; overflow: hidden; }
.jsa-stage {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; gap: 0.45rem;
  background: #fff; opacity: 0; visibility: hidden; z-index: 1;
}
.jsa-stage--fill { animation: jsaA 12s ease-in-out infinite; }
.jsa-stage--capture { animation: jsaB 12s ease-in-out infinite; }
.jsa-stage--pdf { animation: jsaC 12s ease-in-out infinite; }
@keyframes jsaA {
  0%, 28% { opacity: 1; visibility: visible; z-index: 3; }
  32%, 100% { opacity: 0; visibility: hidden; }
}
@keyframes jsaB {
  0%, 30% { opacity: 0; visibility: hidden; }
  34%, 62% { opacity: 1; visibility: visible; z-index: 3; }
  66%, 100% { opacity: 0; visibility: hidden; }
}
@keyframes jsaC {
  0%, 64% { opacity: 0; visibility: hidden; }
  68%, 96% { opacity: 1; visibility: visible; z-index: 3; }
  100% { opacity: 0; visibility: hidden; }
}
.jsa-card {
  background: var(--color-bg-soft, #f8fafc);
  border-radius: 12px; padding: 0.9rem 0.75rem;
  display: flex; flex-direction: column; gap: 0.3rem;
}
.jsa-card strong { font-size: 0.88rem; color: var(--color-teal-dark); }
.jsa-card span { font-size: 0.75rem; color: var(--color-text-muted); }
.jsa-phone .tab-fill { animation: jsaT1 12s linear infinite; }
.jsa-phone .tab-capture { animation: jsaT2 12s linear infinite; }
.jsa-phone .tab-pdf { animation: jsaT3 12s linear infinite; }
@keyframes jsaT1 {
  0%, 30% { background: var(--color-teal); color: #fff; }
  31%, 100% { background: transparent; color: var(--color-text-muted); }
}
@keyframes jsaT2 {
  0%, 32% { background: transparent; color: var(--color-text-muted); }
  33%, 64% { background: var(--color-teal); color: #fff; }
  65%, 100% { background: transparent; color: var(--color-text-muted); }
}
@keyframes jsaT3 {
  0%, 66% { background: transparent; color: var(--color-text-muted); }
  67%, 96% { background: var(--color-teal); color: #fff; }
  97%, 100% { background: transparent; color: var(--color-text-muted); }
}
.jsa-screen .app-device-dock { flex: 0 0 auto; background: #fff; z-index: 4; position: relative; }
@media (prefers-reduced-motion: reduce) {
  .jsa-stage { animation: none !important; }
  .jsa-stage--fill { opacity: 1; visibility: visible; position: relative; }
  .jsa-stage--capture, .jsa-stage--pdf { display: none; }
}


/* === Route scheduling phone flow === */
.rte-screen { display: flex; flex-direction: column; overflow: hidden; }
.rte-stage-wrap { position: relative; flex: 1 1 auto; min-height: 230px; overflow: hidden; }
.rte-stage {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; gap: 0.45rem;
  background: #fff; opacity: 0; visibility: hidden; z-index: 1;
}
.rte-stage--jobs { animation: rteA 12s ease-in-out infinite; }
.rte-stage--route { animation: rteB 12s ease-in-out infinite; }
.rte-stage--save { animation: rteC 12s ease-in-out infinite; }
@keyframes rteA {
  0%, 28% { opacity: 1; visibility: visible; z-index: 3; }
  32%, 100% { opacity: 0; visibility: hidden; }
}
@keyframes rteB {
  0%, 30% { opacity: 0; visibility: hidden; }
  34%, 62% { opacity: 1; visibility: visible; z-index: 3; }
  66%, 100% { opacity: 0; visibility: hidden; }
}
@keyframes rteC {
  0%, 64% { opacity: 0; visibility: hidden; }
  68%, 96% { opacity: 1; visibility: visible; z-index: 3; }
  100% { opacity: 0; visibility: hidden; }
}
.rte-card {
  background: var(--color-bg-soft, #f8fafc);
  border-radius: 12px; padding: 0.9rem 0.75rem;
  display: flex; flex-direction: column; gap: 0.3rem;
}
.rte-card strong { font-size: 0.88rem; color: var(--color-teal-dark); }
.rte-card span { font-size: 0.75rem; color: var(--color-text-muted); }
.rte-phone .tab-jobs { animation: rteT1 12s linear infinite; }
.rte-phone .tab-route { animation: rteT2 12s linear infinite; }
.rte-phone .tab-save { animation: rteT3 12s linear infinite; }
@keyframes rteT1 {
  0%, 30% { background: var(--color-teal); color: #fff; }
  31%, 100% { background: transparent; color: var(--color-text-muted); }
}
@keyframes rteT2 {
  0%, 32% { background: transparent; color: var(--color-text-muted); }
  33%, 64% { background: var(--color-teal); color: #fff; }
  65%, 100% { background: transparent; color: var(--color-text-muted); }
}
@keyframes rteT3 {
  0%, 66% { background: transparent; color: var(--color-text-muted); }
  67%, 96% { background: var(--color-teal); color: #fff; }
  97%, 100% { background: transparent; color: var(--color-text-muted); }
}
.rte-screen .app-device-dock { flex: 0 0 auto; background: #fff; z-index: 4; position: relative; }
@media (prefers-reduced-motion: reduce) {
  .rte-stage { animation: none !important; }
  .rte-stage--jobs { opacity: 1; visibility: visible; position: relative; }
  .rte-stage--route, .rte-stage--save { display: none; }
}


/* === Client communication tracking phone flow === */
.cct-screen { display: flex; flex-direction: column; overflow: hidden; }
.cct-stage-wrap { position: relative; flex: 1 1 auto; min-height: 230px; overflow: hidden; }
.cct-stage {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; gap: 0.45rem;
  background: #fff; opacity: 0; visibility: hidden; z-index: 1;
}
.cct-stage--log { animation: cctA 12s ease-in-out infinite; }
.cct-stage--link { animation: cctB 12s ease-in-out infinite; }
.cct-stage--follow { animation: cctC 12s ease-in-out infinite; }
@keyframes cctA {
  0%, 28% { opacity: 1; visibility: visible; z-index: 3; }
  32%, 100% { opacity: 0; visibility: hidden; }
}
@keyframes cctB {
  0%, 30% { opacity: 0; visibility: hidden; }
  34%, 62% { opacity: 1; visibility: visible; z-index: 3; }
  66%, 100% { opacity: 0; visibility: hidden; }
}
@keyframes cctC {
  0%, 64% { opacity: 0; visibility: hidden; }
  68%, 96% { opacity: 1; visibility: visible; z-index: 3; }
  100% { opacity: 0; visibility: hidden; }
}
.cct-card {
  background: var(--color-bg-soft, #f8fafc);
  border-radius: 12px; padding: 0.9rem 0.75rem;
  display: flex; flex-direction: column; gap: 0.3rem;
}
.cct-card strong { font-size: 0.88rem; color: var(--color-teal-dark); }
.cct-card span { font-size: 0.75rem; color: var(--color-text-muted); }
.cct-phone .tab-log { animation: cctT1 12s linear infinite; }
.cct-phone .tab-link { animation: cctT2 12s linear infinite; }
.cct-phone .tab-follow { animation: cctT3 12s linear infinite; }
@keyframes cctT1 {
  0%, 30% { background: var(--color-teal); color: #fff; }
  31%, 100% { background: transparent; color: var(--color-text-muted); }
}
@keyframes cctT2 {
  0%, 32% { background: transparent; color: var(--color-text-muted); }
  33%, 64% { background: var(--color-teal); color: #fff; }
  65%, 100% { background: transparent; color: var(--color-text-muted); }
}
@keyframes cctT3 {
  0%, 66% { background: transparent; color: var(--color-text-muted); }
  67%, 96% { background: var(--color-teal); color: #fff; }
  97%, 100% { background: transparent; color: var(--color-text-muted); }
}
.cct-screen .app-device-dock { flex: 0 0 auto; background: #fff; z-index: 4; position: relative; }
@media (prefers-reduced-motion: reduce) {
  .cct-stage { animation: none !important; }
  .cct-stage--log { opacity: 1; visibility: visible; position: relative; }
  .cct-stage--link, .cct-stage--follow { display: none; }
}


/* === Customer alerts phone flow === */
.ca-screen { display: flex; flex-direction: column; overflow: hidden; }
.ca-stage-wrap { position: relative; flex: 1 1 auto; min-height: 230px; overflow: hidden; }
.ca-stage {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; gap: 0.45rem;
  background: #fff; opacity: 0; visibility: hidden; z-index: 1;
}
.ca-stage--booked { animation: caA 12s ease-in-out infinite; }
.ca-stage--update { animation: caB 12s ease-in-out infinite; }
.ca-stage--done { animation: caC 12s ease-in-out infinite; }
@keyframes caA {
  0%, 28% { opacity: 1; visibility: visible; z-index: 3; }
  32%, 100% { opacity: 0; visibility: hidden; }
}
@keyframes caB {
  0%, 30% { opacity: 0; visibility: hidden; }
  34%, 62% { opacity: 1; visibility: visible; z-index: 3; }
  66%, 100% { opacity: 0; visibility: hidden; }
}
@keyframes caC {
  0%, 64% { opacity: 0; visibility: hidden; }
  68%, 96% { opacity: 1; visibility: visible; z-index: 3; }
  100% { opacity: 0; visibility: hidden; }
}
.ca-card {
  background: var(--color-bg-soft, #f8fafc);
  border-radius: 12px; padding: 0.9rem 0.75rem;
  display: flex; flex-direction: column; gap: 0.3rem;
}
.ca-card strong { font-size: 0.88rem; color: var(--color-teal-dark); }
.ca-card span { font-size: 0.75rem; color: var(--color-text-muted); }
.ca-phone .tab-booked { animation: caT1 12s linear infinite; }
.ca-phone .tab-update { animation: caT2 12s linear infinite; }
.ca-phone .tab-done { animation: caT3 12s linear infinite; }
@keyframes caT1 {
  0%, 30% { background: var(--color-teal); color: #fff; }
  31%, 100% { background: transparent; color: var(--color-text-muted); }
}
@keyframes caT2 {
  0%, 32% { background: transparent; color: var(--color-text-muted); }
  33%, 64% { background: var(--color-teal); color: #fff; }
  65%, 100% { background: transparent; color: var(--color-text-muted); }
}
@keyframes caT3 {
  0%, 66% { background: transparent; color: var(--color-text-muted); }
  67%, 96% { background: var(--color-teal); color: #fff; }
  97%, 100% { background: transparent; color: var(--color-text-muted); }
}
.ca-screen .app-device-dock { flex: 0 0 auto; background: #fff; z-index: 4; position: relative; }
@media (prefers-reduced-motion: reduce) {
  .ca-stage { animation: none !important; }
  .ca-stage--booked { opacity: 1; visibility: visible; position: relative; }
  .ca-stage--update, .ca-stage--done { display: none; }
}


/* === Customer portal phone flow === */
.cp-screen { display: flex; flex-direction: column; overflow: hidden; }
.cp-stage-wrap { position: relative; flex: 1 1 auto; min-height: 230px; overflow: hidden; }
.cp-stage {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; gap: 0.45rem;
  background: #fff; opacity: 0; visibility: hidden; z-index: 1;
}
.cp-stage--jobs { animation: cpA 12s ease-in-out infinite; }
.cp-stage--docs { animation: cpB 12s ease-in-out infinite; }
.cp-stage--invoice { animation: cpC 12s ease-in-out infinite; }
@keyframes cpA {
  0%, 28% { opacity: 1; visibility: visible; z-index: 3; }
  32%, 100% { opacity: 0; visibility: hidden; }
}
@keyframes cpB {
  0%, 30% { opacity: 0; visibility: hidden; }
  34%, 62% { opacity: 1; visibility: visible; z-index: 3; }
  66%, 100% { opacity: 0; visibility: hidden; }
}
@keyframes cpC {
  0%, 64% { opacity: 0; visibility: hidden; }
  68%, 96% { opacity: 1; visibility: visible; z-index: 3; }
  100% { opacity: 0; visibility: hidden; }
}
.cp-card {
  background: var(--color-bg-soft, #f8fafc);
  border-radius: 12px; padding: 0.9rem 0.75rem;
  display: flex; flex-direction: column; gap: 0.3rem;
}
.cp-card strong { font-size: 0.88rem; color: var(--color-teal-dark); }
.cp-card span { font-size: 0.75rem; color: var(--color-text-muted); }
.cp-phone .tab-jobs { animation: cpT1 12s linear infinite; }
.cp-phone .tab-docs { animation: cpT2 12s linear infinite; }
.cp-phone .tab-inv { animation: cpT3 12s linear infinite; }
@keyframes cpT1 {
  0%, 30% { background: var(--color-teal); color: #fff; }
  31%, 100% { background: transparent; color: var(--color-text-muted); }
}
@keyframes cpT2 {
  0%, 32% { background: transparent; color: var(--color-text-muted); }
  33%, 64% { background: var(--color-teal); color: #fff; }
  65%, 100% { background: transparent; color: var(--color-text-muted); }
}
@keyframes cpT3 {
  0%, 66% { background: transparent; color: var(--color-text-muted); }
  67%, 96% { background: var(--color-teal); color: #fff; }
  97%, 100% { background: transparent; color: var(--color-text-muted); }
}
.cp-screen .app-device-dock { flex: 0 0 auto; background: #fff; z-index: 4; position: relative; }
@media (prefers-reduced-motion: reduce) {
  .cp-stage { animation: none !important; }
  .cp-stage--jobs { opacity: 1; visibility: visible; position: relative; }
  .cp-stage--docs, .cp-stage--invoice { display: none; }
}


/* === Job tracking app phone flow === */
.jta-screen { display: flex; flex-direction: column; overflow: hidden; }
.jta-stage-wrap { position: relative; flex: 1 1 auto; min-height: 230px; overflow: hidden; }
.jta-stage {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; gap: 0.45rem;
  background: #fff; opacity: 0; visibility: hidden; z-index: 1;
}
.jta-stage--list { animation: jtaA 12s ease-in-out infinite; }
.jta-stage--tap { animation: jtaB 12s ease-in-out infinite; }
.jta-stage--sync { animation: jtaC 12s ease-in-out infinite; }
@keyframes jtaA {
  0%, 28% { opacity: 1; visibility: visible; z-index: 3; }
  32%, 100% { opacity: 0; visibility: hidden; }
}
@keyframes jtaB {
  0%, 30% { opacity: 0; visibility: hidden; }
  34%, 62% { opacity: 1; visibility: visible; z-index: 3; }
  66%, 100% { opacity: 0; visibility: hidden; }
}
@keyframes jtaC {
  0%, 64% { opacity: 0; visibility: hidden; }
  68%, 96% { opacity: 1; visibility: visible; z-index: 3; }
  100% { opacity: 0; visibility: hidden; }
}
.jta-box {
  background: var(--color-bg-soft, #f8fafc);
  border-radius: 12px; padding: 0.9rem 0.75rem;
  display: flex; flex-direction: column; gap: 0.3rem;
}
.jta-box strong { font-size: 0.88rem; color: var(--color-teal-dark); }
.jta-box span { font-size: 0.75rem; color: var(--color-text-muted); }
.jta-phone .tab-list { animation: jtaT1 12s linear infinite; }
.jta-phone .tab-tap { animation: jtaT2 12s linear infinite; }
.jta-phone .tab-sync { animation: jtaT3 12s linear infinite; }
@keyframes jtaT1 {
  0%, 30% { background: var(--color-teal); color: #fff; }
  31%, 100% { background: transparent; color: var(--color-text-muted); }
}
@keyframes jtaT2 {
  0%, 32% { background: transparent; color: var(--color-text-muted); }
  33%, 64% { background: var(--color-teal); color: #fff; }
  65%, 100% { background: transparent; color: var(--color-text-muted); }
}
@keyframes jtaT3 {
  0%, 66% { background: transparent; color: var(--color-text-muted); }
  67%, 96% { background: var(--color-teal); color: #fff; }
  97%, 100% { background: transparent; color: var(--color-text-muted); }
}
.jta-screen .app-device-dock { flex: 0 0 auto; background: #fff; z-index: 4; position: relative; }
@media (prefers-reduced-motion: reduce) {
  .jta-stage { animation: none !important; }
  .jta-stage--list { opacity: 1; visibility: visible; position: relative; }
  .jta-stage--tap, .jta-stage--sync { display: none; }
}


/* === Mobile engineer tracking phone flow === */
.met-screen { display: flex; flex-direction: column; overflow: hidden; }
.met-stage-wrap { position: relative; flex: 1 1 auto; min-height: 230px; overflow: hidden; }
.met-stage {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; gap: 0.45rem;
  background: #fff; opacity: 0; visibility: hidden; z-index: 1;
}
.met-stage--team { animation: metA 12s ease-in-out infinite; }
.met-stage--map { animation: metB 12s ease-in-out infinite; }
.met-stage--send { animation: metC 12s ease-in-out infinite; }
@keyframes metA {
  0%, 28% { opacity: 1; visibility: visible; z-index: 3; }
  32%, 100% { opacity: 0; visibility: hidden; }
}
@keyframes metB {
  0%, 30% { opacity: 0; visibility: hidden; }
  34%, 62% { opacity: 1; visibility: visible; z-index: 3; }
  66%, 100% { opacity: 0; visibility: hidden; }
}
@keyframes metC {
  0%, 64% { opacity: 0; visibility: hidden; }
  68%, 96% { opacity: 1; visibility: visible; z-index: 3; }
  100% { opacity: 0; visibility: hidden; }
}
.met-box {
  background: var(--color-bg-soft, #f8fafc);
  border-radius: 12px; padding: 0.9rem 0.75rem;
  display: flex; flex-direction: column; gap: 0.3rem;
}
.met-box strong { font-size: 0.88rem; color: var(--color-teal-dark); }
.met-box span { font-size: 0.75rem; color: var(--color-text-muted); }
.met-phone .tab-team { animation: metT1 12s linear infinite; }
.met-phone .tab-map { animation: metT2 12s linear infinite; }
.met-phone .tab-send { animation: metT3 12s linear infinite; }
@keyframes metT1 {
  0%, 30% { background: var(--color-teal); color: #fff; }
  31%, 100% { background: transparent; color: var(--color-text-muted); }
}
@keyframes metT2 {
  0%, 32% { background: transparent; color: var(--color-text-muted); }
  33%, 64% { background: var(--color-teal); color: #fff; }
  65%, 100% { background: transparent; color: var(--color-text-muted); }
}
@keyframes metT3 {
  0%, 66% { background: transparent; color: var(--color-text-muted); }
  67%, 96% { background: var(--color-teal); color: #fff; }
  97%, 100% { background: transparent; color: var(--color-text-muted); }
}
.met-screen .app-device-dock { flex: 0 0 auto; background: #fff; z-index: 4; position: relative; }
@media (prefers-reduced-motion: reduce) {
  .met-stage { animation: none !important; }
  .met-stage--team { opacity: 1; visibility: visible; position: relative; }
  .met-stage--map, .met-stage--send { display: none; }
}


/* === Why Automio sales hero + page === */
.hero--why .hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 520px);
  gap: 2rem;
  align-items: center;
}
.why-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff8b65;
}
.why-stage {
  position: relative;
  isolation: isolate;
  min-height: 420px;
  padding: 1.1rem 1rem 1.25rem;
  border-radius: 22px;
  background: linear-gradient(180deg, #f4fbfc 0%, #e7f3f6 100%);
  border: 1px solid rgba(0, 91, 113, 0.1);
  box-shadow: 0 22px 50px rgba(6, 58, 71, 0.12);
  overflow: hidden;
}
.why-stage-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-teal-dark);
}
.why-pair {
  display: grid;
  grid-template-columns: 1.15fr 28px 0.85fr;
  gap: 0.4rem;
  align-items: stretch;
  min-height: 320px;
}
.why-desk {
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(0,91,113,0.1);
  box-shadow: 0 10px 24px rgba(6,58,71,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.why-desk-top {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.7rem;
  background: #f3f7f8;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--color-teal-dark);
}
.why-desk-dots { display: flex; gap: 4px; }
.why-desk-dots i {
  width: 7px; height: 7px; border-radius: 50%;
  background: #c5d4d8;
}
.why-desk-dots i:first-child { background: #ff8b65; }
.why-kpi {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.35rem;
  padding: 0.55rem 0.55rem 0.2rem;
}
.why-kpi span {
  background: #f4fafb;
  border-radius: 8px;
  padding: 0.4rem 0.35rem;
  text-align: center;
  font-size: 0.62rem;
  color: var(--color-text-muted);
}
.why-kpi strong { display: block; color: var(--color-teal-dark); font-size: 0.82rem; }
.why-rows { padding: 0.45rem 0.55rem 0.7rem; display: flex; flex-direction: column; gap: 0.35rem; }
.why-row {
  display: flex;
  justify-content: space-between;
  gap: 0.4rem;
  padding: 0.45rem 0.5rem;
  border-radius: 8px;
  background: #f7fbfc;
  font-size: 0.68rem;
  color: var(--color-text-muted);
}
.why-row b { color: var(--color-teal-dark); }
.why-row.on {
  background: rgba(0,91,113,0.08);
  color: var(--color-teal-dark);
  box-shadow: inset 3px 0 0 var(--color-teal);
}
.why-row.done {
  background: rgba(16,185,129,0.1);
  box-shadow: inset 3px 0 0 #10b981;
}
.why-beam {
  position: relative;
  align-self: center;
  height: 160px;
  width: 28px;
}
.why-beam::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  bottom: 8px;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(0,91,113,0.12);
}
.why-packet {
  position: absolute;
  left: 50%;
  top: 12px;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--color-teal), #ff8b65);
  box-shadow: 0 0 0 4px rgba(255,139,101,0.18);
  animation: whyPacket 14s ease-in-out infinite;
}
.why-phone {
  background: #111827;
  border-radius: 22px;
  padding: 10px 8px 12px;
  box-shadow: 0 16px 32px rgba(6,58,71,0.22);
  display: flex;
  flex-direction: column;
}
.why-notch {
  width: 42%;
  height: 6px;
  margin: 0 auto 8px;
  background: #0b1220;
  border-radius: 99px;
}
.why-screen {
  flex: 1;
  background: #fff;
  border-radius: 14px;
  padding: 0.55rem 0.55rem 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.why-screen-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--color-teal-dark);
}
.why-job {
  background: #f4fafb;
  border-radius: 10px;
  padding: 0.55rem 0.6rem;
  font-size: 0.68rem;
}
.why-job strong { display: block; color: var(--color-teal-dark); margin-bottom: 0.15rem; }
.why-chip {
  display: inline-flex;
  margin-top: 0.35rem;
  padding: 0.15rem 0.45rem;
  border-radius: 99px;
  font-size: 0.58rem;
  font-weight: 700;
  background: rgba(0,91,113,0.1);
  color: var(--color-teal-dark);
  animation: whyChip 14s ease-in-out infinite;
}
.why-caption {
  margin: 0.7rem 0 0;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-teal-dark);
}
@keyframes whyPacket {
  0%, 8% { top: 16px; opacity: 0.2; }
  18%, 28% { top: 72px; opacity: 1; }
  38%, 48% { top: 128px; opacity: 1; }
  58%, 68% { top: 72px; opacity: 1; }
  80%, 100% { top: 16px; opacity: 0.25; }
}
@keyframes whyChip {
  0%, 20% { background: rgba(0,91,113,0.1); }
  28%, 52% { background: rgba(255,139,101,0.2); color: #c2410c; }
  60%, 82% { background: rgba(16,185,129,0.16); color: #047857; }
  90%, 100% { background: rgba(0,91,113,0.1); }
}
.why-row-a { animation: whyRowA 14s ease-in-out infinite; }
.why-row-b { animation: whyRowB 14s ease-in-out infinite; }
.why-row-c { animation: whyRowC 14s ease-in-out infinite; }
@keyframes whyRowA {
  0%, 24% { background: rgba(0,91,113,0.08); box-shadow: inset 3px 0 0 var(--color-teal); }
  25%, 100% { background: #f7fbfc; box-shadow: none; }
}
@keyframes whyRowB {
  0%, 24% { background: #f7fbfc; box-shadow: none; }
  32%, 62% { background: rgba(255,139,101,0.12); box-shadow: inset 3px 0 0 #ff8b65; }
  70%, 100% { background: #f7fbfc; box-shadow: none; }
}
@keyframes whyRowC {
  0%, 68% { background: #f7fbfc; box-shadow: none; }
  76%, 94% { background: rgba(16,185,129,0.12); box-shadow: inset 3px 0 0 #10b981; }
  96%, 100% { background: #f7fbfc; box-shadow: none; }
}

.why-pain {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.why-pain article {
  background: #fff;
  border: 1px solid rgba(0,91,113,0.08);
  border-radius: 16px;
  padding: 1.15rem 1.2rem;
  box-shadow: 0 8px 22px rgba(6,58,71,0.05);
}
.why-pain h3 { font-size: 1rem; margin: 0.35rem 0 0.4rem; }
.why-pain p { margin: 0; color: var(--color-text-muted); }
.why-pain .feature-icon,
.why-switch .feature-icon,
.why-mosaic .feature-icon,
.why-pane .feature-icon {
  margin-bottom: 0.85rem;
}
.why-pane--app .feature-icon {
  background: rgba(255,255,255,0.12);
  color: #ff8b65;
}
.why-switch article { text-align: left; }

.why-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.why-pane {
  border-radius: 20px;
  padding: 1.6rem 1.5rem 1.4rem;
  background: #fff;
  border: 1px solid rgba(0,91,113,0.08);
}
.why-pane--app {
  background: #063a47;
  color: #fff;
  border-color: transparent;
}
.why-pane--app h2,
.why-pane--app p,
.why-pane--app a { color: #fff; }
.why-pane ul { list-style: none; margin: 1rem 0 0; padding: 0; }
.why-pane li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.55rem 0;
  border-top: 1px solid rgba(0,91,113,0.08);
  font-size: 0.95rem;
}
.why-pane--app li { border-top-color: rgba(255,255,255,0.12); }
.why-pane li i { margin-top: 0.2rem; color: #ff8b65; }

.why-switch {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}
.why-switch article {
  background: #fff;
  border-radius: 14px;
  padding: 1rem 0.95rem;
  border: 1px solid rgba(0,91,113,0.08);
  text-align: center;
}
.why-switch h3 { font-size: 0.92rem; margin: 0 0 0.3rem; }
.why-switch p { margin: 0; font-size: 0.82rem; color: var(--color-text-muted); }

.why-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}
.why-mosaic a {
  display: block;
  background: #fff;
  border-radius: 14px;
  padding: 1.05rem 1rem;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(0,91,113,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.why-mosaic a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(6,58,71,0.08);
}
.why-mosaic h3 { margin: 0.35rem 0 0.25rem; font-size: 0.95rem; }
.why-mosaic p { margin: 0; font-size: 0.82rem; color: var(--color-text-muted); }

@media (max-width: 992px) {
  .hero--why .hero-grid { grid-template-columns: 1fr; }
  .why-pair { grid-template-columns: 1fr; min-height: 0; }
  .why-beam { height: 36px; width: 100%; }
  .why-beam::before {
    left: 12%; right: 12%; top: 50%; bottom: auto; height: 2px; width: auto; transform: none;
  }
  .why-packet { animation: whyPacketH 14s ease-in-out infinite; top: 50%; margin-top: -7px; left: 12%; }
  .why-pain, .why-split { grid-template-columns: 1fr; }
  .why-switch, .why-mosaic { grid-template-columns: 1fr 1fr; }
}
@keyframes whyPacketH {
  0%, 8% { left: 14%; opacity: 0.2; }
  18%, 48% { left: 48%; opacity: 1; }
  58%, 88% { left: 78%; opacity: 1; }
  96%, 100% { left: 14%; opacity: 0.2; }
}
@media (max-width: 640px) {
  .why-switch, .why-mosaic { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .why-packet, .why-chip, .why-row-a, .why-row-b, .why-row-c { animation: none; }
}



/* === Today’s Jobs hub === */
.jobs-hub {
  position: relative;
  isolation: isolate;
  min-height: 420px;
  border-radius: 18px;
  padding: 1.15rem 1.1rem 1.15rem;
  background: linear-gradient(165deg, rgba(255,255,255,0.98) 0%, rgba(240,247,250,0.95) 100%);
  border: 1px solid rgba(0, 91, 113, 0.09);
  box-shadow: 0 16px 36px rgba(6, 58, 71, 0.1), inset 0 1px 0 rgba(255,255,255,0.9);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.jobs-hub .ops-glow { z-index: 0; opacity: 0.4; }

.jobs-hub-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.jobs-hub-list {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.jobs-hub-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.65rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(0, 91, 113, 0.06);
  box-shadow: 0 1px 0 rgba(0, 91, 113, 0.04);
  opacity: 0;
  transform: translateY(8px);
  animation: jobsRowIn 0.55s ease forwards;
}
.jobs-hub-row.delay-1 { animation-delay: 0.15s; }
.jobs-hub-row.delay-2 { animation-delay: 0.3s; }
.jobs-hub-row.delay-3 { animation-delay: 0.45s; }
.jobs-hub-row.delay-4 { animation-delay: 0.6s; }
.jobs-hub-row.is-active {
  box-shadow: inset 0 0 0 1px rgba(249, 115, 22, 0.22), 0 1px 0 rgba(0, 91, 113, 0.04);
}

.jobs-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  line-height: 1.2;
}
.jobs-pill--scheduled {
  background: #e8f1ff;
  color: #2f5fa8;
}
.jobs-pill--invoiced {
  background: #e7f7ef;
  color: #1f7a4d;
}
.jobs-pill--estimate {
  background: #fff4d9;
  color: #9a6b00;
}

.jobs-hub-title {
  font-size: 1em;
  font-weight: 600;
  color: var(--color-teal-dark, #063a47);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.jobs-hub-amount {
  font-size: 1em;
  font-weight: 700;
  color: var(--color-teal-dark, #063a47);
  white-space: nowrap;
}

.jobs-hub-kpis {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
}
.jobs-hub-kpi {
  background: #0b2c3d;
  border-radius: 12px;
  padding: 0.7rem 0.55rem;
  text-align: center;
  color: #fff;
}
.jobs-hub-kpi strong {
  display: block;
  font-size: 2.1rem;
  font-weight: 800;
  color: #ff8b65;
  line-height: 1.1;
}
.jobs-hub-kpi:nth-child(2) strong {
  animation: kpiPop 2.4s ease-in-out infinite;
}
.jobs-hub-kpi span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.72);
}

@keyframes jobsRowIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .jobs-hub-row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "pill amount"
      "title title";
  }
  .jobs-pill { grid-area: pill; }
  .jobs-hub-amount { grid-area: amount; }
  .jobs-hub-title { grid-area: title; white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  .jobs-hub-row,
  .jobs-hub-kpi strong {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}