:root {
  --c12-bg: #07100d;
  --c12-bg-2: #0a1511;
  --c12-bg-3: #0d1b16;

  --c12-panel: rgba(13, 27, 22, 0.82);
  --c12-panel-strong: rgba(12, 25, 20, 0.96);
  --c12-panel-soft: rgba(255, 255, 255, 0.035);

  --c12-line: rgba(255, 255, 255, 0.09);
  --c12-line-strong: rgba(255, 255, 255, 0.16);

  --c12-text: #f3f6f4;
  --c12-muted: #8fa39a;
  --c12-muted-2: #657970;

  --c12-accent: #b7ff3c;
  --c12-accent-soft: rgba(183, 255, 60, 0.12);
  --c12-accent-mid: rgba(183, 255, 60, 0.28);

  --c12-warning: #ffb84d;
  --c12-danger: #ff6666;
  --c12-info: #74b8ff;

  --c12-radius-sm: 12px;
  --c12-radius: 20px;
  --c12-radius-lg: 30px;

  --c12-shadow:
    0 24px 70px rgba(0, 0, 0, 0.35);

  --c12-header-height: 72px;

  --c12-max: 1760px;

  --c12-ease:
    cubic-bezier(0.22, 1, 0.36, 1);
}


/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--c12-bg);
}

body {
  margin: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}


/* =========================================================
   BODY
========================================================= */

.c12-body {
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;

  color: var(--c12-text);
  background:
    radial-gradient(
      circle at 50% -20%,
      rgba(183, 255, 60, 0.08),
      transparent 34%
    ),
    linear-gradient(
      180deg,
      #08110e 0%,
      #07100d 55%,
      #050b09 100%
    );

  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.c12-body::selection {
  color: #07100d;
  background: var(--c12-accent);
}

.c12-shell {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
}


/* =========================================================
   AMBIENT BACKGROUND
========================================================= */

.c12-ambient {
  position: fixed;
  inset: 0;
  z-index: -5;
  overflow: hidden;
  pointer-events: none;
}

.c12-ambient-grid {
  position: absolute;
  inset: 0;

  opacity: 0.26;

  background-image:
    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: 58px 58px;

  mask-image:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.8),
      transparent 92%
    );
}

.c12-ambient-glow {
  position: absolute;
  width: 620px;
  height: 620px;

  border-radius: 50%;

  filter: blur(90px);
  opacity: 0.09;
}

.c12-ambient-glow--one {
  top: 10%;
  left: -260px;
  background: var(--c12-accent);
}

.c12-ambient-glow--two {
  right: -320px;
  bottom: 8%;
  background: #3cf0a1;
}

.c12-ambient-noise {
  position: absolute;
  inset: 0;

  opacity: 0.025;

  background-image:
    repeating-radial-gradient(
      circle at 0 0,
      transparent 0,
      rgba(255, 255, 255, 0.8) 1px,
      transparent 2px,
      transparent 5px
    );
}


/* =========================================================
   TOP BAR
========================================================= */

.c12-topbar {
  position: sticky;
  top: 0;
  z-index: 100;

  min-height: var(--c12-header-height);

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;

  padding: 12px clamp(18px, 3vw, 52px);

  border-bottom: 1px solid var(--c12-line);

  background:
    linear-gradient(
      180deg,
      rgba(7, 16, 13, 0.96),
      rgba(7, 16, 13, 0.88)
    );

  backdrop-filter: blur(24px);
}

.c12-topbar__left,
.c12-topbar__right {
  display: flex;
  align-items: center;
}

.c12-topbar__left {
  gap: 18px;
}

.c12-topbar__right {
  justify-content: flex-end;
  gap: 8px;
}

.c12-back {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  color: var(--c12-muted);

  font-size: 13px;
  font-weight: 700;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.c12-back:hover {
  color: var(--c12-text);
  transform: translateX(-2px);
}

.c12-back__arrow {
  font-size: 18px;
  line-height: 1;
}

.c12-topbar__divider {
  width: 1px;
  height: 30px;
  background: var(--c12-line);
}

.c12-case-label {
  display: flex;
  align-items: center;
  gap: 11px;
}

.c12-case-label__dot {
  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: var(--c12-accent);

  box-shadow:
    0 0 0 5px rgba(183, 255, 60, 0.08),
    0 0 20px rgba(183, 255, 60, 0.4);
}

.c12-case-label > div {
  display: grid;
  gap: 2px;
}

.c12-case-label__eyebrow {
  color: var(--c12-muted-2);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.c12-case-label strong {
  font-size: 12px;
  font-weight: 700;
}

.c12-system-status {
  display: flex;
  align-items: center;
  gap: 9px;

  padding: 8px 13px;

  border: 1px solid rgba(183, 255, 60, 0.14);
  border-radius: 999px;

  color: #c8d6cf;
  background: rgba(183, 255, 60, 0.045);

  font-size: 11px;
  font-weight: 700;
}

.c12-system-status__pulse,
.c12-live-dot {
  display: inline-block;

  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: var(--c12-accent);

  box-shadow: 0 0 14px rgba(183, 255, 60, 0.6);

  animation: c12Pulse 1.9s ease-in-out infinite;
}

@keyframes c12Pulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.86);
  }

  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

.c12-mode-switch,
.c12-sound-toggle {
  min-height: 34px;

  border: 1px solid var(--c12-line);
  border-radius: 999px;

  color: var(--c12-muted);
  background: rgba(255, 255, 255, 0.025);

  cursor: pointer;

  transition:
    border-color 0.25s ease,
    color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}

.c12-mode-switch {
  padding: 0 14px;

  font-size: 11px;
  font-weight: 800;
}

.c12-mode-switch:hover,
.c12-sound-toggle:hover {
  color: var(--c12-text);
  border-color: var(--c12-line-strong);
}

.c12-mode-switch.is-active {
  color: #07100d;
  border-color: var(--c12-accent);
  background: var(--c12-accent);
}

.c12-sound-toggle {
  width: 34px;
  padding: 0;
}


/* =========================================================
   GLOBAL ORDER STRIP
========================================================= */

.c12-order-strip {
  position: sticky;
  top: var(--c12-header-height);
  z-index: 90;

  display: grid;
  grid-template-columns:
    minmax(180px, 0.8fr)
    minmax(320px, 1.5fr)
    auto
    minmax(180px, 0.8fr);

  align-items: center;
  gap: 24px;

  padding:
    13px
    clamp(20px, 4vw, 70px);

  border-bottom: 1px solid var(--c12-line);

  background:
    linear-gradient(
      90deg,
      rgba(11, 25, 20, 0.97),
      rgba(10, 22, 18, 0.95)
    );

  backdrop-filter: blur(24px);
}

.c12-order-strip__identity,
.c12-order-strip__time {
  display: grid;
  gap: 3px;
}

.c12-order-strip__label,
.c12-order-strip__time span {
  color: var(--c12-muted-2);

  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.c12-order-strip__identity strong,
.c12-order-strip__time strong {
  font-size: 12px;
}

.c12-order-strip__route {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 13px;

  font-size: 11px;
  font-weight: 700;
}

.c12-route-line {
  display: flex;
  align-items: center;
}

.c12-route-line__dot {
  flex: 0 0 auto;

  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: var(--c12-accent);
}

.c12-route-line__track {
  flex: 1;
  height: 1px;
  background: rgba(183, 255, 60, 0.25);
}

.c12-route-line__truck {
  margin: 0 6px;

  color: var(--c12-accent);
  font-size: 10px;

  transform: skewX(-8deg);
}

.c12-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 28px;

  padding: 0 11px;

  border: 1px solid rgba(183, 255, 60, 0.18);
  border-radius: 999px;

  color: var(--c12-accent);
  background: rgba(183, 255, 60, 0.07);

  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
}


/* =========================================================
   GENERIC
========================================================= */

.c12-kicker,
.c12-panel__eyebrow,
.c12-scene-heading__index {
  color: var(--c12-accent);

  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.c12-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
}

.c12-kicker > span {
  width: 30px;
  height: 1px;
  background: var(--c12-accent);
}

.c12-primary-action,
.c12-secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;

  min-height: 50px;

  padding: 0 22px;

  border-radius: 999px;

  font-weight: 850;

  cursor: pointer;

  transition:
    transform 0.3s var(--c12-ease),
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease;
}

.c12-primary-action {
  border: 1px solid var(--c12-accent);

  color: #07100d;
  background: var(--c12-accent);

  box-shadow:
    0 10px 30px rgba(183, 255, 60, 0.1);
}

.c12-primary-action:hover {
  transform: translateY(-2px);

  box-shadow:
    0 15px 40px rgba(183, 255, 60, 0.17);
}

.c12-primary-action__arrow {
  font-size: 18px;
}

.c12-primary-action--full {
  width: 100%;
}

.c12-secondary-action {
  border: 1px solid var(--c12-line-strong);

  color: var(--c12-text);
  background: rgba(255, 255, 255, 0.025);
}

.c12-secondary-action:hover {
  transform: translateY(-2px);
  border-color: rgba(183, 255, 60, 0.3);
  background: rgba(183, 255, 60, 0.04);
}

.c12-panel {
  position: relative;

  border: 1px solid var(--c12-line);
  border-radius: var(--c12-radius);

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.045),
      rgba(255, 255, 255, 0.015)
    ),
    var(--c12-panel);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.025),
    0 22px 70px rgba(0, 0, 0, 0.16);

  backdrop-filter: blur(18px);
}

.c12-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;

  padding: 20px 20px 16px;

  border-bottom: 1px solid var(--c12-line);
}

.c12-panel__header > div:first-child {
  display: grid;
  gap: 5px;
}

.c12-panel__header h3 {
  margin: 0;

  font-size: 16px;
  font-weight: 760;
}

.c12-counter {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 31px;
  height: 31px;

  padding: 0 8px;

  border: 1px solid rgba(183, 255, 60, 0.16);
  border-radius: 999px;

  color: var(--c12-accent);
  background: rgba(183, 255, 60, 0.07);

  font-size: 11px;
  font-weight: 900;
}

.c12-counter.is-warning {
  color: var(--c12-warning);
  border-color: rgba(255, 184, 77, 0.2);
  background: rgba(255, 184, 77, 0.08);
}


/* =========================================================
   INTRO
========================================================= */

.c12-scene--intro {
  min-height:
    calc(
      100vh - var(--c12-header-height)
    );

  display: flex;
  align-items: center;

  padding:
    clamp(45px, 7vh, 100px)
    clamp(22px, 5vw, 90px);
}

.c12-intro {
  width: min(100%, var(--c12-max));
  margin: 0 auto;

  display: grid;
  grid-template-columns:
    minmax(420px, 0.9fr)
    minmax(560px, 1.1fr);

  align-items: center;
  gap: clamp(40px, 7vw, 120px);
}

.c12-intro__copy h1 {
  max-width: 820px;

  margin:
    18px
    0
    24px;

  font-size:
    clamp(
      52px,
      5.4vw,
      96px
    );

  line-height: 0.95;
  letter-spacing: -0.065em;
  font-weight: 780;
}

.c12-intro__copy h1 em,
.c12-scene-heading h2 em,
.c12-event-ripple__intro h2 em,
.c12-underhood__heading h2 em,
.c12-before-after h2 em,
.c12-final h2 em {
  color: var(--c12-accent);
  font-style: normal;
}

.c12-intro__lead {
  max-width: 680px;

  margin: 0;

  color: #a6b8b0;

  font-size:
    clamp(16px, 1.25vw, 20px);

  line-height: 1.65;
}

.c12-intro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;

  margin-top: 34px;
}

.c12-intro__micro {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;

  max-width: 650px;

  margin-top: 54px;

  border: 1px solid var(--c12-line);
  border-radius: 16px;
  overflow: hidden;

  background: var(--c12-line);
}

.c12-intro__micro > div {
  display: grid;
  gap: 3px;

  padding: 15px 16px;

  background: rgba(7, 16, 13, 0.94);
}

.c12-intro__micro strong {
  color: var(--c12-text);
  font-size: 19px;
}

.c12-intro__micro span {
  color: var(--c12-muted);
  font-size: 10px;
}


/* =========================================================
   INTRO NETWORK
========================================================= */

.c12-intro__visual {
  min-width: 0;
}

.c12-network {
  position: relative;

  width: min(100%, 780px);
  aspect-ratio: 1.18 / 1;

  margin: 0 auto;
}

.c12-network::before {
  content: "";

  position: absolute;
  inset: 12%;

  border: 1px solid rgba(183, 255, 60, 0.05);
  border-radius: 50%;

  box-shadow:
    0 0 120px rgba(183, 255, 60, 0.035);
}

.c12-network__core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;

  width: 190px;
  height: 190px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(183, 255, 60, 0.22);
  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(183, 255, 60, 0.12),
      rgba(10, 22, 18, 0.93) 68%
    );

  box-shadow:
    0 0 80px rgba(183, 255, 60, 0.08),
    inset 0 0 45px rgba(183, 255, 60, 0.035);

  transform: translate(-50%, -50%);
}

.c12-network__core::before,
.c12-network__core::after {
  content: "";

  position: absolute;

  border: 1px solid rgba(183, 255, 60, 0.09);
  border-radius: 50%;
}

.c12-network__core::before {
  inset: -22px;
}

.c12-network__core::after {
  inset: -48px;

  opacity: 0.55;

  animation:
    c12OrbitPulse
    4s ease-in-out infinite;
}

@keyframes c12OrbitPulse {
  0%,
  100% {
    transform: scale(0.97);
    opacity: 0.25;
  }

  50% {
    transform: scale(1.03);
    opacity: 0.7;
  }
}

.c12-network__core-label {
  color: var(--c12-muted);

  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.17em;
}

.c12-network__core strong {
  margin: 5px 0 0;

  color: var(--c12-accent);

  font-size: 54px;
  line-height: 1;
  letter-spacing: -0.06em;
}

.c12-network__core > span:last-of-type {
  color: var(--c12-muted);
  font-size: 11px;
}

.c12-network__core-pulse {
  position: absolute;
  inset: -1px;

  border: 1px solid rgba(183, 255, 60, 0.25);
  border-radius: 50%;

  animation:
    c12CorePulse
    2.8s ease-out infinite;
}

@keyframes c12CorePulse {
  0% {
    opacity: 0.6;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1.42);
  }
}

.c12-role-node {
  position: absolute;
  z-index: 6;

  min-width: 180px;

  display: flex;
  align-items: center;
  gap: 12px;

  padding: 12px 14px;

  border: 1px solid var(--c12-line);
  border-radius: 15px;

  color: var(--c12-text);
  text-align: left;

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.055),
      rgba(255, 255, 255, 0.018)
    ),
    rgba(9, 21, 17, 0.92);

  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);

  cursor: pointer;

  transition:
    transform 0.35s var(--c12-ease),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.c12-role-node:hover {
  z-index: 10;

  border-color: rgba(183, 255, 60, 0.28);

  transform: translateY(-4px);

  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.35),
    0 0 35px rgba(183, 255, 60, 0.06);
}

.c12-role-node__icon {
  flex: 0 0 auto;

  width: 36px;
  height: 36px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(183, 255, 60, 0.16);
  border-radius: 10px;

  color: var(--c12-accent);
  background: rgba(183, 255, 60, 0.05);
}

.c12-role-node__text {
  display: grid;
  gap: 1px;
}

.c12-role-node__text small {
  color: var(--c12-muted-2);

  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.c12-role-node__text strong {
  font-size: 13px;
}

.c12-role-node__text em {
  color: var(--c12-muted);

  font-size: 9px;
  font-style: normal;
}

.c12-role-node--dispatcher {
  top: 12%;
  left: 3%;
}

.c12-role-node--manager {
  top: 11%;
  right: 2%;
}

.c12-role-node--driver {
  right: 0;
  bottom: 10%;
}

.c12-role-node--customer {
  bottom: 8%;
  left: 1%;
}

.c12-role-node--owner {
  top: 0;
  left: 50%;

  transform: translateX(-50%);
}

.c12-role-node--owner:hover {
  transform:
    translateX(-50%)
    translateY(-4px);
}

.c12-network__source {
  position: absolute;
  z-index: 3;

  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding: 6px 9px;

  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px;

  color: var(--c12-muted);

  background: rgba(6, 14, 11, 0.8);

  font-size: 8px;
  font-weight: 700;
}

.c12-network__source span {
  color: var(--c12-accent);
}

.c12-network__source--email {
  top: 39%;
  left: 0;
}

.c12-network__source--phone {
  top: 55%;
  left: 8%;
}

.c12-network__source--messenger {
  top: 40%;
  right: 1%;
}

.c12-network__source--exchange {
  top: 56%;
  right: 7%;
}

.c12-network__lines {
  position: absolute;
  inset: 0;
  z-index: 1;

  width: 100%;
  height: 100%;

  overflow: visible;
  pointer-events: none;
}

.c12-network__lines path {
  fill: none;

  stroke: rgba(183, 255, 60, 0.13);
  stroke-width: 1.2;

  stroke-dasharray: 4 7;

  animation:
    c12FlowLine
    12s linear infinite;
}

@keyframes c12FlowLine {
  to {
    stroke-dashoffset: -120;
  }
}


/* =========================================================
   WORKSPACE
========================================================= */

.c12-workspace {
  width: min(100%, var(--c12-max));
  margin: 0 auto;

  padding:
    28px
    clamp(18px, 3.2vw, 56px)
    170px;
}

.c12-role-nav {
  position: sticky;
  top: 122px;
  z-index: 70;

  display: grid;
  grid-template-columns: repeat(5, 1fr);

  margin-bottom: 36px;

  border: 1px solid var(--c12-line);
  border-radius: 16px;
  overflow: hidden;

  background: rgba(7, 16, 13, 0.88);

  backdrop-filter: blur(20px);
}

.c12-role-tab {
  position: relative;

  min-height: 56px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  border: 0;
  border-right: 1px solid var(--c12-line);

  color: var(--c12-muted);
  background: transparent;

  cursor: pointer;

  transition:
    color 0.25s ease,
    background 0.25s ease;
}

.c12-role-tab:last-child {
  border-right: 0;
}

.c12-role-tab span {
  color: var(--c12-muted-2);
  font-size: 9px;
  font-weight: 900;
}

.c12-role-tab strong {
  font-size: 12px;
}

.c12-role-tab:hover {
  color: var(--c12-text);
  background: rgba(255, 255, 255, 0.025);
}

.c12-role-tab.is-active {
  color: var(--c12-text);
  background:
    linear-gradient(
      180deg,
      rgba(183, 255, 60, 0.09),
      rgba(183, 255, 60, 0.025)
    );
}

.c12-role-tab.is-active::after {
  content: "";

  position: absolute;
  right: 18%;
  bottom: 0;
  left: 18%;

  height: 2px;

  border-radius: 999px;

  background: var(--c12-accent);

  box-shadow: 0 0 15px rgba(183, 255, 60, 0.4);
}

.c12-role-scene {
  display: none;

  animation:
    c12SceneIn
    0.55s var(--c12-ease);
}

.c12-role-scene.is-active {
  display: block;
}

@keyframes c12SceneIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

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

.c12-scene-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;

  margin-bottom: 28px;
}

.c12-scene-heading > div:first-child {
  max-width: 900px;
}

.c12-scene-heading h2 {
  margin: 8px 0 10px;

  font-size:
    clamp(32px, 3.3vw, 58px);

  line-height: 1;
  letter-spacing: -0.045em;
}

.c12-scene-heading p {
  max-width: 760px;

  margin: 0;

  color: var(--c12-muted);

  font-size: 14px;
  line-height: 1.65;
}

.c12-scene-heading__live {
  flex: 0 0 auto;

  display: flex;
  align-items: center;
  gap: 11px;

  padding: 11px 14px;

  border: 1px solid var(--c12-line);
  border-radius: 13px;

  background: rgba(255, 255, 255, 0.025);
}

.c12-scene-heading__live > div {
  display: grid;
  gap: 1px;
}

.c12-scene-heading__live small {
  color: var(--c12-muted-2);

  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.c12-scene-heading__live strong {
  font-size: 11px;
}


/* =========================================================
   DISPATCHER
========================================================= */

.c12-dispatch-grid {
  display: grid;
  grid-template-columns:
    minmax(220px, 0.55fr)
    minmax(330px, 0.85fr)
    minmax(520px, 1.6fr);

  align-items: start;
  gap: 14px;
}

.c12-source-row {
  width: calc(100% - 20px);
  min-height: 58px;

  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 10px;

  margin: 10px 10px 0;
  padding: 8px 10px;

  border: 1px solid transparent;
  border-radius: 12px;

  color: var(--c12-text);
  text-align: left;

  background: rgba(255, 255, 255, 0.02);

  cursor: pointer;

  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}

.c12-source-row:hover {
  border-color: var(--c12-line);
  background: rgba(255, 255, 255, 0.035);
  transform: translateX(2px);
}

.c12-source-row.is-hot {
  border-color: rgba(183, 255, 60, 0.14);
  background: rgba(183, 255, 60, 0.045);
}

.c12-source-row__icon {
  width: 34px;
  height: 34px;

  display: grid;
  place-items: center;

  border: 1px solid var(--c12-line);
  border-radius: 10px;

  color: var(--c12-accent);

  background: rgba(255, 255, 255, 0.02);
}

.c12-source-row__content {
  display: grid;
  gap: 2px;
}

.c12-source-row__content strong {
  font-size: 11px;
}

.c12-source-row__content small {
  color: var(--c12-muted);
  font-size: 9px;
}

.c12-source-row__count {
  color: var(--c12-muted);
  font-size: 10px;
  font-weight: 800;
}

.c12-incoming-stream {
  margin-top: 16px;
  padding: 14px 12px;

  border-top: 1px solid var(--c12-line);
}

.c12-stream-title {
  display: flex;
  align-items: center;
  gap: 8px;

  margin-bottom: 10px;

  color: var(--c12-muted-2);

  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.c12-stream-list {
  display: grid;
  gap: 7px;

  max-height: 230px;

  overflow: hidden;
}

.c12-stream-list > * {
  animation:
    c12StreamIn
    0.45s var(--c12-ease);
}

@keyframes c12StreamIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

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

.c12-request-panel {
  overflow: hidden;
}

.c12-new-badge {
  padding: 5px 8px;

  border: 1px solid rgba(183, 255, 60, 0.16);
  border-radius: 999px;

  color: var(--c12-accent);
  background: rgba(183, 255, 60, 0.06);

  font-size: 8px;
  font-weight: 900;
}

.c12-email-card {
  padding: 18px;
}

.c12-email-card__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;

  padding-bottom: 15px;

  border-bottom: 1px solid var(--c12-line);
}

.c12-email-card__meta > div {
  display: grid;
  gap: 3px;
}

.c12-email-card__meta small,
.c12-driver-trip small,
.c12-tracking-card small {
  color: var(--c12-muted-2);

  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.c12-email-card__meta strong {
  font-size: 10px;
}

.c12-email-card__subject {
  margin: 16px 0;

  font-size: 15px;
  font-weight: 750;
}

.c12-email-card__body {
  color: #a7b8b0;

  font-size: 11px;
  line-height: 1.6;
}

.c12-email-card__body p {
  margin: 0 0 10px;
}

.c12-email-card__body dl {
  display: grid;
  gap: 1px;

  margin: 16px 0 18px;

  border: 1px solid var(--c12-line);
  border-radius: 11px;
  overflow: hidden;

  background: var(--c12-line);
}

.c12-email-card__body dl > div {
  display: grid;
  grid-template-columns: 1fr 1fr;

  padding: 8px 10px;

  background: rgba(7, 16, 13, 0.95);
}

.c12-email-card__body dt {
  color: var(--c12-muted);
}

.c12-email-card__body dd {
  margin: 0;

  color: var(--c12-text);
  text-align: right;
  font-weight: 700;
}

.c12-register-panel {
  min-width: 0;
  overflow: hidden;
}

.c12-register-tools {
  display: flex;
  gap: 5px;
}

.c12-register-tools button {
  min-height: 27px;

  padding: 0 9px;

  border: 1px solid var(--c12-line);
  border-radius: 999px;

  color: var(--c12-muted);
  background: transparent;

  font-size: 8px;
  font-weight: 800;

  cursor: pointer;
}

.c12-register-tools button:hover {
  color: var(--c12-text);
  border-color: var(--c12-line-strong);
}

.c12-table-wrap {
  width: 100%;
  overflow: auto;
}

.c12-table {
  width: 100%;
  min-width: 660px;

  border-collapse: collapse;

  font-size: 9px;
}

.c12-table th {
  padding: 10px 12px;

  color: var(--c12-muted-2);
  text-align: left;

  background: rgba(255, 255, 255, 0.018);

  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.c12-table td {
  padding: 10px 12px;

  border-top: 1px solid rgba(255, 255, 255, 0.045);

  color: #b7c5bf;

  white-space: nowrap;
}

.c12-table tbody tr {
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.c12-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.025);
}

.c12-table tbody tr.is-main-order {
  background: rgba(183, 255, 60, 0.04);

  box-shadow:
    inset 2px 0 0 var(--c12-accent);
}

.c12-table tbody tr.is-warning {
  background: rgba(255, 184, 77, 0.035);
}

.c12-table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;

  padding: 12px 14px;

  border-top: 1px solid var(--c12-line);

  color: var(--c12-muted);

  font-size: 9px;
}

.c12-table-footer button {
  padding: 0;

  border: 0;

  color: var(--c12-accent);
  background: transparent;

  font-size: 9px;
  font-weight: 800;

  cursor: pointer;
}


/* =========================================================
   PLANNING / MANAGER
========================================================= */

.c12-planning-layout {
  display: grid;
  grid-template-columns:
    minmax(270px, 0.7fr)
    minmax(560px, 1.6fr)
    minmax(250px, 0.7fr);

  align-items: start;
  gap: 14px;
}

.c12-order-card {
  margin: 14px;
  padding: 15px;

  border: 1px solid var(--c12-line);
  border-radius: 14px;

  background: rgba(255, 255, 255, 0.025);

  cursor: grab;

  transition:
    transform 0.25s var(--c12-ease),
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.c12-order-card:active {
  cursor: grabbing;
}

.c12-order-card:hover {
  transform: translateY(-2px);
}

.c12-order-card--main {
  border-color: rgba(183, 255, 60, 0.22);

  background:
    linear-gradient(
      145deg,
      rgba(183, 255, 60, 0.08),
      rgba(183, 255, 60, 0.025)
    );

  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.15);
}

.c12-order-card.is-dragging {
  opacity: 0.45;
  transform: rotate(1deg) scale(0.98);
}

.c12-order-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.c12-order-card__top strong {
  font-size: 12px;
}

.c12-order-card__top span {
  color: var(--c12-accent);

  font-size: 6px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.c12-order-card__route {
  display: flex;
  align-items: center;
  gap: 9px;

  margin: 16px 0 10px;

  font-size: 18px;
  font-weight: 780;
  letter-spacing: -0.025em;
}

.c12-order-card__route span {
  color: var(--c12-accent);
}

.c12-order-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.c12-order-card__specs span {
  padding: 5px 7px;

  border: 1px solid var(--c12-line);
  border-radius: 7px;

  color: var(--c12-muted);

  background: rgba(0, 0, 0, 0.12);

  font-size: 8px;
}

.c12-order-card__deadline {
  display: grid;
  gap: 3px;

  margin-top: 14px;
  padding-top: 12px;

  border-top: 1px solid var(--c12-line);
}

.c12-order-card__deadline small {
  color: var(--c12-muted-2);

  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.c12-order-card__deadline strong {
  font-size: 10px;
}

.c12-drag-hint {
  margin-top: 13px;

  color: var(--c12-accent);

  font-size: 8px;
  font-weight: 800;
}

.c12-mini-orders {
  display: grid;
  gap: 7px;

  padding: 0 14px 14px;
}

.c12-fleet-board {
  overflow: hidden;
}

.c12-fleet-summary {
  display: flex;
  gap: 12px;

  color: var(--c12-muted);

  font-size: 8px;
}

.c12-fleet-summary span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.c12-fleet-summary i {
  width: 6px;
  height: 6px;

  border-radius: 50%;
}

.c12-fleet-summary .is-free {
  background: var(--c12-accent);
}

.c12-fleet-summary .is-busy {
  background: var(--c12-warning);
}

.c12-vehicle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;

  padding: 14px;
}

.c12-vehicle-card {
  position: relative;

  min-width: 0;

  padding: 15px;

  border: 1px solid var(--c12-line);
  border-radius: 15px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.035),
      rgba(255, 255, 255, 0.012)
    );

  transition:
    transform 0.3s var(--c12-ease),
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.c12-vehicle-card:hover {
  transform: translateY(-3px);
}

.c12-vehicle-card.is-drag-over {
  border-color: var(--c12-accent);

  background: rgba(183, 255, 60, 0.065);

  box-shadow:
    0 0 0 2px rgba(183, 255, 60, 0.05),
    0 15px 45px rgba(0, 0, 0, 0.25);
}

.c12-vehicle-card.is-invalid.is-drag-over,
.c12-vehicle-card.is-conflict.is-drag-over {
  border-color: var(--c12-warning);
  background: rgba(255, 184, 77, 0.06);
}

.c12-vehicle-card__status {
  display: inline-flex;

  padding: 4px 7px;

  border: 1px solid rgba(183, 255, 60, 0.16);
  border-radius: 999px;

  color: var(--c12-accent);

  background: rgba(183, 255, 60, 0.055);

  font-size: 6px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.c12-vehicle-card.is-conflict .c12-vehicle-card__status {
  color: var(--c12-warning);
  border-color: rgba(255, 184, 77, 0.17);
  background: rgba(255, 184, 77, 0.05);
}

.c12-truck-visual {
  position: relative;

  height: 54px;

  margin: 16px 0 10px;
}

.c12-truck-visual__cab,
.c12-truck-visual__trailer {
  position: absolute;
  bottom: 9px;

  border: 1px solid rgba(183, 255, 60, 0.2);

  background:
    linear-gradient(
      180deg,
      rgba(183, 255, 60, 0.09),
      rgba(183, 255, 60, 0.025)
    );
}

.c12-truck-visual__cab {
  right: 5%;

  width: 24%;
  height: 31px;

  border-radius: 4px 9px 4px 4px;
}

.c12-truck-visual__trailer {
  right: 28%;

  width: 61%;
  height: 36px;

  border-radius: 4px;
}

.c12-truck-visual::before,
.c12-truck-visual::after {
  content: "";

  position: absolute;
  bottom: 3px;
  z-index: 2;

  width: 12px;
  height: 12px;

  border: 3px solid #17231e;
  border-radius: 50%;

  background: #78877f;
}

.c12-truck-visual::before {
  right: 12%;
}

.c12-truck-visual::after {
  right: 66%;
}

.c12-truck-visual--small {
  transform: scale(0.88);
  transform-origin: center bottom;
}

.c12-vehicle-card h4 {
  margin: 0 0 3px;

  font-size: 13px;
}

.c12-vehicle-card > strong {
  color: var(--c12-muted);
  font-size: 9px;
}

.c12-vehicle-card dl {
  display: grid;
  gap: 6px;

  margin: 14px 0 0;
}

.c12-vehicle-card dl > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;

  padding-top: 6px;

  border-top: 1px solid rgba(255, 255, 255, 0.045);

  font-size: 7px;
}

.c12-vehicle-card dt {
  color: var(--c12-muted-2);
}

.c12-vehicle-card dd {
  margin: 0;

  color: #c1cec8;
  text-align: right;
}

.c12-carrier-list {
  display: grid;
  gap: 8px;

  padding: 14px;
}


/* =========================================================
   DRIVER
========================================================= */

.c12-driver-layout {
  display: grid;
  grid-template-columns:
    minmax(360px, 0.8fr)
    minmax(420px, 1.2fr);

  align-items: center;
  gap: clamp(40px, 8vw, 130px);

  min-height: 670px;
}

.c12-phone-stage {
  display: grid;
  place-items: center;
}

.c12-phone {
  position: relative;

  width: min(100%, 340px);

  padding: 10px;

  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 42px;

  background:
    linear-gradient(
      145deg,
      #26332d,
      #0b100e
    );

  box-shadow:
    0 35px 90px rgba(0, 0, 0, 0.45),
    inset 0 0 0 2px rgba(255, 255, 255, 0.025);
}

.c12-phone__speaker {
  position: absolute;
  top: 17px;
  left: 50%;
  z-index: 5;

  width: 70px;
  height: 18px;

  border-radius: 999px;

  background: #030605;

  transform: translateX(-50%);
}

.c12-phone__screen {
  min-height: 640px;

  overflow: hidden;

  border-radius: 34px;

  background:
    radial-gradient(
      circle at 50% 0,
      rgba(183, 255, 60, 0.07),
      transparent 30%
    ),
    #09120f;
}

.c12-driver-app {
  padding: 38px 17px 18px;
}

.c12-driver-app__header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 10px 3px 17px;

  border-bottom: 1px solid var(--c12-line);
}

.c12-driver-app__header > div {
  display: grid;
  gap: 2px;
}

.c12-driver-app__header small {
  color: var(--c12-muted-2);

  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.c12-driver-app__header strong {
  font-size: 15px;
}

.c12-driver-avatar {
  width: 34px;
  height: 34px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(183, 255, 60, 0.17);
  border-radius: 50%;

  color: var(--c12-accent);
  background: rgba(183, 255, 60, 0.055);

  font-size: 8px;
  font-weight: 900;
}

.c12-driver-trip {
  margin-top: 16px;
  padding: 15px;

  border: 1px solid var(--c12-line);
  border-radius: 16px;

  background:
    linear-gradient(
      145deg,
      rgba(183, 255, 60, 0.06),
      rgba(255, 255, 255, 0.015)
    );
}

.c12-driver-trip__label {
  display: block;

  margin-bottom: 5px;

  color: var(--c12-accent);

  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.11em;
}

.c12-driver-trip > strong {
  font-size: 12px;
}

.c12-driver-route {
  display: grid;
  gap: 8px;

  margin: 17px 0;
}

.c12-driver-route > div {
  display: grid;
  gap: 2px;
}

.c12-driver-route strong {
  font-size: 20px;
}

.c12-driver-route span:not(.c12-driver-route__line) {
  color: var(--c12-muted);
  font-size: 9px;
}

.c12-driver-route__line {
  color: var(--c12-accent);
  font-size: 18px;
}

.c12-driver-cargo {
  display: flex;
  gap: 6px;
}

.c12-driver-cargo span {
  padding: 5px 7px;

  border: 1px solid var(--c12-line);
  border-radius: 7px;

  color: var(--c12-muted);

  font-size: 8px;
}

.c12-driver-actions {
  display: grid;
  gap: 7px;

  margin-top: 13px;
}

.c12-driver-actions button {
  min-height: 42px;

  padding: 0 12px;

  border: 1px solid var(--c12-line);
  border-radius: 11px;

  color: var(--c12-text);

  background: rgba(255, 255, 255, 0.025);

  font-size: 10px;
  font-weight: 750;

  cursor: pointer;

  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}

.c12-driver-actions button:hover:not(:disabled) {
  border-color: rgba(183, 255, 60, 0.24);
  background: rgba(183, 255, 60, 0.055);
  transform: translateY(-1px);
}

.c12-driver-actions button:first-child {
  color: #07100d;
  border-color: var(--c12-accent);
  background: var(--c12-accent);
}

.c12-driver-actions button.is-warning:not(:disabled) {
  color: var(--c12-warning);
  border-color: rgba(255, 184, 77, 0.2);
}

.c12-driver-actions button:disabled {
  opacity: 0.28;
  cursor: not-allowed;
}

.c12-driver-side {
  display: grid;
  gap: 14px;

  max-width: 640px;
}

.c12-trip-timeline {
  padding: 16px 20px 20px;
}

.c12-trip-timeline > div {
  position: relative;

  display: grid;
  grid-template-columns: 18px 1fr auto;
  align-items: center;
  gap: 9px;

  min-height: 54px;
}

.c12-trip-timeline > div::after {
  content: "";

  position: absolute;
  top: 35px;
  bottom: -18px;
  left: 7px;

  width: 1px;

  background: var(--c12-line);
}

.c12-trip-timeline > div:last-child::after {
  display: none;
}

.c12-trip-timeline > div > span {
  width: 15px;
  height: 15px;

  border: 1px solid var(--c12-line-strong);
  border-radius: 50%;

  background: #0a1511;
}

.c12-trip-timeline > div.is-current > span,
.c12-trip-timeline > div.is-done > span {
  border-color: var(--c12-accent);
  background: var(--c12-accent);

  box-shadow: 0 0 15px rgba(183, 255, 60, 0.22);
}

.c12-trip-timeline strong {
  font-size: 11px;
}

.c12-trip-timeline small {
  color: var(--c12-muted);
  font-size: 8px;
}

.c12-upload-box {
  width: calc(100% - 28px);
  min-height: 130px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  margin: 14px;
  padding: 15px;

  border: 1px dashed rgba(183, 255, 60, 0.18);
  border-radius: 14px;

  color: var(--c12-muted);

  background: rgba(183, 255, 60, 0.025);

  cursor: pointer;

  transition:
    border-color 0.25s ease,
    background 0.25s ease;
}

.c12-upload-box:hover {
  border-color: rgba(183, 255, 60, 0.35);
  background: rgba(183, 255, 60, 0.05);
}

.c12-upload-box > span {
  margin-bottom: 5px;

  color: var(--c12-accent);
  font-size: 24px;
}

.c12-upload-box strong {
  color: var(--c12-text);
  font-size: 11px;
}

.c12-upload-box small {
  margin-top: 3px;
  font-size: 8px;
}


/* =========================================================
   CUSTOMER
========================================================= */

.c12-customer-layout {
  display: grid;
  grid-template-columns:
    minmax(560px, 1.5fr)
    minmax(300px, 0.65fr);

  gap: 16px;
}

.c12-tracking-card {
  max-width: 980px;

  padding: 26px;

  border: 1px solid var(--c12-line);
  border-radius: 24px;

  background:
    radial-gradient(
      circle at 50% 0,
      rgba(183, 255, 60, 0.055),
      transparent 35%
    ),
    rgba(10, 22, 18, 0.9);

  box-shadow: var(--c12-shadow);
}

.c12-tracking-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;

  padding-bottom: 22px;

  border-bottom: 1px solid var(--c12-line);
}

.c12-tracking-card__header > div {
  display: grid;
  gap: 5px;
}

.c12-tracking-card__header > div > span {
  color: var(--c12-muted-2);

  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.c12-tracking-card__header strong {
  font-size: 17px;
}

.c12-tracking-route {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;

  padding: 36px 0;
}

.c12-tracking-route > div:not(.c12-tracking-route__journey) {
  display: grid;
  gap: 3px;
}

.c12-tracking-route > div:last-child {
  text-align: right;
}

.c12-tracking-route strong {
  font-size: 27px;
  letter-spacing: -0.04em;
}

.c12-tracking-route > div > span {
  color: var(--c12-muted);
  font-size: 9px;
}

.c12-tracking-route__journey {
  display: flex;
  align-items: center;
}

.c12-tracking-route__point {
  flex: 0 0 auto;

  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: var(--c12-accent);
}

.c12-tracking-route__line {
  flex: 1;
  height: 1px;

  background:
    linear-gradient(
      90deg,
      rgba(183, 255, 60, 0.5),
      rgba(183, 255, 60, 0.13)
    );
}

.c12-tracking-route__vehicle {
  margin: 0 10px;

  color: var(--c12-accent);

  font-size: 13px;

  transform: skewX(-8deg);
}

.c12-tracking-eta {
  display: grid;
  gap: 5px;

  padding: 18px;

  border: 1px solid rgba(183, 255, 60, 0.13);
  border-radius: 14px;

  background: rgba(183, 255, 60, 0.04);
}

.c12-tracking-eta strong {
  font-size: 20px;
}

.c12-customer-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);

  margin-top: 32px;
}

.c12-customer-timeline > div {
  position: relative;

  display: grid;
  gap: 6px;

  padding-right: 10px;
}

.c12-customer-timeline > div::before {
  content: "";

  position: absolute;
  top: 6px;
  right: 0;
  left: 13px;

  height: 1px;

  background: var(--c12-line);
}

.c12-customer-timeline > div:last-child::before {
  display: none;
}

.c12-customer-timeline > div > span {
  position: relative;
  z-index: 2;

  width: 13px;
  height: 13px;

  border: 1px solid var(--c12-line-strong);
  border-radius: 50%;

  background: var(--c12-bg-2);
}

.c12-customer-timeline > div.is-done > span,
.c12-customer-timeline > div.is-current > span {
  border-color: var(--c12-accent);
  background: var(--c12-accent);
}

.c12-customer-timeline strong {
  font-size: 9px;
}

.c12-customer-timeline small {
  color: var(--c12-muted);
  font-size: 7px;
}

.c12-delivery-result {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 15px;

  margin-top: 26px;
  padding: 15px;

  border: 1px solid rgba(183, 255, 60, 0.17);
  border-radius: 14px;

  background: rgba(183, 255, 60, 0.045);
}

.c12-delivery-result__check {
  width: 38px;
  height: 38px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  color: #07100d;
  background: var(--c12-accent);

  font-weight: 900;
}

.c12-delivery-result > div {
  display: grid;
  gap: 2px;
}

.c12-delivery-result > div > span {
  color: var(--c12-muted);
  font-size: 8px;
}

.c12-delivery-result button {
  min-height: 34px;

  padding: 0 11px;

  border: 1px solid var(--c12-line);
  border-radius: 9px;

  color: var(--c12-text);
  background: rgba(255, 255, 255, 0.025);

  font-size: 8px;
  font-weight: 800;

  cursor: pointer;
}

.c12-message-stack {
  display: grid;
  gap: 9px;

  padding: 14px;
}


/* =========================================================
   OWNER
========================================================= */

.c12-owner-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;

  margin-bottom: 14px;
}

.c12-kpi-card {
  min-height: 125px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;

  padding: 18px;

  border: 1px solid var(--c12-line);
  border-radius: 17px;

  color: var(--c12-text);
  text-align: left;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0.015)
    );

  transition:
    transform 0.3s var(--c12-ease),
    border-color 0.3s ease,
    background 0.3s ease;
}

button.c12-kpi-card {
  cursor: pointer;
}

button.c12-kpi-card:hover {
  transform: translateY(-3px);
  border-color: rgba(183, 255, 60, 0.18);
}

.c12-kpi-card > span {
  color: var(--c12-muted);

  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.c12-kpi-card strong {
  margin: 7px 0 3px;

  font-size: 36px;
  line-height: 1;
  letter-spacing: -0.055em;
}

.c12-kpi-card small {
  color: var(--c12-muted-2);
  font-size: 8px;
}

.c12-kpi-card.is-warning {
  border-color: rgba(255, 184, 77, 0.15);
  background:
    linear-gradient(
      145deg,
      rgba(255, 184, 77, 0.07),
      rgba(255, 184, 77, 0.015)
    );
}

.c12-kpi-card.is-warning strong {
  color: var(--c12-warning);
}

.c12-owner-grid {
  display: grid;
  grid-template-columns:
    minmax(440px, 1.25fr)
    minmax(260px, 0.65fr)
    minmax(320px, 0.85fr);

  gap: 14px;
}

.c12-operations-panel {
  grid-row: span 2;
  min-height: 560px;
}

.c12-operation-map {
  position: relative;

  min-height: 490px;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 45% 50%,
      rgba(183, 255, 60, 0.045),
      transparent 35%
    );
}

.c12-map-grid {
  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px
    );

  background-size: 36px 36px;

  mask-image:
    radial-gradient(
      circle,
      black,
      transparent 82%
    );
}

.c12-map-city {
  position: absolute;
  top: var(--y);
  left: var(--x);
  z-index: 3;

  padding: 5px 7px;

  border: 1px solid var(--c12-line);
  border-radius: 7px;

  color: #c4d0cb;

  background: rgba(7, 16, 13, 0.88);

  font-size: 8px;
  font-weight: 700;

  transform: translate(-50%, -50%);
}

.c12-map-city::before {
  content: "";

  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;

  width: 5px;
  height: 5px;

  border-radius: 50%;

  background: var(--c12-accent);

  box-shadow:
    0 0 0 7px rgba(183, 255, 60, 0.05),
    0 0 25px rgba(183, 255, 60, 0.2);

  transform: translate(-50%, -50%);
}

.c12-map-routes {
  position: absolute;
  inset: 0;
}

.c12-fleet-bars {
  display: grid;
  gap: 17px;

  padding: 20px;
}

.c12-fleet-bars > div {
  display: grid;
  grid-template-columns: 90px 1fr 24px;
  align-items: center;
  gap: 10px;

  font-size: 8px;
}

.c12-fleet-bars > div > span {
  color: var(--c12-muted);
}

.c12-fleet-bars > div > div {
  height: 5px;

  overflow: hidden;

  border-radius: 999px;

  background: rgba(255, 255, 255, 0.055);
}

.c12-fleet-bars i {
  display: block;

  width: var(--value);
  height: 100%;

  border-radius: inherit;

  background: var(--c12-accent);
}

.c12-fleet-bars strong {
  text-align: right;
}

.c12-finance-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;

  background: var(--c12-line);
}

.c12-finance-kpis > div {
  display: grid;
  gap: 6px;

  padding: 20px;

  background: rgba(9, 20, 16, 0.98);
}

.c12-finance-kpis small {
  color: var(--c12-muted-2);

  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.c12-finance-kpis strong {
  font-size: 21px;
}

.c12-donut-wrap {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 22px;

  padding: 22px;
}

.c12-donut {
  position: relative;

  width: 145px;
  aspect-ratio: 1;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background:
    conic-gradient(
      var(--c12-accent) 0 31%,
      #69d891 31% 57%,
      #74b8ff 57% 76%,
      #c4c98b 76% 92%,
      #5d7067 92% 100%
    );
}

.c12-donut::before {
  content: "";

  position: absolute;
  inset: 18px;

  border-radius: 50%;

  background: #0a1511;
}

.c12-donut__center {
  position: relative;
  z-index: 2;

  display: grid;
  place-items: center;
}

.c12-donut__center strong {
  font-size: 25px;
}

.c12-donut__center span {
  color: var(--c12-muted);
  font-size: 8px;
}

.c12-chart-legend {
  display: grid;
  gap: 9px;
}

.c12-chart-legend span {
  display: flex;
  align-items: center;
  gap: 8px;

  color: var(--c12-muted);

  font-size: 8px;
}

.c12-chart-legend i {
  width: 7px;
  height: 7px;

  border-radius: 2px;

  background: var(--c12-accent);
}

.c12-chart-legend span:nth-child(2) i {
  background: #69d891;
}

.c12-chart-legend span:nth-child(3) i {
  background: #74b8ff;
}

.c12-chart-legend span:nth-child(4) i {
  background: #c4c98b;
}

.c12-chart-legend span:nth-child(5) i {
  background: #5d7067;
}

.c12-attention-list {
  display: grid;
  gap: 8px;

  padding: 14px;
}


/* =========================================================
   TIME MACHINE
========================================================= */

.c12-time-machine {
  position: sticky;
  bottom: 18px;
  z-index: 65;

  margin-top: 42px;
  padding: 15px 18px;

  border: 1px solid rgba(183, 255, 60, 0.13);
  border-radius: 19px;

  background:
    linear-gradient(
      180deg,
      rgba(11, 25, 20, 0.97),
      rgba(7, 16, 13, 0.96)
    );

  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.45),
    0 0 45px rgba(183, 255, 60, 0.035);

  backdrop-filter: blur(25px);
}

.c12-time-machine__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.c12-time-machine__header > div:first-child {
  display: grid;
  gap: 3px;
}

.c12-time-machine__header strong {
  font-size: 12px;
}

.c12-time-machine__hint {
  display: flex;
  align-items: center;
  gap: 8px;

  color: var(--c12-muted);

  font-size: 8px;
}

.c12-time-machine__hint span {
  color: var(--c12-accent);
  font-size: 14px;
}

.c12-time-machine__control {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;

  margin-top: 13px;
}

.c12-time-machine__date {
  color: var(--c12-muted);

  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.c12-time-range-wrap {
  position: relative;

  min-height: 38px;

  display: flex;
  align-items: flex-end;
}

.c12-time-range {
  position: relative;
  z-index: 4;

  width: 100%;
  height: 20px;

  margin: 0;

  appearance: none;

  background: transparent;

  cursor: ew-resize;
}

.c12-time-range::-webkit-slider-runnable-track {
  height: 4px;

  border-radius: 999px;

  background: rgba(255, 255, 255, 0.08);
}

.c12-time-range::-moz-range-track {
  height: 4px;

  border-radius: 999px;

  background: rgba(255, 255, 255, 0.08);
}

.c12-time-range::-webkit-slider-thumb {
  width: 20px;
  height: 20px;

  margin-top: -8px;

  appearance: none;

  border: 4px solid #0a1511;
  border-radius: 50%;

  background: var(--c12-accent);

  box-shadow:
    0 0 0 1px rgba(183, 255, 60, 0.5),
    0 0 20px rgba(183, 255, 60, 0.32);
}

.c12-time-range::-moz-range-thumb {
  width: 14px;
  height: 14px;

  border: 4px solid #0a1511;
  border-radius: 50%;

  background: var(--c12-accent);

  box-shadow:
    0 0 0 1px rgba(183, 255, 60, 0.5),
    0 0 20px rgba(183, 255, 60, 0.32);
}

.c12-time-range__progress {
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  z-index: 2;

  height: 4px;

  overflow: hidden;

  border-radius: 999px;

  pointer-events: none;
}

.c12-time-range__progress span {
  display: block;

  width: 4%;
  height: 100%;

  border-radius: inherit;

  background:
    linear-gradient(
      90deg,
      #7bdc65,
      var(--c12-accent)
    );

  box-shadow:
    0 0 14px rgba(183, 255, 60, 0.18);
}

.c12-time-range__events {
  position: absolute;
  right: 0;
  bottom: 23px;
  left: 0;

  height: 15px;

  pointer-events: none;
}

.c12-time-range__events span {
  position: absolute;
  left: var(--position);

  color: var(--c12-muted-2);

  font-size: 6px;
  font-weight: 800;

  transform: translateX(-50%);
}

.c12-time-range__events span::after {
  content: "";

  position: absolute;
  top: 12px;
  left: 50%;

  width: 1px;
  height: 7px;

  background: rgba(255, 255, 255, 0.12);
}

.c12-time-machine__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;

  margin-top: 8px;
  padding-top: 9px;

  border-top: 1px solid var(--c12-line);

  color: var(--c12-muted);

  font-size: 7px;
}

.c12-time-machine__stats strong {
  color: var(--c12-text);
}


/* =========================================================
   AUTOMATION FEED
========================================================= */

.c12-automation-feed {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;

  width: min(340px, calc(100vw - 44px));

  border: 1px solid rgba(183, 255, 60, 0.13);
  border-radius: 16px;
  overflow: hidden;

  background: rgba(8, 18, 14, 0.96);

  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.45);

  backdrop-filter: blur(22px);

  transform:
    translateY(
      calc(100% - 58px)
    );

  transition:
    transform
    0.45s
    var(--c12-ease);
}

.c12-automation-feed.is-open {
  transform: translateY(0);
}

.c12-automation-feed__toggle {
  width: 100%;
  min-height: 57px;

  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;

  padding: 10px 13px;

  border: 0;

  color: var(--c12-text);
  text-align: left;

  background: transparent;

  cursor: pointer;
}

.c12-automation-feed__pulse {
  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: var(--c12-accent);

  box-shadow:
    0 0 15px rgba(183, 255, 60, 0.55);

  animation:
    c12Pulse
    1.8s ease-in-out infinite;
}

.c12-automation-feed__toggle > span:nth-child(2) {
  display: grid;
  gap: 2px;
}

.c12-automation-feed__toggle small {
  color: var(--c12-muted-2);

  font-size: 6px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.c12-automation-feed__toggle strong {
  font-size: 10px;
}

.c12-automation-feed__count {
  min-width: 25px;
  height: 25px;

  display: grid;
  place-items: center;

  border-radius: 999px;

  color: #07100d;
  background: var(--c12-accent);

  font-size: 8px;
  font-weight: 900;
}

.c12-automation-feed__body {
  max-height: 300px;

  overflow: auto;

  border-top: 1px solid var(--c12-line);
}

.c12-automation-events {
  display: grid;
  gap: 7px;

  padding: 10px;
}

.c12-empty-automation {
  padding: 14px;

  color: var(--c12-muted);

  font-size: 9px;
  line-height: 1.5;
}


/* =========================================================
   EVENT RIPPLE
========================================================= */

.c12-event-ripple,
.c12-underhood,
.c12-before-after,
.c12-final {
  width: min(100%, var(--c12-max));

  margin: 0 auto;

  padding:
    clamp(80px, 10vw, 150px)
    clamp(22px, 5vw, 90px);
}

.c12-event-ripple__intro,
.c12-underhood__heading {
  max-width: 880px;
  margin: 0 auto 60px;

  text-align: center;
}

.c12-event-ripple__intro .c12-kicker,
.c12-underhood__heading .c12-kicker {
  justify-content: center;
}

.c12-event-ripple__intro h2,
.c12-underhood__heading h2,
.c12-final h2 {
  margin: 12px 0 16px;

  font-size:
    clamp(42px, 5vw, 78px);

  line-height: 0.98;
  letter-spacing: -0.055em;
}

.c12-event-ripple__intro p,
.c12-underhood__heading p,
.c12-final p {
  margin: 0 auto;

  color: var(--c12-muted);

  font-size: 15px;
  line-height: 1.65;
}

.c12-ripple-system {
  position: relative;

  max-width: 1100px;
  aspect-ratio: 1.54 / 1;

  margin: 0 auto 40px;
}

.c12-ripple-core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;

  width: 180px;
  height: 180px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(255, 184, 77, 0.26);
  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(255, 184, 77, 0.12),
      rgba(13, 24, 20, 0.95) 70%
    );

  box-shadow:
    0 0 80px rgba(255, 184, 77, 0.07);

  transform: translate(-50%, -50%);
}

.c12-ripple-core span {
  color: var(--c12-warning);

  font-size: 11px;
  font-weight: 900;
}

.c12-ripple-core strong {
  margin: 4px 0;

  font-size: 20px;
}

.c12-ripple-core small {
  color: var(--c12-muted);
  font-size: 8px;
}

.c12-ripple-card {
  position: absolute;
  z-index: 5;

  width: 220px;

  display: grid;
  gap: 5px;

  padding: 16px;

  border: 1px solid var(--c12-line);
  border-radius: 14px;

  background: rgba(10, 22, 18, 0.94);

  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.28);
}

.c12-ripple-card small {
  color: var(--c12-accent);

  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.c12-ripple-card strong {
  font-size: 11px;
}

.c12-ripple-card > span {
  position: absolute;
  top: 13px;
  right: 13px;

  color: var(--c12-accent);
}

.c12-ripple-card[data-ripple-role="driver"] {
  top: 6%;
  left: 4%;
}

.c12-ripple-card[data-ripple-role="manager"] {
  top: 6%;
  right: 4%;
}

.c12-ripple-card[data-ripple-role="dispatcher"] {
  bottom: 10%;
  left: 0;
}

.c12-ripple-card[data-ripple-role="customer"] {
  right: 0;
  bottom: 10%;
}

.c12-ripple-card[data-ripple-role="owner"] {
  bottom: 0;
  left: 50%;

  transform: translateX(-50%);
}

.c12-ripple-lines {
  position: absolute;
  inset: 0;
  z-index: 1;

  width: 100%;
  height: 100%;

  pointer-events: none;
}

.c12-ripple-lines path {
  fill: none;

  stroke: rgba(255, 184, 77, 0.15);
  stroke-width: 1;

  stroke-dasharray: 4 6;

  animation:
    c12FlowLine
    9s linear infinite;
}

.c12-event-ripple > .c12-primary-action {
  margin: 0 auto;
}


/* =========================================================
   UNDER HOOD
========================================================= */

.c12-stack {
  max-width: 1100px;

  display: grid;
  gap: 9px;

  margin: 0 auto;
}

.c12-stack-card {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 20px;

  padding: 24px;

  border: 1px solid var(--c12-line);
  border-radius: 18px;

  background:
    linear-gradient(
      90deg,
      rgba(183, 255, 60, 0.035),
      rgba(255, 255, 255, 0.015)
    );

  transition:
    transform 0.3s var(--c12-ease),
    border-color 0.3s ease;
}

.c12-stack-card:hover {
  transform: translateX(5px);
  border-color: rgba(183, 255, 60, 0.16);
}

.c12-stack-card__number {
  color: var(--c12-accent);

  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.c12-stack-card > div {
  display: grid;
  gap: 4px;
}

.c12-stack-card small {
  color: var(--c12-muted-2);

  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.c12-stack-card h3 {
  margin: 0;

  font-size: 21px;
}

.c12-stack-card p {
  max-width: 720px;

  margin: 2px 0 0;

  color: var(--c12-muted);

  font-size: 11px;
  line-height: 1.6;
}


/* =========================================================
   BEFORE / AFTER
========================================================= */

.c12-before-after {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 30px;
}

.c12-before-after__side {
  min-height: 460px;

  padding: 40px;

  border: 1px solid var(--c12-line);
  border-radius: 24px;

  background: rgba(255, 255, 255, 0.018);
}

.c12-before-after__label {
  color: var(--c12-muted-2);

  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.c12-before-after h2 {
  margin: 14px 0 35px;

  font-size:
    clamp(36px, 4vw, 64px);

  line-height: 1;
  letter-spacing: -0.05em;
}

.c12-before h2 em {
  color: var(--c12-warning);
}

.c12-before-after__arrow {
  align-self: center;

  color: var(--c12-accent);

  font-size: 34px;
}

.c12-chaos {
  position: relative;

  min-height: 220px;
}

.c12-chaos span {
  position: absolute;

  padding: 8px 11px;

  border: 1px solid rgba(255, 184, 77, 0.14);
  border-radius: 9px;

  color: #c8bda9;

  background: rgba(255, 184, 77, 0.035);

  font-size: 8px;
  font-weight: 800;
}

.c12-chaos span:nth-child(1) {
  top: 8%;
  left: 3%;
  transform: rotate(-4deg);
}

.c12-chaos span:nth-child(2) {
  top: 48%;
  left: 12%;
  transform: rotate(5deg);
}

.c12-chaos span:nth-child(3) {
  top: 20%;
  left: 42%;
  transform: rotate(2deg);
}

.c12-chaos span:nth-child(4) {
  right: 7%;
  bottom: 13%;
  transform: rotate(-5deg);
}

.c12-chaos span:nth-child(5) {
  right: 4%;
  top: 3%;
  transform: rotate(4deg);
}

.c12-chaos span:nth-child(6) {
  bottom: 5%;
  left: 38%;
  transform: rotate(-3deg);
}

.c12-chaos span:nth-child(7) {
  top: 52%;
  right: 30%;
  transform: rotate(6deg);
}

.c12-process-chain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.c12-process-chain span {
  padding: 10px 12px;

  border: 1px solid rgba(183, 255, 60, 0.14);
  border-radius: 9px;

  color: #d7e1dc;

  background: rgba(183, 255, 60, 0.04);

  font-size: 9px;
  font-weight: 800;
}

.c12-process-chain i {
  color: var(--c12-accent);
  font-style: normal;
}


/* =========================================================
   FINAL
========================================================= */

.c12-final {
  min-height: 85vh;

  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: center;
  gap: 80px;
}

.c12-final__content {
  max-width: 900px;
}

.c12-final__content p {
  max-width: 720px;
  margin: 0;
}

.c12-final__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;

  margin-top: 30px;
}

.c12-final__system {
  position: relative;

  min-height: 500px;
}

.c12-final-core {
  position: absolute;
  top: 50%;
  left: 50%;

  width: 200px;
  height: 200px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(183, 255, 60, 0.2);
  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(183, 255, 60, 0.1),
      transparent 70%
    );

  transform: translate(-50%, -50%);
}

.c12-final-core span {
  color: var(--c12-muted);

  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.c12-final-core strong {
  color: var(--c12-accent);

  font-size: 24px;
}

.c12-final__system > span {
  position: absolute;

  padding: 8px 11px;

  border: 1px solid var(--c12-line);
  border-radius: 999px;

  color: var(--c12-muted);

  background: rgba(255, 255, 255, 0.02);

  font-size: 8px;
  font-weight: 800;
}

.c12-final__system > span:nth-of-type(1) {
  top: 10%;
  left: 25%;
}

.c12-final__system > span:nth-of-type(2) {
  top: 15%;
  right: 15%;
}

.c12-final__system > span:nth-of-type(3) {
  top: 48%;
  right: 2%;
}

.c12-final__system > span:nth-of-type(4) {
  right: 18%;
  bottom: 10%;
}

.c12-final__system > span:nth-of-type(5) {
  bottom: 12%;
  left: 14%;
}

.c12-final__system > span:nth-of-type(6) {
  top: 47%;
  left: 0;
}


/* =========================================================
   MODALS
========================================================= */

.c12-modal {
  position: fixed;
  inset: 0;
  z-index: 300;

  display: grid;
  place-items: center;

  padding: 24px;
}

.c12-modal__backdrop {
  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, 0.7);

  backdrop-filter: blur(8px);
}

.c12-modal__window {
  position: relative;
  z-index: 2;

  width: min(100%, 1200px);
  max-height: calc(100vh - 48px);

  overflow: hidden;

  border: 1px solid var(--c12-line-strong);
  border-radius: 22px;

  background: #09130f;

  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.6);

  animation:
    c12ModalIn
    0.35s var(--c12-ease);
}

@keyframes c12ModalIn {
  from {
    opacity: 0;
    transform: translateY(15px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.c12-modal__window--wide {
  width: min(96vw, 1550px);
}

.c12-modal__window--small {
  width: min(100%, 470px);
}

.c12-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  padding: 18px 20px;

  border-bottom: 1px solid var(--c12-line);
}

.c12-modal__header > div {
  display: grid;
  gap: 4px;
}

.c12-modal__header h2 {
  margin: 0;

  font-size: 22px;
}

.c12-modal__close {
  width: 38px;
  height: 38px;

  display: grid;
  place-items: center;

  border: 1px solid var(--c12-line);
  border-radius: 50%;

  color: var(--c12-muted);
  background: rgba(255, 255, 255, 0.025);

  font-size: 20px;

  cursor: pointer;

  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.c12-modal__close:hover {
  color: var(--c12-text);
  border-color: var(--c12-line-strong);
  transform: rotate(4deg);
}

.c12-orders-toolbar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;

  padding: 12px 16px;

  border-bottom: 1px solid var(--c12-line);
}

.c12-search {
  min-height: 38px;

  display: flex;
  align-items: center;
  gap: 8px;

  padding: 0 11px;

  border: 1px solid var(--c12-line);
  border-radius: 10px;

  background: rgba(255, 255, 255, 0.02);
}

.c12-search span {
  color: var(--c12-muted);
}

.c12-search input {
  width: 100%;

  border: 0;
  outline: 0;

  color: var(--c12-text);
  background: transparent;

  font-size: 10px;
}

.c12-search input::placeholder {
  color: var(--c12-muted-2);
}

.c12-orders-toolbar select {
  min-height: 38px;

  padding: 0 30px 0 10px;

  border: 1px solid var(--c12-line);
  border-radius: 10px;

  color: var(--c12-text);
  background: #0c1914;

  font-size: 9px;

  outline: none;
}

.c12-table-wrap--modal {
  max-height: calc(100vh - 230px);
}

.c12-table--large {
  min-width: 1320px;
}

.c12-table--large th {
  position: sticky;
  top: 0;
  z-index: 3;

  background: #0c1914;
}

.c12-modal__footer {
  padding: 11px 16px;

  border-top: 1px solid var(--c12-line);

  color: var(--c12-muted);

  font-size: 9px;
}

.c12-rule-result {
  display: flex;
  flex-direction: column;
  align-items: center;

  padding: 36px;

  text-align: center;
}

.c12-rule-result__icon {
  width: 58px;
  height: 58px;

  display: grid;
  place-items: center;

  margin-bottom: 17px;

  border: 1px solid rgba(255, 184, 77, 0.2);
  border-radius: 50%;

  color: var(--c12-warning);
  background: rgba(255, 184, 77, 0.06);

  font-size: 24px;
}

.c12-rule-result h3 {
  margin: 9px 0;

  font-size: 22px;
}

.c12-rule-result p {
  margin: 0 0 24px;

  color: var(--c12-muted);

  font-size: 11px;
  line-height: 1.6;
}


/* =========================================================
   TOASTS
========================================================= */

.c12-toast-stack {
  position: fixed;
  top: 90px;
  right: 20px;
  z-index: 500;

  width: min(340px, calc(100vw - 40px));

  display: grid;
  gap: 8px;

  pointer-events: none;
}

.c12-toast-stack > * {
  pointer-events: auto;

  animation:
    c12ToastIn
    0.4s var(--c12-ease);
}

@keyframes c12ToastIn {
  from {
    opacity: 0;
    transform: translateX(15px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}


/* =========================================================
   SCROLLBAR
========================================================= */

.c12-body * {
  scrollbar-width: thin;
  scrollbar-color:
    rgba(183, 255, 60, 0.22)
    rgba(255, 255, 255, 0.025);
}

.c12-body *::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

.c12-body *::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}

.c12-body *::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(183, 255, 60, 0.2);
}


/* =========================================================
   RESPONSIVE — LARGE
========================================================= */

@media (max-width: 1450px) {

  .c12-intro {
    grid-template-columns:
      minmax(380px, 0.9fr)
      minmax(500px, 1.1fr);

    gap: 45px;
  }

  .c12-dispatch-grid {
    grid-template-columns:
      230px
      330px
      minmax(470px, 1fr);
  }

  .c12-planning-layout {
    grid-template-columns:
      270px
      minmax(520px, 1fr);
  }

  .c12-carriers-panel {
    grid-column: 1 / -1;
  }

  .c12-carrier-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .c12-owner-grid {
    grid-template-columns:
      minmax(420px, 1.2fr)
      minmax(260px, 0.8fr);
  }

  .c12-operations-panel {
    grid-row: span 3;
  }

  .c12-attention-panel {
    grid-column: 2;
  }
}


/* =========================================================
   RESPONSIVE — LAPTOP
========================================================= */

@media (max-width: 1180px) {

  .c12-topbar {
    grid-template-columns: 1fr auto;
  }

  .c12-topbar__center {
    display: none;
  }

  .c12-intro {
    grid-template-columns: 1fr;
  }

  .c12-intro__copy {
    max-width: 900px;
  }

  .c12-intro__visual {
    width: min(100%, 850px);
    margin: 20px auto 0;
  }

  .c12-dispatch-grid {
    grid-template-columns:
      minmax(220px, 0.6fr)
      minmax(330px, 1fr);
  }

  .c12-register-panel {
    grid-column: 1 / -1;
  }

  .c12-planning-layout {
    grid-template-columns: 1fr;
  }

  .c12-vehicle-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .c12-carrier-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .c12-driver-layout {
    gap: 50px;
  }

  .c12-customer-layout {
    grid-template-columns: 1fr;
  }

  .c12-customer-notifications {
    max-width: none;
  }

  .c12-owner-kpis {
    grid-template-columns: 1fr 1fr;
  }

  .c12-owner-grid {
    grid-template-columns: 1fr 1fr;
  }

  .c12-operations-panel {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .c12-attention-panel {
    grid-column: auto;
  }

  .c12-final {
    grid-template-columns: 1fr;
  }

  .c12-final__system {
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
  }

}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 820px) {

  :root {
    --c12-header-height: 62px;
  }

  .c12-topbar {
    min-height: 62px;
    padding: 9px 14px;
  }

  .c12-case-label__eyebrow,
  .c12-case-label strong {
    display: none;
  }

  .c12-topbar__divider {
    display: none;
  }

  .c12-mode-switch {
    padding: 0 10px;
  }

  .c12-order-strip {
    top: 62px;

    grid-template-columns: 1fr auto;

    gap: 10px;

    padding: 10px 14px;
  }

  .c12-order-strip__route {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .c12-order-strip__time {
    display: none;
  }

  .c12-scene--intro {
    padding:
      42px
      18px
      70px;
  }

  .c12-intro__copy h1 {
    font-size:
      clamp(44px, 12vw, 72px);
  }

  .c12-intro__micro {
    grid-template-columns: 1fr 1fr;
  }

  .c12-network {
    aspect-ratio: 0.95 / 1;
  }

  .c12-network__core {
    width: 150px;
    height: 150px;
  }

  .c12-network__core strong {
    font-size: 42px;
  }

  .c12-role-node {
    min-width: 145px;
    padding: 9px 10px;
  }

  .c12-role-node__icon {
    width: 30px;
    height: 30px;
  }

  .c12-role-node__text em {
    display: none;
  }

  .c12-network__source {
    display: none;
  }

  .c12-workspace {
    padding:
      20px
      14px
      160px;
  }

  .c12-role-nav {
    top: 108px;

    display: flex;
    overflow-x: auto;

    border-radius: 13px;

    scrollbar-width: none;
  }

  .c12-role-nav::-webkit-scrollbar {
    display: none;
  }

  .c12-role-tab {
    flex: 0 0 130px;

    min-height: 50px;
  }

  .c12-scene-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .c12-dispatch-grid {
    grid-template-columns: 1fr;
  }

  .c12-register-panel {
    grid-column: auto;
  }

  .c12-vehicle-grid {
    grid-template-columns: 1fr;
  }

  .c12-carrier-list {
    grid-template-columns: 1fr;
  }

  .c12-driver-layout {
    grid-template-columns: 1fr;
  }

  .c12-driver-side {
    max-width: none;
  }

  .c12-tracking-card {
    padding: 18px;
  }

  .c12-tracking-route {
    gap: 12px;
  }

  .c12-tracking-route strong {
    font-size: 20px;
  }

  .c12-customer-timeline {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .c12-customer-timeline > div {
    grid-template-columns: 20px 1fr auto;
    align-items: center;

    min-height: 48px;
  }

  .c12-customer-timeline > div::before {
    top: 25px;
    bottom: -23px;
    left: 6px;

    width: 1px;
    height: auto;
  }

  .c12-owner-kpis {
    grid-template-columns: 1fr 1fr;
  }

  .c12-owner-grid {
    grid-template-columns: 1fr;
  }

  .c12-operations-panel,
  .c12-attention-panel {
    grid-column: auto;
  }

  .c12-operation-map {
    min-height: 390px;
  }

  .c12-time-machine {
    bottom: 10px;

    padding: 12px;
  }

  .c12-time-machine__hint {
    display: none;
  }

  .c12-time-range__events span {
    display: none;
  }

  .c12-automation-feed {
    right: 12px;
    bottom: 12px;
  }

  .c12-ripple-system {
    aspect-ratio: auto;
    min-height: 680px;
  }

  .c12-ripple-card {
    width: 180px;
  }

  .c12-ripple-card[data-ripple-role="driver"] {
    top: 0;
    left: 0;
  }

  .c12-ripple-card[data-ripple-role="manager"] {
    top: 0;
    right: 0;
  }

  .c12-ripple-card[data-ripple-role="dispatcher"] {
    bottom: 90px;
    left: 0;
  }

  .c12-ripple-card[data-ripple-role="customer"] {
    right: 0;
    bottom: 90px;
  }

  .c12-ripple-card[data-ripple-role="owner"] {
    bottom: 0;
  }

  .c12-ripple-lines {
    display: none;
  }

  .c12-before-after {
    grid-template-columns: 1fr;
  }

  .c12-before-after__arrow {
    justify-self: center;

    transform: rotate(90deg);
  }

  .c12-before-after__side {
    min-height: 380px;
  }

  .c12-orders-toolbar {
    grid-template-columns: 1fr;
  }

}


/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 560px) {

  .c12-topbar {
    grid-template-columns: 1fr auto;
  }

  .c12-topbar__right {
    gap: 5px;
  }

  .c12-mode-switch {
    min-height: 31px;

    padding: 0 8px;

    font-size: 9px;
  }

  .c12-sound-toggle {
    width: 31px;
    min-height: 31px;
  }

  .c12-back span:last-child {
    display: none;
  }

  .c12-order-strip__identity strong {
    font-size: 10px;
  }

  .c12-scene--intro {
    align-items: flex-start;
  }

  .c12-intro__copy h1 {
    margin-top: 14px;

    font-size:
      clamp(41px, 13vw, 58px);

    line-height: 0.98;
  }

  .c12-intro__lead {
    font-size: 14px;
  }

  .c12-intro__actions {
    display: grid;
  }

  .c12-primary-action,
  .c12-secondary-action {
    width: 100%;
  }

  .c12-intro__micro {
    margin-top: 36px;
  }

  .c12-intro__micro > div {
    padding: 12px;
  }

  .c12-network {
    min-height: 560px;
  }

  .c12-network__core {
    width: 125px;
    height: 125px;
  }

  .c12-network__core::after {
    inset: -30px;
  }

  .c12-network__core strong {
    font-size: 34px;
  }

  .c12-role-node {
    min-width: 128px;

    gap: 7px;

    padding: 8px;
  }

  .c12-role-node__text small {
    display: none;
  }

  .c12-role-node__text strong {
    font-size: 10px;
  }

  .c12-role-node--dispatcher {
    top: 11%;
    left: 0;
  }

  .c12-role-node--manager {
    top: 11%;
    right: 0;
  }

  .c12-role-node--driver {
    right: 0;
    bottom: 9%;
  }

  .c12-role-node--customer {
    bottom: 9%;
    left: 0;
  }

  .c12-role-node--owner {
    top: 0;
  }

  .c12-scene-heading h2 {
    font-size: 38px;
  }

  .c12-scene-heading p {
    font-size: 12px;
  }

  .c12-scene-heading__live {
    width: 100%;
  }

  .c12-email-card__meta {
    grid-template-columns: 1fr;
  }

  .c12-email-card__body dl > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .c12-email-card__body dd {
    text-align: left;
  }

  .c12-order-card__route {
    font-size: 16px;
  }

  .c12-phone {
    width: min(100%, 320px);
  }

  .c12-phone__screen {
    min-height: 610px;
  }

  .c12-tracking-card__header {
    flex-direction: column;
  }

  .c12-tracking-route {
    grid-template-columns: 1fr;
  }

  .c12-tracking-route > div:last-child {
    text-align: left;
  }

  .c12-tracking-route__journey {
    width: 100%;
  }

  .c12-delivery-result {
    grid-template-columns: auto 1fr;
  }

  .c12-delivery-result button {
    grid-column: 1 / -1;
  }

  .c12-owner-kpis {
    grid-template-columns: 1fr;
  }

  .c12-kpi-card {
    min-height: 105px;
  }

  .c12-operation-map {
    min-height: 330px;
  }

  .c12-finance-kpis {
    grid-template-columns: 1fr;
  }

  .c12-donut-wrap {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .c12-chart-legend {
    width: 100%;
  }

  .c12-time-machine {
    border-radius: 15px;
  }

  .c12-time-machine__control {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .c12-time-machine__date {
    display: none;
  }

  .c12-time-machine__stats {
    gap: 9px 13px;
  }

  .c12-event-ripple,
  .c12-underhood,
  .c12-before-after,
  .c12-final {
    padding:
      70px
      18px;
  }

  .c12-event-ripple__intro h2,
  .c12-underhood__heading h2,
  .c12-final h2 {
    font-size: 43px;
  }

  .c12-ripple-system {
    min-height: 780px;
  }

  .c12-ripple-core {
    width: 145px;
    height: 145px;
  }

  .c12-ripple-card {
    width: 150px;

    padding: 12px;
  }

  .c12-ripple-card strong {
    font-size: 9px;
  }

  .c12-stack-card {
    grid-template-columns: 45px 1fr;
    gap: 12px;

    padding: 18px;
  }

  .c12-stack-card__number {
    font-size: 20px;
  }

  .c12-before-after__side {
    min-height: 340px;
    padding: 25px;
  }

  .c12-final {
    min-height: auto;
  }

  .c12-final__system {
    min-height: 390px;
  }

  .c12-final-core {
    width: 150px;
    height: 150px;
  }

  .c12-modal {
    padding: 10px;
  }

  .c12-modal__window {
    max-height: calc(100vh - 20px);
    border-radius: 17px;
  }

  .c12-modal__header {
    padding: 14px;
  }

  .c12-table-wrap--modal {
    max-height: calc(100vh - 260px);
  }

  .c12-rule-result {
    padding: 28px 20px;
  }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 390px) {

  .c12-case-label {
    display: none;
  }

  .c12-intro__micro {
    grid-template-columns: 1fr 1fr;
  }

  .c12-network {
    min-height: 520px;
  }

  .c12-role-node {
    min-width: 116px;
  }

  .c12-role-node__icon {
    width: 27px;
    height: 27px;
  }

  .c12-role-node__text strong {
    font-size: 9px;
  }

  .c12-ripple-card {
    width: 138px;
  }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;

    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;

    transition-duration: 0.01ms !important;
  }

}

@media (min-width: 1181px) {

  .c12-scene--intro {
    min-height: 620px;
    align-items: center;
    padding:
      38px
      clamp(32px, 3.6vw, 58px)
      44px;
  }

  .c12-intro {
    grid-template-columns:
      minmax(430px, 0.96fr)
      minmax(500px, 1.04fr);

    gap: clamp(32px, 4vw, 60px);
    align-items: center;
  }

  .c12-intro__copy {
    align-self: center;
  }

  .c12-intro .c12-kicker {
    font-size: 9px;
  }

  .c12-intro__copy h1 {
    max-width: 560px;

    margin:
      12px
      0
      16px;

    font-size:
      clamp(
        46px,
        3.3vw,
        56px
      );

    line-height: 0.98;
    letter-spacing: -0.045em;
    font-weight: 760;
  }

  .c12-intro__lead {
    max-width: 570px;

    font-size: 15px;
    line-height: 1.55;
  }

  .c12-intro__actions {
    gap: 10px;
    margin-top: 22px;
  }

  .c12-intro__actions .c12-primary-action,
  .c12-intro__actions .c12-secondary-action {
    min-height: 44px;
    padding: 0 18px;
    font-size: 13px;
  }

  .c12-intro__micro {
    max-width: 560px;

    margin-top: 26px;

    border-radius: 13px;
  }

  .c12-intro__micro > div {
    padding: 11px 13px;
  }

  .c12-intro__micro strong {
    font-size: 16px;
  }

  .c12-intro__micro span {
    font-size: 9px;
  }

  .c12-intro__visual {
    align-self: center;
  }

  .c12-network {
    width: min(100%, 600px);
  }

  .c12-network__core {
    width: 150px;
    height: 150px;
  }

  .c12-network__core strong {
    font-size: 42px;
  }

  .c12-network__core-label {
    font-size: 7px;
  }

  .c12-network__core > span:last-of-type {
    font-size: 9px;
  }

  .c12-role-node {
    min-width: 155px;

    gap: 10px;

    padding: 10px 12px;
  }

  .c12-role-node__icon {
    width: 32px;
    height: 32px;
  }

  .c12-role-node__text strong {
    font-size: 12px;
  }

  .c12-role-node__text em {
    font-size: 8px;
  }

}

.c12-intro__pain-solution {
  grid-column: 1 / -1;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;

  margin-top: 8px;
}

.c12-intro-problem,
.c12-intro-solution {
  min-width: 0;

  padding: 20px 22px;

  border-radius: 16px;

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.025),
      rgba(255, 255, 255, 0.008)
    );
}

.c12-intro-problem {
  border: 1px solid rgba(255, 184, 77, 0.15);

  background:
    linear-gradient(
      135deg,
      rgba(255, 184, 77, 0.055),
      rgba(255, 255, 255, 0.008)
    );
}

.c12-intro-solution {
  border: 1px solid rgba(183, 255, 60, 0.17);

  background:
    linear-gradient(
      135deg,
      rgba(183, 255, 60, 0.055),
      rgba(255, 255, 255, 0.008)
    );
}

.c12-intro-problem__head,
.c12-intro-solution__head {
  display: grid;
  gap: 4px;

  margin-bottom: 15px;
}

.c12-intro-problem__head span,
.c12-intro-solution__head span {
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.c12-intro-problem__head span {
  color: var(--c12-warning);
}

.c12-intro-solution__head span {
  color: var(--c12-accent);
}

.c12-intro-problem__head strong,
.c12-intro-solution__head strong {
  color: var(--c12-text);

  font-size: 15px;
  font-weight: 760;
}

.c12-intro-problem__items,
.c12-intro-solution__items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;

  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 11px;

  background: rgba(255, 255, 255, 0.055);
}

.c12-intro-problem__items > div,
.c12-intro-solution__items > div {
  min-height: 58px;

  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 9px;
  align-items: start;

  padding: 11px 12px;

  background: rgba(7, 16, 13, 0.94);
}

.c12-intro-problem__items span,
.c12-intro-solution__items span {
  font-size: 9px;
  font-weight: 900;
}

.c12-intro-problem__items span {
  color: var(--c12-warning);
}

.c12-intro-solution__items span {
  color: var(--c12-accent);
}

.c12-intro-problem__items p,
.c12-intro-solution__items p {
  margin: 0;

  color: #9caea6;

  font-size: 10px;
  line-height: 1.45;
}

@media (max-width: 820px) {

  .c12-intro__pain-solution {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .c12-intro-problem__items,
  .c12-intro-solution__items {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 560px) {

  .c12-intro-problem,
  .c12-intro-solution {
    padding: 16px;
  }

}

.c12-intro__pain-solution {
  grid-column: 1 / -1 !important;

  display: grid !important;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr) !important;

  gap: 14px !important;
  align-items: stretch !important;

  width: 100%;
  margin-top: 18px !important;
}

.c12-intro-transform {
  display: none !important;
}

.c12-intro-problem,
.c12-intro-solution {
  width: 100%;
  height: 100%;

  margin: 0 !important;
}

.c12-intro-problem__head,
.c12-intro-solution__head {
  min-height: 42px;
}

.c12-intro-problem__items,
.c12-intro-solution__items {
  height: calc(100% - 55px);
}

@media (max-width: 820px) {

  .c12-intro__pain-solution {
    grid-template-columns: 1fr !important;
  }

}

.c12-scene--intro {
  min-height: 0 !important;
  align-items: flex-start !important;

  padding-bottom: 28px !important;
}

.c12-intro {
  align-items: start !important;
  row-gap: 30px !important;
}

.c12-intro__pain-solution {
  grid-column: 1 / -1 !important;

  display: grid !important;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr) !important;

  gap: 14px !important;

  width: 100%;

  margin-top: 0 !important;
}


/* =========================================================
   PROBLEM / SOLUTION — LIGHT BUSINESS CARDS
========================================================= */

.c12-intro-problem,
.c12-intro-solution {
  min-width: 0;

  padding: 22px 24px !important;

  border-radius: 17px !important;

  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.12) !important;
}

.c12-intro-problem {
  color: #26342f !important;

  border:
    1px solid
    rgba(201, 95, 82, 0.28) !important;

  background:
    linear-gradient(
      145deg,
      #fff6f3 0%,
      #fffaf8 100%
    ) !important;
}

.c12-intro-solution {
  color: #263a31 !important;

  border:
    1px solid
    rgba(73, 139, 96, 0.26) !important;

  background:
    linear-gradient(
      145deg,
      #f2faf4 0%,
      #f8fcf9 100%
    ) !important;
}


/* =========================================================
   CARD HEADERS
========================================================= */

.c12-intro-problem__head,
.c12-intro-solution__head {
  min-height: 0 !important;

  display: grid !important;
  justify-content: start !important;
  gap: 8px !important;

  margin: 0 0 14px !important;
  padding: 0 !important;

  border: 0 !important;
}

.c12-intro-problem__head span,
.c12-intro-solution__head span {
  width: max-content;

  display: inline-flex;
  align-items: center;

  padding: 5px 8px;

  border-radius: 999px;

  font-size: 7px !important;
  font-weight: 900 !important;
  letter-spacing: 0.08em !important;
}

.c12-intro-problem__head span {
  color: #963f38 !important;

  background:
    rgba(207, 89, 77, 0.13) !important;
}

.c12-intro-solution__head span {
  color: #3e7052 !important;

  background:
    rgba(73, 139, 96, 0.13) !important;
}

.c12-intro-problem__head strong,
.c12-intro-solution__head strong {
  color: #29483b !important;

  font-size: 16px !important;
  line-height: 1.25 !important;
  font-weight: 760 !important;

  text-align: left !important;
}


/* =========================================================
   CONTENT
========================================================= */

.c12-intro-problem__items,
.c12-intro-solution__items {
  height: auto !important;

  display: grid !important;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr) !important;

  column-gap: 22px !important;
  row-gap: 0 !important;

  overflow: visible !important;

  border: 0 !important;
  border-radius: 0 !important;

  background: transparent !important;
}

.c12-intro-problem__items > div,
.c12-intro-solution__items > div {
  min-height: 0 !important;

  display: grid !important;
  grid-template-columns: 24px 1fr !important;
  align-items: start !important;
  gap: 8px !important;

  padding: 10px 0 !important;

  border: 0 !important;
  border-top:
    1px solid
    rgba(40, 67, 56, 0.11) !important;

  border-radius: 0 !important;

  background: transparent !important;
}

.c12-intro-problem__items span {
  color: #b45549 !important;
}

.c12-intro-solution__items span {
  color: #43815a !important;
}

.c12-intro-problem__items p,
.c12-intro-solution__items p {
  margin: 0 !important;

  color: #5c6c65 !important;

  font-size: 10px !important;
  line-height: 1.48 !important;
}


/* =========================================================
   REMOVE OLD TRANSITION ELEMENT
========================================================= */

.c12-intro-transform {
  display: none !important;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 820px) {

  .c12-intro__pain-solution {
    grid-template-columns: 1fr !important;
  }

}

@media (max-width: 560px) {

  .c12-intro-problem,
  .c12-intro-solution {
    padding: 18px !important;
  }

  .c12-intro-problem__items,
  .c12-intro-solution__items {
    grid-template-columns: 1fr !important;
  }

}

@media (min-width: 1181px) {

  .c12-scene--intro {
    min-height: unset !important;
    height: auto !important;

    padding-top: 30px !important;
    padding-bottom: 18px !important;
  }

  .c12-intro {
    min-height: 0 !important;
    height: auto !important;

    row-gap: 18px !important;
  }

  .c12-intro__pain-solution {
    margin-bottom: 0 !important;
  }

}

.c12-toast-stack {
  top: auto !important;
  bottom: 24px !important;

  right:
    clamp(
      24px,
      calc((100vw - 1260px) / 2 + 34px),
      220px
    ) !important;

  z-index: 9999 !important;
}

.c12-toast {
  min-width: 290px;

  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  align-items: center;

  padding: 13px 15px;

  border: 1px solid rgba(183, 255, 60, 0.22);
  border-radius: 12px;

  color: #f3f6f4;

  background:
    linear-gradient(
      135deg,
      rgba(183, 255, 60, 0.08),
      rgba(8, 18, 14, 0.98)
    );

  box-shadow:
    0 18px 55px rgba(0, 0, 0, 0.48);

  backdrop-filter: blur(18px);
}

.c12-toast__icon {
  width: 28px;
  height: 28px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(183, 255, 60, 0.22);
  border-radius: 8px;

  color: var(--c12-accent);

  background: rgba(183, 255, 60, 0.07);
}

.c12-toast__body {
  min-width: 0;
}

.c12-toast__body strong {
  display: block;

  color: #f3f6f4;

  font-size: 11px;
  line-height: 1.3;
}

.c12-toast__body span,
.c12-toast__body p,
.c12-toast__body small {
  display: block;

  margin: 3px 0 0;

  color: #9bada5;

  font-size: 9px;
  line-height: 1.45;
}

.case-detail-stage__body.c12-body {
  min-height: 0 !important;
  height: auto !important;
}

.case-detail-stage__body.c12-body .c12-shell {
  min-height: 0 !important;
  height: auto !important;
}

.case-detail-stage__body.c12-body .c12-scene--intro {
  min-height: 0 !important;
  height: auto !important;
  padding-bottom: 18px !important;
}

/* =========================================================
   CASE 12 — LIGHT BUSINESS THEME
========================================================= */

.case-detail-stage__body.c12-body {
  --c12-bg: #f7f4ef;
  --c12-bg-2: #fcfbf9;
  --c12-bg-3: #f1f6f3;

  --c12-panel: rgba(255, 255, 255, 0.98);
  --c12-panel-strong: #ffffff;
  --c12-panel-soft: #f7f4ef;

  --c12-line: #e7e0d8;
  --c12-line-strong: #d7d0c8;

  --c12-text: #31483d;
  --c12-muted: #6f7b74;
  --c12-muted-2: #929992;

  --c12-accent: #4f8a62;
  --c12-accent-soft: rgba(79, 138, 98, 0.10);
  --c12-accent-mid: rgba(79, 138, 98, 0.22);

  --c12-warning: #c8922f;
  --c12-danger: #c6534f;
  --c12-info: #2f6f9f;

  color: var(--c12-text) !important;

  background:
    linear-gradient(
      180deg,
      #faf8f4 0%,
      #f4f1eb 100%
    ) !important;
}


/* =========================================================
   REMOVE DARK AMBIENT
========================================================= */

.case-detail-stage__body.c12-body .c12-ambient {
  display: none !important;
}

.case-detail-stage__body.c12-body .c12-shell {
  min-height: 0 !important;

  color: var(--c12-text) !important;

  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fcfbf9 48%,
      #f7f4ef 100%
    ) !important;
}


/* =========================================================
   INTERNAL TOP BAR
========================================================= */

.case-detail-stage__body.c12-body .c12-topbar {
  border-bottom: 1px solid #e7e0d8 !important;

  background:
    rgba(252, 251, 249, 0.96) !important;

  box-shadow:
    0 6px 20px rgba(61, 54, 46, 0.05) !important;
}

.case-detail-stage__body.c12-body .c12-back {
  color: #6e766f !important;
}

.case-detail-stage__body.c12-body .c12-back:hover {
  color: #315c42 !important;
}

.case-detail-stage__body.c12-body .c12-topbar__divider {
  background: #e7e0d8 !important;
}

.case-detail-stage__body.c12-body .c12-case-label strong {
  color: #354d41 !important;
}

.case-detail-stage__body.c12-body .c12-case-label__eyebrow {
  color: #90988f !important;
}

.case-detail-stage__body.c12-body .c12-system-status {
  color: #456653 !important;

  border-color: #c9ded0 !important;

  background:
    #f2f8f4 !important;
}

.case-detail-stage__body.c12-body .c12-mode-switch,
.case-detail-stage__body.c12-body .c12-sound-toggle {
  color: #68756e !important;

  border-color: #ddd6ce !important;

  background:
    #ffffff !important;
}

.case-detail-stage__body.c12-body .c12-mode-switch:hover,
.case-detail-stage__body.c12-body .c12-sound-toggle:hover {
  color: #315c42 !important;

  border-color: #b8d0bf !important;

  background:
    #f4faf5 !important;
}

.case-detail-stage__body.c12-body .c12-mode-switch.is-active {
  color: #ffffff !important;

  border-color: #4f8a62 !important;

  background:
    #4f8a62 !important;
}


/* =========================================================
   HERO
========================================================= */

.case-detail-stage__body.c12-body .c12-scene--intro {
  color: #31483d !important;

  background:
    radial-gradient(
      circle at 76% 22%,
      rgba(105, 170, 136, 0.13),
      transparent 34%
    ),
    radial-gradient(
      circle at 18% 15%,
      rgba(47, 111, 159, 0.08),
      transparent 30%
    ),
    linear-gradient(
      145deg,
      #ffffff 0%,
      #fbfaf7 65%,
      #f4f8f5 100%
    ) !important;
}

.case-detail-stage__body.c12-body .c12-kicker {
  color: #4f8a62 !important;
}

.case-detail-stage__body.c12-body .c12-kicker > span {
  background: #4f8a62 !important;
}

.case-detail-stage__body.c12-body .c12-intro__copy h1 {
  color: #30493d !important;
}

.case-detail-stage__body.c12-body .c12-intro__copy h1 em {
  color: #4f8a62 !important;
}

.case-detail-stage__body.c12-body .c12-intro__lead {
  color: #66736c !important;
}


/* =========================================================
   HERO ACTIONS
========================================================= */

.case-detail-stage__body.c12-body .c12-primary-action {
  color: #ffffff !important;

  border-color: #2f6f9f !important;

  background:
    #2f6f9f !important;

  box-shadow:
    0 10px 24px rgba(47, 111, 159, 0.18) !important;
}

.case-detail-stage__body.c12-body .c12-primary-action:hover {
  background:
    #285f88 !important;

  box-shadow:
    0 14px 30px rgba(47, 111, 159, 0.23) !important;
}

.case-detail-stage__body.c12-body .c12-secondary-action {
  color: #456052 !important;

  border-color: #d9d3cb !important;

  background:
    #ffffff !important;
}

.case-detail-stage__body.c12-body .c12-secondary-action:hover {
  color: #315c42 !important;

  border-color: #bdd3c4 !important;

  background:
    #f3f8f4 !important;
}


/* =========================================================
   HERO MICRO KPI
========================================================= */

.case-detail-stage__body.c12-body .c12-intro__micro {
  border-color: #e7e0d8 !important;

  background:
    #e7e0d8 !important;

  box-shadow:
    0 8px 24px rgba(61, 54, 46, 0.06) !important;
}

.case-detail-stage__body.c12-body .c12-intro__micro > div {
  background:
    #ffffff !important;
}

.case-detail-stage__body.c12-body .c12-intro__micro strong {
  color: #315c42 !important;
}

.case-detail-stage__body.c12-body .c12-intro__micro span {
  color: #7c857f !important;
}


/* =========================================================
   NETWORK — LIGHT / MULTICOLOR
========================================================= */

.case-detail-stage__body.c12-body .c12-network::before {
  border-color:
    rgba(79, 138, 98, 0.12) !important;

  box-shadow:
    0 0 100px rgba(79, 138, 98, 0.07) !important;
}

.case-detail-stage__body.c12-body .c12-network__core {
  border-color: #bad3c1 !important;

  background:
    radial-gradient(
      circle,
      #eef8f1 0%,
      #f7fbf8 64%,
      #ffffff 100%
    ) !important;

  box-shadow:
    0 18px 40px rgba(66, 104, 82, 0.12) !important;
}

.case-detail-stage__body.c12-body .c12-network__core::before,
.case-detail-stage__body.c12-body .c12-network__core::after {
  border-color:
    rgba(79, 138, 98, 0.14) !important;
}

.case-detail-stage__body.c12-body .c12-network__core strong {
  color: #4f8a62 !important;
}

.case-detail-stage__body.c12-body .c12-network__core-label,
.case-detail-stage__body.c12-body .c12-network__core > span:last-of-type {
  color: #748078 !important;
}

.case-detail-stage__body.c12-body .c12-network__core-pulse {
  border-color:
    rgba(79, 138, 98, 0.22) !important;
}

.case-detail-stage__body.c12-body .c12-role-node {
  color: #354b40 !important;

  border-color: #e2ddd6 !important;

  background:
    rgba(255, 255, 255, 0.96) !important;

  box-shadow:
    0 10px 24px rgba(59, 54, 48, 0.09) !important;
}

.case-detail-stage__body.c12-body .c12-role-node--dispatcher {
  border-color: #c7dbea !important;
}

.case-detail-stage__body.c12-body
.c12-role-node--dispatcher
.c12-role-node__icon {
  color: #2f6f9f !important;
  border-color: #c7dbea !important;
  background: #edf5fa !important;
}

.case-detail-stage__body.c12-body .c12-role-node--manager {
  border-color: #ead8aa !important;
}

.case-detail-stage__body.c12-body
.c12-role-node--manager
.c12-role-node__icon {
  color: #a97b22 !important;
  border-color: #ead8aa !important;
  background: #fff8e9 !important;
}

.case-detail-stage__body.c12-body .c12-role-node--driver {
  border-color: #c9ded0 !important;
}

.case-detail-stage__body.c12-body
.c12-role-node--driver
.c12-role-node__icon {
  color: #4f8a62 !important;
  border-color: #c9ded0 !important;
  background: #f0f7f2 !important;
}

.case-detail-stage__body.c12-body .c12-role-node--customer {
  border-color: #d8cce8 !important;
}

.case-detail-stage__body.c12-body
.c12-role-node--customer
.c12-role-node__icon {
  color: #7a5ba2 !important;
  border-color: #d8cce8 !important;
  background: #f7f2fb !important;
}

.case-detail-stage__body.c12-body .c12-role-node--owner {
  border-color: #efcec5 !important;
}

.case-detail-stage__body.c12-body
.c12-role-node--owner
.c12-role-node__icon {
  color: #b35a4f !important;
  border-color: #efcec5 !important;
  background: #fff4f1 !important;
}

.case-detail-stage__body.c12-body .c12-role-node__text small {
  color: #9a9f9a !important;
}

.case-detail-stage__body.c12-body .c12-role-node__text em {
  color: #78827c !important;
}

.case-detail-stage__body.c12-body .c12-network__source {
  color: #68746d !important;

  border-color: #e3ddd6 !important;

  background:
    rgba(255, 255, 255, 0.95) !important;
}

.case-detail-stage__body.c12-body .c12-network__source span {
  color: #4f8a62 !important;
}

.case-detail-stage__body.c12-body .c12-network__lines path {
  stroke:
    rgba(79, 138, 98, 0.22) !important;
}


/* =========================================================
   PROBLEM / SOLUTION
========================================================= */

.case-detail-stage__body.c12-body .c12-intro-problem {
  border-color: #efc8c5 !important;

  background:
    linear-gradient(
      145deg,
      rgba(255, 246, 245, 0.99),
      rgba(255, 250, 249, 0.99)
    ) !important;

  box-shadow: none !important;
}

.case-detail-stage__body.c12-body .c12-intro-solution {
  border-color: #c9ded0 !important;

  background:
    linear-gradient(
      145deg,
      rgba(243, 250, 245, 0.99),
      rgba(249, 252, 250, 0.99)
    ) !important;

  box-shadow: none !important;
}


/* =========================================================
   GLOBAL WORKSPACE
========================================================= */

.case-detail-stage__body.c12-body .c12-workspace {
  color: #374c41 !important;

  background:
    #fcfbf9 !important;
}

.case-detail-stage__body.c12-body .c12-role-nav {
  border-color: #e2ddd6 !important;

  background:
    rgba(255, 255, 255, 0.96) !important;

  box-shadow:
    0 8px 24px rgba(61, 54, 46, 0.07) !important;
}

.case-detail-stage__body.c12-body .c12-role-tab {
  color: #758078 !important;

  border-color: #e7e0d8 !important;
}

.case-detail-stage__body.c12-body .c12-role-tab span {
  color: #a09f99 !important;
}

.case-detail-stage__body.c12-body .c12-role-tab:hover {
  color: #315c42 !important;

  background:
    #f6f9f6 !important;
}

.case-detail-stage__body.c12-body .c12-role-tab.is-active {
  color: #315c42 !important;

  background:
    #edf6ef !important;
}


/* =========================================================
   GENERIC PANELS
========================================================= */

.case-detail-stage__body.c12-body .c12-panel {
  color: #374c41 !important;

  border-color: #e3ddd6 !important;

  background:
    #ffffff !important;

  box-shadow:
    0 10px 28px rgba(61, 54, 46, 0.07) !important;

  backdrop-filter: none !important;
}

.case-detail-stage__body.c12-body .c12-panel__header {
  border-bottom-color: #eae4dd !important;

  background:
    #f8f5f0 !important;
}

.case-detail-stage__body.c12-body .c12-panel__header h3 {
  color: #3d4943 !important;
}

.case-detail-stage__body.c12-body .c12-panel__eyebrow,
.case-detail-stage__body.c12-body .c12-scene-heading__index {
  color: #4f8a62 !important;
}

.case-detail-stage__body.c12-body .c12-counter {
  color: #4f8a62 !important;
  border-color: #c9ded0 !important;
  background: #edf6ef !important;
}


/* =========================================================
   SCENE HEADINGS
========================================================= */

.case-detail-stage__body.c12-body .c12-scene-heading h2 {
  color: #31483d !important;
}

.case-detail-stage__body.c12-body .c12-scene-heading h2 em {
  color: #4f8a62 !important;
}

.case-detail-stage__body.c12-body .c12-scene-heading p {
  color: #707a74 !important;
}

.case-detail-stage__body.c12-body .c12-scene-heading__live {
  border-color: #d9e6dd !important;

  background:
    #f3f8f4 !important;
}

.case-detail-stage__body.c12-body .c12-scene-heading__live strong {
  color: #315c42 !important;
}


/* =========================================================
   DISPATCHER
========================================================= */

.case-detail-stage__body.c12-body .c12-source-row {
  color: #43544b !important;

  background:
    #ffffff !important;
}

.case-detail-stage__body.c12-body .c12-source-row:hover {
  border-color: #d9d3cb !important;
  background: #fbfaf7 !important;
}

.case-detail-stage__body.c12-body .c12-source-row.is-hot {
  border-color: #c9ded0 !important;
  background: #f1f8f3 !important;
}

.case-detail-stage__body.c12-body .c12-source-row__icon {
  color: #2f6f9f !important;

  border-color: #d4e0e8 !important;

  background:
    #f1f6f9 !important;
}

.case-detail-stage__body.c12-body .c12-source-row__content small,
.case-detail-stage__body.c12-body .c12-source-row__count {
  color: #89918b !important;
}

.case-detail-stage__body.c12-body .c12-incoming-stream {
  border-color: #e9e3dc !important;
}

.case-detail-stage__body.c12-body .c12-email-card__meta {
  border-color: #e9e3dc !important;
}

.case-detail-stage__body.c12-body .c12-email-card__body {
  color: #617067 !important;
}

.case-detail-stage__body.c12-body .c12-email-card__body dl {
  border-color: #e9e3dc !important;
  background: #e9e3dc !important;
}

.case-detail-stage__body.c12-body .c12-email-card__body dl > div {
  background: #ffffff !important;
}

.case-detail-stage__body.c12-body .c12-email-card__body dd {
  color: #374c41 !important;
}


/* =========================================================
   TABLES
========================================================= */

.case-detail-stage__body.c12-body .c12-table {
  background: #ffffff !important;
}

.case-detail-stage__body.c12-body .c12-table th {
  color: #68635e !important;

  background:
    #f7f4ef !important;
}

.case-detail-stage__body.c12-body .c12-table td {
  color: #56645d !important;

  border-color:
    #eee8e0 !important;
}

.case-detail-stage__body.c12-body .c12-table tbody tr:hover {
  background:
    #f7faf8 !important;
}

.case-detail-stage__body.c12-body .c12-table tbody tr.is-main-order {
  background:
    #edf7ef !important;

  box-shadow:
    inset 3px 0 0 #4f8a62 !important;
}


/* =========================================================
   PLANNING / FLEET
========================================================= */

.case-detail-stage__body.c12-body .c12-order-card {
  color: #405148 !important;

  border-color: #e2ddd6 !important;

  background:
    #ffffff !important;
}

.case-detail-stage__body.c12-body .c12-order-card--main {
  border-color: #c7dbea !important;

  background:
    linear-gradient(
      145deg,
      #f0f7fb,
      #ffffff
    ) !important;
}

.case-detail-stage__body.c12-body .c12-order-card__route {
  color: #315c42 !important;
}

.case-detail-stage__body.c12-body .c12-order-card__route span {
  color: #2f6f9f !important;
}

.case-detail-stage__body.c12-body .c12-order-card__specs span {
  color: #707a74 !important;

  border-color: #e3ddd6 !important;

  background:
    #f8f5f0 !important;
}

.case-detail-stage__body.c12-body .c12-vehicle-card {
  color: #405148 !important;

  border-color: #e2ddd6 !important;

  background:
    #ffffff !important;

  box-shadow:
    0 8px 20px rgba(61, 54, 46, 0.06) !important;
}

.case-detail-stage__body.c12-body .c12-vehicle-card.is-valid {
  border-color: #c9ded0 !important;
  background: #f7fbf8 !important;
}

.case-detail-stage__body.c12-body .c12-vehicle-card.is-conflict {
  border-color: #ead7aa !important;
  background: #fffaf0 !important;
}

.case-detail-stage__body.c12-body .c12-vehicle-card.is-invalid {
  border-color: #efcbc8 !important;
  background: #fff7f6 !important;
}

.case-detail-stage__body.c12-body .c12-truck-visual__cab,
.case-detail-stage__body.c12-body .c12-truck-visual__trailer {
  border-color: #9bb8a4 !important;

  background:
    linear-gradient(
      180deg,
      #eef6f0,
      #dcebe0
    ) !important;
}


/* =========================================================
   DRIVER
========================================================= */

.case-detail-stage__body.c12-body .c12-phone-stage {
  border-radius: 22px;

  background:
    linear-gradient(
      145deg,
      #f1f6f9,
      #f7f4ef
    ) !important;
}

.case-detail-stage__body.c12-body .c12-phone {
  box-shadow:
    0 25px 60px rgba(49, 56, 52, 0.20) !important;
}

.case-detail-stage__body.c12-body .c12-driver-side {
  color: #415149 !important;
}


/* =========================================================
   CUSTOMER
========================================================= */

.case-detail-stage__body.c12-body .c12-tracking-card {
  color: #3a4d43 !important;

  border-color: #dce5df !important;

  background:
    linear-gradient(
      145deg,
      #ffffff,
      #f5faf7
    ) !important;

  box-shadow:
    0 12px 30px rgba(61, 54, 46, 0.08) !important;
}

.case-detail-stage__body.c12-body .c12-tracking-card__header {
  border-color: #e8e3dc !important;
}

.case-detail-stage__body.c12-body .c12-tracking-route strong {
  color: #315c42 !important;
}

.case-detail-stage__body.c12-body .c12-tracking-eta {
  border-color: #c7dbea !important;

  background:
    #f0f7fb !important;
}

.case-detail-stage__body.c12-body .c12-tracking-eta strong {
  color: #2f6f9f !important;
}


/* =========================================================
   OWNER / CONTROL TOWER
========================================================= */

.case-detail-stage__body.c12-body .c12-kpi-card {
  color: #374c41 !important;

  border-color: #e2ddd6 !important;

  background:
    #ffffff !important;
}

.case-detail-stage__body.c12-body .c12-kpi-card:nth-child(1) {
  background: #f0f7fb !important;
  border-color: #c7dbea !important;
}

.case-detail-stage__body.c12-body .c12-kpi-card:nth-child(2) {
  background: #f3f8f4 !important;
  border-color: #c9ded0 !important;
}

.case-detail-stage__body.c12-body .c12-kpi-card:nth-child(3) {
  background: #fff8ea !important;
  border-color: #ead7aa !important;
}

.case-detail-stage__body.c12-body .c12-kpi-card:nth-child(4) {
  background: #f7f2fb !important;
  border-color: #d8cce8 !important;
}

.case-detail-stage__body.c12-body .c12-kpi-card strong {
  color: #315c42 !important;
}

.case-detail-stage__body.c12-body .c12-kpi-card.is-warning strong {
  color: #b77c1f !important;
}

.case-detail-stage__body.c12-body .c12-operation-map {
  background:
    radial-gradient(
      circle at 45% 45%,
      rgba(47, 111, 159, 0.10),
      transparent 40%
    ),
    linear-gradient(
      145deg,
      #f1f6f9,
      #f4faf5
    ) !important;
}

.case-detail-stage__body.c12-body .c12-map-grid {
  background-image:
    linear-gradient(
      rgba(47, 111, 159, 0.07) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(47, 111, 159, 0.07) 1px,
      transparent 1px
    ) !important;
}

.case-detail-stage__body.c12-body .c12-map-city {
  color: #405148 !important;

  border-color: #d5ddd7 !important;

  background:
    rgba(255, 255, 255, 0.94) !important;
}

.case-detail-stage__body.c12-body .c12-finance-kpis {
  background:
    #e7e0d8 !important;
}

.case-detail-stage__body.c12-body .c12-finance-kpis > div {
  background:
    #ffffff !important;
}

.case-detail-stage__body.c12-body .c12-finance-kpis strong {
  color: #315c42 !important;
}


/* =========================================================
   ORDER STRIP
========================================================= */

.case-detail-stage__body.c12-body .c12-order-strip {
  border-color: #e2ddd6 !important;

  background:
    rgba(255, 255, 255, 0.97) !important;

  box-shadow:
    0 7px 20px rgba(61, 54, 46, 0.06) !important;
}

.case-detail-stage__body.c12-body .c12-status-pill {
  color: #356347 !important;

  border-color: #c9ded0 !important;

  background:
    #edf6ef !important;
}


/* =========================================================
   TIME MACHINE
========================================================= */

.case-detail-stage__body.c12-body .c12-time-machine {
  border-color: #c7dbea !important;

  background:
    rgba(241, 246, 249, 0.97) !important;

  box-shadow:
    0 16px 38px rgba(61, 54, 46, 0.12) !important;
}

.case-detail-stage__body.c12-body .c12-time-machine__header strong {
  color: #315c42 !important;
}

.case-detail-stage__body.c12-body .c12-time-machine__hint,
.case-detail-stage__body.c12-body .c12-time-machine__date,
.case-detail-stage__body.c12-body .c12-time-machine__stats {
  color: #737d77 !important;
}


/* =========================================================
   AUTOMATION FEED
========================================================= */

.case-detail-stage__body.c12-body .c12-automation-feed {
  border-color: #c9ded0 !important;

  background:
    rgba(255, 255, 255, 0.98) !important;

  box-shadow:
    0 18px 45px rgba(61, 54, 46, 0.18) !important;
}

.case-detail-stage__body.c12-body .c12-automation-feed__toggle {
  color: #3b5045 !important;
}

.case-detail-stage__body.c12-body .c12-automation-feed__body {
  border-color: #e7e0d8 !important;
}


/* =========================================================
   EVENT / UNDERHOOD / BEFORE AFTER / FINAL
========================================================= */

.case-detail-stage__body.c12-body .c12-event-ripple,
.case-detail-stage__body.c12-body .c12-underhood,
.case-detail-stage__body.c12-body .c12-before-after,
.case-detail-stage__body.c12-body .c12-final {
  color: #354b40 !important;

  background:
    #fcfbf9 !important;
}

.case-detail-stage__body.c12-body .c12-stack-card {
  border-color: #e2ddd6 !important;

  background:
    linear-gradient(
      90deg,
      #f3f8f4,
      #ffffff
    ) !important;
}

.case-detail-stage__body.c12-body .c12-stack-card h3 {
  color: #315c42 !important;
}

.case-detail-stage__body.c12-body .c12-before {
  border-color: #efc8c5 !important;

  background:
    #fff7f6 !important;
}

.case-detail-stage__body.c12-body .c12-after {
  border-color: #c9ded0 !important;

  background:
    #f4faf5 !important;
}

.case-detail-stage__body.c12-body .c12-chaos span {
  color: #9b554f !important;

  border-color: #efcbc7 !important;

  background:
    #fff0ee !important;
}

.case-detail-stage__body.c12-body .c12-process-chain span {
  color: #456653 !important;

  border-color: #c9ded0 !important;

  background:
    #edf6ef !important;
}


/* =========================================================
   MODALS
========================================================= */

.case-detail-stage__body.c12-body .c12-modal__backdrop {
  background:
    rgba(41, 48, 44, 0.42) !important;
}

.case-detail-stage__body.c12-body .c12-modal__window {
  color: #3d4d45 !important;

  border-color: #ded8d0 !important;

  background:
    #ffffff !important;

  box-shadow:
    0 30px 80px rgba(41, 48, 44, 0.22) !important;
}

.case-detail-stage__body.c12-body .c12-modal__header {
  border-color: #e7e0d8 !important;

  background:
    #f8f5f0 !important;
}

.case-detail-stage__body.c12-body .c12-modal__close {
  color: #6d756f !important;

  border-color: #ddd6ce !important;

  background:
    #ffffff !important;
}

.case-detail-stage__body.c12-body .c12-search,
.case-detail-stage__body.c12-body .c12-orders-toolbar select {
  color: #435149 !important;

  border-color: #ded8d0 !important;

  background:
    #ffffff !important;
}

.case-detail-stage__body.c12-body .c12-search input {
  color: #435149 !important;
}


/* =========================================================
   TOAST
========================================================= */

.case-detail-stage__body.c12-body .c12-toast {
  color: #374c41 !important;

  border-color: #c9ded0 !important;

  background:
    rgba(255, 255, 255, 0.98) !important;

  box-shadow:
    0 16px 40px rgba(61, 54, 46, 0.17) !important;
}

.case-detail-stage__body.c12-body .c12-toast__body strong {
  color: #315c42 !important;
}

.case-detail-stage__body.c12-body .c12-toast__body span,
.case-detail-stage__body.c12-body .c12-toast__body p,
.case-detail-stage__body.c12-body .c12-toast__body small {
  color: #6c7771 !important;
}


/* =========================================================
   DRIVER PHONE — INTENTIONAL DARK OBJECT
========================================================= */

.case-detail-stage__body.c12-body .c12-phone {
  background:
    linear-gradient(
      145deg,
      #2b312e,
      #111613
    ) !important;
}

.case-detail-stage__body.c12-body .c12-phone__screen {
  color: #f3f6f4 !important;

  background:
    radial-gradient(
      circle at 50% 0,
      rgba(79, 138, 98, 0.12),
      transparent 30%
    ),
    #101814 !important;
}

.case-detail-stage__body.c12-body .c12-phone .c12-driver-trip {
  border-color:
    rgba(255, 255, 255, 0.10) !important;

  background:
    rgba(255, 255, 255, 0.045) !important;
}

.case-detail-stage__body.c12-body .c12-phone .c12-driver-actions button {
  color: #f3f6f4 !important;

  border-color:
    rgba(255, 255, 255, 0.11) !important;

  background:
    rgba(255, 255, 255, 0.045) !important;
}

.case-detail-stage__body.c12-body
.c12-phone
.c12-driver-actions
button:first-child {
  color: #ffffff !important;

  border-color: #2f6f9f !important;

  background:
    #2f6f9f !important;
}

.case-detail-stage__body.c12-body .c12-underhood {
  padding-bottom: 28px !important;
}

.case-detail-stage__body.c12-body .c12-before-after {
  padding-top: 28px !important;
}

/* =========================================================
   TIME MACHINE — READABILITY
========================================================= */

.case-detail-stage__body.c12-body .c12-time-machine__header strong {
  font-size: 15px !important;
}

.case-detail-stage__body.c12-body .c12-time-machine .c12-panel__eyebrow {
  font-size: 10px !important;
  letter-spacing: 0.12em !important;
}

.case-detail-stage__body.c12-body .c12-time-machine__hint {
  font-size: 10px !important;
}

.case-detail-stage__body.c12-body .c12-time-machine__date {
  font-size: 10px !important;
}

.case-detail-stage__body.c12-body .c12-time-range__events span {
  font-size: 9px !important;
  font-weight: 800 !important;
}

.case-detail-stage__body.c12-body .c12-time-machine__stats {
  font-size: 10px !important;
}

.case-detail-stage__body.c12-body .c12-time-machine__stats strong {
  font-size: 10px !important;
  font-weight: 800 !important;
}

/* =========================================================
   DISPATCHER LIVE INBOX
========================================================= */

.case-detail-stage__body.c12-body .c12-source-menu {
  display: grid;
  gap: 7px;

  padding: 10px 10px 0;
}

.case-detail-stage__body.c12-body .c12-source-menu .c12-source-row {
  width: 100%;
  min-height: 54px;

  grid-template-columns:
    34px
    minmax(0, 1fr)
    auto
    18px;

  gap: 9px;

  margin: 0;
  padding: 8px 10px;

  border: 1px solid transparent;
  border-radius: 12px;

  background: #ffffff !important;

  box-shadow: none;

  transition:
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

.case-detail-stage__body.c12-body .c12-source-menu .c12-source-row:hover {
  transform: translateX(2px);

  border-color: #d7e0da !important;

  background: #f8fbf9 !important;
}

.case-detail-stage__body.c12-body .c12-source-menu .c12-source-row.is-active {
  border-color: #b9d4c1 !important;

  background:
    linear-gradient(
      135deg,
      #edf7ef,
      #f8fbf9
    ) !important;

  box-shadow:
    0 8px 20px rgba(62, 95, 74, 0.08);
}

.case-detail-stage__body.c12-body .c12-source-row__arrow {
  color: #9aa29c;

  font-size: 18px;
  line-height: 1;

  transform: rotate(0deg);

  transition:
    transform 0.22s ease,
    color 0.22s ease;
}

.case-detail-stage__body.c12-body .c12-source-row.is-active .c12-source-row__arrow {
  color: #4f8a62;

  transform: rotate(90deg);
}


/* =========================================================
   SOURCE COLORS
========================================================= */

.case-detail-stage__body.c12-body
.c12-source-row[data-source="email"]
.c12-source-row__icon {
  color: #2f6f9f !important;

  border-color: #c9ddeb !important;

  background: #eef6fb !important;
}

.case-detail-stage__body.c12-body
.c12-source-row[data-source="phone"]
.c12-source-row__icon {
  color: #4f8a62 !important;

  border-color: #c9ded0 !important;

  background: #f0f8f2 !important;
}

.case-detail-stage__body.c12-body
.c12-source-row[data-source="messenger"]
.c12-source-row__icon {
  color: #7a5ba2 !important;

  border-color: #d9cce8 !important;

  background: #f7f2fb !important;
}

.case-detail-stage__body.c12-body
.c12-source-row[data-source="exchange"]
.c12-source-row__icon {
  color: #b27a24 !important;

  border-color: #ead7aa !important;

  background: #fff8e9 !important;
}


/* =========================================================
   INBOX DRAWER
========================================================= */

.case-detail-stage__body.c12-body .c12-inbox-drawer {
  margin: 10px;

  overflow: hidden;

  border: 1px solid #ded8d0;
  border-radius: 14px;

  background: #fcfbf9;

  box-shadow:
    inset 0 1px 0 #ffffff,
    0 10px 26px rgba(61, 54, 46, 0.07);
}

.case-detail-stage__body.c12-body .c12-inbox-drawer__head {
  min-height: 48px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  padding: 9px 11px;

  border-bottom: 1px solid #e8e2da;

  background:
    linear-gradient(
      180deg,
      #f8f5f0,
      #fbfaf7
    );
}

.case-detail-stage__body.c12-body .c12-inbox-drawer__head > div {
  display: grid;
  gap: 2px;
}

.case-detail-stage__body.c12-body .c12-inbox-drawer__eyebrow {
  color: #4f8a62;

  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.case-detail-stage__body.c12-body .c12-inbox-drawer__head strong {
  color: #354b40;

  font-size: 11px;
  line-height: 1.25;
}

.case-detail-stage__body.c12-body .c12-inbox-drawer__close {
  flex: 0 0 auto;

  width: 27px;
  height: 27px;

  display: grid;
  place-items: center;

  padding: 0;

  border: 1px solid #ded8d0;
  border-radius: 8px;

  color: #858b86;
  background: #ffffff;

  font-size: 16px;
  line-height: 1;

  cursor: pointer;

  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.case-detail-stage__body.c12-body .c12-inbox-drawer__close:hover {
  color: #315c42;
  border-color: #bdd3c4;
  background: #f2f8f4;
}


/* =========================================================
   INBOX LIST
========================================================= */

.case-detail-stage__body.c12-body .c12-inbox-list {
  max-height: 300px;

  display: grid;
  gap: 1px;

  overflow-y: auto;

  background: #ece6de;

  scrollbar-width: thin;
  scrollbar-color: #c4cec7 transparent;
}

.case-detail-stage__body.c12-body .c12-inbox-item {
  width: 100%;

  display: grid;
  gap: 6px;

  padding: 11px 12px;

  border: 0;

  color: #46564d;
  text-align: left;

  background: #ffffff;

  cursor: pointer;

  transition:
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.case-detail-stage__body.c12-body .c12-inbox-item:hover {
  background: #f8faf8;
}

.case-detail-stage__body.c12-body .c12-inbox-item.is-selected {
  position: relative;

  background:
    linear-gradient(
      90deg,
      #eef7f0,
      #ffffff
    );

  box-shadow:
    inset 3px 0 0 #4f8a62;
}

.case-detail-stage__body.c12-body .c12-inbox-item__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.case-detail-stage__body.c12-body .c12-inbox-item__source {
  display: inline-flex;
  align-items: center;
  gap: 5px;

  color: #4f8a62;

  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-detail-stage__body.c12-body .c12-inbox-item__time {
  color: #9a9f9a;

  font-size: 8px;
}

.case-detail-stage__body.c12-body .c12-inbox-item strong {
  color: #34483e;

  font-size: 11px;
  line-height: 1.3;
}

.case-detail-stage__body.c12-body .c12-inbox-item__route {
  color: #56665d;

  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
}

.case-detail-stage__body.c12-body .c12-inbox-item__preview {
  color: #7c857f;

  font-size: 9px;
  line-height: 1.4;
}

.case-detail-stage__body.c12-body .c12-inbox-item__rate {
  width: max-content;

  display: inline-flex;

  padding: 4px 6px;

  border: 1px solid #ead7aa;
  border-radius: 6px;

  color: #9b6d21;

  background: #fff8e9;

  font-size: 8px;
  font-weight: 850;
}

.case-detail-stage__body.c12-body .c12-inbox-empty {
  padding: 24px 14px;

  color: #929992;

  background: #ffffff;

  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}


/* =========================================================
   SELECTED REQUEST
========================================================= */

.case-detail-stage__body.c12-body .c12-selected-request-source {
  display: flex;
  align-items: center;
  gap: 10px;

  margin: 0 18px 16px;
  padding: 10px 11px;

  border: 1px solid #e5dfd8;
  border-radius: 11px;

  background: #f9f7f3;
}

.case-detail-stage__body.c12-body .c12-selected-request-source > span {
  flex: 0 0 auto;

  width: 31px;
  height: 31px;

  display: grid;
  place-items: center;

  border: 1px solid #d5e0d8;
  border-radius: 9px;

  color: #4f8a62;

  background: #ffffff;
}

.case-detail-stage__body.c12-body .c12-selected-request-source > div {
  min-width: 0;

  display: grid;
  gap: 1px;
}

.case-detail-stage__body.c12-body .c12-selected-request-source small {
  color: #969c97;

  font-size: 6px;
  font-weight: 900;
  letter-spacing: 0.11em;
}

.case-detail-stage__body.c12-body .c12-selected-request-source strong {
  color: #405148;

  font-size: 9px;
}

.case-detail-stage__body.c12-body .c12-selected-request-source div > span {
  overflow: hidden;

  color: #7c857f;

  font-size: 8px;

  white-space: nowrap;
  text-overflow: ellipsis;
}


/* =========================================================
   REQUEST MESSAGE
========================================================= */

.case-detail-stage__body.c12-body .c12-request-message {
  margin-bottom: 12px;
}

.case-detail-stage__body.c12-body .c12-request-message p {
  margin: 0;

  color: #5d6c64;

  font-size: 10px;
  line-height: 1.6;
}


/* =========================================================
   MESSENGER CHAT
========================================================= */

.case-detail-stage__body.c12-body .c12-request-chat {
  display: grid;
  gap: 7px;

  margin: 2px 0 14px;
  padding: 10px;

  border: 1px solid #e3ddd6;
  border-radius: 12px;

  background:
    linear-gradient(
      145deg,
      #f7f4ef,
      #fbfaf8
    );
}

.case-detail-stage__body.c12-body .c12-request-chat[hidden] {
  display: none !important;
}

.case-detail-stage__body.c12-body .c12-chat-message {
  max-width: 82%;

  padding: 8px 10px;

  border-radius: 10px;

  font-size: 9px;
  line-height: 1.45;
}

.case-detail-stage__body.c12-body .c12-chat-message.is-client {
  justify-self: start;

  color: #4d5e55;

  border: 1px solid #ddd6ce;

  background: #ffffff;

  border-bottom-left-radius: 3px;
}

.case-detail-stage__body.c12-body .c12-chat-message.is-dispatcher {
  justify-self: end;

  color: #315c42;

  border: 1px solid #c9ded0;

  background: #edf6ef;

  border-bottom-right-radius: 3px;
}


/* =========================================================
   SOURCE-SPECIFIC REQUEST PANEL ACCENTS
========================================================= */

.case-detail-stage__body.c12-body
.c12-request-panel[data-request-source="email"] {
  border-color: #c7dbea !important;
}

.case-detail-stage__body.c12-body
.c12-request-panel[data-request-source="phone"] {
  border-color: #c9ded0 !important;
}

.case-detail-stage__body.c12-body
.c12-request-panel[data-request-source="messenger"] {
  border-color: #d8cce8 !important;
}

.case-detail-stage__body.c12-body
.c12-request-panel[data-request-source="exchange"] {
  border-color: #ead7aa !important;
}


/* =========================================================
   LIVE STREAM — KEEP IT VISIBLE
========================================================= */

.case-detail-stage__body.c12-body .c12-incoming-stream {
  margin-top: 10px;

  padding: 12px 11px 14px;

  border-top: 1px solid #e7e0d8;
}

.case-detail-stage__body.c12-body .c12-stream-list {
  max-height: 175px;

  overflow: hidden;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1180px) {

  .case-detail-stage__body.c12-body .c12-inbox-list {
    max-height: 240px;
  }

}

@media (max-width: 760px) {

  .case-detail-stage__body.c12-body .c12-source-menu {
    padding: 8px;
  }

  .case-detail-stage__body.c12-body .c12-inbox-drawer {
    margin: 8px;
  }

  .case-detail-stage__body.c12-body .c12-inbox-list {
    max-height: 270px;
  }

  .case-detail-stage__body.c12-body .c12-chat-message {
    max-width: 90%;
  }

}

.case-detail-stage__body.c12-body .c12-fleet-board .c12-panel__header h3 {
  font-size: 18px !important;
}

.case-detail-stage__body.c12-body .c12-fleet-summary {
  font-size: 10px !important;
  font-weight: 700 !important;
}

.case-detail-stage__body.c12-body .c12-vehicle-grid {
  gap: 12px !important;
  padding: 16px !important;
}

.case-detail-stage__body.c12-body .c12-vehicle-card {
  padding: 16px !important;
}

.case-detail-stage__body.c12-body .c12-vehicle-card__status {
  padding: 5px 8px !important;
  font-size: 9px !important;
  line-height: 1 !important;
  letter-spacing: 0.08em !important;
}

.case-detail-stage__body.c12-body .c12-truck-visual {
  height: 62px !important;
  margin: 18px 0 13px !important;
}

.case-detail-stage__body.c12-body .c12-vehicle-card h4 {
  margin: 0 0 5px !important;
  color: #31483d !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
}

.case-detail-stage__body.c12-body .c12-vehicle-card > strong {
  color: #5d6c64 !important;
  font-size: 11px !important;
  line-height: 1.3 !important;
  font-weight: 800 !important;
}

.case-detail-stage__body.c12-body .c12-vehicle-card dl {
  gap: 0 !important;
  margin: 16px 0 0 !important;
}

.case-detail-stage__body.c12-body .c12-vehicle-card dl > div {
  min-height: 32px !important;

  display: grid !important;
  grid-template-columns: minmax(70px, 0.9fr) minmax(0, 1.1fr) !important;
  align-items: center !important;
  gap: 10px !important;

  padding: 8px 0 !important;

  border-top: 1px solid #e4e0da !important;

  font-size: 10px !important;
  line-height: 1.35 !important;
}

.case-detail-stage__body.c12-body .c12-vehicle-card dt {
  color: #6f7b74 !important;
  font-size: 10px !important;
  font-weight: 650 !important;
}

.case-detail-stage__body.c12-body .c12-vehicle-card dd {
  margin: 0 !important;

  color: #31483d !important;

  font-size: 10.5px !important;
  line-height: 1.35 !important;
  font-weight: 750 !important;

  text-align: right !important;
}

.case-detail-stage__body.c12-body .c12-vehicle-card.is-valid dd,
.case-detail-stage__body.c12-body .c12-vehicle-card.is-conflict dd,
.case-detail-stage__body.c12-body .c12-vehicle-card.is-invalid dd {
  color: #31483d !important;
}

@media (max-width: 1180px) {
  .case-detail-stage__body.c12-body .c12-vehicle-card h4 {
    font-size: 15px !important;
  }

  .case-detail-stage__body.c12-body .c12-vehicle-card dl > div,
  .case-detail-stage__body.c12-body .c12-vehicle-card dt,
  .case-detail-stage__body.c12-body .c12-vehicle-card dd {
    font-size: 10px !important;
  }
}

.case-detail-stage__body.c12-body .c12-event-ripple {
  padding: 38px 46px 34px !important;

  background:
    radial-gradient(
      circle at 50% 48%,
      rgba(200, 146, 47, 0.06),
      transparent 30%
    ),
    #fffdfb !important;
}

.case-detail-stage__body.c12-body .c12-event-ripple__intro {
  max-width: 780px !important;

  margin: 0 auto 26px !important;
}

.case-detail-stage__body.c12-body .c12-event-ripple__intro .c12-kicker {
  color: #4f8a62 !important;

  font-size: 9px !important;
}

.case-detail-stage__body.c12-body .c12-event-ripple__intro h2 {
  margin: 9px 0 10px !important;

  color: #31483d !important;

  font-size: clamp(38px, 4vw, 52px) !important;
  line-height: 0.98 !important;
}

.case-detail-stage__body.c12-body .c12-event-ripple__intro h2 em {
  color: #4f8a62 !important;
}

.case-detail-stage__body.c12-body .c12-event-ripple__intro p {
  max-width: 700px !important;

  color: #68766e !important;

  font-size: 13px !important;
  line-height: 1.55 !important;
}

.case-detail-stage__body.c12-body .c12-ripple-system {
  width: min(100%, 900px) !important;
  max-width: 900px !important;

  height: 390px !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;

  margin: 0 auto 20px !important;
}

.case-detail-stage__body.c12-body .c12-ripple-core {
  width: 145px !important;
  height: 145px !important;

  border: 1px solid #e3c98f !important;

  background:
    radial-gradient(
      circle,
      #fffdf8 0%,
      #fff5df 68%,
      #f8e9c8 100%
    ) !important;

  box-shadow:
    0 14px 35px rgba(121, 94, 42, 0.12) !important;
}

.case-detail-stage__body.c12-body .c12-ripple-core span {
  color: #b07820 !important;

  font-size: 10px !important;
}

.case-detail-stage__body.c12-body .c12-ripple-core strong {
  margin: 4px 0 !important;

  color: #46574e !important;

  font-size: 18px !important;
}

.case-detail-stage__body.c12-body .c12-ripple-core small {
  color: #929992 !important;

  font-size: 8px !important;
}

.case-detail-stage__body.c12-body .c12-ripple-card {
  width: 195px !important;

  gap: 4px !important;

  padding: 12px 14px !important;

  border: 1px solid #ded8d0 !important;
  border-radius: 12px !important;

  color: #34483e !important;

  background: #ffffff !important;

  box-shadow:
    0 10px 24px rgba(66, 60, 53, 0.09) !important;
}

.case-detail-stage__body.c12-body .c12-ripple-card small {
  font-size: 8px !important;
  font-weight: 900 !important;
  letter-spacing: 0.1em !important;
}

.case-detail-stage__body.c12-body .c12-ripple-card strong {
  color: #34483e !important;

  font-size: 12px !important;
  line-height: 1.35 !important;
}

.case-detail-stage__body.c12-body .c12-ripple-card > span {
  top: 11px !important;
  right: 11px !important;

  font-size: 13px !important;
}

.case-detail-stage__body.c12-body
.c12-ripple-card[data-ripple-role="driver"] {
  top: 18px !important;
  left: 22px !important;

  border-color: #c9ded0 !important;
  background: #f2faf4 !important;
}

.case-detail-stage__body.c12-body
.c12-ripple-card[data-ripple-role="driver"] small,
.case-detail-stage__body.c12-body
.c12-ripple-card[data-ripple-role="driver"] > span {
  color: #4f8a62 !important;
}

.case-detail-stage__body.c12-body
.c12-ripple-card[data-ripple-role="manager"] {
  top: 18px !important;
  right: 22px !important;

  border-color: #ead7aa !important;
  background: #fff8e9 !important;
}

.case-detail-stage__body.c12-body
.c12-ripple-card[data-ripple-role="manager"] small,
.case-detail-stage__body.c12-body
.c12-ripple-card[data-ripple-role="manager"] > span {
  color: #a97525 !important;
}

.case-detail-stage__body.c12-body
.c12-ripple-card[data-ripple-role="dispatcher"] {
  bottom: 22px !important;
  left: 0 !important;

  border-color: #c9ddeb !important;
  background: #eef6fb !important;
}

.case-detail-stage__body.c12-body
.c12-ripple-card[data-ripple-role="dispatcher"] small,
.case-detail-stage__body.c12-body
.c12-ripple-card[data-ripple-role="dispatcher"] > span {
  color: #2f6f9f !important;
}

.case-detail-stage__body.c12-body
.c12-ripple-card[data-ripple-role="customer"] {
  right: 0 !important;
  bottom: 22px !important;

  border-color: #d9cce8 !important;
  background: #f7f2fb !important;
}

.case-detail-stage__body.c12-body
.c12-ripple-card[data-ripple-role="customer"] small,
.case-detail-stage__body.c12-body
.c12-ripple-card[data-ripple-role="customer"] > span {
  color: #79599c !important;
}

.case-detail-stage__body.c12-body
.c12-ripple-card[data-ripple-role="owner"] {
  bottom: 0 !important;
  left: 50% !important;

  border-color: #efc8c5 !important;
  background: #fff6f5 !important;

  transform: translateX(-50%) !important;
}

.case-detail-stage__body.c12-body
.c12-ripple-card[data-ripple-role="owner"] small,
.case-detail-stage__body.c12-body
.c12-ripple-card[data-ripple-role="owner"] > span {
  color: #b65b55 !important;
}

.case-detail-stage__body.c12-body .c12-ripple-lines path {
  stroke: rgba(93, 126, 105, 0.22) !important;

  stroke-width: 1.2 !important;
}

.case-detail-stage__body.c12-body
.c12-event-ripple > .c12-primary-action {
  min-height: 44px !important;

  margin: 0 auto !important;

  padding: 0 20px !important;
}

.case-detail-stage__body.c12-body .c12-operation-map {
  position: relative;

  min-height: 0 !important;
  height: auto !important;

  padding: 0 !important;

  overflow: hidden;

  background:
    linear-gradient(
      180deg,
      #f8fbfc 0%,
      #f2f8f6 100%
    ) !important;
}

.case-detail-stage__body.c12-body .c12-operation-map > .c12-map-grid,
.case-detail-stage__body.c12-body .c12-operation-map > .c12-map-city {
  display: none !important;
}

.case-detail-stage__body.c12-body .c12-map-routes {
  position: relative !important;
  inset: auto !important;

  width: 100%;
  height: auto;
}

.case-detail-stage__body.c12-body .c12-real-map-svg {
  width: 100%;
  height: auto;

  display: block;

  overflow: visible;
}

.case-detail-stage__body.c12-body .c12-real-map-background {
  fill: #f5faf9;
}

.case-detail-stage__body.c12-body .c12-real-map-country {
  fill: #ffffff;

  stroke: #cbd8d2;
  stroke-width: 1.3;

  vector-effect: non-scaling-stroke;

  transition:
    fill 0.2s ease,
    stroke 0.2s ease;
}

.case-detail-stage__body.c12-body .c12-real-map-country:hover {
  fill: #f1f7f3;
  stroke: #a9c2b4;
}

.case-detail-stage__body.c12-body .c12-real-map-country-label {
  fill: #a5b1aa;

  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;

  text-anchor: middle;

  pointer-events: none;
}

.case-detail-stage__body.c12-body .c12-real-map-route {
  fill: none;

  stroke: #6d9f7b;
  stroke-width: 1.6;

  stroke-linecap: round;

  opacity: 0.72;

  vector-effect: non-scaling-stroke;

  transition:
    stroke-width 0.2s ease,
    opacity 0.2s ease,
    stroke 0.2s ease;
}

.case-detail-stage__body.c12-body .c12-real-map-route:hover {
  stroke-width: 3;
  opacity: 1;
}

.case-detail-stage__body.c12-body .c12-real-map-route.is-main {
  stroke: #2f78ad;
  stroke-width: 3.4;

  opacity: 1;
}

.case-detail-stage__body.c12-body .c12-real-map-route.is-warning {
  stroke: #d28d28;
  stroke-width: 2.5;

  opacity: 1;

  stroke-dasharray: 7 5;
}

.case-detail-stage__body.c12-body .c12-real-map-truck-halo {
  fill: rgba(79, 138, 98, 0.13);
}

.case-detail-stage__body.c12-body .c12-real-map-truck-dot {
  fill: #4f8a62;

  stroke: #ffffff;
  stroke-width: 1.5;

  vector-effect: non-scaling-stroke;
}

.case-detail-stage__body.c12-body .c12-real-map-truck.is-main .c12-real-map-truck-halo {
  fill: rgba(47, 120, 173, 0.16);
}

.case-detail-stage__body.c12-body .c12-real-map-truck.is-main .c12-real-map-truck-dot {
  fill: #2f78ad;
}

.case-detail-stage__body.c12-body .c12-real-map-truck.is-warning .c12-real-map-truck-halo {
  fill: rgba(210, 141, 40, 0.18);
}

.case-detail-stage__body.c12-body .c12-real-map-truck.is-warning .c12-real-map-truck-dot {
  fill: #d28d28;
}

.case-detail-stage__body.c12-body .c12-real-map-city-dot {
  fill: #4f8a62;

  stroke: #ffffff;
  stroke-width: 2;

  vector-effect: non-scaling-stroke;
}

.case-detail-stage__body.c12-body .c12-real-map-city-dot.is-hub {
  fill: #2f78ad;

  stroke-width: 2.5;
}

.case-detail-stage__body.c12-body .c12-real-map-city-label {
  fill: #394f43;

  font-size: 11px;
  font-weight: 750;

  paint-order: stroke;
  stroke: #f5faf9;
  stroke-width: 4px;
  stroke-linejoin: round;

  pointer-events: none;
}

.case-detail-stage__body.c12-body .c12-real-map-city-label.is-hub {
  fill: #255f88;

  font-size: 13px;
  font-weight: 900;
}

.case-detail-stage__body.c12-body .c12-real-map-legend-text {
  fill: #66756d;

  font-size: 9px;
  font-weight: 700;
}

.case-detail-stage__body.c12-body .c12-real-map-legend-dot.is-transit {
  fill: #4f8a62;
}

.case-detail-stage__body.c12-body .c12-real-map-legend-dot.is-warning {
  fill: #d28d28;
}

.case-detail-stage__body.c12-body .c12-real-map-legend-dot.is-main {
  fill: #2f78ad;
}

@media (max-width: 820px) {
  .case-detail-stage__body.c12-body .c12-real-map-country-label {
    font-size: 8px;
  }

  .case-detail-stage__body.c12-body .c12-real-map-city-label {
    font-size: 9px;
  }

  .case-detail-stage__body.c12-body .c12-real-map-city-label.is-hub {
    font-size: 11px;
  }

  .case-detail-stage__body.c12-body .c12-real-map-legend-text {
    font-size: 8px;
  }
}

.case-detail-stage__body.c12-body
.c12-operation-map {
  position: relative !important;

  width: 100% !important;
  height: 430px !important;
  min-height: 430px !important;

  padding: 0 !important;

  overflow: hidden !important;

  background: #dceef1 !important;
}

.case-detail-stage__body.c12-body
.c12-operation-map
.c12-map-grid,

.case-detail-stage__body.c12-body
.c12-operation-map
.c12-map-city {
  display: none !important;
}

.case-detail-stage__body.c12-body
.c12-map-routes {
  position: absolute !important;

  inset: 0 !important;

  width: 100% !important;
  height: 100% !important;
}

.case-detail-stage__body.c12-body
.c12-leaflet-map {
  width: 100% !important;
  height: 100% !important;

  background: #dceef1;
}

.case-detail-stage__body.c12-body
.c12-leaflet-map
.leaflet-container {
  width: 100%;
  height: 100%;

  font-family:
    Inter,
    system-ui,
    sans-serif;
}

.case-detail-stage__body.c12-body
.leaflet-tile-pane {
  filter:
    saturate(0.82)
    brightness(1.03);
}

.case-detail-stage__body.c12-body
.leaflet-control-zoom {
  overflow: hidden;

  border: 1px solid
    rgba(
      49,
      72,
      61,
      0.16
    ) !important;

  border-radius: 9px !important;

  box-shadow:
    0 8px 20px
    rgba(
      45,
      59,
      51,
      0.12
    ) !important;
}

.case-detail-stage__body.c12-body
.leaflet-control-zoom a {
  color: #31483d !important;

  background: rgba(
    255,
    255,
    255,
    0.94
  ) !important;
}

.case-detail-stage__body.c12-body
.leaflet-control-attribution {
  padding: 2px 5px !important;

  color: #66756d !important;

  background: rgba(
    255,
    255,
    255,
    0.86
  ) !important;

  font-size: 8px !important;
}

.case-detail-stage__body.c12-body
.leaflet-control-attribution a {
  color: #2f6f9f !important;
}

.case-detail-stage__body.c12-body
.c12-map-tooltip {
  padding: 4px 7px !important;

  border: 1px solid
    #d8ded9 !important;

  border-radius: 7px !important;

  color: #31483d !important;

  background: rgba(
    255,
    255,
    255,
    0.96
  ) !important;

  box-shadow:
    0 6px 16px
    rgba(
      43,
      58,
      49,
      0.12
    ) !important;

  font-size: 10px !important;
  font-weight: 800 !important;
}

.case-detail-stage__body.c12-body
.c12-map-popup {
  min-width: 130px;

  display: grid;
  gap: 4px;

  color: #31483d;
}

.case-detail-stage__body.c12-body
.c12-map-popup strong {
  font-size: 12px;
}

.case-detail-stage__body.c12-body
.c12-map-popup span {
  font-size: 10px;
}

.case-detail-stage__body.c12-body
.c12-map-legend {
  display: grid;
  gap: 5px;

  padding: 8px 10px;

  border: 1px solid
    rgba(
      49,
      72,
      61,
      0.14
    );

  border-radius: 9px;

  color: #46574e;

  background: rgba(
    255,
    255,
    255,
    0.92
  );

  box-shadow:
    0 8px 20px
    rgba(
      42,
      55,
      48,
      0.1
    );

  font-size: 9px;
  font-weight: 700;
}

.case-detail-stage__body.c12-body
.c12-map-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.case-detail-stage__body.c12-body
.c12-map-legend i {
  width: 8px;
  height: 8px;

  display: block;

  border-radius: 50%;
}

.case-detail-stage__body.c12-body
.c12-map-legend i.is-transit {
  background: #4f8a62;
}

.case-detail-stage__body.c12-body
.c12-map-legend i.is-warning {
  background: #d28d28;
}

.case-detail-stage__body.c12-body
.c12-map-legend i.is-main {
  background: #2f78ad;
}

@media (
  max-width: 760px
) {
  .case-detail-stage__body.c12-body
  .c12-operation-map {
    height: 350px !important;
    min-height: 350px !important;
  }
}

.case-detail-stage__body.c12-body .c12-carrier-card {
  width: 100%;

  display: grid;
  gap: 7px;

  padding: 11px 12px;

  border: 1px solid #ddd7cf;
  border-radius: 11px;

  color: #3c5045;
  text-align: left;

  background: #ffffff;

  cursor: pointer;

  transition:
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

.case-detail-stage__body.c12-body .c12-carrier-card:hover {
  transform: translateY(-1px);

  border-color: #bfd3c5;

  background: #f8fbf9;
}

.case-detail-stage__body.c12-body .c12-carrier-card.is-selected {
  border-color: #8fbaa0;

  background:
    linear-gradient(
      145deg,
      #eef8f1,
      #ffffff
    );

  box-shadow:
    0 12px 28px
    rgba(67, 103, 78, 0.12);
}

.case-detail-stage__body.c12-body .c12-carrier-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.case-detail-stage__body.c12-body .c12-carrier-card__top strong {
  color: #31483d;

  font-size: 12px;
  line-height: 1.25;
}

.case-detail-stage__body.c12-body .c12-carrier-card__top span {
  color: #597267;

  font-size: 10px;
  font-weight: 750;
}

.case-detail-stage__body.c12-body .c12-carrier-card__country {
  color: #76827b;

  font-size: 10px;
}

.case-detail-stage__body.c12-body .c12-carrier-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 8px;

  color: #68766e;

  font-size: 9px;
  line-height: 1.35;
}

.case-detail-stage__body.c12-body .c12-carrier-offer {
  display: grid;
  gap: 10px;

  margin-top: 5px;
  padding-top: 11px;

  border-top: 1px solid #ceddd2;
}

.case-detail-stage__body.c12-body .c12-carrier-offer__label {
  color: #4f8a62;

  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.11em;
}

.case-detail-stage__body.c12-body .c12-carrier-offer__vehicle {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 9px;
}

.case-detail-stage__body.c12-body .c12-carrier-offer__vehicle > div:last-child {
  min-width: 0;

  display: grid;
  gap: 2px;
}

.case-detail-stage__body.c12-body .c12-carrier-offer__vehicle strong {
  color: #31483d;

  font-size: 11px;
}

.case-detail-stage__body.c12-body .c12-carrier-offer__vehicle span {
  color: #69776f;

  font-size: 9px;
  font-weight: 700;
}

.case-detail-stage__body.c12-body .c12-carrier-truck {
  position: relative;

  width: 44px;
  height: 24px;
}

.case-detail-stage__body.c12-body .c12-carrier-truck span {
  position: absolute;
  left: 0;
  bottom: 5px;

  width: 29px;
  height: 14px;

  border: 1px solid #8fb39b;
  border-radius: 3px 2px 2px 3px;

  background: #e6f2e9;
}

.case-detail-stage__body.c12-body .c12-carrier-truck i {
  position: absolute;
  right: 1px;
  bottom: 5px;

  width: 14px;
  height: 12px;

  border: 1px solid #8fb39b;
  border-radius: 2px 5px 2px 2px;

  background: #edf7ef;
}

.case-detail-stage__body.c12-body .c12-carrier-truck b,
.case-detail-stage__body.c12-body .c12-carrier-truck::after {
  content: "";

  position: absolute;
  bottom: 1px;

  width: 6px;
  height: 6px;

  border: 2px solid #31483d;
  border-radius: 50%;

  background: #ffffff;
}

.case-detail-stage__body.c12-body .c12-carrier-truck b {
  left: 8px;
}

.case-detail-stage__body.c12-body .c12-carrier-truck::after {
  right: 5px;
}

.case-detail-stage__body.c12-body .c12-carrier-offer dl {
  display: grid;
  gap: 0;

  margin: 0;
}

.case-detail-stage__body.c12-body .c12-carrier-offer dl > div {
  min-height: 27px;

  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 8px;

  padding: 6px 0;

  border-top: 1px solid #e5e1db;
}

.case-detail-stage__body.c12-body .c12-carrier-offer dt {
  color: #78847d;

  font-size: 8.5px;
}

.case-detail-stage__body.c12-body .c12-carrier-offer dd {
  margin: 0;

  color: #344a3e;

  font-size: 9px;
  font-weight: 750;
  line-height: 1.3;

  text-align: right;
}

.case-detail-stage__body.c12-body .c12-carrier-offer__confirmed {
  padding: 7px 8px;

  border: 1px solid #bcd8c5;
  border-radius: 8px;

  color: #3f7652;

  background: #eaf6ed;

  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
}

.case-detail-stage__body.c12-body .c12-driver-resource {
  display: grid;
  gap: 3px;

  margin: 12px 0;
  padding: 9px 10px;

  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;

  background: rgba(255, 255, 255, 0.045);
}

.case-detail-stage__body.c12-body .c12-driver-resource small {
  color: #79a78a;

  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.11em;
}

.case-detail-stage__body.c12-body .c12-driver-resource strong {
  color: #f2f6f3;

  font-size: 11px;
}

.case-detail-stage__body.c12-body .c12-driver-resource span {
  color: #aebdb5;

  font-size: 9px;
}

.case-detail-stage__body.c12-body .c12-final__system {
  position: relative !important;

  min-height: 520px !important;

  isolation: isolate;
}

.case-detail-stage__body.c12-body .c12-final__system::before,
.case-detail-stage__body.c12-body .c12-final__system::after {
  content: "";

  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;

  border: 1px solid rgba(79, 138, 98, 0.12);
  border-radius: 50%;

  transform: translate(-50%, -50%);

  pointer-events: none;
}

.case-detail-stage__body.c12-body .c12-final__system::before {
  width: 310px;
  height: 310px;
}

.case-detail-stage__body.c12-body .c12-final__system::after {
  width: 420px;
  height: 420px;

  border-style: dashed;

  opacity: 0.65;
}

.case-detail-stage__body.c12-body .c12-final-core {
  z-index: 3;

  width: 230px !important;
  height: 230px !important;

  border: 2px solid #b9d7c2 !important;

  background:
    radial-gradient(
      circle at 50% 42%,
      #ffffff 0%,
      #f3faf5 56%,
      #e7f3ea 100%
    ) !important;

  box-shadow:
    0 0 0 12px rgba(79, 138, 98, 0.035),
    0 22px 55px rgba(58, 91, 69, 0.13) !important;

  animation:
    c12FinalCorePulse
    2.4s
    ease-in-out
    infinite;
}

.case-detail-stage__body.c12-body .c12-final-core span {
  color: #789083 !important;

  font-size: 10px !important;
  font-weight: 900 !important;
  letter-spacing: 0.17em !important;
}

.case-detail-stage__body.c12-body .c12-final-core strong {
  margin-top: 4px;

  color: #3f7f53 !important;

  font-size: 30px !important;
  line-height: 1 !important;
  font-weight: 850 !important;
}

.case-detail-stage__body.c12-body .c12-final-core em {
  margin-top: 9px;

  color: #7b8981;

  font-size: 10px;
  font-style: normal;
  font-weight: 650;
}

.case-detail-stage__body.c12-body .c12-final__system > .c12-final-node {
  position: absolute;
  z-index: 4;

  width: 152px;
  min-height: 62px;

  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  gap: 1px 9px;

  padding: 11px 13px !important;

  border: 1.5px solid #d6dfd9 !important;
  border-radius: 14px !important;

  color: #34483e !important;

  background:
    linear-gradient(
      145deg,
      #ffffff,
      #f8fbf9
    ) !important;

  box-shadow:
    0 10px 25px rgba(58, 75, 64, 0.08);

  font-size: inherit !important;

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;

  animation:
    c12FinalProcessStep
    7.2s
    ease-in-out
    infinite;
}

.case-detail-stage__body.c12-body .c12-final-node small {
  grid-row: 1 / 3;

  width: 28px;
  height: 28px;

  display: grid;
  place-items: center;

  border: 1px solid #d1dfd5;
  border-radius: 50%;

  color: #4f8a62;

  background: #edf6ef;

  font-size: 8px;
  font-weight: 900;
}

.case-detail-stage__body.c12-body .c12-final-node strong {
  color: #31483d;

  font-size: 12px;
  line-height: 1.2;
  font-weight: 850;
}

.case-detail-stage__body.c12-body .c12-final-node em {
  color: #7b8881;

  font-size: 8px;
  line-height: 1.25;
  font-style: normal;
  font-weight: 600;
}

.case-detail-stage__body.c12-body .c12-final-node--orders {
  top: 5% !important;
  left: 16% !important;

  animation-delay: 0s !important;
}

.case-detail-stage__body.c12-body .c12-final-node--people {
  top: 10% !important;
  right: 7% !important;

  animation-delay: 1.2s !important;
}

.case-detail-stage__body.c12-body .c12-final-node--fleet {
  top: 43% !important;
  right: -1% !important;

  animation-delay: 2.4s !important;
}

.case-detail-stage__body.c12-body .c12-final-node--documents {
  right: 9% !important;
  bottom: 6% !important;

  animation-delay: 3.6s !important;
}

.case-detail-stage__body.c12-body .c12-final-node--customers {
  bottom: 8% !important;
  left: 8% !important;

  animation-delay: 4.8s !important;
}

.case-detail-stage__body.c12-body .c12-final-node--analytics {
  top: 43% !important;
  left: -1% !important;

  animation-delay: 6s !important;
}

@keyframes c12FinalProcessStep {
  0%,
  11% {
    z-index: 8;

    border-color: #75a986;

    background:
      linear-gradient(
        145deg,
        #eaf6ed,
        #ffffff
      );

    box-shadow:
      0 0 0 7px rgba(79, 138, 98, 0.08),
      0 17px 38px rgba(58, 99, 71, 0.2);

    transform:
      translateY(-4px)
      scale(1.1);
  }

  18%,
  100% {
    z-index: 4;

    border-color: #d6dfd9;

    background:
      linear-gradient(
        145deg,
        #ffffff,
        #f8fbf9
      );

    box-shadow:
      0 10px 25px rgba(58, 75, 64, 0.08);

    transform:
      translateY(0)
      scale(1);
  }
}

@keyframes c12FinalCorePulse {
  0%,
  100% {
    box-shadow:
      0 0 0 10px rgba(79, 138, 98, 0.025),
      0 22px 55px rgba(58, 91, 69, 0.11);
  }

  50% {
    box-shadow:
      0 0 0 18px rgba(79, 138, 98, 0.055),
      0 24px 62px rgba(58, 91, 69, 0.16);
  }
}

@media (max-width: 760px) {

  .case-detail-stage__body.c12-body .c12-final__system {
    min-height: 0 !important;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;

    padding-top: 10px;
  }

  .case-detail-stage__body.c12-body .c12-final__system::before,
  .case-detail-stage__body.c12-body .c12-final__system::after {
    display: none;
  }

  .case-detail-stage__body.c12-body .c12-final-core {
    position: relative !important;
    top: auto !important;
    left: auto !important;

    grid-column: 1 / -1;

    width: 170px !important;
    height: 170px !important;

    margin: 0 auto 16px;

    transform: none !important;
  }

  .case-detail-stage__body.c12-body .c12-final__system > .c12-final-node {
    position: relative !important;

    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;

    width: 100%;
    min-height: 58px;
  }
}

.case-detail-stage__body.c12-body .c12-before-after {
  padding-bottom: 34px !important;
}

.case-detail-stage__body.c12-body .c12-final {
  min-height: auto !important;

  padding-top: 34px !important;
  padding-bottom: 70px !important;

  gap: 56px !important;
}

.case-detail-stage__body.c12-body .c12-final__system {
  min-height: 560px !important;
}

.case-detail-stage__body.c12-body .c12-final__system::before {
  width: 350px !important;
  height: 350px !important;
}

.case-detail-stage__body.c12-body .c12-final__system::after {
  width: 500px !important;
  height: 500px !important;
}

.case-detail-stage__body.c12-body .c12-final-node--orders {
  top: 0 !important;
  left: 10% !important;
}

.case-detail-stage__body.c12-body .c12-final-node--people {
  top: 4% !important;
  right: 1% !important;
}

.case-detail-stage__body.c12-body .c12-final-node--fleet {
  top: 43% !important;
  right: -8% !important;
}

.case-detail-stage__body.c12-body .c12-final-node--documents {
  right: 2% !important;
  bottom: 0 !important;
}

.case-detail-stage__body.c12-body .c12-final-node--customers {
  bottom: 1% !important;
  left: 1% !important;
}

.case-detail-stage__body.c12-body .c12-final-node--analytics {
  top: 43% !important;
  left: -8% !important;
}

@media (min-width: 1181px) {
  .case-detail-stage__body.c12-body .c12-final {
    margin-top: -10px !important;
  }
}

@media (max-width: 760px) {
  .case-detail-stage__body.c12-body .c12-before-after {
    padding-bottom: 24px !important;
  }

  .case-detail-stage__body.c12-body .c12-final {
    padding-top: 24px !important;
  }

  .case-detail-stage__body.c12-body .c12-final__system {
    min-height: 0 !important;
  }
}

.case12-section-separator {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 44px 0 42px;
  padding: 0 24px;
}

.case12-section-separator::before,
.case12-section-separator::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(92, 138, 108, 0),
    rgba(92, 138, 108, 0.38),
    rgba(92, 138, 108, 0)
  );
}

.case12-section-separator span {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border: 1px solid rgba(92, 138, 108, 0.18);
  border-radius: 999px;
  background: rgba(245, 249, 244, 0.92);
  color: #5b8c67;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 10px 30px rgba(35, 55, 41, 0.05);
}

.case-detail-stage__body.c12-body .c12-event-ripple {
  border-bottom: 2px solid #b8c9bd !important;
}

.case-detail-stage__body.c12-body .c12-underhood {
  position: relative;

  padding-top: 34px !important;

  border-top: 1px solid #ffffff !important;

  background:
    linear-gradient(
      180deg,
      #f4f8f5 0px,
      #fafcfb 70px,
      #ffffff 150px
    ) !important;
}

.case-detail-stage__body.c12-body .c12-underhood-divider {
  width: min(100%, 1180px) !important;
  height: 26px !important;

  margin: 0 auto 38px !important;
}

.case-detail-stage__body.c12-body .c12-underhood-divider::before,
.case-detail-stage__body.c12-body .c12-underhood-divider::after {
  height: 2px !important;

  background: #a9bdb0 !important;

  opacity: 1 !important;
}

.case-detail-stage__body.c12-body .c12-underhood-divider span {
  width: 12px !important;
  height: 12px !important;

  margin: 0 18px !important;

  border: 3px solid #ffffff !important;

  background: #4f8a62 !important;

  box-shadow:
    0 0 0 2px #a9bdb0,
    0 0 0 7px rgba(79, 138, 98, 0.08) !important;
}

.case-detail-stage__body.c12-body .c12-underhood__heading {
  position: relative;
  z-index: 1;
}

@media (max-width: 760px) {
  .case-detail-stage__body.c12-body .c12-underhood {
    padding-top: 26px !important;
  }

  .case-detail-stage__body.c12-body .c12-underhood-divider {
    margin-bottom: 30px !important;
  }
}

.case-detail-stage__body.c12-body .c12-orders-toolbar {
  grid-template-columns:
    auto
    minmax(280px, 1fr)
    auto
    auto !important;

  align-items: center;
}

.case-detail-stage__body.c12-body .c12-orders-back {
  min-height: 38px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 14px;

  border: 1px solid #bdd3c4;
  border-radius: 10px;

  color: #315c42;

  background: #f2f8f4;

  font-size: 10px;
  font-weight: 850;

  cursor: pointer;

  white-space: nowrap;

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.case-detail-stage__body.c12-body .c12-orders-back:hover {
  transform: translateX(-2px);

  border-color: #8fb59b;

  background: #e8f3eb;
}

@media (max-width: 900px) {
  .case-detail-stage__body.c12-body .c12-orders-toolbar {
    grid-template-columns: 1fr !important;
  }

  .case-detail-stage__body.c12-body .c12-orders-back {
    justify-self: start;
  }
}

.case-detail-stage__body.c12-body .c12-underhood-divider,
.case-detail-stage__body.c12-body .c12-underhood-divider::before,
.case-detail-stage__body.c12-body .c12-underhood-divider::after,
.case-detail-stage__body.c12-body .c12-underhood-divider span {
  display: none !important;
  content: none !important;
}

.case-detail-stage__body.c12-body .c12-underhood {
  position: relative !important;

  padding-top: 54px !important;

  border-top: 2px solid #9fb6a6 !important;

  background:
    linear-gradient(
      180deg,
      #f1f6f2 0,
      #f8faf8 70px,
      #fcfbf9 150px
    ) !important;

  box-shadow:
    inset 0 12px 28px rgba(66, 94, 75, 0.06) !important;
}

.case-detail-stage__body.c12-body .c12-country-label {
  background: transparent !important;
  border: 0 !important;
}

.case-detail-stage__body.c12-body .c12-country-label span {
  display: inline-block;

  transform: translate(-50%, -50%);

  color: rgba(55, 72, 62, 0.58);

  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  white-space: nowrap;

  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95),
    0 0 5px rgba(255, 255, 255, 0.9);
}

.case-detail-stage__body.c12-body
.c12-country-label--ukraine span {
  color: #326f49;

  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.1em;
}

.case-detail-stage__body.c12-body .c12-crimea-label {
  background: transparent !important;
  border: 0 !important;
}

.case-detail-stage__body.c12-body .c12-crimea-label > div,
.case-detail-stage__body.c12-body .c12-crimea-label {
  overflow: visible !important;
}

.case-detail-stage__body.c12-body .c12-crimea-label span,
.case-detail-stage__body.c12-body .c12-crimea-label strong {
  display: block;

  width: max-content;

  transform: translate(-50%, 0);

  text-align: center;

  white-space: nowrap;

  text-shadow:
    0 1px 0 #ffffff,
    0 0 4px #ffffff,
    0 0 8px #ffffff;
}

.case-detail-stage__body.c12-body .c12-crimea-label span {
  color: #315c42;

  font-size: 11px;
  font-weight: 900;
}

.case-detail-stage__body.c12-body .c12-crimea-label strong {
  margin-top: 1px;

  color: #4f8a62;

  font-size: 8px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-detail-stage__body.c12-body .c12-map-loading,
.case-detail-stage__body.c12-body .c12-map-error {
  position: absolute;
  inset: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;

  padding: 25px;

  color: #65756c;

  background:
    linear-gradient(
      145deg,
      #eef4ef,
      #f8faf8
    );

  font-size: 10px;
  text-align: center;
}

.case-detail-stage__body.c12-body .c12-map-error strong {
  color: #315c42;

  font-size: 12px;
}

.case-detail-stage__body.c12-body .c12-map-error span {
  max-width: 290px;

  line-height: 1.45;
}

.case-detail-stage__body.c12-body .leaflet-tile-pane {
  filter:
    saturate(0.7)
    brightness(1.05)
    contrast(0.92) !important;
}

.case-detail-stage__body.c12-body
.c12-driver-trip {
  position: relative;
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.case-detail-stage__body.c12-body
.c12-driver-trip::before {
  content: "";

  position: absolute;
  top: 10px;
  right: 10px;

  min-width: 72px;
  min-height: 24px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 9px;

  border-radius: 999px;

  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.08em;

  opacity: 0;

  transition:
    opacity 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.case-detail-stage__body.c12-body
.c12-driver-trip.is-assigned {
  border-color: rgba(47, 111, 159, 0.42) !important;

  background:
    linear-gradient(
      145deg,
      rgba(47, 111, 159, 0.12),
      rgba(255, 255, 255, 0.015)
    ) !important;
}

.case-detail-stage__body.c12-body
.c12-driver-trip.is-assigned::before {
  content: "ПРИЗНАЧЕНО";

  opacity: 1;

  color: #7fc0ee;

  border: 1px solid rgba(116, 184, 255, 0.32);

  background: rgba(47, 111, 159, 0.18);
}

.case-detail-stage__body.c12-body
.c12-driver-trip.is-started {
  border-color: rgba(74, 138, 98, 0.45) !important;

  background:
    linear-gradient(
      145deg,
      rgba(79, 138, 98, 0.14),
      rgba(255, 255, 255, 0.015)
    ) !important;
}

.case-detail-stage__body.c12-body
.c12-driver-trip.is-started::before {
  content: "РЕЙС РОЗПОЧАТО";

  opacity: 1;

  color: #9ed3ad;

  border: 1px solid rgba(79, 138, 98, 0.34);

  background: rgba(79, 138, 98, 0.18);
}

.case-detail-stage__body.c12-body
.c12-driver-trip.is-loading {
  border-color: rgba(200, 146, 47, 0.48) !important;

  background:
    linear-gradient(
      145deg,
      rgba(200, 146, 47, 0.14),
      rgba(255, 255, 255, 0.015)
    ) !important;
}

.case-detail-stage__body.c12-body
.c12-driver-trip.is-loading::before {
  content: "ЗАВАНТАЖЕННЯ";

  opacity: 1;

  color: #e5b65f;

  border: 1px solid rgba(200, 146, 47, 0.34);

  background: rgba(200, 146, 47, 0.18);
}

.case-detail-stage__body.c12-body
.c12-driver-trip.is-transit {
  border-color: rgba(47, 111, 159, 0.5) !important;

  background:
    linear-gradient(
      145deg,
      rgba(47, 111, 159, 0.16),
      rgba(255, 255, 255, 0.015)
    ) !important;

  box-shadow:
    inset 0 0 0 1px rgba(47, 111, 159, 0.08),
    0 12px 28px rgba(47, 111, 159, 0.09);
}

.case-detail-stage__body.c12-body
.c12-driver-trip.is-transit::before {
  content: "У ДОРОЗІ";

  opacity: 1;

  color: #8fc8ee;

  border: 1px solid rgba(47, 111, 159, 0.38);

  background: rgba(47, 111, 159, 0.2);
}

.case-detail-stage__body.c12-body
.c12-driver-trip.is-delayed {
  border-color: rgba(200, 146, 47, 0.62) !important;

  background:
    linear-gradient(
      145deg,
      rgba(200, 146, 47, 0.2),
      rgba(255, 255, 255, 0.015)
    ) !important;

  box-shadow:
    inset 0 0 0 1px rgba(200, 146, 47, 0.1),
    0 12px 30px rgba(200, 146, 47, 0.13);
}

.case-detail-stage__body.c12-body
.c12-driver-trip.is-delayed::before {
  content: "ЗАТРИМКА +2 ГОД";

  opacity: 1;

  color: #f3c36f;

  border: 1px solid rgba(200, 146, 47, 0.42);

  background: rgba(200, 146, 47, 0.22);
}

.case-detail-stage__body.c12-body
.c12-driver-trip.is-delivered {
  border-color: rgba(79, 138, 98, 0.62) !important;

  background:
    linear-gradient(
      145deg,
      rgba(79, 138, 98, 0.2),
      rgba(255, 255, 255, 0.015)
    ) !important;

  box-shadow:
    inset 0 0 0 1px rgba(79, 138, 98, 0.1),
    0 12px 30px rgba(79, 138, 98, 0.12);
}

.case-detail-stage__body.c12-body
.c12-driver-trip.is-delivered::before {
  content: "ДОСТАВЛЕНО";

  opacity: 1;

  color: #9ed3ad;

  border: 1px solid rgba(79, 138, 98, 0.42);

  background: rgba(79, 138, 98, 0.22);
}

.case-detail-stage__body.c12-body
.c12-driver-trip.is-delayed
.c12-driver-route__line {
  color: #e5b65f !important;
}

.case-detail-stage__body.c12-body
.c12-driver-trip.is-delivered
.c12-driver-route__line {
  color: #8fc9a0 !important;
}

.case-detail-stage__body.c12-body
.c12-driver-trip.is-delivered
.c12-driver-cargo span {
  border-color: rgba(79, 138, 98, 0.35) !important;
}

.case-detail-stage__body.c12-body
[data-driver-action].is-current {
  opacity: 1 !important;

  border-color: #2f6f9f !important;

  background: #2f6f9f !important;

  color: #ffffff !important;

  box-shadow:
    0 10px 24px rgba(47, 111, 159, 0.22) !important;
}

.case-detail-stage__body.c12-body
[data-driver-action]:disabled {
  opacity: 0.34 !important;

  cursor: not-allowed !important;

  box-shadow: none !important;
}
