/* Shared by the preserved account pages and the checkout/administration app. */
:root { --sky-control-radius: 12px; }

body :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea, button, .button, .w-button):not(.cart-close) {
  border-radius: var(--sky-control-radius);
}

/* Keep the original profile layout, including its circular avatar. */
#msOverlay {
  --ms-radius-input: var(--sky-control-radius);
  --ms-radius-button: var(--sky-control-radius);
}
#msOverlay button {
  border-radius: var(--sky-control-radius);
}
body :is(button.button,.button.w-button,a.w-button,.ms-modal__save-button){display:inline-flex;align-items:center;justify-content:center;text-align:center}

/* The original label stays in flow for sizing and accessibility. Its painted
   counterpart is independent of the HTML text baseline. */
.sky-action-label {display:block;min-width:0;}
[data-sky-ink-label] {position:relative;}
[data-sky-ink-label] > .sky-action-label {opacity:0;}
.sky-action-ink {display:none;position:absolute;inset:0;width:100%;height:100%;pointer-events:none;user-select:none;}
[data-sky-ink-label] > .sky-action-ink {display:block;}
.sky-action-ink text {fill:currentColor;-webkit-text-fill-color:currentColor;}

/* If the parser yields mid-page, keep only the unmeasured ink from painting. */
[data-sky-labels] :is(.launch-preview .button,[data-portal-owned-product] .w-button,[data-portal-download-error] .w-button,[data-portal-download-empty] .w-button):not(:has(> :not(.sky-action-label,.sky-action-ink))) {
  -webkit-text-fill-color:transparent;
}
[data-sky-labels] .sky-action-label[data-sky-label-fallback] {
  -webkit-text-fill-color:currentColor;
}
/* Filled hover treatment is shared by outlined action controls; text-only
   account navigation and circular controls keep their existing treatment. */
body :is(.button,.w-button,.ms-modal__save-button,.ms-modal__outline-button):not(:disabled):not([aria-disabled="true"]):is(:hover,:focus-visible){background:#fff;color:#000;text-decoration:none}
