:root {
  --bg-0: #030913;
  --bg-1: #08111d;
  --bg-2: #0d1a2b;
  --panel: rgba(11, 20, 34, 0.92);
  --panel-soft: rgba(17, 30, 49, 0.88);
  --panel-2: #0f1c2f;
  --line: rgba(151, 176, 208, 0.14);
  --line-strong: rgba(151, 176, 208, 0.28);
  --text: #f3f7fd;
  --muted: #93a7c4;
  --blue: #1565d8;
  --blue-2: #2f8cff;
  --red: #c93737;
  --red-2: #ea554f;
  --amber: #d88a1b;
  --green: #34b26e;
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --header-h: 92px;
  --footer-h: 76px;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at 15% 10%, rgba(21, 101, 216, 0.16), transparent 24%),
    radial-gradient(circle at 80% 15%, rgba(201, 55, 55, 0.12), transparent 22%),
    linear-gradient(180deg, #02060d, #06101b 42%, #02070d 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.6;
  pointer-events: none;
  mask-image: linear-gradient(180deg, rgba(255, 255, 255, 0.35), transparent 88%);
}

a,
button {
  font: inherit;
}

.brand-mark,
.site-nav a,
.deck-links a {
  text-decoration: none;
  color: inherit;
}

.brand-mark__text strong,
.eyebrow,
h1,
h2,
h3,
.pill-label,
.chapter-pill,
.ghost-button,
.cta-button,
.cta-button-link,
.slide-index,
.visual-placeholder span,
.incident-card__tag,
.lane-card span,
.level-card strong {
  font-family: "Space Grotesk", sans-serif;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  letter-spacing: -0.05em;
  line-height: 0.95;
}

h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  max-width: 10.5ch;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.9rem);
  max-width: 12ch;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
}

.subtitle {
  font-size: clamp(1.1rem, 2vw, 1.7rem);
  color: #dbe7f9;
}

.lede,
.section-heading p,
.ops-card p,
.timeline-card p,
.lane-card p,
.impact-box p,
.incident-card p,
.visual-placeholder p,
.app-card p {
  color: var(--muted);
  line-height: 1.7;
}

.eyebrow {
  color: #7fb0ff;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.9rem;
}

.deck-mode {
  overflow: hidden;
}

.deck-shell {
  min-height: 100vh;
  position: relative;
}

.deck-topline {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
}

.progress-rail {
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
}

.progress-bar {
  height: 100%;
  width: 7%;
  background: linear-gradient(90deg, var(--blue), var(--red-2));
  box-shadow: 0 0 26px rgba(47, 140, 255, 0.45);
  transition: width 420ms ease;
}

.deck-header,
.deck-controls {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  backdrop-filter: blur(18px);
}

.deck-header {
  top: 4px;
  min-height: var(--header-h);
  background: linear-gradient(180deg, rgba(5, 10, 18, 0.92), rgba(5, 10, 18, 0.45));
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.deck-controls {
  bottom: 0;
  min-height: var(--footer-h);
  background: linear-gradient(0deg, rgba(5, 10, 18, 0.92), rgba(5, 10, 18, 0.38));
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.deck-header__meta,
.deck-nav-controls,
.deck-links,
.chapter-nav,
.stats-strip,
.hero-actions,
.control-cluster,
.closing-ribbon {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark__logo,
.mini-logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, #0654c8, #d63d41);
  border: 2px solid rgba(255, 255, 255, 0.16);
  font-weight: 700;
  text-transform: lowercase;
}

.mini-logo {
  width: 38px;
  height: 38px;
  font-size: 0.95rem;
}

.brand-mark__logo--image,
.mini-logo--image {
  object-fit: cover;
  padding: 0;
  background: none;
  border: 0;
}

.brand-mark__text {
  display: grid;
}

.brand-mark__text small {
  color: var(--muted);
}

.chapter-nav {
  flex-wrap: wrap;
  justify-content: center;
}

.chapter-pill,
.ghost-button,
.cta-button,
.cta-button-link,
.app-action {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(18, 34, 58, 0.95), rgba(8, 18, 31, 0.95));
  color: var(--text);
  border-radius: 14px;
  padding: 12px 16px;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.chapter-pill {
  color: var(--muted);
  border-radius: 999px;
  padding: 10px 15px;
}

.chapter-pill:hover,
.chapter-pill.is-current,
.ghost-button:hover,
.cta-button:hover,
.cta-button-link:hover,
.app-action:hover {
  transform: translateY(-1px);
  border-color: rgba(97, 162, 255, 0.42);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.24);
}

.chapter-pill.is-current {
  color: var(--text);
}

.deck-stage {
  position: relative;
  height: 100vh;
}

.slide {
  position: absolute;
  inset: calc(var(--header-h) + 20px) 22px calc(var(--footer-h) + 20px);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(13, 24, 39, 0.98), rgba(7, 15, 26, 0.92)),
    rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
  padding: clamp(26px, 4vw, 44px);
  overflow: hidden auto;
  opacity: 0;
  transform: translate3d(90px, 0, 0) scale(0.985);
  pointer-events: none;
  transition: opacity 520ms ease, transform 520ms ease;
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(47, 140, 255, 0.14), transparent 24%),
    radial-gradient(circle at top right, rgba(234, 85, 79, 0.09), transparent 20%);
  pointer-events: none;
}

.slide.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  pointer-events: auto;
  z-index: 2;
}

.slide.is-prev {
  transform: translate3d(-90px, 0, 0) scale(0.985);
}

.slide-index {
  position: absolute;
  top: 24px;
  right: 24px;
  color: rgba(255, 255, 255, 0.18);
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 1;
  pointer-events: none;
}

.hero-ops,
.split-screen,
.dashboard-frame,
.site-hero,
.app-showcase {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  min-height: 100%;
  align-items: center;
}

.split-screen.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.section-heading {
  max-width: 900px;
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.section-heading.compact h2 {
  max-width: 10ch;
}

.ops-board,
.ops-card,
.incident-card,
.lane-card,
.visual-placeholder,
.timeline-card,
.impact-box,
.app-card,
.device-card,
.phone-frame {
  position: relative;
  background: linear-gradient(180deg, rgba(16, 29, 47, 0.98), rgba(9, 18, 31, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
}

.ops-board {
  padding: 18px;
}

.ops-board.large {
  padding: 22px;
}

.ops-board__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #dbe6f8;
  margin-bottom: 16px;
}

.ops-board__grid,
.incident-grid,
.solution-lane,
.dashboard-side,
.card-stack,
.impact-grid,
.scenario-grid,
.app-details,
.mini-feed {
  display: grid;
  gap: 16px;
}

.ops-board__grid,
.incident-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ops-card,
.incident-card,
.lane-card,
.timeline-card,
.impact-box,
.app-card {
  padding: 18px;
}

.ops-card.hot,
.incident-card.critical,
.timeline-card.emphasis,
.lane-card.accent-red,
.impact-box.emphasis {
  background: linear-gradient(180deg, rgba(93, 28, 32, 0.95), rgba(34, 11, 18, 0.94));
}

.ops-card.accent-blue {
  background: linear-gradient(180deg, rgba(15, 54, 98, 0.95), rgba(11, 24, 45, 0.95));
}

.micro-dashboard {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
}

.micro-dashboard__feed {
  display: grid;
  gap: 10px;
}

.micro-dashboard__map,
.map-surface {
  position: relative;
  min-height: 140px;
  border-radius: 18px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(180deg, rgba(13, 26, 43, 0.98), rgba(9, 18, 30, 0.98));
  background-size: 28px 28px, 28px 28px, auto;
  overflow: hidden;
}

.map-line,
.route {
  position: absolute;
  height: 4px;
  border-radius: 999px;
}

.red-line,
.route-red {
  background: linear-gradient(90deg, #d94f4b, #ff7d76);
}

.blue-line,
.route-blue {
  background: linear-gradient(90deg, #297fff, #69b0ff);
}

.route-green {
  background: linear-gradient(90deg, #3ebc71, #7af0a5);
}

.red-line {
  left: 12%;
  right: 10%;
  top: 38%;
}

.blue-line {
  left: 20%;
  right: 20%;
  top: 66%;
}

.map-stop,
.node {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #dbe7fb;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.08);
}

.stop-a { left: 26%; top: 33%; }
.stop-b { left: 53%; top: 33%; }
.stop-c { left: 74%; top: 33%; }
.n1 { left: 22%; top: 34%; }
.n2 { left: 48%; top: 58%; }
.n3 { left: 74%; top: 25%; }
.n4 { left: 66%; top: 66%; }

.live {
  background: #53d57c;
  animation: ping 1.8s ease-in-out infinite;
}

.incident {
  background: #ea554f;
  animation: pulseAlert 1.5s ease-in-out infinite;
}

.feed-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.feed-row p {
  margin: 0;
}

.feed-severity {
  min-width: 52px;
  display: inline-grid;
  place-items: center;
  padding: 6px 8px;
  border-radius: 10px;
  font-size: 0.78rem;
  color: #f8fbff;
}

.feed-severity.high { background: rgba(201, 55, 55, 0.95); }
.feed-severity.med { background: rgba(216, 138, 27, 0.95); }
.feed-severity.ok { background: rgba(52, 178, 110, 0.95); }

.pill-label,
.pill-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d9e6fb;
  font-size: 0.88rem;
}

.pill-status {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.pill-status.blue { color: #87bbff; }
.pill-status.red { color: #ff9389; }
.pill-status.ok { color: #84e6ac; }
.pill-status.med { color: #ffca74; }
.pill-status.high { color: #ff9389; }

.stats-strip {
  flex-wrap: wrap;
  margin-top: 18px;
}

.stat-chip {
  min-width: 180px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.035);
}

.stat-chip span {
  display: block;
  color: var(--muted);
  margin-bottom: 6px;
}

.incident-card__tag,
.lane-card span,
.timeline-card span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #9fc3ff;
}

.solution-lane {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.solution-lane.thirds {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.device-row,
.app-phones,
.level-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.device-card,
.phone-frame {
  padding: 12px;
  border-radius: 28px;
  background: linear-gradient(180deg, #111820, #04070c);
  max-width: 260px;
}

.device-screen,
.phone-screen {
  min-height: 390px;
  border-radius: 22px;
  padding: 18px;
  background: linear-gradient(180deg, #173867, #111b2e 46%, #0a111b);
  display: grid;
  gap: 16px;
  align-content: start;
}

.phone-screen {
  min-height: 460px;
}

.mini-list {
  margin: 0;
  padding-left: 20px;
  line-height: 1.8;
  color: var(--muted);
}

.qr-block {
  aspect-ratio: 1;
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 10%, transparent 10%, transparent 20%, rgba(255, 255, 255, 0.96) 20%, rgba(255, 255, 255, 0.96) 30%, transparent 30%, transparent 40%, rgba(255, 255, 255, 0.96) 40%, rgba(255, 255, 255, 0.96) 50%, transparent 50%, transparent 60%, rgba(255, 255, 255, 0.96) 60%, rgba(255, 255, 255, 0.96) 70%, transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.96) 10%, transparent 10%, transparent 20%, rgba(255, 255, 255, 0.96) 20%, rgba(255, 255, 255, 0.96) 30%, transparent 30%, transparent 40%, rgba(255, 255, 255, 0.96) 40%, rgba(255, 255, 255, 0.96) 50%, transparent 50%, transparent 60%, rgba(255, 255, 255, 0.96) 60%, rgba(255, 255, 255, 0.96) 70%, transparent 70%);
  background-color: #081119;
  border: 12px solid #f2f6ff;
}

.flow-board {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.flow-node {
  padding: 18px;
  min-height: 154px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(17, 31, 51, 0.96), rgba(9, 18, 30, 0.94));
}

.flow-node.danger {
  border-color: rgba(234, 85, 79, 0.32);
}

.visual-placeholder {
  min-height: 260px;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 12px;
  border-style: dashed;
  background:
    linear-gradient(180deg, rgba(18, 34, 58, 0.94), rgba(9, 18, 31, 0.92)),
    rgba(255, 255, 255, 0.02);
}

.visual-placeholder.panorama {
  min-height: 280px;
}

.visual-placeholder.tall {
  min-height: 460px;
}

.visual-placeholder.embedded {
  min-height: 100%;
  border-radius: 16px;
}

.visual-placeholder span {
  color: #f1f6ff;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.level-grid {
  margin: 20px 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.level-card {
  padding: 18px 14px;
  border-radius: 18px;
  display: grid;
  gap: 6px;
  text-align: center;
}

.level-card span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}

.level-card.green { background: linear-gradient(180deg, rgba(38, 126, 79, 0.96), rgba(18, 72, 43, 0.92)); }
.level-card.amber { background: linear-gradient(180deg, rgba(183, 119, 23, 0.96), rgba(94, 55, 9, 0.92)); }
.level-card.red { background: linear-gradient(180deg, rgba(175, 49, 49, 0.96), rgba(92, 19, 19, 0.92)); }
.level-card.blue { background: linear-gradient(180deg, rgba(30, 102, 190, 0.96), rgba(14, 55, 102, 0.92)); }

.scenario-grid,
.impact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.timeline-card,
.impact-box {
  min-height: 186px;
}

.control-cluster,
.hero-actions,
.closing-ribbon {
  flex-wrap: wrap;
  margin: 24px 0;
}

.cta-button.amber {
  background: linear-gradient(180deg, rgba(203, 128, 22, 0.96), rgba(108, 64, 8, 0.95));
}

.cta-button.red,
.cta-button-link {
  background: linear-gradient(180deg, rgba(20, 67, 136, 0.96), rgba(12, 28, 55, 0.96));
}

.cta-button.red {
  background: linear-gradient(180deg, rgba(195, 51, 51, 0.96), rgba(95, 18, 18, 0.95));
}

.cta-button-link {
  display: inline-flex;
  text-decoration: none;
}

.cta-button-link.secondary {
  background: linear-gradient(180deg, rgba(24, 37, 56, 0.96), rgba(10, 18, 30, 0.95));
}

.dashboard-frame {
  grid-template-columns: 1.2fr 0.8fr;
}

.dashboard-side {
  grid-template-columns: 1fr;
}

.dashboard-mock,
.terminal-mock {
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(14, 26, 43, 0.98), rgba(7, 15, 26, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.dashboard-mock__top,
.dashboard-mock__grid,
.ticket-actions,
.dispatch-buttons,
.signal-strip {
  display: grid;
  gap: 12px;
}

.dashboard-mock__top {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 14px;
}

.dashboard-mock.compact .dashboard-mock__top {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mock-stat,
.dashboard-panel,
.terminal-ticket {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.mock-stat span {
  display: block;
  color: var(--muted);
  margin-bottom: 6px;
}

.mock-stat.alert {
  box-shadow: inset 0 0 0 1px rgba(234, 85, 79, 0.25);
}

.dashboard-mock__grid {
  grid-template-columns: 1.2fr 0.8fr;
}

.dashboard-panel.map-panel {
  min-height: 260px;
}

.panel-title {
  display: block;
  margin-bottom: 10px;
  color: #dbe7f9;
}

.map-surface {
  min-height: 210px;
}

.route-red {
  left: 10%;
  right: 16%;
  top: 28%;
}

.route-blue {
  left: 18%;
  right: 12%;
  top: 58%;
}

.route-green {
  left: 22%;
  right: 24%;
  top: 78%;
}

.dashboard-mock__placeholder {
  margin-top: 14px;
  padding: 14px;
  border-radius: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  text-align: center;
  color: var(--muted);
}

.dashboard-mock__placeholder span {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.dispatch-buttons,
.ticket-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.signal-strip {
  margin-top: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.signal-chip {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.signal-chip strong,
.signal-chip span {
  display: block;
}

.signal-chip span {
  margin-top: 6px;
  color: var(--muted);
}

.terminal-mock__header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.terminal-mock__body {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 14px;
}

.terminal-photo {
  min-height: 100%;
}

.closing-stage {
  min-height: 100%;
  display: grid;
  align-content: center;
  gap: 16px;
  position: relative;
}

.closing-ribbon span {
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.closing-glow {
  position: absolute;
  inset: auto 8% 6% auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 140, 255, 0.22), rgba(234, 85, 79, 0.08), transparent 70%);
  filter: blur(18px);
  pointer-events: none;
}

.site-mode,
.app-mode {
  overflow-x: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 28px;
  backdrop-filter: blur(18px);
  background: rgba(5, 10, 18, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-nav a {
  color: var(--muted);
}

.site-shell,
.app-shell {
  padding: 30px 28px 50px;
  display: grid;
  gap: 28px;
}

.site-hero,
.site-section,
.app-showcase,
.app-details {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(12, 22, 37, 0.96), rgba(7, 14, 24, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.site-section,
.app-details {
  display: grid;
  gap: 20px;
}

.app-shell {
  min-height: 100vh;
}

.app-showcase {
  align-items: center;
}

.app-copy {
  max-width: 620px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

.brand-lockup__mark {
  width: 56px;
  height: 56px;
  border-radius: 16px;
}

.brand-lockup__text {
  display: grid;
}

.brand-lockup__text small {
  color: var(--muted);
}

.brand-showcase,
.palette-grid {
  display: grid;
  gap: 18px;
}

.brand-showcase {
  grid-template-columns: 0.7fr 1.3fr;
}

.brand-showcase__tile,
.palette-card {
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(12, 22, 37, 0.96), rgba(7, 14, 24, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.brand-showcase__tile {
  display: grid;
  place-items: center;
  min-height: 260px;
}

.brand-showcase__tile--wide img {
  width: min(100%, 620px);
}

.brand-showcase__tile img {
  width: min(100%, 240px);
  height: auto;
}

.palette-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.palette-card strong,
.palette-card span {
  display: block;
}

.palette-card span {
  color: var(--muted);
  margin-top: 6px;
}

.palette-swatch {
  height: 120px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 16px;
}

.app-card.primary {
  background: rgba(255, 255, 255, 0.04);
}

.phone-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.phone-top__meta {
  display: grid;
  gap: 2px;
}

.phone-top__meta span {
  color: var(--muted);
  font-size: 0.88rem;
}

.app-action {
  width: 100%;
  text-align: left;
  margin-top: 8px;
}

.app-action.subtle {
  background: linear-gradient(180deg, rgba(29, 44, 67, 0.9), rgba(11, 19, 32, 0.92));
}

.prototype-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.prototype-pill,
.location-tab {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease;
}

.prototype-pill:hover,
.prototype-pill.is-active,
.location-tab:hover,
.location-tab.is-active {
  color: var(--text);
  border-color: rgba(97, 162, 255, 0.4);
  transform: translateY(-1px);
}

.prototype-summary {
  margin-top: 18px;
}

.sync-banner {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.sync-banner p {
  margin: 10px 0 0;
  color: var(--muted);
}

.domain-chip {
  margin-top: 12px;
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #dce8fb;
}

.app-prototype-shell {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  align-items: stretch;
}

.tablet-showcase,
.manager-hero {
  align-items: start;
}

.tablet-layout,
.manager-shell {
  display: grid;
  gap: 22px;
}

.tablet-layout {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: stretch;
}

.tablet-frame {
  padding: 14px;
  border-radius: 30px;
  background: linear-gradient(180deg, #111820, #04070c);
  box-shadow: var(--shadow);
}

.tablet-screen {
  min-height: 760px;
  border-radius: 24px;
  padding: 16px;
  display: grid;
  gap: 14px;
  background:
    radial-gradient(circle at top, rgba(33, 97, 199, 0.2), transparent 22%),
    linear-gradient(180deg, #0d1c32, #0b1423 46%, #09101a);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.tablet-topbar,
.tablet-brand,
.tablet-strip,
.tablet-panel__header,
.message-actions,
.quantity-counter,
.record-actions,
.manager-tablet__header,
.manager-header-meta,
.tablet-routebar,
.tablet-bottomnav {
  display: flex;
  gap: 12px;
}

.tablet-topbar,
.tablet-panel__header {
  align-items: center;
  justify-content: space-between;
}

.tablet-brand {
  align-items: center;
}

.tablet-routebar,
.tablet-bottomnav {
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.tablet-routebar {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #dce7fb;
  font-size: 0.88rem;
}

.tablet-routebar strong {
  color: #ffffff;
}

.tablet-strip {
  flex-wrap: wrap;
}

.tablet-stat,
.tablet-panel,
.incident-item,
.record-monitor,
.map-caption {
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.tablet-panel {
  background: linear-gradient(180deg, rgba(17, 31, 51, 0.92), rgba(10, 19, 31, 0.9));
}

.tablet-stat span,
.panel-hint,
.assignment-card span,
.map-caption,
.incident-item span {
  color: var(--muted);
}

.tablet-stat span,
.tablet-stat strong,
.assignment-card strong,
.assignment-card span,
.assignment-card p {
  display: block;
}

.tablet-grid,
.service-action-grid,
.quick-report-list,
.incident-stack,
.manager-grid {
  display: grid;
  gap: 12px;
}

.tablet-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tablet-panel--hero {
  grid-column: span 2;
}

.assignment-card {
  margin-top: 8px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.control-cluster--tight {
  margin-bottom: 0;
  margin-top: 10px;
}

.level-grid--tablet {
  margin: 0;
}

.level-card {
  border: 0;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.level-card:hover,
.level-card.is-selected {
  transform: translateY(-1px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.service-action-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-chip,
.quick-report,
.quantity-button {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 14px;
  padding: 10px 12px;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease;
}

.service-chip:hover,
.service-chip.is-selected,
.quick-report:hover,
.quick-report.active,
.quantity-button:hover {
  transform: translateY(-1px);
  border-color: rgba(97, 162, 255, 0.4);
}

.service-chip strong {
  float: right;
}

.quantity-counter {
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}

.quantity-button {
  width: 44px;
  text-align: center;
}

.quick-report-list {
  grid-template-columns: 1fr;
}

.record-actions,
.message-actions {
  flex-wrap: wrap;
}

.tablet-bottomnav {
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.88rem;
}

.tablet-bottomnav .active {
  color: #50a5ff;
}

.manager-grid {
  grid-template-columns: 0.9fr 1.2fr 0.8fr;
}

.incident-board {
  display: grid;
  gap: 12px;
}

.manager-tablet {
  background: linear-gradient(180deg, rgba(11, 21, 35, 0.98), rgba(7, 14, 24, 0.96));
}

.manager-tablet__header {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.manager-header-meta {
  flex-direction: column;
  gap: 2px;
  align-items: flex-end;
  color: var(--muted);
  font-size: 0.88rem;
}

.incident-item {
  background: linear-gradient(180deg, rgba(17, 31, 51, 0.92), rgba(10, 19, 31, 0.9));
}

.incident-item strong {
  color: #eef4ff;
}

.incident-item p {
  margin: 8px 0 0;
  font-size: 0.88rem;
}

.record-monitor strong,
.map-caption {
  color: #e4edff;
}

.record-monitor p,
.map-caption {
  margin: 8px 0 0;
  font-size: 0.9rem;
}

.terminal-device {
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(12, 22, 37, 0.98), rgba(7, 14, 24, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.terminal-device__header,
.terminal-panel__header,
.terminal-actions,
.terminal-metric-stack {
  display: flex;
  gap: 12px;
}

.terminal-device__header,
.terminal-panel__header {
  justify-content: space-between;
  align-items: center;
}

.terminal-device__header {
  margin-bottom: 14px;
}

.terminal-device__header span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.9rem;
}

.terminal-device__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
}

.terminal-panel {
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(17, 31, 51, 0.92), rgba(10, 19, 31, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.terminal-panel--hero {
  grid-column: span 2;
}

.terminal-ticket-card {
  padding: 16px;
  margin-top: 10px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(93, 28, 32, 0.9), rgba(34, 11, 18, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.terminal-ticket-card strong,
.terminal-ticket-card span {
  display: block;
}

.terminal-ticket-card span,
.terminal-ticket-card p,
.terminal-metric span {
  color: #d5e0f4;
}

.terminal-ticket-card p {
  margin: 8px 0 0;
}

.terminal-actions,
.terminal-metric-stack {
  flex-wrap: wrap;
  margin-top: 12px;
}

.terminal-metric {
  min-width: 160px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.terminal-metric span,
.terminal-metric strong {
  display: block;
}

.terminal-metric strong {
  margin-top: 5px;
  color: #eef4ff;
}

.incident-item strong,
.incident-item span {
  display: block;
}

.incident-item p {
  margin: 6px 0 0;
  color: var(--muted);
}

.record-monitor {
  min-height: 150px;
}

.interactive-phone {
  max-width: 320px;
  width: 100%;
  justify-self: center;
}

.phone-screen--interactive {
  min-height: 650px;
  grid-template-rows: auto auto 1fr;
  background:
    radial-gradient(circle at top, rgba(33, 97, 199, 0.32), transparent 28%),
    linear-gradient(180deg, #0d1d37, #0c1628 42%, #09111c);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.phone-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.phone-progress__step {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  transition: background 220ms ease, transform 220ms ease;
}

.phone-progress__step.is-active {
  background: linear-gradient(90deg, var(--blue-2), #86b8ff);
  transform: scaleX(1.02);
}

.phone-statusbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #dbe7fb;
  font-size: 0.84rem;
}

.app-stage {
  position: relative;
  overflow: hidden;
}

.app-screen {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: start;
  gap: 14px;
  opacity: 0;
  transform: translateX(18px);
  pointer-events: none;
  transition: opacity 240ms ease, transform 240ms ease;
}

.app-screen.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.app-choice-grid,
.manual-grid,
.confirm-list,
.response-rail,
.coverage-list {
  display: grid;
  gap: 10px;
}

.app-choice {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 16px;
  padding: 14px;
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.app-choice strong,
.app-choice span {
  display: block;
}

.app-choice span {
  color: var(--muted);
  margin-top: 4px;
  font-size: 0.9rem;
}

.app-choice:hover,
.app-choice.is-selected {
  border-color: rgba(97, 162, 255, 0.48);
  transform: translateY(-1px);
  background: rgba(27, 60, 108, 0.24);
}

.app-home-tools {
  display: grid;
  gap: 10px;
}

.home-tool {
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.home-tool strong,
.home-tool span {
  display: block;
}

.home-tool span {
  color: var(--muted);
  margin-top: 4px;
  font-size: 0.88rem;
}

.app-location-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.location-panel {
  display: none;
}

.location-panel.is-active {
  display: block;
}

.qr-block--compact {
  max-width: 220px;
  margin: 0 auto 10px;
}

.manual-grid label {
  display: grid;
  gap: 6px;
}

.manual-grid span,
.confirm-list span,
.tiny-copy {
  color: var(--muted);
  font-size: 0.86rem;
}

.manual-grid input,
.manual-grid select {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 10, 19, 0.7);
  color: var(--text);
  padding: 12px;
}

.confirm-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.confirm-list div {
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.confirm-list strong {
  display: block;
  margin-top: 4px;
}

.app-card--nested {
  margin-top: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.toggle-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px 0 0;
  color: var(--muted);
}

.toggle-row strong {
  color: #e0ebfc;
}

.app-footer-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.response-rail__item {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  opacity: 0.55;
  transition: opacity 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.response-rail__item.is-complete {
  opacity: 1;
  border-color: rgba(97, 162, 255, 0.3);
  transform: translateY(-1px);
}

.response-rail__item strong,
.response-rail__item span {
  display: block;
}

.response-rail__item span {
  margin-top: 5px;
  color: var(--muted);
}

.success-card {
  box-shadow: inset 0 0 0 1px rgba(52, 178, 110, 0.28);
}

.live-status-row {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 12px;
}

.live-status,
.countdown-tile,
.event-log {
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.live-status {
  display: flex;
  gap: 12px;
  align-items: center;
}

.live-status strong,
.live-status span,
.countdown-tile span,
.countdown-tile strong {
  display: block;
}

.live-status span,
.countdown-tile span {
  color: var(--muted);
  margin-top: 4px;
}

.live-status--blue {
  box-shadow: inset 0 0 0 1px rgba(47, 140, 255, 0.18);
}

.live-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue-2);
  box-shadow: 0 0 0 8px rgba(47, 140, 255, 0.1);
  animation: pulseStatus 1.8s ease-in-out infinite;
}

.countdown-tile {
  display: grid;
  align-content: center;
  text-align: center;
}

.countdown-tile strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  margin-top: 6px;
}

.state-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.state-chip {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  border-radius: 999px;
  padding: 9px 12px;
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.state-chip:hover,
.state-chip.is-active {
  color: var(--text);
  border-color: rgba(97, 162, 255, 0.42);
  transform: translateY(-1px);
}

.state-card {
  border-left: 3px solid rgba(97, 162, 255, 0.55);
}

.state-card__header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.event-log {
  display: grid;
  gap: 12px;
}

.event-log__header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.event-log__header h3 {
  margin: 0;
}

.event-log__items {
  display: grid;
  gap: 10px;
}

.event-entry {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.event-entry__time {
  min-width: 44px;
  color: var(--muted);
  font-size: 0.82rem;
}

.event-entry__body strong,
.event-entry__body span {
  display: block;
}

.event-entry__body span {
  color: var(--muted);
  margin-top: 3px;
  font-size: 0.88rem;
}

.app-response-panel {
  min-height: 100%;
}

.coverage-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.coverage-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
}

.coverage-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.coverage-list li.is-covered {
  color: var(--text);
}

.coverage-list li.is-covered::before {
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(52, 178, 110, 0.12);
}

.cta-button.green {
  background: linear-gradient(180deg, rgba(43, 145, 91, 0.96), rgba(19, 74, 46, 0.95));
}

.tablet-suite {
  display: grid;
  gap: 24px;
}

.suite-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.suite-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.tablet-suite__devices {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.device-shell {
  position: relative;
  padding: 10px;
  border-radius: 28px;
  border: 1px solid rgba(141, 169, 212, 0.24);
  background:
    linear-gradient(180deg, rgba(8, 13, 23, 0.96), rgba(5, 8, 15, 0.98)),
    radial-gradient(circle at top, rgba(43, 107, 255, 0.24), transparent 52%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 24px 70px rgba(0, 0, 0, 0.4);
}

.device-shell.tall {
  min-height: 760px;
}

.device-screen-ui {
  display: grid;
  gap: 14px;
  height: 100%;
  padding: 14px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(10, 19, 33, 0.98), rgba(7, 12, 22, 0.98)),
    radial-gradient(circle at top, rgba(39, 110, 255, 0.16), transparent 56%);
  border: 1px solid rgba(110, 144, 202, 0.2);
}

.ui-topbar,
.ui-subbar,
.ui-nextstop,
.ui-panel__header,
.toggle-row,
.detail-list > div,
.assignment-ticket,
.device-footer-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ui-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mini-logo--image {
  width: 24px;
  height: 24px;
}

.ui-topbar strong,
.ui-nextstop strong,
.assignment-ticket strong {
  color: #f5f8ff;
}

.ui-subbar,
.ui-nextstop small,
.panel-hint,
.tiny-copy,
.detail-list span,
.assignment-ticket span,
.assignment-ticket small,
.device-footer-nav span {
  color: rgba(216, 227, 247, 0.74);
  font-size: 0.83rem;
}

.ui-subbar {
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(123, 148, 197, 0.14);
  flex-wrap: wrap;
}

.ui-nextstop {
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(15, 34, 63, 0.96), rgba(11, 20, 35, 0.96));
  border: 1px solid rgba(75, 118, 198, 0.28);
}

.ui-nextstop span,
.ui-nextstop small {
  min-width: 52px;
}

.ui-primary-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.ui-primary-actions.vertical {
  grid-template-columns: 1fr;
}

.ui-action {
  min-height: 96px;
  padding: 14px 12px;
  border: 0;
  border-radius: 18px;
  color: #f5f8ff;
  font: inherit;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.ui-action.blue {
  background: linear-gradient(180deg, rgba(44, 106, 242, 0.98), rgba(28, 72, 175, 0.98));
}

.ui-action.amber {
  background: linear-gradient(180deg, rgba(239, 154, 33, 0.98), rgba(172, 101, 13, 0.98));
}

.ui-action.red {
  background: linear-gradient(180deg, rgba(224, 74, 67, 0.98), rgba(148, 34, 31, 0.98));
}

.ui-panel {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(8, 15, 27, 0.92);
  border: 1px solid rgba(123, 148, 197, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.ui-panel h3,
.panel-title {
  margin: 0;
  font-size: 0.96rem;
  color: #f5f8ff;
}

.support-grid,
.tag-grid,
.service-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.support-item,
.tag-pill,
.service-type,
.back-link {
  padding: 12px 10px;
  border-radius: 14px;
  border: 1px solid rgba(129, 154, 202, 0.18);
  background: rgba(255, 255, 255, 0.03);
  color: #eaf1ff;
  font: inherit;
  cursor: pointer;
}

.support-item {
  display: grid;
  gap: 4px;
  justify-items: start;
  text-align: left;
}

.support-item strong,
.tag-pill.active,
.service-type:hover,
.support-item.is-selected {
  color: #fff;
}

.support-item.is-selected,
.tag-pill.active,
.service-type:hover {
  border-color: rgba(74, 132, 247, 0.5);
  background: rgba(36, 92, 206, 0.2);
}

.back-link {
  justify-self: start;
  padding-inline: 14px;
}

.ui-notes {
  width: 100%;
  border: 1px solid rgba(129, 154, 202, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: #f5f8ff;
  font: inherit;
  padding: 12px;
  resize: vertical;
}

.submit-wide {
  width: 100%;
  justify-content: center;
}

.detail-list {
  display: grid;
  gap: 10px;
}

.detail-list > div {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.assignment-stack {
  display: grid;
  gap: 12px;
}

.assignment-ticket {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(136, 160, 209, 0.18);
  background: linear-gradient(180deg, rgba(23, 37, 63, 0.96), rgba(12, 19, 34, 0.96));
  align-items: start;
}

.assignment-ticket > * {
  display: block;
}

.assignment-ticket--red {
  background: linear-gradient(180deg, rgba(87, 22, 34, 0.96), rgba(38, 16, 28, 0.98));
  border-color: rgba(226, 84, 96, 0.22);
}

.assignment-ticket--blue {
  background: linear-gradient(180deg, rgba(19, 55, 120, 0.96), rgba(11, 28, 62, 0.98));
  border-color: rgba(72, 126, 231, 0.24);
}

.device-footer-nav {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid rgba(123, 148, 197, 0.14);
}

.device-footer-nav span.active {
  color: #fff;
}

.dashboard-reference {
  display: grid;
  gap: 20px;
}

.dashboard-reference__top {
  display: flex;
  justify-content: flex-end;
}

.dashboard-top-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

.dashboard-reference__grid {
  display: grid;
  grid-template-columns: 1.05fr 1.8fr 1fr;
  gap: 16px;
}

.large-map {
  min-height: 420px;
}

.large-map .map-surface {
  min-height: 320px;
}

.incident-stack {
  display: grid;
  gap: 10px;
}

.incident-item {
  display: grid;
  gap: 6px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(123, 148, 197, 0.14);
}

.record-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.operator-device {
  width: min(480px, 100%);
  margin-left: auto;
}

.operator-device .device-screen-ui {
  min-height: 520px;
}

.assignment-card {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(22, 46, 84, 0.96), rgba(11, 22, 38, 0.98));
  border: 1px solid rgba(78, 117, 196, 0.26);
}

@media (max-width: 1180px) {
  .hero-ops,
  .split-screen,
  .dashboard-frame,
  .site-hero,
  .app-showcase,
  .app-prototype-shell,
  .tablet-layout,
  .terminal-device__grid,
  .flow-board,
  .solution-lane,
  .scenario-grid,
  .impact-grid,
  .level-grid,
  .signal-strip,
  .dashboard-mock__grid,
  .terminal-mock__body,
  .micro-dashboard,
  .brand-showcase,
  .palette-grid,
  .manager-grid,
  .tablet-grid,
  .service-action-grid,
  .tablet-suite__devices,
  .dashboard-reference__grid,
  .dashboard-top-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-board {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  html,
  body {
    overflow-x: hidden;
  }

  .deck-mode {
    overflow: auto;
  }

  .deck-header,
  .deck-controls,
  .site-header {
    padding: 14px 16px;
    flex-wrap: wrap;
  }

  .slide {
    position: relative;
    inset: auto;
    min-height: calc(100vh - 176px);
    margin: calc(var(--header-h) + 20px) 14px 16px;
  }

  .deck-stage {
    height: auto;
  }

  .hero-ops,
  .split-screen,
  .dashboard-frame,
  .site-hero,
  .app-showcase,
  .app-prototype-shell,
  .tablet-layout,
  .terminal-device__grid,
  .solution-lane,
  .solution-lane.thirds,
  .incident-grid,
  .device-row,
  .app-phones,
  .level-grid,
  .scenario-grid,
  .impact-grid,
  .flow-board,
  .dashboard-mock__top,
  .dashboard-mock__grid,
  .terminal-mock__body,
  .dispatch-buttons,
  .ticket-actions,
  .signal-strip,
  .micro-dashboard,
  .brand-showcase,
  .palette-grid,
  .manager-grid,
  .tablet-grid,
  .service-action-grid,
  .tablet-suite__devices,
  .dashboard-reference__grid,
  .dashboard-top-stats,
  .ui-primary-actions,
  .support-grid,
  .tag-grid,
  .service-type-grid,
  .record-actions {
    grid-template-columns: 1fr;
  }

  .terminal-panel--hero {
    grid-column: span 1;
  }

  .chapter-nav,
  .site-nav,
  .deck-header__meta {
    width: 100%;
    justify-content: flex-start;
  }

  .slide-index {
    font-size: 2.6rem;
    top: 18px;
    right: 18px;
  }

  .site-shell,
  .app-shell {
    padding: 18px 14px 40px;
  }

  .site-hero,
  .site-section,
  .app-showcase,
  .app-details {
    padding: 22px;
  }

  .suite-header {
    flex-direction: column;
  }

  .suite-actions {
    justify-content: flex-start;
  }

  .confirm-list,
  .app-footer-actions {
    grid-template-columns: 1fr;
  }

  .interactive-phone {
    max-width: 100%;
  }
}

@keyframes cardRise {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes pulseAlert {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(234, 85, 79, 0.3);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(234, 85, 79, 0);
  }
}

@keyframes ping {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(83, 213, 124, 0.35);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(83, 213, 124, 0);
  }
}

@keyframes pulseStatus {
  0%, 100% {
    box-shadow: 0 0 0 8px rgba(47, 140, 255, 0.1);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(47, 140, 255, 0);
  }
}

.slide.is-active .ops-card,
.slide.is-active .incident-card,
.slide.is-active .lane-card,
.slide.is-active .timeline-card,
.slide.is-active .impact-box,
.slide.is-active .visual-placeholder,
.slide.is-active .device-card,
.slide.is-active .level-card {
  animation: cardRise 560ms ease both;
}

.slide.is-active .ops-card:nth-child(2),
.slide.is-active .incident-card:nth-child(2),
.slide.is-active .lane-card:nth-child(2),
.slide.is-active .timeline-card:nth-child(2),
.slide.is-active .impact-box:nth-child(2),
.slide.is-active .device-card:nth-child(2),
.slide.is-active .level-card:nth-child(2) {
  animation-delay: 90ms;
}

.slide.is-active .ops-card:nth-child(3),
.slide.is-active .incident-card:nth-child(3),
.slide.is-active .lane-card:nth-child(3),
.slide.is-active .timeline-card:nth-child(3),
.slide.is-active .impact-box:nth-child(3),
.slide.is-active .level-card:nth-child(3) {
  animation-delay: 140ms;
}

.slide.is-active .ops-card:nth-child(4),
.slide.is-active .incident-card:nth-child(4),
.slide.is-active .lane-card:nth-child(4),
.slide.is-active .timeline-card:nth-child(4),
.slide.is-active .impact-box:nth-child(4),
.slide.is-active .level-card:nth-child(4) {
  animation-delay: 190ms;
}
