/* WEB-P0.1 — Customer app parity controls for terminal + selections. */
.app-parity-stepper {
  margin-top: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid #dce8df;
  border-radius: 10px;
  background: #f6fbf7;
}

.app-parity-stepper-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.app-parity-stepper-copy strong {
  color: #202421;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 600;
}

.app-parity-stepper-copy small {
  color: #707673;
  font-size: 10px;
  line-height: 1.35;
  font-weight: 400;
}

.app-parity-controls {
  flex: 0 0 auto;
  min-width: 164px;
  display: grid;
  grid-template-columns: 36px minmax(76px, auto) 36px;
  align-items: center;
  gap: 7px;
}

.app-parity-step-button {
  width: 36px;
  height: 36px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid #cfd7d1;
  border-radius: 9px;
  background: #fff;
  color: #1f2421;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.app-parity-step-button:hover:not(:disabled) {
  border-color: #8faa96;
  background: #f1f8f3;
}

.app-parity-step-button:active:not(:disabled) {
  transform: scale(.97);
}

.app-parity-step-button:focus-visible {
  outline: 3px solid rgba(42,157,89,.16);
  outline-offset: 1px;
  border-color: #2a9d59;
}

.app-parity-step-button:disabled {
  opacity: .35;
  cursor: default;
}

.app-parity-step-button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
}

.app-parity-step-value {
  min-height: 36px;
  padding: 0 8px;
  display: grid;
  place-items: center;
  border: 1px solid #dce3de;
  border-radius: 9px;
  background: #fff;
  color: #172019;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 650;
  white-space: nowrap;
}

.option.app-parity-terminal-selected {
  position: relative;
  background: #f1faf4 !important;
  border-color: #2a9d59 !important;
  color: #172019 !important;
}

@media (max-width: 768px) {
  .app-parity-stepper {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
  }

  .app-parity-controls {
    width: 100%;
    min-width: 0;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
  }

  .app-parity-step-button {
    width: 42px;
    height: 42px;
  }

  .app-parity-step-value {
    min-height: 42px;
    font-size: 14px;
  }
}
