.surface {
  position: absolute;
  left: calc(var(--u) * var(--dx, 0));
  top: 0;
  --r: 560;
  --cover: 0;
  --boost: 1;
  color: var(--navy);
  transform: translate(-50%, -50%) scale(calc(var(--un, 2) / 3.6 * var(--boost)));
  clip-path: circle(calc(var(--r) * 1px) at calc(50% - var(--dx, 0) * 3.6px / var(--boost)) 50%);
}

.surface--window {
  width: 540px;
  height: 360px;
  --dx: -3;
}

.surface--phone {
  width: 250px;
  height: 510px;
}

.surface--handheld {
  width: 232px;
  height: 476px;
}

.surface--note {
  width: 330px;
  height: 440px;
  --dx: -4;
}

.surface--hub {
  width: 0;
  height: 0;
}

.device {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-ui);
  background: var(--navy);
  box-shadow: var(--shadow-device);
}

.device::after {
  content: "";
  position: absolute;
  z-index: 5;
  inset: 0;
  background: var(--navy);
  opacity: var(--cover);
  pointer-events: none;
}

.screen {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: var(--paper);
}

.ui {
  font-size: 11px;
  line-height: 1.35;
}

.ui i {
  font-style: normal;
}

.ui b {
  font-weight: 600;
}

.ui-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.ui-kicker,
.ui-label {
  color: var(--slate);
  font-size: 9.5px;
  font-weight: 500;
}

.ui-title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.ui-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ui-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 14px;
  border-radius: var(--radius-chip);
  background: var(--navy);
  color: var(--paper);
  font-size: 10.5px;
  font-weight: 500;
  white-space: nowrap;
}

.ui-field {
  display: flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: var(--radius-chip);
  background: var(--mist);
  color: var(--slate);
  font-size: 10.5px;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  height: 18px;
  padding: 0 8px;
  border-radius: 99px;
  background: var(--fog);
  font-size: 9px;
  font-weight: 500;
  white-space: nowrap;
}

.chip--done {
  background: var(--teal-tint);
}

.chip--now {
  background: var(--amber-tint);
}

.swap {
  display: inline-grid;
}

.swap > i {
  grid-area: 1 / 1;
}

.swap > i:not(:last-child) {
  opacity: 0;
}

.device--window {
  padding: 0 3px 3px;
}

.device--window .screen {
  border-radius: 0 0 7px 7px;
}

.win-bar {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  height: 30px;
  padding: 0 9px;
  color: var(--paper);
  font-size: 10.5px;
  font-weight: 500;
}

.win-meta {
  color: var(--on-navy);
  font-size: 9.5px;
}

.win-bar--light {
  justify-content: center;
}

.win-pill {
  min-width: 190px;
  padding: 3px 12px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 9.5px;
  text-align: center;
}

.device--phone {
  padding: 8px;
  border-radius: var(--radius-device);
}

.phone {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 14px 0;
  border-radius: 26px;
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 20px;
  font-size: 9.5px;
  font-weight: 500;
}

.phone-island {
  width: 62px;
  height: 17px;
  border-radius: 99px;
  background: var(--navy);
}

.phone-signal {
  width: 24px;
  height: 8px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--navy) 62%, var(--line) 62%);
}

.phone-banner {
  position: absolute;
  z-index: 2;
  left: 8px;
  right: 8px;
  bottom: 62px;
  display: grid;
  gap: 1px;
  padding: 9px 12px;
  border-radius: 13px;
  background: var(--navy);
  color: var(--paper);
  font-size: 10.5px;
  font-weight: 500;
  transform: translateY(260%);
}

.phone-note {
  display: grid;
  gap: 1px;
  margin-top: 4px;
  padding: 10px 12px;
  border-radius: 13px;
  box-shadow: inset 3px 0 0 var(--teal);
  background: var(--mist);
}

.phone-note span {
  color: var(--slate);
  font-size: 9px;
  font-weight: 500;
}

.phone-note b {
  font-size: 11.5px;
}

.phone-banner b {
  color: var(--on-navy);
  font-size: 9px;
  font-weight: 500;
}

.phone .ui-kicker {
  margin-top: 10px;
}

.phone .ui-title {
  margin-top: -6px;
  font-size: 21px;
}

.phone-card {
  display: grid;
  gap: 13px;
  margin-top: 4px;
  padding: 12px;
  border-radius: 13px;
  background: var(--mist);
  font-weight: 500;
}

.track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  font-size: 9px;
}

.track li {
  position: relative;
  padding-top: 17px;
  color: var(--slate);
}

.track li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}

.track li::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 5px;
  top: 4px;
  height: 2px;
  background: var(--line);
}

.track li:last-child::after {
  display: none;
}

.track .is-done,
.track .is-now {
  color: var(--navy);
}

.track .is-done::before,
.track .is-done::after {
  background: var(--teal);
}

.track .is-now::before {
  background: var(--navy);
  box-shadow: 0 0 0 3px var(--teal-tint);
}

.phone-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px 0 1px;
  border-top: 1px solid var(--fog);
}

.phone-item:first-of-type {
  border-top: 0;
}

.phone-item img {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  object-fit: cover;
}

.phone-item div {
  display: grid;
}

.phone-item b {
  font-size: 11px;
  font-weight: 500;
}

.phone-item div span {
  color: var(--slate);
  font-size: 9px;
}

.phone-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: auto -14px 0;
  padding: 9px 8px 15px;
  border-top: 1px solid var(--fog);
  color: var(--slate);
  font-size: 8.5px;
  font-weight: 500;
  text-align: center;
}

.phone-tabs span::before {
  content: "";
  display: block;
  width: 18px;
  height: 3px;
  margin: 0 auto 6px;
  background: var(--fog);
}

.phone-tabs .is-on {
  color: var(--navy);
}

.phone-tabs .is-on::before {
  background: var(--teal);
}

.app {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
}

.app-side {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 8px;
  background: var(--mist);
  font-size: 10.5px;
  font-weight: 500;
}

.app-side b {
  padding: 2px 8px 10px;
  font-size: 10.5px;
}

.app-side span {
  padding: 6px 8px;
  border-radius: var(--radius-chip);
  color: var(--slate);
}

.app-side .is-on {
  background: var(--paper);
  box-shadow: inset 2px 0 0 var(--teal);
  color: var(--navy);
}

.app-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.app-tools {
  display: flex;
  gap: 10px;
  padding: 10px 12px 8px;
}

.app-tools .ui-field {
  flex: 1;
}

.table {
  position: relative;
  flex: 1;
  padding: 0 12px;
}

.table-head,
.table-row {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) minmax(0, 0.8fr) 84px;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 6px;
  border-bottom: 1px solid var(--fog);
}

.table-head {
  height: 26px;
  border-bottom-color: var(--line);
  color: var(--slate);
  font-size: 9px;
  font-weight: 500;
}

.table-cursor {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 27px;
  height: 35px;
  border-radius: var(--radius-chip);
  background: var(--teal-tint);
  box-shadow: inset 2px 0 0 var(--teal);
  transform: translateY(36px);
}

.app-status {
  display: flex;
  gap: 14px;
  padding: 7px 14px;
  border-top: 1px solid var(--fog);
  color: var(--slate);
  font-size: 9px;
}

.app-status span:first-child {
  margin-right: auto;
}

.surface--duo .device {
  position: absolute;
  height: auto;
}

.duo-site {
  right: 0;
  top: 0;
  width: 404px;
  height: 300px;
}

.surface--duo .duo-site {
  height: 300px;
}

.duo-panel {
  left: 0;
  bottom: 0;
  width: 232px;
}

.surface--duo .duo-panel {
  height: 266px;
}

.site {
  display: flex;
  flex-direction: column;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  color: var(--slate);
  font-size: 9.5px;
}

.site-nav b {
  margin-right: auto;
  color: var(--navy);
  font-size: 11.5px;
}

.site-hero {
  position: relative;
  flex: 1;
  min-height: 0;
  margin: 0 14px 14px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--navy);
}

.site-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-title {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 190px;
  min-height: 86px;
  padding: 18px 14px 12px 30px;
  background: var(--navy);
  color: var(--paper);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  clip-path: polygon(24.2px 0, 100% 0, 100% 100%, 0 100%, 0 14px);
}

.panel {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
}

.ui-input {
  display: flex;
  align-items: center;
  height: 30px;
  padding: 0 9px;
  border: 1px solid var(--teal);
  border-radius: var(--radius-chip);
  box-shadow: 0 0 0 2px var(--teal-tint);
  font-size: 10.5px;
  font-weight: 500;
  white-space: nowrap;
}

.caret {
  width: 1.5px;
  height: 14px;
  margin-left: 1px;
  background: var(--navy);
}

.panel .ui-label {
  margin-top: 3px;
}

.panel-thumb {
  position: relative;
  height: 58px;
  overflow: hidden;
  border-radius: var(--radius-chip);
}

.panel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.panel-thumb span {
  position: absolute;
  right: 6px;
  bottom: 6px;
  padding: 3px 7px;
  border-radius: 4px;
  background: var(--paper);
  font-size: 9px;
  font-weight: 500;
}

.panel .ui-row {
  margin-top: 4px;
  font-weight: 500;
}

.toggle {
  position: relative;
  width: 30px;
  height: 17px;
  border-radius: 99px;
  background: var(--teal);
}

.toggle::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--paper);
}

.panel .ui-button {
  align-self: flex-start;
  margin-top: auto;
}

.board {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
}

.board-rail {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px 10px;
  background: var(--mist);
  font-size: 10px;
  font-weight: 500;
}

.board-rail b {
  margin-bottom: 5px;
  font-size: 10.5px;
}

.board-rail span {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 8px;
  border-radius: var(--radius-chip);
  background: var(--paper);
}

.board-rail span::before {
  content: "";
  width: 6px;
  height: 13px;
  background: var(--navy);
  clip-path: polygon(100% 0, 100% 100%, 0 75%, 0 25%);
}

.board-rail .is-new::before {
  background: var(--teal);
}

.board-flow {
  position: relative;
  width: 372px;
  height: 268px;
  margin: 29px 19px;
}

.board-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--navy);
  stroke-width: 2;
}

.board-line-old {
  stroke: var(--line);
  stroke-dasharray: 0.02 0.03;
}

.board-line-new {
  stroke: var(--teal);
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

.module {
  position: absolute;
  left: calc(var(--col) * 138px);
  top: calc(38px + var(--row) * 144px);
  display: grid;
  place-items: center;
  width: 96px;
  height: 48px;
  background: var(--navy);
  color: var(--paper);
  font-size: 10.5px;
  font-weight: 500;
  clip-path: polygon(13.86px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 13.86px) 100%, 0 100%, 0 8px);
}

.module--new {
  background: var(--teal);
  color: var(--navy);
  font-weight: 600;
}

.shop {
  display: flex;
  flex-direction: column;
}

.shop-nav {
  display: flex;
  flex: none;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--fog);
  color: var(--slate);
  font-size: 9.5px;
}

.shop-nav > b {
  margin-right: auto;
  color: var(--navy);
  font-size: 12px;
}

.shop-cart {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  font-weight: 500;
}

.shop-cart b {
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--orange);
  font-size: 9.5px;
}

.shop-body {
  display: grid;
  flex: 1;
  grid-template-columns: 216px minmax(0, 1fr);
  gap: 22px;
  min-height: 0;
  padding: 16px;
}

.shop-photo {
  min-height: 0;
  overflow: hidden;
  border-radius: 6px;
}

.shop-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-info {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 8px;
}

.shop-info .ui-title {
  font-size: 22px;
}

.shop-price {
  font-size: 19px;
  font-weight: 500;
}

.sizes {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}

.sizes span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius-chip);
  font-size: 10px;
  font-weight: 500;
}

.sizes .is-on {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--paper);
}

.shop-add {
  display: inline-grid;
  height: 36px;
  margin-top: 8px;
  background: var(--orange);
  color: var(--navy);
  font-size: 11px;
  font-weight: 600;
}

.shop-add i {
  grid-area: 1 / 1;
}

.shop-add i:first-child {
  opacity: 0;
}

.shop-info .ui-row {
  margin-top: auto;
  padding-top: 9px;
  border-top: 1px solid var(--fog);
  font-weight: 500;
}

.device--till {
  padding: 12px 12px 24px;
  border-radius: 16px;
}

.device--till::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 9px;
  width: 36px;
  height: 5px;
  margin-left: -18px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.3);
}

.till {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border-radius: 6px;
}

.till-receipt {
  display: flex;
  flex-direction: column;
  padding: 14px;
}

.till-receipt .ui-row {
  padding-bottom: 10px;
  color: var(--slate);
  font-size: 10px;
}

.till-receipt .ui-row b {
  color: var(--navy);
  font-size: 12px;
}

.till-line {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-top: 1px dashed var(--line);
  font-weight: 500;
}

.till-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
  border-top: 2px solid var(--navy);
  font-size: 12px;
  font-weight: 600;
}

.till-total .ui-num {
  font-size: 23px;
  font-weight: 500;
  justify-items: end;
}

.till-pad {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  background: var(--mist);
}

.till-keys {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.till-keys span {
  display: grid;
  place-items: center;
  height: 46px;
  border-radius: 6px;
  background: var(--paper);
  font-size: 10px;
  font-weight: 500;
}

.till-pay {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: auto;
}

.till-pay span {
  display: grid;
  place-items: center;
  height: 42px;
  border-radius: 6px;
  background: var(--paper);
  font-size: 12px;
  font-weight: 600;
}

.till-pay .is-on {
  background: var(--orange);
}

.till-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9.5px;
  font-weight: 500;
}

.till-note i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.device--handheld {
  padding: 26px 10px 56px;
  border-radius: 26px 26px 36px 36px;
}

.scanner {
  position: absolute;
  left: 50%;
  top: 9px;
  width: 86px;
  height: 8px;
  margin-left: -43px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.16);
}

.scanner i {
  position: absolute;
  inset: 0;
  background: var(--amber);
  transform: scaleX(0.3);
}

.pick {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px;
  border-radius: 8px;
}

.pick .ui-row {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--fog);
  font-size: 12px;
}

.pick .ui-label {
  margin-top: 6px;
}

.pick-code {
  font-size: 31px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.pick-item {
  font-size: 11.5px;
  font-weight: 500;
}

.pick-qty {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 500;
}

.bar {
  height: 6px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--fog);
}

.bar i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--orange);
  transform-origin: 0 50%;
}

.rack {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 3px;
  margin-top: 8px;
}

.rack i {
  aspect-ratio: 1;
  border-radius: 2px;
  background: var(--fog);
}

.rack .is-target {
  background: var(--teal);
}

.rack .is-next {
  background: var(--orange);
}

.pick .pick-row {
  padding: 9px 0 0;
  border-top: 1px solid var(--fog);
  border-bottom: 0;
  font-size: 10.5px;
  font-weight: 500;
}

.pick .pick-row:first-of-type {
  margin-top: 8px;
}

.pick .ui-button {
  height: 36px;
  margin-top: auto;
  font-size: 12px;
}

.keys {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 17px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.keys i {
  width: 42px;
  height: 22px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
}

.keys i:nth-child(2) {
  width: 56px;
  background: var(--orange);
}

.crm {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  background: var(--mist);
}

.crm-col {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.crm-head {
  display: flex;
  justify-content: space-between;
  padding: 2px 2px 5px;
  border-bottom: 2px solid var(--navy);
  font-size: 10.5px;
  font-weight: 600;
}

.crm-col--won .crm-head {
  border-bottom-color: var(--orange);
}

.deal {
  display: grid;
  gap: 1px;
  height: 48px;
  padding: 8px 10px;
  border-radius: 6px;
  background: var(--paper);
  box-shadow: 0 1px 0 var(--line);
}

.deal b {
  font-size: 11px;
}

.deal span {
  color: var(--slate);
  font-size: 9.5px;
}

.deal--move {
  position: relative;
  z-index: 2;
  box-shadow: inset 3px 0 0 var(--orange), 0 1px 0 var(--line);
  transform: translate(173.33px, 55px);
}

.deal--rise {
  transform: translateY(-55px);
}

.hub-line {
  position: absolute;
  left: 0;
  top: -1px;
  width: 226px;
  height: 2px;
  background: var(--navy);
  transform-origin: 0 50%;
}

.hub-line--site {
  transform: rotate(-120deg) translateX(153px);
}

.hub-line--store {
  transform: rotate(120deg) translateX(153px);
}

.hub-line--market {
  width: 30px;
  transform: translateX(153px);
}

.hub-line i {
  position: absolute;
  left: -4px;
  top: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 2px var(--navy);
  opacity: 0;
}

.hub-node {
  position: absolute;
  display: grid;
  align-content: center;
  width: 150px;
  height: 50px;
  margin: -25px 0 0 -75px;
  padding: 0 12px;
  border: 2px solid var(--navy);
  background: var(--paper);
  font-size: 9.5px;
  line-height: 1.3;
}

.hub-node b {
  font-size: 11.5px;
  font-weight: 600;
}

.hub-node span {
  color: var(--slate);
}

.hub-node--site {
  left: -194px;
  top: -337px;
}

.hub-node--store {
  left: -194px;
  top: 337px;
}

.hub-node--market {
  left: 232px;
  top: 0;
  width: 104px;
  margin-left: -52px;
}

.hub-core {
  position: absolute;
  left: -120px;
  top: -40px;
  display: grid;
  place-content: center;
  gap: 5px;
  width: 240px;
  height: 80px;
  color: var(--paper);
  text-align: center;
}

.hub-core .ui-num {
  font-size: 17px;
  font-weight: 500;
}

.hub-status {
  color: var(--amber);
  font-size: 11px;
  font-weight: 500;
}

.shift {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 16px 16px 12px;
}

.shift-head,
.shift-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 60px minmax(0, 1fr);
  align-items: center;
}

.shift-head {
  color: var(--slate);
  font-size: 9.5px;
  font-weight: 600;
}

.shift-head span:last-child {
  grid-column: 3;
}

.shift-old,
.shift-new {
  display: flex;
  align-items: center;
  height: 56px;
  padding: 0 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
}

.shift-old {
  background: var(--mist);
  color: var(--slate);
  text-decoration: line-through;
  text-decoration-color: var(--slate);
}

.shift-new {
  background: var(--navy);
  box-shadow: inset 4px 0 0 var(--amber);
  color: var(--paper);
}

.shift-link {
  height: 2px;
  margin: 0 7px;
  background: var(--navy);
  transform-origin: 0 50%;
}

.shift-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: auto;
  padding-top: 4px;
  font-size: 9.5px;
  font-weight: 500;
}

.shift-steps li {
  position: relative;
  padding-top: 11px;
}

.shift-steps li::before,
.shift-steps li::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: var(--fog);
}

.shift-steps li::after {
  background: var(--amber);
  transform-origin: 0 50%;
}

.shift-steps li:last-child::after {
  transform: scaleX(0.35);
}

.device--sheet {
  padding-top: 12px;
  border-radius: 6px;
}

.note {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px 16px;
}

.note .ui-title {
  font-size: 19px;
}

.note-list {
  display: grid;
  margin-top: 8px;
  border-bottom: 1px solid var(--fog);
  counter-reset: note;
}

.note-list li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  border-top: 1px solid var(--fog);
  counter-increment: note;
}

.note-list li::before {
  content: counter(note);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
}

.note-list b {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
}

.matrix {
  position: relative;
  flex: 1;
  min-height: 0;
  margin: 14px 4px 16px 18px;
  border-bottom: 2px solid var(--navy);
  border-left: 2px solid var(--navy);
}

.matrix-y,
.matrix-x {
  position: absolute;
  font-size: 9px;
  font-weight: 500;
}

.matrix-y {
  left: -19px;
  top: 0;
  transform: rotate(180deg);
  writing-mode: vertical-rl;
}

.matrix-x {
  right: 0;
  bottom: -17px;
}

.matrix i {
  position: absolute;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin: -12px 0 0 -12px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
}

.matrix i:nth-of-type(1) {
  left: 20%;
  top: 22%;
  background: var(--amber);
  color: var(--navy);
}

.matrix i:nth-of-type(1)::before {
  content: "1";
}

.matrix i:nth-of-type(2) {
  left: 48%;
  top: 46%;
}

.matrix i:nth-of-type(2)::before {
  content: "2";
}

.matrix i:nth-of-type(3) {
  left: 80%;
  top: 30%;
}

.matrix i:nth-of-type(3)::before {
  content: "3";
}

.js .is-active .phone-banner {
  animation: phone-banner 7s var(--ease-out) 1.4s infinite;
}

@keyframes phone-banner {
  0%,
  62%,
  100% {
    transform: translateY(260%);
  }
  9%,
  52% {
    transform: none;
  }
}

.js .is-active .table-cursor {
  animation: table-cursor 9s var(--ease-inout) 1.2s infinite;
}

@keyframes table-cursor {
  0%,
  16% {
    transform: translateY(36px);
  }
  20%,
  36% {
    transform: translateY(72px);
  }
  40%,
  56% {
    transform: translateY(108px);
  }
  60%,
  76% {
    transform: translateY(144px);
  }
  80%,
  96% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(36px);
  }
}

.js .is-active .caret {
  animation: caret 1s steps(1) infinite;
}

@keyframes caret {
  50% {
    opacity: 0;
  }
}

.js .is-active .module--new {
  animation: module-new 8s var(--ease-out) 0.9s infinite both;
}

@keyframes module-new {
  0%,
  12% {
    opacity: 0;
    transform: translateY(-14px);
  }
  20%,
  90% {
    opacity: 1;
    transform: none;
  }
  100% {
    opacity: 0;
    transform: none;
  }
}

.js .is-active .board-line-new {
  animation: line-new 8s var(--ease-out) 0.9s infinite both;
}

@keyframes line-new {
  0%,
  20% {
    stroke-dashoffset: 1;
  }
  30%,
  90% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}

.js .is-active .board-line-old {
  animation: line-old 8s linear 0.9s infinite both;
}

@keyframes line-old {
  0%,
  18% {
    opacity: 1;
  }
  24%,
  94% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.board-line-old {
  opacity: 0;
}

.js .is-active .swap > i:first-child {
  animation: swap-out 7s steps(1) 1.2s infinite both;
}

.js .is-active .swap > i:last-child {
  animation: swap-in 7s steps(1) 1.2s infinite both;
}

.js .is-active .crm .swap > i:first-child {
  animation: swap-out 8s steps(1) 1.6s infinite both;
}

.js .is-active .crm .swap > i:last-child {
  animation: swap-in 8s steps(1) 1.6s infinite both;
}

@keyframes swap-out {
  0% {
    opacity: 1;
  }
  30%,
  100% {
    opacity: 0;
  }
}

@keyframes swap-in {
  0% {
    opacity: 0;
  }
  30%,
  100% {
    opacity: 1;
  }
}

.js .is-active .swap--three > i:nth-child(1) {
  animation: swap-first 9s steps(1) 1s infinite both;
}

.js .is-active .swap--three > i:nth-child(2) {
  animation: swap-second 9s steps(1) 1s infinite both;
}

.js .is-active .swap--three > i:nth-child(3) {
  animation: swap-third 9s steps(1) 1s infinite both;
}

@keyframes swap-first {
  0% {
    opacity: 1;
  }
  30%,
  100% {
    opacity: 0;
  }
}

@keyframes swap-second {
  0%,
  60%,
  100% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
}

@keyframes swap-third {
  0%,
  30% {
    opacity: 0;
  }
  60%,
  100% {
    opacity: 1;
  }
}

.js .is-active .shop-add {
  animation: shop-add 7s steps(1) 1.2s infinite both;
}

.js .is-active .shop-add i:first-child {
  animation: swap-out 7s steps(1) 1.2s infinite both;
}

.js .is-active .shop-add i:last-child {
  animation: swap-in 7s steps(1) 1.2s infinite both;
}

@keyframes shop-add {
  0% {
    background: var(--navy);
    color: var(--paper);
  }
  30%,
  100% {
    background: var(--orange);
    color: var(--navy);
  }
}

.js .is-active .till-line--new,
.js .is-active .till-note {
  animation: till-new 7s var(--ease-out) 1.2s infinite both;
}

@keyframes till-new {
  0%,
  28% {
    opacity: 0;
    transform: translateX(-10px);
  }
  33%,
  92% {
    opacity: 1;
    transform: none;
  }
  100% {
    opacity: 0;
    transform: none;
  }
}

.js .is-active .till-keys .is-hit {
  animation: till-hit 7s steps(1) 1.2s infinite both;
}

@keyframes till-hit {
  0%,
  36%,
  100% {
    background: var(--paper);
  }
  24% {
    background: var(--orange);
  }
}

.js .is-active .scanner i {
  animation: scanner 1.6s var(--ease-inout) infinite alternate;
}

@keyframes scanner {
  from {
    transform: translateX(-35%) scaleX(0.3);
  }
  to {
    transform: translateX(35%) scaleX(0.3);
  }
}

.js .is-active .bar i {
  animation: bar-fill 9s steps(1) 1s infinite both;
}

@keyframes bar-fill {
  0% {
    transform: scaleX(0.6);
  }
  30% {
    transform: scaleX(0.8);
  }
  60%,
  100% {
    transform: scaleX(1);
  }
}

.js .is-active .rack .is-target {
  animation: rack-target 9s steps(1) 1s infinite both;
}

.js .is-active .rack .is-next {
  animation: rack-next 9s steps(1) 1s infinite both;
}

@keyframes rack-target {
  0% {
    background: var(--orange);
  }
  60%,
  100% {
    background: var(--teal);
  }
}

@keyframes rack-next {
  0% {
    background: var(--fog);
  }
  60%,
  100% {
    background: var(--orange);
  }
}

.js .is-active .deal--move {
  animation: deal-move 8s var(--ease-inout) 1s infinite both;
}

.js .is-active .deal--rise {
  animation: deal-rise 8s var(--ease-inout) 1s infinite both;
}

@keyframes deal-move {
  0%,
  14% {
    box-shadow: 0 1px 0 var(--line);
    transform: none;
  }
  20% {
    box-shadow: inset 3px 0 0 var(--orange), 0 14px 24px -12px rgba(2, 48, 71, 0.5);
    transform: translate(0, -6px);
  }
  36%,
  94% {
    box-shadow: inset 3px 0 0 var(--orange), 0 1px 0 var(--line);
    transform: translate(173.33px, 55px);
  }
  100% {
    box-shadow: 0 1px 0 var(--line);
    transform: none;
  }
}

@keyframes deal-rise {
  0%,
  26%,
  100% {
    transform: none;
  }
  38%,
  94% {
    transform: translateY(-55px);
  }
}

.js .is-active .hub-line i {
  animation: hub-out 2.8s linear infinite;
}

.js .is-active .hub-line--site i {
  animation-name: hub-in;
}

.js .is-active .hub-line--market i {
  animation-name: hub-short;
  animation-delay: 0.9s;
}

.js .is-active .hub-line--store i {
  animation-delay: 1.6s;
}

@keyframes hub-in {
  0% {
    opacity: 0;
    transform: translateX(226px);
  }
  10%,
  80% {
    opacity: 1;
  }
  90%,
  100% {
    opacity: 0;
    transform: translateX(0);
  }
}

@keyframes hub-out {
  0% {
    opacity: 0;
    transform: translateX(0);
  }
  10%,
  80% {
    opacity: 1;
  }
  90%,
  100% {
    opacity: 0;
    transform: translateX(226px);
  }
}

@keyframes hub-short {
  0% {
    opacity: 0;
    transform: translateX(0);
  }
  15%,
  70% {
    opacity: 1;
  }
  85%,
  100% {
    opacity: 0;
    transform: translateX(30px);
  }
}

.js .is-active .shift-row .shift-new {
  animation: shift-new 9s var(--ease-out) 0.8s infinite both;
}

.js .is-active .shift-row .shift-link {
  animation: shift-link 9s var(--ease-out) 0.8s infinite both;
}

.js .is-active .shift-row:nth-of-type(3) .shift-new,
.js .is-active .shift-row:nth-of-type(3) .shift-link {
  animation-delay: 1.7s;
}

.js .is-active .shift-row:nth-of-type(4) .shift-new,
.js .is-active .shift-row:nth-of-type(4) .shift-link {
  animation-delay: 2.6s;
}

@keyframes shift-new {
  0%,
  8% {
    opacity: 0.18;
  }
  16%,
  100% {
    opacity: 1;
  }
}

@keyframes shift-link {
  0%,
  4% {
    transform: scaleX(0);
  }
  12%,
  100% {
    transform: scaleX(1);
  }
}

.js .is-active .note-list li,
.js .is-active .matrix i {
  animation: note-in 9s var(--ease-out) 0.7s infinite both;
}

.js .is-active .note-list li:nth-child(2),
.js .is-active .matrix i:nth-of-type(2) {
  animation-delay: 1.3s;
}

.js .is-active .note-list li:nth-child(3),
.js .is-active .matrix i:nth-of-type(3) {
  animation-delay: 1.9s;
}

@keyframes note-in {
  0%,
  3% {
    opacity: 0;
  }
  10%,
  100% {
    opacity: 1;
  }
}

@media (max-width: 899px) {
  .surface {
    --boost: 1.08;
  }

  .surface--phone,
  .surface--handheld {
    --boost: 1.06;
  }

  .stage[data-layout="stacked"] .surface--window,
  .stage[data-layout="stacked"] .surface--note {
    --dx: -8;
  }

  .stage[data-layout="stacked"] .hub-node--market {
    left: 178px;
    width: 88px;
    margin-left: -44px;
    padding: 0 8px;
  }

  .stage[data-layout="stacked"] .hub-node--store {
    left: -128px;
    top: 222px;
  }

  .stage[data-layout="stacked"] .hub-line--store {
    width: 80px;
  }
}

.js .service:not(.is-active) .surface *,
.js .service:not(.is-active) .surface *::before,
.js .service:not(.is-active) .surface *::after {
  animation-play-state: paused;
}
