/* S43 checkout reliability/accessibility overrides. Scoped to checkout only. */
body.gh-checkout-lab{scroll-padding-top:92px}
body.gh-checkout-lab .gh-checkout-checkbox,
body.gh-checkout-lab .gh-checkout-consent{position:relative;cursor:pointer;touch-action:manipulation;min-height:30px}
body.gh-checkout-lab .gh-checkout-checkbox input[type="checkbox"],
body.gh-checkout-lab .gh-checkout-consent input[type="checkbox"]{position:relative;z-index:2;pointer-events:auto!important;touch-action:manipulation;flex:0 0 22px!important;width:22px!important;height:22px!important;min-height:22px!important;margin:0!important}
body.gh-checkout-lab .gh-checkout-checkbox>span,
body.gh-checkout-lab .gh-checkout-consent>span{pointer-events:none}
body.gh-checkout-lab .gh-review-table-wrap,
body.gh-checkout-lab .gh-payment-recap,
body.gh-checkout-lab .gh-checkout-lab-side section{min-width:0;max-width:100%}
body.gh-checkout-lab .gh-review-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
body.gh-checkout-lab .gh-review-table{min-width:560px}
body.gh-checkout-lab .gh-domain-jp-admin p{margin:.1rem 0 .75rem;color:var(--gh43-muted);font-size:12px;line-height:1.55}
body.gh-checkout-lab [data-admin-key="country"]{direction:ltr;text-align:left}
body.gh-checkout-lab #gh-username-result.is-info{color:var(--gh43-muted)}
body.gh-checkout-lab #gh-username-result.is-warning{color:var(--gh43-gold-text)}
@media(max-width:720px){
  /* On checkout, reliability of primary taps outranks a sticky global header. */
  body.gh-checkout-lab .gh43-nav{position:relative!important;top:auto!important}
  body.gh-checkout-lab{scroll-padding-top:14px}
  body.gh-checkout-lab .gh-checkout-lab-submit-row,
  body.gh-checkout-lab .gh-checkout-actions{position:relative;z-index:3}
  body.gh-checkout-lab .gh-review-table{min-width:500px}
  body.gh-checkout-lab .gh-checkout-lab-side{min-width:0;overflow:visible}
  body.gh-checkout-lab .gh-checkout-lab-side section{overflow-wrap:anywhere}
}

/* S44.1 acceptance cleanup: keep the mobile cost/term visible without changing desktop layout. */
@media(max-width:480px){
  body.gh-checkout-lab .gh-review-table{min-width:460px}
  body.gh-checkout-lab .gh-review-table th:nth-child(3),
  body.gh-checkout-lab .gh-review-table td:nth-child(3){white-space:nowrap;overflow-wrap:normal;hyphens:none}
  body.gh-checkout-lab .gh-review-table th:last-child,
  body.gh-checkout-lab .gh-review-table td:last-child{position:sticky;inset-inline-end:0;z-index:2;white-space:nowrap;background:var(--gh43-surface)}
  body.gh-checkout-lab .gh-review-table tfoot td:last-child{z-index:3;background:var(--gh43-surface-2)}
  body.gh-checkout-lab .gh-review-table td:nth-child(2){overflow-wrap:anywhere}
}

/* S48 checkout presentation fixes. */
body.gh-checkout-lab .gh-plan-details>div{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}
body.gh-checkout-lab .gh-plan-details .gh-plan-price{display:inline-flex;gap:.45rem .6rem;align-items:baseline;justify-content:flex-end;flex-wrap:wrap;color:var(--gh43-gold-2);font-weight:850;text-align:end}
body.gh-checkout-lab .gh-plan-details .gh-promo-note{display:inline-block;margin:0;padding-inline-start:.15rem;white-space:normal}
@media(max-width:720px){body.gh-checkout-lab .gh-plan-details>div{align-items:stretch;flex-direction:column}.gh-plan-details .gh-plan-price{justify-content:flex-start!important;text-align:start!important}}


/* S48.0.1 checkout hotfix */
html[dir="ltr"] body.gh-checkout-lab .gh-l10n-breadcrumb{direction:ltr!important}
html[dir="rtl"] body.gh-checkout-lab .gh-l10n-breadcrumb{direction:rtl!important}
html[data-gh-theme="light"] body.gh-checkout-lab .gh-review-note{color:#4b5963!important;opacity:1!important}
html[data-gh-theme="light"] body.gh-checkout-lab .gh-review-note.is-warning{color:#6d4a08!important}
html:not([data-gh-theme="light"]) body.gh-checkout-lab .gh-review-note{color:#c3ced5!important;opacity:1!important}

/* S48.0.2 checkout quote-state and mobile-consent corrections. */
html[data-gh-theme="light"] body.gh-checkout-lab #content .gh-checkout-s2 .gh-review-note{color:#4b5963!important;opacity:1!important}
html[data-gh-theme="light"] body.gh-checkout-lab #content .gh-checkout-s2 .gh-review-note.is-warning{color:#6d4a08!important}
body.gh-checkout-lab .gh-review-refresh-status{margin:.65rem 0 0;padding:.55rem .65rem;border-top:1px solid var(--gh43-border);font-weight:650}
@media(max-width:720px){body.gh-checkout-lab.gh6-privacy-open #footer-full-width-bottom,body.gh-checkout-lab.gh6-privacy-open footer{padding-bottom:240px!important}}
