/* Android - Disable tap to highlight */
* {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-tap-highlight-color: transparent;
}

body.scroll-disabled {
  overflow: hidden;
}

@layer sw-normalize {
/* sw:normalize:start — DO NOT REMOVE THIS, the headless live.css copy strips this span (see
   apps/runtime/vite.config.ts emitLiveCss); v4 documents keep it verbatim. */
/* Normalize */
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  user-select: none;
  -webkit-user-select: none;
}

img {
  user-select: none !important;
  -webkit-user-select: none !important;
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input {
  /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}
/* sw:normalize:end */
}

@supports not (selector(:has(a))) {
/* sw:normalize:start — DO NOT REMOVE THIS, the headless live.css copy strips this span (see
   apps/runtime/vite.config.ts emitLiveCss); v4 documents keep it verbatim. */
/* Normalize */
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  user-select: none;
  -webkit-user-select: none;
}

img {
  user-select: none !important;
  -webkit-user-select: none !important;
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input {
  /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}
/* sw:normalize:end */
}

:focus {
  outline: none;
}

*::-webkit-scrollbar {
  display: none;
}

*,
::before,
::after {
  box-sizing: border-box;
  box-sizing: border-box !important;
}

body:not(.web2app) *,
body:not(.web2app) ::before,
body:not(.web2app) ::after {
  cursor: default !important;
}

.hover-ancestor-parent-button:hover {
  background-color: #2464b3 !important;
  transition: background-color 0.1s ease-in-out !important;
}

.sw-stack.sw-axis-z {
  display: grid;
}

.sw-stack.sw-axis-x {
  display: grid;
  grid-auto-columns: auto;
  grid-auto-flow: column;
}

.sw-stack.sw-axis-x.sw-scroll-normal,
.sw-stack.sw-axis-x.sw-scroll-paging {
  overflow-x: scroll;
  -webkit-overflow-scrolling: touch;
}

.sw-stack.sw-axis-y.sw-scroll-normal,
.sw-stack.sw-axis-y.sw-scroll-paging {
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
}

.sw-stack.sw-axis-x.sw-scroll-paging {
  scroll-snap-type: x mandatory !important;
}

.sw-stack.sw-axis-y.sw-scroll-paging {
  scroll-snap-type: y mandatory;
}

.sw-stack.sw-axis-x.sw-scroll-paging.sw-snap-position-center > * {
  scroll-snap-align: center;
}

.sw-stack.sw-axis-y.sw-scroll-paging.sw-snap-position-center > * {
  scroll-snap-align: center;
}

.sw-stack.sw-axis-x.sw-scroll-paging.sw-snap-position-start > * {
  scroll-snap-align: start;
}

.sw-stack.sw-axis-y.sw-scroll-paging.sw-snap-position-start > * {
  scroll-snap-align: start;
}

.sw-stack.sw-axis-x.sw-scroll-paging.sw-snap-position-end > * {
  scroll-snap-align: end;
}

.sw-stack.sw-axis-y.sw-scroll-paging.sw-snap-position-end > * {
  scroll-snap-align: end;
}

/* 
 transform: `${baseStyle.transform || ""} ${isActive ? `scale(0.95)` : ""}`,
    transition:
      baseStyle.transition ||
      (shouldBindListener
        ? isActive
          ? "transform 90ms ease-in"
          : "transform 150ms ease-out"
        : ""), */

.sw-button-animation-scale-in-out {
  transition-property: transform;
  transition-duration: 150ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0.4, 1);
}

.sw-button-animation-scale-in-out:active,
.sw-button-animation-scale-in-out.sw-gc-active {
  transform: scale(0.975);
  transition-property: transform;
  transition-duration: 90m;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.sw-button-animation-scale-out-in {
  transition-property: transform;
  transition-duration: 150ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0.4, 1);
}

.sw-button-animation-scale-out-in:active,
.sw-button-animation-scale-out-in.sw-gc-active {
  transform: scale(1.025);
  transition-property: transform;
  transition-duration: 90m;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.sw-button-animation-fade-out-in {
  transition-property: opacity;
  transition-duration: 150ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0.4, 1);
}

.sw-button-animation-fade-out-in:active,
.sw-button-animation-fade-out-in.sw-gc-active {
  opacity: 0.85;
  transition-property: opacity;
  transition-duration: 90m;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* .sw-stack.sw-axis-x {
  display: flex;
  flex-direction: row;
} */

.sw-stack.sw-axis-y {
  display: flex;
  flex-direction: column;
}

.sw-stack.sw-axis-x.sw-wrap-wrap {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.sw-stack.sw-axis-x.sw-wrap-wrap-reverse {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap-reverse;
}

.sw-stack.sw-axis-x.sw-wrap-wrap,
.sw-stack.sw-axis-y.sw-wrap-wrap {
  display: flex;
  flex-wrap: wrap;
}

.sw-stack.sw-axis-x.sw-wrap-nowrap,
.sw-stack.sw-axis-y.sw-wrap-nowrap {
  flex-wrap: nowrap;
}

.sw-stack.sw-axis-x.sw-wrap-wrap-reverse,
.sw-stack.sw-axis-y.sw-wrap-wrap-reverse {
  display: flex;
  flex-wrap: wrap-reverse;
}

.sw-stack.sw-axis-x.sw-reverse {
  display: flex;
  flex-direction: row-reverse;
}

.sw-stack.sw-axis-y.sw-reverse {
  display: flex;
  flex-direction: column-reverse;
}

.sw-stack.sw-axis-z > * {
  grid-area: 1 / 1 / 1 / 1;
}

.sw-stack.sw-axis-z.sw-main-center > * {
  margin-left: auto;
  margin-right: auto;
}

.sw-stack.sw-axis-z.sw-main-end > * {
  margin-left: auto;
}

.sw-stack.sw-axis-z.sw-main-start > * {
  margin-right: auto;
}

.sw-stack.sw-axis-x.sw-main-stretch {
  grid-auto-columns: minmax(0, 1fr);
}

.sw-stack.sw-axis-y.sw-main-stretch {
  display: grid;
  grid-auto-rows: 1fr;
}

.sw-stack.sw-axis-y.sw-main-stretch.sw-cross-end > * {
  margin-left: auto;
}

.sw-stack.sw-axis-y.sw-main-stretch.sw-cross-start > * {
  margin-right: auto;
}

.sw-stack.sw-axis-y.sw-main-stretch.sw-cross-center > * {
  margin-right: auto;
  margin-left: auto;
}

/* Needed for Z Stack to layer properly */

.sw-stack.sw-axis-z > :nth-child(1) {
  z-index: 1;
}

.sw-stack.sw-axis-z > :nth-child(2) {
  z-index: 2;
}

.sw-stack.sw-axis-z > :nth-child(3) {
  z-index: 3;
}

.sw-stack.sw-axis-z > :nth-child(4) {
  z-index: 4;
}

.sw-stack.sw-axis-z > :nth-child(5) {
  z-index: 5;
}

.sw-stack.sw-axis-z > :nth-child(6) {
  z-index: 6;
}

.sw-stack.sw-axis-z > :nth-child(7) {
  z-index: 7;
}

.sw-stack.sw-axis-z > :nth-child(8) {
  z-index: 8;
}

.sw-stack.sw-axis-z > :nth-child(9) {
  z-index: 9;
}

.sw-stack.sw-axis-z > :nth-child(10) {
  z-index: 10;
}

.sw-stack.sw-axis-z > :nth-child(11) {
  z-index: 11;
}

.sw-stack.sw-axis-z > :nth-child(12) {
  z-index: 12;
}

.sw-stack.sw-axis-z > :nth-child(13) {
  z-index: 13;
}

.sw-stack.sw-axis-z > :nth-child(14) {
  z-index: 14;
}

.sw-stack.sw-axis-z > :nth-child(15) {
  z-index: 15;
}

.sw-stack.sw-axis-z > :nth-child(16) {
  z-index: 16;
}

.sw-stack.sw-axis-z > :nth-child(17) {
  z-index: 17;
}

.sw-stack.sw-axis-z > :nth-child(18) {
  z-index: 18;
}

.sw-stack.sw-axis-z > :nth-child(19) {
  z-index: 19;
}

.sw-stack.sw-axis-z > :nth-child(20) {
  z-index: 20;
}

.sw-stack.sw-axis-z > :nth-child(21) {
  z-index: 21;
}

.sw-stack.sw-axis-z > :nth-child(22) {
  z-index: 22;
}

.sw-stack.sw-axis-z > :nth-child(23) {
  z-index: 23;
}

.sw-stack.sw-axis-z > :nth-child(24) {
  z-index: 24;
}

.sw-stack.sw-axis-z > :nth-child(25) {
  z-index: 25;
}

.sw-stack.sw-axis-z > :nth-child(26) {
  z-index: 26;
}

.sw-stack.sw-axis-z > :nth-child(27) {
  z-index: 27;
}

.sw-stack.sw-axis-z > :nth-child(28) {
  z-index: 28;
}

.sw-stack.sw-axis-z > :nth-child(29) {
  z-index: 29;
}

.sw-stack.sw-axis-z > :nth-child(30) {
  z-index: 30;
}

.sw-stack.sw-axis-z > :nth-child(31) {
  z-index: 31;
}

.sw-stack.sw-axis-z > :nth-child(32) {
  z-index: 32;
}

.sw-stack.sw-axis-z > :nth-child(33) {
  z-index: 33;
}

.sw-stack.sw-axis-z > :nth-child(34) {
  z-index: 34;
}

.sw-stack.sw-axis-z > :nth-child(35) {
  z-index: 35;
}

.sw-stack.sw-axis-z > :nth-child(36) {
  z-index: 36;
}

.sw-stack.sw-axis-z > :nth-child(37) {
  z-index: 37;
}

.sw-stack.sw-axis-z > :nth-child(38) {
  z-index: 38;
}

.sw-stack.sw-axis-z > :nth-child(39) {
  z-index: 39;
}

.sw-stack.sw-axis-z > :nth-child(40) {
  z-index: 40;
}

.sw-stack.sw-axis-z > :nth-child(41) {
  z-index: 41;
}

.sw-stack.sw-axis-z > :nth-child(42) {
  z-index: 42;
}

.sw-stack.sw-axis-z > :nth-child(43) {
  z-index: 43;
}

.sw-stack.sw-axis-z > :nth-child(44) {
  z-index: 44;
}

.sw-stack.sw-axis-z > :nth-child(45) {
  z-index: 45;
}

.sw-stack.sw-axis-z > :nth-child(46) {
  z-index: 46;
}

.sw-stack.sw-axis-z > :nth-child(47) {
  z-index: 47;
}

.sw-stack.sw-axis-z > :nth-child(48) {
  z-index: 48;
}

.sw-stack.sw-axis-z > :nth-child(49) {
  z-index: 49;
}

.sw-stack.sw-axis-z > :nth-child(50) {
  z-index: 50;
}

.sw-stack.sw-axis-z > :nth-child(51) {
  z-index: 51;
}

.sw-stack.sw-axis-z > :nth-child(52) {
  z-index: 52;
}

.sw-stack.sw-axis-z > :nth-child(53) {
  z-index: 53;
}

.sw-stack.sw-axis-z > :nth-child(54) {
  z-index: 54;
}

.sw-stack.sw-axis-z > :nth-child(55) {
  z-index: 55;
}

.sw-stack.sw-axis-z > :nth-child(56) {
  z-index: 56;
}

.sw-stack.sw-axis-z > :nth-child(57) {
  z-index: 57;
}

.sw-stack.sw-axis-z > :nth-child(58) {
  z-index: 58;
}

.sw-stack.sw-axis-z > :nth-child(59) {
  z-index: 59;
}

.sw-stack.sw-axis-z > :nth-child(60) {
  z-index: 60;
}

.sw-stack.sw-axis-z > :nth-child(61) {
  z-index: 61;
}

.sw-stack.sw-axis-z > :nth-child(62) {
  z-index: 62;
}

.sw-stack.sw-axis-z > :nth-child(63) {
  z-index: 63;
}

.sw-stack.sw-axis-z > :nth-child(64) {
  z-index: 64;
}

.sw-stack.sw-axis-z > :nth-child(65) {
  z-index: 65;
}

.sw-stack.sw-axis-z > :nth-child(66) {
  z-index: 66;
}

.sw-stack.sw-axis-z > :nth-child(67) {
  z-index: 67;
}

.sw-stack.sw-axis-z > :nth-child(68) {
  z-index: 68;
}

.sw-stack.sw-axis-z > :nth-child(69) {
  z-index: 69;
}

.sw-stack.sw-axis-z > :nth-child(70) {
  z-index: 70;
}

.sw-stack.sw-axis-z > :nth-child(71) {
  z-index: 71;
}

.sw-stack.sw-axis-z > :nth-child(72) {
  z-index: 72;
}

.sw-stack.sw-axis-z > :nth-child(73) {
  z-index: 73;
}

.sw-stack.sw-axis-z > :nth-child(74) {
  z-index: 74;
}

.sw-stack.sw-axis-z > :nth-child(75) {
  z-index: 75;
}

.sw-stack.sw-axis-z > :nth-child(76) {
  z-index: 76;
}

.sw-stack.sw-axis-z > :nth-child(77) {
  z-index: 77;
}

.sw-stack.sw-axis-z > :nth-child(78) {
  z-index: 78;
}

.sw-stack.sw-axis-z > :nth-child(79) {
  z-index: 79;
}

.sw-stack.sw-axis-z > :nth-child(80) {
  z-index: 80;
}

.sw-stack.sw-axis-z > :nth-child(81) {
  z-index: 81;
}

.sw-stack.sw-axis-z > :nth-child(82) {
  z-index: 82;
}

.sw-stack.sw-axis-z > :nth-child(83) {
  z-index: 83;
}

.sw-stack.sw-axis-z > :nth-child(84) {
  z-index: 84;
}

.sw-stack.sw-axis-z > :nth-child(85) {
  z-index: 85;
}

.sw-stack.sw-axis-z > :nth-child(86) {
  z-index: 86;
}

.sw-stack.sw-axis-z > :nth-child(87) {
  z-index: 87;
}

.sw-stack.sw-axis-z > :nth-child(88) {
  z-index: 88;
}

.sw-stack.sw-axis-z > :nth-child(89) {
  z-index: 89;
}

.sw-stack.sw-axis-z > :nth-child(90) {
  z-index: 90;
}

.sw-stack.sw-axis-z > :nth-child(91) {
  z-index: 91;
}

.sw-stack.sw-axis-z > :nth-child(92) {
  z-index: 92;
}

.sw-stack.sw-axis-z > :nth-child(93) {
  z-index: 93;
}

.sw-stack.sw-axis-z > :nth-child(94) {
  z-index: 94;
}

.sw-stack.sw-axis-z > :nth-child(95) {
  z-index: 95;
}

.sw-stack.sw-axis-z > :nth-child(96) {
  z-index: 96;
}

.sw-stack.sw-axis-z > :nth-child(97) {
  z-index: 97;
}

.sw-stack.sw-axis-z > :nth-child(98) {
  z-index: 98;
}

.sw-stack.sw-axis-z > :nth-child(99) {
  z-index: 99;
}

/* Safe area (the v4 paywall setting `safeArea`, stamped on <html> by the runtime)
   ========================================================================== */

/* Paywalls pin layers with `position: fixed`, which ignores padding. So <body> becomes the
   safe-area box: fixed to the safe rect and transformed, which makes it the containing block
   those layers anchor to. It never scrolls; the container inside it does, so pinned layers
   stay put while content scrolls. What shows around <body> is <html>'s background.
   The bottom edge stays full-bleed: paywalls already keep clear of the home indicator, and
   only the top and side insets (status bar, Dynamic Island, iPhone Duo's camera strip) are
   new to them. Viewport units count only the box, so `100vh` and `100vw` fill it exactly. */
html[data-sw-safe-area] {
  /* Without it, <body>'s overflow propagates to the viewport and <body> stops clipping. */
  overflow: hidden;
  --sw-vh: calc((100dvh - env(safe-area-inset-top)) / 100);
  --sw-vw: calc((100vw - env(safe-area-inset-left) - env(safe-area-inset-right)) / 100);
  --sw-vmin: min(var(--sw-vh), var(--sw-vw));
  --sw-vmax: max(var(--sw-vh), var(--sw-vw));
}

html[data-sw-safe-area] body {
  /* The box already clears these edges, so a paywall style that pads by `env()` (routed through
     these variables by the schema) reads 0 here instead of padding twice. */
  --sw-safe-area-inset-top: 0px;
  --sw-safe-area-inset-right: 0px;
  --sw-safe-area-inset-left: 0px;
  position: fixed;
  top: env(safe-area-inset-top);
  right: env(safe-area-inset-right);
  bottom: 0;
  left: env(safe-area-inset-left);
  margin: 0;
  overflow: hidden;
  transform: translateZ(0);
}

/* The box-sized scroller. Its `height` stays auto (min/max-height size it), so a paywall's
   `height: 100%` resolves as it does on a normal page, growing with the content instead of being
   cut to the box. Absolute rather than in flow: wrappers sit between <body> and the container. */
html[data-sw-safe-area] #main-editor-container {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  min-height: 100%;
  max-height: 100%;
  overflow-y: auto;
}

html[data-sw-safe-area] body.scroll-disabled #main-editor-container {
  overflow: hidden;
}

/* `:root` outranks the runtime's own `html.dark` background rule. */
html[data-sw-safe-area="black"]:root {
  background-color: #000;
}

/* Only a corner that meets an inset is rounded; the bottom edge meets the screen's own. */
html[data-sw-safe-area="black"] body {
  background-color: var(--sw-safe-area-fill);
  border-top-left-radius: min(20px, (env(safe-area-inset-top) + env(safe-area-inset-left)) * 100);
  border-top-right-radius: min(20px, (env(safe-area-inset-top) + env(safe-area-inset-right)) * 100);
  border-bottom-right-radius: min(20px, env(safe-area-inset-right) * 100);
  border-bottom-left-radius: min(20px, env(safe-area-inset-left) * 100);
}

/* Headless (v5) platform layer
   ========================================================================== */

/*
 * Code-first (headless) paywalls are stored as finished HTML and served
 * byte-stable; the worker injects this stylesheet into every one at serve
 * time. Their build stamps document semantics as data attributes on <html>,
 * and these rules decide what those attributes mean — updatable fleet-wide
 * without republishing a single snapshot.
 */

html[data-sw-scroll="false"],
html[data-sw-scroll="false"] body {
  overflow: hidden;
}
