/* The media checkout stylesheet supplies the page, columns, typography and button. */
.lease-summary, .payment { min-width: 0; overflow-wrap: anywhere }
.lease-summary h1 { margin: 0 }
.total { margin: 4px 0 20px }
.price-label, .lease-terms, .intro { font-size: 14px; line-height: 1.55; color: #555b65 }
.total .price { margin: 2px 0 0 }
.price .unit { white-space: nowrap }
.schedule { border-block: 1px solid #e6e7ea }
.schedule summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 48px; border-radius: 4px; list-style: none; cursor: pointer;
  font-size: 14px; font-weight: 700;
}
.schedule summary h2 { margin: 0; font: inherit; letter-spacing: normal }
.schedule summary::-webkit-details-marker { display: none }
.schedule summary::after {
  content: ""; width: 7px; height: 7px; flex: none; margin-right: 4px;
  border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg);
}
.schedule[open] summary::after { transform: rotate(225deg) }
.schedule dl { margin: 0; padding-bottom: 14px }
.entry { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2px 12px; padding: 3px 0; font-size: 14px }
.entry dt { color: #555b65 }
.entry dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums }
.entry small { color: #555b65; font-weight: normal }
.lease-terms { margin-top: 14px; font-size: 12px }
.payment h2 { margin: 0 0 8px }
.form { margin-top: 22px }
.form button, .escrow-link { display: flex; justify-content: center; align-items: center; gap: 8px }
.button svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round }
.privacy { margin-top: 11px; color: #5b6068; font-size: 12px; text-align: center }
.turnstile { margin-top: 12px }
.notice, .field-error { margin-top: 8px; color: #9f2727; font-size: 14px }
.escrow-link {
  min-height: 48px; margin-top: 20px; padding: 10px 14px; border-radius: 7px;
  background: #0074d4; color: white; font-weight: 700; text-decoration: none;
}
.escrow-link:hover { background: #0065bc }
.code-entry { display: block; position: relative }
.code-slots { display: none }
.code-entry.enhanced { padding: 2px; border: 1px solid #c8cbd1; border-radius: 7px }
.enhanced .code-slots { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); pointer-events: none }
.code-slot { display: grid; place-items: center; height: 42px; font: 700 20px/1 ui-monospace, monospace }
.code-slot + .code-slot { border-left: 1px solid #e6e7ea }
.code-slot.is-active { color: #0065bc; background: #eef6ff }
.enhanced .code { position: absolute; inset: 0; height: 100%; opacity: 0; cursor: text }
:where(a, summary, button, input):focus-visible, .merchant a:focus-visible, .merchant .back:focus-visible,
.form input:focus-visible, .form button:focus-visible, .code-entry.enhanced:focus-within {
  outline: 2px solid #0074d4; outline-offset: 0;
}
.code-entry.enhanced:focus-within .code { outline: none }
.merchant .back:focus-visible { border-radius: 50% }
@media (forced-colors: active) {
  :focus-visible, .form input:focus-visible, .form button:focus-visible, .merchant a:focus-visible,
  .merchant .back:focus-visible, .code-entry.enhanced:focus-within { outline-color: Highlight }
  .escrow-link { border: 1px solid LinkText }
  .code-slot.is-active { text-decoration: underline }
}

/* Keep the wordmark centered, as in the studio footer. */
.lease-footer { display: block; color: #666c73 }
.lease-footer nav {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  min-height: 44px; font: 900 13px/1 system-ui, sans-serif;
}
.lease-footer .back { color: inherit; margin: 0; width: 36px; min-width: 36px }
.lease-footer .note-wordmark { color: inherit; text-decoration: none; border-radius: 4px }
.lease-footer .note-wordmark span { color: #ffbc00 }
.lease-footer .footer-sets {
  display: flex; align-items: center; padding-inline-start: 3px;
  --tool-width: 34px;
}
.lease-footer .footer-sets .footer-tool {
  position: relative; inset: auto; transform: none; width: var(--tool-width);
  min-height: 44px; height: 44px; flex: none;
}
.lease-footer .language-heading button { width: 32px; min-height: 32px; margin: 0 }
.lease-footer :is(a,button):focus-visible { outline: 2px solid #0074d4; outline-offset: 0 }
@media (max-width: 720px) {
  .lease-footer { display: grid; grid-template-columns: 1fr }
  .lease-footer .footer-sets {
    --tool-width: clamp(24px, calc((50vw - 36px - env(safe-area-inset-right, 0px)) / 4), 44px);
  }
}
@media (forced-colors: active) {
  .lease-footer, .lease-footer .note-wordmark span { color: LinkText }
  .lease-footer :is(a,button):focus-visible { outline-color: Highlight }
}
