/* A single checkout surface. Only nested presentation changes; fields keep
   their own boundaries and existing focus/disabled/payment behavior. */
.app-shell .cart-payment-panel.content-card,
.app-shell .cart-payment-panel :is(.cart-price-summary,[aria-label="Расчёт перед оплатой"]).content-card,
.app-shell .cart-payment-panel :is(.checkout-promotion,[aria-label="Промокод"]).content-card {
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.app-shell .cart-payment-panel,
.app-shell .cart-payment-panel :is(.cart-price-summary,[aria-label="Расчёт перед оплатой"]) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}
.app-shell .cart-payment-panel { margin-top: 20px; }
.app-shell .cart-payment-panel :is(.cart-price-summary,[aria-label="Расчёт перед оплатой"]) { margin: 0; }
.app-shell .cart-payment-panel :is([aria-label="Выбор приглашения"], .checkout-promotion,[aria-label="Промокод"]) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin: 0;
}
.app-shell .cart-payment-panel .form-field { min-width: 0; margin: 0; }
.app-shell .cart-payment-panel .form-field input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
.app-shell .cart-payment-panel :is(.checkout-promotion,[aria-label="Промокод"]) > div { flex-wrap: wrap; }
.app-shell .cart-payment-panel :is(p, small) { margin: 0; }
.app-shell .cart-payment-panel .cart-program-documents { margin: 0; }
.app-shell .cart-payment-panel :is(.cart-price-summary,[aria-label="Расчёт перед оплатой"]) > a { justify-self: start; }
.app-shell .cart-payment-panel :is(.cart-price-summary,[aria-label="Расчёт перед оплатой"]) dl {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin: 0;
}
.app-shell .cart-payment-panel :is(.cart-price-summary,[aria-label="Расчёт перед оплатой"]) dd { margin: 0; text-align: right; }
