html[data-surface="white-oath"] {
  min-width: 20rem;
  min-height: 100%;
  background: var(--wo-night);
  color: var(--wo-text-on-night);
  color-scheme: dark;
  font-family: var(--wo-font-body);
  font-size: 100%;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

html[data-surface="white-oath"] *,
html[data-surface="white-oath"] *::before,
html[data-surface="white-oath"] *::after {
  box-sizing: border-box;
}

html[data-surface="white-oath"] body {
  min-width: 20rem;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  overflow-x: clip;
  background:
    radial-gradient(circle at 79% 15%, rgba(81, 88, 117, 0.24), transparent 29rem),
    linear-gradient(135deg, var(--wo-night-deep), var(--wo-night) 56%, #1c1f2e);
}

html[data-surface="white-oath"] body,
html[data-surface="white-oath"] button,
html[data-surface="white-oath"] input,
html[data-surface="white-oath"] select,
html[data-surface="white-oath"] textarea {
  font: inherit;
}

html[data-surface="white-oath"] button,
html[data-surface="white-oath"] input,
html[data-surface="white-oath"] select,
html[data-surface="white-oath"] textarea {
  color: inherit;
}

html[data-surface="white-oath"] button,
html[data-surface="white-oath"] a {
  -webkit-tap-highlight-color: transparent;
}

html[data-surface="white-oath"] button {
  padding: 0;
  border: 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

html[data-surface="white-oath"] a {
  color: inherit;
  text-decoration: none;
}

html[data-surface="white-oath"] img,
html[data-surface="white-oath"] svg {
  display: block;
  max-width: 100%;
}

html[data-surface="white-oath"] [hidden] {
  display: none !important;
}

html[data-surface="white-oath"] ::selection {
  background: var(--wo-crimson);
  color: var(--wo-light);
}

/*
 * Browsers expose scrollbars as part of the composition.  Keep the rail quiet,
 * but give the moving register a recognisable White Oath material instead of
 * falling back to the operating-system chrome.
 */
@media (pointer: fine) {
  html[data-surface="white-oath"],
  html[data-surface="white-oath"] * {
    scrollbar-color: var(--wo-indigo) transparent;
    scrollbar-width: thin;
  }

  html[data-surface="white-oath"] {
    scrollbar-gutter: stable;
  }

  html[data-surface="white-oath"] ::-webkit-scrollbar {
    width: 0.68rem;
    height: 0.68rem;
  }

  html[data-surface="white-oath"] ::-webkit-scrollbar-track {
    background:
      linear-gradient(90deg, transparent 45%, var(--wo-night-12) 45% 55%, transparent 55%);
  }

  html[data-surface="white-oath"] ::-webkit-scrollbar-thumb {
    min-height: 3.2rem;
    border: 0.2rem solid transparent;
    background:
      linear-gradient(180deg, var(--wo-cyan), var(--wo-indigo) 47%, var(--wo-crimson))
      padding-box;
  }

  html[data-surface="white-oath"] ::-webkit-scrollbar-thumb:horizontal {
    min-width: 3.2rem;
    background:
      linear-gradient(90deg, var(--wo-cyan), var(--wo-indigo) 47%, var(--wo-crimson))
      padding-box;
  }

  html[data-surface="white-oath"] ::-webkit-scrollbar-thumb:hover {
    border-width: 0.14rem;
  }

  html[data-surface="white-oath"] ::-webkit-scrollbar-corner {
    background: transparent;
  }

  html[data-surface="white-oath"] ::-webkit-scrollbar-button {
    display: none;
  }
}

html[data-surface="white-oath"] :focus {
  outline: none;
}

html[data-surface="white-oath"] :focus-visible {
  outline: 2px solid var(--wo-light);
  outline-offset: 4px;
  box-shadow: 0 0 0 6px var(--wo-crimson-42);
}

html[data-surface="white-oath"] .wo-skip-link {
  position: fixed;
  z-index: 1000;
  top: var(--wo-space-3);
  left: 50%;
  min-height: var(--wo-touch);
  padding: 0.65rem 1.2rem;
  transform: translate(-50%, -180%);
  background: var(--wo-light);
  color: var(--wo-night);
  font-weight: 700;
  transition: transform var(--wo-duration-fast) var(--wo-ease-out);
}

html[data-surface="white-oath"] .wo-skip-link:focus {
  transform: translate(-50%, 0);
}

html[data-surface="white-oath"] .wo-page {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: calc(100dvh - var(--wo-mast-height));
  padding-block: var(--wo-space-6) var(--wo-space-8);
}

html[data-surface="white-oath"] .wo-route-host {
  width: 100%;
  min-height: inherit;
}

html[data-surface="white-oath"] .wo-page::before {
  position: absolute;
  z-index: -1;
  top: var(--wo-space-5);
  right: clamp(-5rem, -4vw, -2rem);
  width: clamp(8rem, 15vw, 22rem);
  aspect-ratio: 1;
  border: var(--wo-hairline) solid var(--wo-cyan-42);
  border-radius: 50%;
  content: "";
  opacity: 0.58;
}

html[data-surface="white-oath"] .wo-page-head {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(12rem, 28%);
  gap: var(--wo-space-6);
  align-items: end;
  margin-block-end: var(--wo-space-7);
  padding-block-end: var(--wo-space-4);
}

html[data-surface="white-oath"] .wo-page-head__index {
  position: absolute;
  top: -0.28em;
  right: 0;
  color: var(--wo-indigo-38);
  font-family: var(--wo-font-data);
  font-size: clamp(4.5rem, 8vw, 12rem);
  font-weight: 700;
  letter-spacing: -0.09em;
  line-height: 0.75;
  pointer-events: none;
}

html[data-surface="white-oath"] .wo-page-head__aside {
  position: relative;
  z-index: 1;
  max-width: 28rem;
  padding-left: var(--wo-space-3);
  margin: 0;
  border-left: var(--wo-rule) solid var(--wo-crimson);
  color: var(--wo-text-muted-paper);
  font-size: var(--wo-text-xs);
  line-height: 1.75;
}

html[data-surface="white-oath"] .wo-page-head::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: var(--wo-rule);
  content: "";
  background: linear-gradient(90deg, var(--wo-crimson) 0 9%, var(--wo-night) 9% 62%, transparent 62% 67%, var(--wo-cyan) 67% 100%);
  transform-origin: left center;
}

html[data-surface="white-oath"] .wo-kicker,
html[data-surface="white-oath"] .wo-eyebrow {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  margin: 0 0 var(--wo-space-2);
  color: var(--wo-text-muted-paper);
  font-family: var(--wo-font-data);
  font-size: var(--wo-text-xs);
  font-weight: 650;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

html[data-surface="white-oath"] .wo-kicker::before,
html[data-surface="white-oath"] .wo-eyebrow::before {
  width: 1.9rem;
  height: var(--wo-rule);
  flex: 0 0 auto;
  content: "";
  background: var(--wo-crimson);
  box-shadow: 0 0.28rem 0 var(--wo-cyan);
}

html[data-surface="white-oath"] .wo-display,
html[data-surface="white-oath"] .wo-page h1 {
  max-width: 12ch;
  margin: 0;
  color: var(--wo-night);
  font-family: var(--wo-font-display);
  font-size: var(--wo-text-2xl);
  font-weight: 520;
  letter-spacing: -0.055em;
  line-height: 1.02;
  text-wrap: balance;
}

html[data-surface="white-oath"] .wo-lede {
  max-width: var(--wo-copy-max);
  margin: 0;
  color: var(--wo-text-muted-paper);
  font-size: var(--wo-text-sm);
  line-height: 1.85;
  text-wrap: pretty;
}

html[data-surface="white-oath"] .wo-section {
  position: relative;
  margin-block: var(--wo-space-7);
}

html[data-surface="white-oath"] .wo-section-head {
  display: flex;
  gap: var(--wo-space-4);
  align-items: end;
  justify-content: space-between;
  margin-block-end: var(--wo-space-4);
}

html[data-surface="white-oath"] .wo-section-head h2,
html[data-surface="white-oath"] .wo-section-title {
  margin: 0;
  color: inherit;
  font-family: var(--wo-font-display);
  font-size: var(--wo-text-xl);
  font-weight: 520;
  letter-spacing: -0.035em;
  line-height: 1.16;
}

html[data-surface="white-oath"] .wo-section-head p {
  max-width: 44rem;
  margin: 0;
  color: currentColor;
  font-size: var(--wo-text-sm);
  opacity: 0.68;
}

html[data-surface="white-oath"] .wo-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

html[data-surface="white-oath"] .wo-scrollbar {
  scrollbar-color: var(--wo-indigo) transparent;
  scrollbar-width: thin;
}

html[data-surface="white-oath"] .wo-scrollbar::-webkit-scrollbar {
  width: 0.45rem;
  height: 0.45rem;
}

html[data-surface="white-oath"] .wo-scrollbar::-webkit-scrollbar-thumb {
  background: var(--wo-indigo);
}

html[data-surface="white-oath"] .wo-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}

@media (pointer: coarse) {
  html[data-surface="white-oath"] .wo-models__providers,
  html[data-surface="white-oath"] .wo-models__routes,
  html[data-surface="white-oath"] .wo-records__status-filters,
  html[data-surface="white-oath"] .wo-comms__folios,
  html[data-surface="white-oath"] .wo-comms__kind-switch,
  html[data-surface="white-oath"] .wo-profile-tabs,
  html[data-surface="white-oath"] .wo-guide__rail,
  html[data-surface="white-oath"] .wo-key-index {
    scrollbar-width: none;
  }

  html[data-surface="white-oath"] .wo-models__providers::-webkit-scrollbar,
  html[data-surface="white-oath"] .wo-models__routes::-webkit-scrollbar,
  html[data-surface="white-oath"] .wo-records__status-filters::-webkit-scrollbar,
  html[data-surface="white-oath"] .wo-comms__folios::-webkit-scrollbar,
  html[data-surface="white-oath"] .wo-comms__kind-switch::-webkit-scrollbar,
  html[data-surface="white-oath"] .wo-profile-tabs::-webkit-scrollbar,
  html[data-surface="white-oath"] .wo-guide__rail::-webkit-scrollbar,
  html[data-surface="white-oath"] .wo-key-index::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }
}

@media (forced-colors: active) {
  html[data-surface="white-oath"],
  html[data-surface="white-oath"] * {
    scrollbar-color: auto;
    scrollbar-width: auto;
  }

  html[data-surface="white-oath"] :focus-visible {
    outline-color: Highlight;
    box-shadow: none;
  }
}

html[data-surface="white-oath"] noscript {
  position: fixed;
  z-index: 1200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: var(--wo-night);
  color: var(--wo-light);
  text-align: center;
}
