.wp-section {
  padding: 55px 0 70px;
}

.wp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3.4vw, 56px);
  align-items: start;
}

.wp-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  min-width: 0;
}

.wp-item[data-tone="control"] {
  --wp-glow: #8b9cff;
}

.wp-item[data-tone="delivery"] {
  --wp-glow: #ffb547;
}

.wp-item[data-tone="stock"] {
  --wp-glow: #4ade80;
}

.wp-hint {
  display: none;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: -14px 0 14px;
}

.wp-device {
  container-type: inline-size;
  width: min(100%, 336px);
}

.wp-phone {
  position: relative;
  aspect-ratio: 402 / 874;
  padding: 2.5cqw;
  border-radius: 15.5cqw;
  background: linear-gradient(150deg, #8a8c93 0%, #33343a 22%, #5b5d64 48%, #25262b 74%, #6d6f76 100%);
  box-shadow: 0 0 0 .35cqw #0a0a0c, 0 0 0 .8cqw rgba(255, 255, 255, .07), 0 50px 90px -20px rgba(0, 0, 0, .55), 0 0 90px -30px var(--wp-glow, #8b9cff);
}

.wp-phone::before {
  content: "";
  position: absolute;
  left: -.9cqw;
  top: 21cqw;
  width: .9cqw;
  height: 7cqw;
  border-radius: .5cqw 0 0 .5cqw;
  background: #3a3b41;
  box-shadow: 0 14cqw 0 #3a3b41, 0 24cqw 0 #3a3b41;
}

.wp-phone::after {
  content: "";
  position: absolute;
  right: -.9cqw;
  top: 33cqw;
  width: .9cqw;
  height: 15cqw;
  border-radius: 0 .5cqw .5cqw 0;
  background: #3a3b41;
}

.wp-screen {
  --a: #8b9cff;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 13.2cqw;
  overflow: hidden;
  background: #07070b;
  color: #f2f2f5;
  font: 500 3.7cqw/1.35 var(--sans, Inter, system-ui, sans-serif);
  text-align: left;
  isolation: isolate;
}

.wp-screen[data-wp-app="control"] {
  --a: #8b9cff;
  background: radial-gradient(120% 60% at 50% 0, #1a1c36 0, #07070b 60%);
}

.wp-screen[data-wp-app="delivery"] {
  --a: #ffb547;
  background: radial-gradient(120% 60% at 50% 0, #2a1d0a 0, #09080a 60%);
}

.wp-screen[data-wp-app="stock"] {
  --a: #4ade80;
  background: radial-gradient(120% 60% at 50% 0, #0d2a1a 0, #070b09 60%);
}

.wp-island {
  position: absolute;
  top: 2.7cqw;
  left: 50%;
  width: 27cqw;
  height: 7.6cqw;
  margin-left: -13.5cqw;
  background: #000;
  border-radius: 5cqw;
  z-index: 5;
}

.wp-status {
  flex: none;
  height: 13.5cqw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3.2cqw 8cqw 0;
  font-weight: 650;
  font-size: 3.9cqw;
}

.wp-status span:last-child {
  display: flex;
  gap: 1.6cqw;
  align-items: center;
}

.wp-sig {
  width: 4.6cqw;
  height: 2.8cqw;
  background: linear-gradient(90deg, #f2f2f5 0 18%, transparent 18% 27%, #f2f2f5 27% 45%, transparent 45% 54%, #f2f2f5 54% 72%, transparent 72% 81%, #f2f2f5 81%);
  clip-path: polygon(0 100%, 0 70%, 25% 70%, 25% 45%, 50% 45%, 50% 20%, 75% 20%, 75% 0, 100% 0, 100% 100%);
}

.wp-bat {
  width: 6.6cqw;
  height: 3.1cqw;
  border: .35cqw solid #f2f2f5aa;
  border-radius: 1cqw;
  padding: .3cqw;
}

.wp-bat::after {
  content: "";
  display: block;
  height: 100%;
  width: 80%;
  background: #f2f2f5;
  border-radius: .5cqw;
}

.wp-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 2cqw 5cqw 3cqw;
  display: flex;
  flex-direction: column;
  gap: 3cqw;
  scrollbar-width: none;
}

.wp-body::-webkit-scrollbar {
  display: none;
}

.wp-tabs {
  flex: none;
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  padding: 2cqw 3cqw 8cqw;
  border-top: .3cqw solid #ffffff14;
  background: #0a0a0ee8;
}

.wp-tabs::after {
  content: "";
  position: absolute;
  bottom: 2.6cqw;
  left: 50%;
  width: 34cqw;
  height: 1.2cqw;
  margin-left: -17cqw;
  background: #f2f2f5;
  border-radius: 1cqw;
}

.wp-tabs button {
  position: relative;
  display: grid;
  place-items: center;
  gap: .4cqw;
  min-height: 12cqw;
  background: none;
  border: 0;
  border-radius: 3cqw;
  color: #8d8d98;
  font: inherit;
  font-size: 3.1cqw;
  cursor: pointer;
}

.wp-tabs button[aria-pressed="true"] {
  color: var(--a);
}

.wp-tabs button:focus-visible,
.wp-btn:focus-visible {
  outline: .6cqw solid #fff;
  outline-offset: .4cqw;
}

.wp-ic {
  width: 5.6cqw;
  height: 5.6cqw;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wp-badge {
  position: absolute;
  top: .8cqw;
  left: 55%;
  min-width: 4.4cqw;
  height: 4.4cqw;
  padding: 0 1.2cqw;
  border-radius: 3cqw;
  background: #f87171;
  color: #fff;
  font-size: 2.8cqw;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.wp-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3cqw;
}

.wp-top h4 {
  margin: 0;
  font-size: 6.4cqw;
  letter-spacing: -.03em;
  font-weight: 650;
}

.wp-top small,
.wp-sub {
  display: block;
  color: #9a9aa6;
  font-size: 3.1cqw;
  font-weight: 500;
}

.wp-id {
  display: inline-grid;
  place-items: center;
  width: 8.4cqw;
  height: 8.4cqw;
  border-radius: 2.6cqw;
  background: linear-gradient(145deg, #ff7a59, #e23d5a);
  color: #fff;
  font: 400 italic 5.4cqw/1 var(--serif, serif);
}

.wp-card {
  background: #ffffff0f;
  border: .3cqw solid #ffffff12;
  border-radius: 4.6cqw;
  padding: 3.6cqw;
  display: grid;
  gap: 2.2cqw;
}

.wp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.4cqw;
}

.wp-row>div {
  min-width: 0;
}

.wp-row strong {
  font-weight: 650;
}

.wp-health {
  display: flex;
  align-items: center;
  gap: 3cqw;
  padding: 3.6cqw;
  border-radius: 4.6cqw;
  background: #4ade8022;
  border: .3cqw solid #4ade8044;
  color: #b8f7cf;
  font-weight: 650;
}

.wp-health.warn {
  background: #fbbf2422;
  border-color: #fbbf2455;
  color: #fde68a;
}

.wp-health.bad {
  background: #f8717122;
  border-color: #f8717155;
  color: #fecaca;
}

.wp-dot {
  flex: none;
  width: 2.8cqw;
  height: 2.8cqw;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 2.4cqw #4ade80;
}

.wp-dot.warn {
  background: #fbbf24;
  box-shadow: 0 0 2.4cqw #fbbf24;
}

.wp-dot.bad {
  background: #f87171;
  box-shadow: 0 0 2.4cqw #f87171;
}

.wp-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4cqw;
}

.wp-kpi {
  background: #ffffff0f;
  border-radius: 4cqw;
  padding: 3cqw;
}

.wp-kpi b {
  display: block;
  font-size: 5.6cqw;
  letter-spacing: -.03em;
  font-weight: 650;
}

.wp-kpi span {
  font-size: 2.8cqw;
  color: #9a9aa6;
}

.wp-chart {
  width: 100%;
  height: 22cqw;
  display: block;
}

.wp-chart .l {
  fill: none;
  stroke: var(--a);
  stroke-width: 2.2;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.wp-chart .f {
  fill: url(#wp-fill);
}

.wp-btn {
  min-height: 11cqw;
  padding: 0 4.4cqw;
  border: 0;
  border-radius: 99cqw;
  background: var(--a);
  color: #09090c;
  font: inherit;
  font-size: 3.4cqw;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s, opacity .15s;
}

.wp-btn.ghost {
  background: #ffffff14;
  color: #f2f2f5;
}

.wp-btn.bad {
  background: #f87171;
  color: #1a0606;
}

.wp-btn[disabled] {
  opacity: .45;
  cursor: not-allowed;
}

.wp-btn.sm {
  min-height: 9.4cqw;
  padding: 0 3.4cqw;
  font-size: 3.1cqw;
}

.wp-chip {
  display: inline-flex;
  align-items: center;
  min-height: 6.6cqw;
  padding: 0 2.8cqw;
  border-radius: 99cqw;
  background: #ffffff14;
  color: #d4d4dc;
  font-size: 2.9cqw;
  font-weight: 650;
  white-space: nowrap;
}

.wp-chip.a {
  background: color-mix(in srgb, var(--a) 24%, transparent);
  color: var(--a);
}

.wp-chip.ok {
  background: #4ade8024;
  color: #86efac;
}

.wp-chip.warn {
  background: #fbbf2428;
  color: #fcd34d;
}

.wp-chip.bad {
  background: #f8717128;
  color: #fca5a5;
}

.wp-sec {
  display: flex;
  justify-content: space-between;
  align-items: end;
  color: #9a9aa6;
  font-size: 3cqw;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 650;
  margin-top: 1cqw;
}

.wp-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2cqw;
}

.wp-steps i {
  height: 1.2cqw;
  border-radius: 1cqw;
  background: #ffffff1f;
}

.wp-steps i.on {
  background: var(--a);
}

.wp-note {
  color: #fcd34d;
  background: #fbbf2418;
  border-radius: 3cqw;
  padding: 2.6cqw 3.2cqw;
  font-size: 3.1cqw;
}

.wp-alert {
  border-left: .8cqw solid #6b7280;
  padding-left: 3cqw;
}

.wp-alert.bad {
  border-color: #f87171;
}

.wp-alert.ok {
  border-color: #4ade80;
}

.wp-empty {
  color: #9a9aa6;
  text-align: center;
  padding: 8cqw 0;
}

.wp-map {
  width: 100%;
  border-radius: 4.6cqw;
  background: #0e0f14;
  border: .3cqw solid #ffffff12;
  display: block;
}

.wp-map .rd {
  stroke: #ffffff1c;
  stroke-width: 5;
}

.wp-map .bl {
  fill: #ffffff08;
}

.wp-map .rt {
  fill: none;
  stroke: var(--a);
  stroke-width: 2;
  stroke-dasharray: 5 5;
}

.wp-map text {
  fill: #d4d4dc;
  font: 600 9px var(--sans, sans-serif);
}

.wp-bar {
  height: 2.4cqw;
  border-radius: 2cqw;
  background: #ffffff1a;
  overflow: hidden;
}

.wp-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #4ade80;
  transition: width .5s;
}

.wp-bar i.low {
  background: #f87171;
}

.wp-bar i.ord {
  background: #fbbf24;
}

.wp-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4cqw;
  text-align: center;
  font-size: 2.8cqw;
  font-weight: 650;
  color: #7d7d89;
}

.wp-flow span {
  padding: 2.4cqw 0;
  border-radius: 3cqw;
  background: #ffffff0d;
}

.wp-flow .done {
  color: #86efac;
  background: #4ade8018;
}

.wp-flow .now {
  color: #09090c;
  background: var(--a);
}

.wp-ai {
  border-color: color-mix(in srgb, var(--a) 45%, transparent);
  background: color-mix(in srgb, var(--a) 10%, transparent);
}

.wp-actions {
  display: flex;
  gap: 2.2cqw;
  flex-wrap: wrap;
}

.wp-cap {
  max-width: 340px;
  text-align: left;
  width: 100%;
}

.wp-cap>span {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.wp-cap h3 {
  font-size: 22px;
  letter-spacing: -.035em;
  line-height: 1.2;
  font-weight: 550;
  margin: 10px 0;
}

.wp-cap p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
  margin: 0 0 16px;
}

.wp-cap-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
}

.wp-cap-actions button {
  background: none;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--text);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  min-height: 40px;
  padding: 0 16px;
  cursor: pointer;
}

.wp-cap-actions button:hover {
  border-color: var(--muted);
}

.wp-cap-actions a {
  color: var(--text);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--line);
}

.wp-foot {
  margin-top: 38px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}

html[data-theme="light"] .wp-phone {
  box-shadow: 0 0 0 .35cqw #0a0a0c, 0 0 0 .8cqw rgba(0, 0, 0, .08), 0 40px 70px -24px rgba(30, 30, 60, .35);
}

@media (max-width: 1000px) {
  .wp-hint {
    display: block;
  }

  .wp-grid {
    display: flex;
    gap: 28px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 10px 8px 24px;
    margin-inline: -8px;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }

  .wp-grid::-webkit-scrollbar {
    display: none;
  }

  .wp-item {
    flex: 0 0 min(340px, 78vw);
    scroll-snap-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {

  .wp-btn,
  .wp-bar i {
    transition: none;
  }

  .wp-grid {
    scroll-behavior: auto;
  }
}
