/* Type and spacing for the existing Mini App screens. */
#app .screen > :is(h1, h2) {
  text-wrap: balance;
}

#app .section__head {
  margin-block-end: 16px;
}

#app .field {
  gap: 8px;
}

#app .field__label {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: normal;
  text-transform: none;
}

#app :is(.field__hint, .field__error) {
  font-size: 0.8125rem;
  line-height: 1.5;
}

#app .checkout-points {
  display: grid;
  gap: 14px;
  margin-block: 20px;
}

.checkout-points__heading,
.checkout-points__details > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 14px;
}

.checkout-points__heading {
  flex-wrap: wrap;
}

.checkout-points__heading h3 {
  margin: 0;
  font-size: 1.375rem;
  line-height: 1.25;
}

.checkout-points__heading span,
.checkout-points__note {
  color: var(--ink-700, #4d4c48);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.checkout-points__heading span {
  white-space: nowrap;
}

.checkout-points__note {
  margin: 0;
}

.checkout-points__details {
  display: grid;
  gap: 8px;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
}

.checkout-points__details dt {
  color: var(--ink-700, #4d4c48);
}

.checkout-points__details dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  white-space: nowrap;
}

#app .checkout-points__field,
#app .checkout-points .field__error {
  margin: 0;
}

#app .summary {
  gap: 12px;
}

#app .summary__row {
  align-items: baseline;
  gap: 10px 14px;
  font-size: 0.875rem;
  line-height: 1.45;
}

#app .summary__row > :first-child,
#app .summary__total > :first-child {
  min-inline-size: 0;
  overflow-wrap: anywhere;
}

#app :is(.summary__row, .summary__total) > strong {
  font-variant-numeric: tabular-nums;
  text-align: end;
}

#app .summary__total {
  gap: 12px;
  padding-block-start: 14px;
}

#app .summary__total strong {
  font-size: clamp(1.75rem, 8vw, 2.375rem);
  line-height: 1.15;
}

#app [data-checkout-part="extras"] {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block: 20px 16px;
}

#app [data-checkout-part="extras"] h3 {
  flex-basis: 100%;
  margin-block: 0 4px;
}

#app :is([data-checkout-part="payment-note"], [data-checkout-part="budget-note"]) {
  margin-block: 14px 18px;
  font-size: 0.875rem;
  line-height: 1.55;
}

#app .brand-catalog .catalog-card-wrap .card__body {
  gap: 8px;
}

#app .brand-catalog .card__sub {
  font-size: 0.8125rem;
  line-height: 1.5;
}

#app .brand-catalog .catalog-card-meta {
  row-gap: 6px;
}

#app .product-detail__included .rows {
  gap: 9px;
  font-size: 0.875rem;
  line-height: 1.5;
}

#app .cart-item h3,
#app .order__title {
  line-height: 1.32;
}

#app .brand-service .option__text {
  row-gap: 8px;
}

#app .brand-service .option__sub {
  font-size: 0.875rem;
  line-height: 1.55;
}

#app .brand-subscription .section__head {
  margin-block-end: 14px;
}

#app .account-grid {
  gap: 20px;
}

#app .account-details div {
  margin-block-start: 16px;
}

#app .account-details dt {
  font-size: 0.8125rem;
  line-height: 1.45;
}

#app .account-list span {
  margin-block-start: 6px;
  font-size: 0.875rem;
  line-height: 1.5;
}

#app .account-shortcuts button > span {
  gap: 7px;
}

#app .order__lines {
  gap: 7px;
  font-size: 0.875rem;
  line-height: 1.5;
}

#app .admin-order__client {
  line-height: 1.5;
}

#app .order + .order {
  margin-block-start: 16px;
}
/* The claim confirmation sits beside the catalogue introduction. */
#app .public-offer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  margin: 0 0 20px;
  padding: 16px;
  border: 1px solid #c0c4f4;
  border-radius: 14px;
  background: #eef0ff;
  color: #242036;
}

#app .public-offer strong {
  font-size: 1rem;
  line-height: 1.35;
}

#app .public-offer p {
  margin: 4px 0 0;
  font-size: 0.875rem;
  line-height: 1.4;
}

#app .public-offer button {
  min-height: 44px;
}

