:root {
  --itw-focus-edge: #241047;
  --itw-focus-center: #fff;
}

:is(.main-header, .main-sidebar, .content, .portal-shell, .voicex-auth) :is(a[href], button, input, select, textarea, summary, [tabindex="0"]):focus-visible {
  outline: 3px solid var(--itw-focus-edge);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--itw-focus-center);
  scroll-margin-block: 6rem 2rem;
}

body.dark-skin {
  --itw-focus-edge: #fff;
  --itw-focus-center: #241047;
}

.itw-owner-skip:not(:focus) {
  position: fixed;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

:is(.itw-owner-skip, .command-skip):focus {
  position: fixed;
  inset: .75rem auto auto .75rem;
  z-index: 10000;
  transform: none;
  width: auto;
  height: auto;
  padding: .75rem 1rem;
  overflow: visible;
  clip: auto;
  clip-path: none;
  color: #fff;
  background: #241047;
  outline: 3px solid #fff;
  outline-offset: 2px;
}

.paid-center :is(.paid-tabs a, button, input:not([type="hidden"], [type="checkbox"]), select) {
  min-height: 44px;
}

.paid-center .paid-tabs {
  flex-wrap: wrap;
}
.paid-center .paid-tabs a {
  white-space: normal;
  overflow-wrap: anywhere;
}

.paid-center .growth-scroll {
  max-width: 100%;
  overflow-x: auto;
}
.paid-center .growth-scroll table {
  min-width: 36rem;
}
.paid-center caption {
  caption-side: top;
  text-align: start;
  color: inherit;
}
.paid-center .paid-panel [role="status"],
.paid-center .paid-panel [role="alert"] {
  line-height: 1.55;
}

@media (forced-colors: active) {
  :is(.main-header, .main-sidebar, .content, .portal-shell, .voicex-auth) :is(a[href], button, input, select, textarea, summary, [tabindex="0"]):focus-visible {
    outline: 3px solid Highlight;
    box-shadow: none;
  }
  :is(.itw-owner-skip, .command-skip):focus {
    color: LinkText;
    background: Canvas;
    outline: 3px solid Highlight;
  }
}

.paid-center fieldset {
  min-inline-size: 0;
}
.paid-center legend {
  font-size: 1.125rem;
  font-weight: 700;
}
.paid-center fieldset select {
  margin-block-end: .875rem;
}
.paid-center :is([role="alert"], [role="status"]):focus {
  outline: 3px solid var(--itw-focus-edge);
  outline-offset: 4px;
}

.paid-center input[type="number"] {
  display: block;
  margin-block-end: .875rem;
  max-inline-size: 100%;
}
