/* Reset */

/*! 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 */
}

/* 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;
}

html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

/* Variables & Fonts */

:root {
  --color--black-500: #000f08;
  
  --color--blue-100: #6c9fdf;
  --color--blue-500: #253d5b;
  --color--blue-900: #15273e;
  
  --color--gray-10: #F2F4F8;
  --color--gray-20: #DDE1E6;
  --color--gray-30: #C1C7CD;
  --color--gray-40: #A2A9B0;
  --color--gray-50: #878D96;
  --color--gray-60: #697077;
  --color--gray-70: #4D5358;
  --color--gray-80: #343A3F;
  --color--gray-90: #21272A;
  --color--gray-100: #121619;

  --color--neon-green-50: #D5E739;
  --color--neon-green-100: #B3D12D;
  --color--dark-gray-brand: #374548;
  
  --color--green-500: #25A249;
  
  --color--purple-100: #f0dff6;
  --color--purple-500: #d7c4de;
  --color--purple-900: #ae8fba;
  
  --color--red-500: #DA1E28;

  --color--yellow-500: #F1C21B;

  --color--white-500: #ffffff;
  
  --color--primary-base: var(--color--neon-green-50);
  --color--primary-dark: var(--color--neon-green-100);
  --color--primary-light: var(--color--blue-100);
  
  --color--accent-base: var(--color--neon-green-50);
  --color--accent-dark: var(--color--neon-green-100);
  --color--accent-light: var(--color--dark-gray-brand);
  
  --color--background-base: var(--color--gray-90);
  --color--background-light: var(--color--gray-20);
  --color--background-x-light: var(--color--white-500);
  --color--background-dark: var(--color--dark-gray-brand);
  --color--background-x-dark: var(--color--gray-100);
  
  --color--ui-danger-light: var(--color--red-100);
  --color--ui-danger-base: var(--color--red-500);
  --color--ui-danger-dark: var(--color--red-900);
  --color--ui-danger: var(--color--red-500);
  --color--ui-success: var(--color--green-500);
  --color--ui-warning: var(--color--yellow-500);
  
  --color--text: var(--color--gray-20);
  --color--text-light: var(--color--white-500);
  --color--text-inverse: var(--color--gray-90);
  --color--link: var(--color--primary-base);
  --color--link-hover: var(--color--primary-dark);
  
  --font-size--25: 0.75rem;
  --font-size--50: 0.875rem;
  --font-size--100: 1rem;
  --font-size--200: 1.25rem;
  --font-size--300: 1.5rem;
  --font-size--400: 2.25rem;
  --font-size--500: 3.75rem;
  
  --font-size--body: var(--font-size--100);
  --font-size--small: var(--font-size--50);
  --font-size--x-small: var(--font-size--25);
  --font-size--ui: var(--font-size--100);
  --font-size--button: var(--font-size--200);
  --font-size--section-title: var(--font-size--200);
  --font-size--subheader: var(--font-size--300);
  --font-size--header: var(--font-size--400);
  --font-size--display: var(--font-size--500);
  
  --font-weight--normal: 400;
  --font-weight--bold: 700;

  --font-family--body: "Nunito Sans", "Arial", "Helvetica", sans-serif;
  --font-family--display: "DIN Condensed", "Arial Narrow", sans-serif;
  
  --line-height--base: 1.5;
  --line-height--tight: 1.2;
  
  --border-radius--small: 0.25rem;
  --border-radius--base: 0.5rem;
  --border-radius--large: 1.5rem;
  --border-radius--pill: 4rem;
  --border-radius--circle: 100%;
  
  --border-width--base: 1px;
  --border-width--thick: 4px;
  
  --border--base: var(--border-width--base) solid var(--color--gray-60);
  --border--light: var(--border-width--base) solid var(--color--gray-50);
  --border--dark: var(--border-width--base) solid var(--color--primary-base);
  
  --container--base: 50rem;
  --container--large: 85rem;
  
  --space--xx-small: 0.25rem;
  --space--x-small: 0.5rem;
  --space--small: 0.75rem;
  --space--base: 1rem;
  --space--medium: 1.5rem;
  --space--large: 2rem;
  --space--x-large: 3rem;
  --space--xx-large: 4rem;
  
  --transition-duration--base: 0.2s;
  --transition-timing--base: ease-in-out;
  
  --z-index--basement: -999999;
  --z-index--base: 1;
  --z-index--layout: 1000;
  --z-index--modal: 4000;
  --z-index--ceiling: 999999;
}

/*@font-face {
  font-display: swap ;
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  src: url("./fonts/InterVariable.woff2") format("woff2");
}*/

@font-face {
  font-display: swap;
  font-family: "DIN Condensed";
  font-style: normal;
  font-weight: 700;
  src: url("/assets/DIN_Condensed_bold-09848e41.ttf") format("truetype");
}

/* Base */

html {
 @media screen and (prefers-reduced-motion: no-preference) {
    scroll-behavior: smooth;
  }
}

.button {
  align-items: center;
  border: var(--border-width--base) solid transparent;
  border-radius: var(--border-radius--pill);
  cursor: pointer;
  display: flex;
  font-family: var(--font-family--display);
  font-weight: var(--font-weight--bold);
  font-size: var(--font-size--button);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  gap: var(--space--x-small);
  justify-content: center;
  line-height: 1;
  padding: calc(var(--space--small) + 0.1em) var(--space--medium) calc(var(--space--small) - 0.1em);
  text-align: center;
  text-decoration: none;
  transition-duration: var(--transition-duration--base);
  transition-property: background-color, color;
  transition-timing-function: var(--transition-timing--base);
  
  &:focus-visible {
    outline: var(--border-width--thick) solid var(--color--primary-base);
    outline-offset: 2px;
  }
}

.button--primary {
  background-color: var(--color--primary-base);
  color: var(--color--text-inverse);

  &:hover,
  &:focus-visible {
    background-color: var(--color--primary-dark);
  }
}

.button--secondary {
  background-color: var(--color--background-base);
  border-color: var(--color--primary-base);
  color: var(--color--text);

  &:hover,
  &:focus-visible {
    background-color: var(--color--primary-dark);
    color: var(--color--text-inverse);
  }
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.button--small {
  padding: calc(var(--space--x-small) + 0.1em) var(--space--small) calc(var(--space--x-small) - 0.1em);
}

.button--full-width {
  width: 100%;
}

details {
  display: flex;
  flex-direction: column;
  gap: var(--space--small);

  &[open] summary:after {
    transform: rotate(90deg);
  }

  p:not(:last-of-type) {
    margin-bottom: var(--space--small);
  }

  [dir="rtl"] &:not([open]) summary:after {
    transform: rotate(180deg);
  }
}

summary {
  align-items: center;
  align-self: start;
  cursor: pointer;
  display: flex;
  font-weight: var(--font-weight--bold);
  gap: var(--space--x-small);
  list-style: none;

  &::-webkit-details-marker {
    display: none;
  }
  &:after {
    --size: var(--space--small);

    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="6" height="12" fill="none"><path fill="%2332314C" d="M1.01 11.16a.946.946 0 0 1-.554-.182 1.065 1.065 0 0 1-.368-.484 1.16 1.16 0 0 1-.056-.623c.038-.21.133-.402.273-.553L3.59 5.766.305 2.214a1.085 1.085 0 0 1-.224-.35A1.154 1.154 0 0 1 .292.676.996.996 0 0 1 .62.44a.933.933 0 0 1 .772.007 1 1 0 0 1 .324.242l3.992 4.315c.187.202.292.476.292.762 0 .286-.105.56-.292.763l-3.992 4.315a.961.961 0 0 1-.706.316Z"/></svg>');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
    display: block;
    height: var(--size);
    transition: var(--transition-duration--base) transform
      var(--transition-timing--base);
    width: var(--size);
  }
}

:is(
  button,
  input[type="checkbox"],
  input[type="radio"],
  input[type="range"],
  select
) {
  cursor: pointer;
}

:is(
  input,
  label,
  select
) {
  display: block;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

form {
  display: flex;
  flex-direction: column;
  gap: var(--space--base);
}

.form__wide {
  max-width: 30rem;
  width: 100%;
}

fieldset > *:not(:last-child) {
 margin-bottom: var(--space--base);
}

:is(
  input,
  textarea,
  select
) {
  accent-color: var(--color--primary-base);
  border: var(--border--light);

  &:focus {
    outline: var(--border-width--base) solid var(--color--primary-base);
  }

  &:user-invalid {
    border-color: var(--color--ui-danger-base);
    outline: var(--border-width--base) solid var(--color--ui-danger-base);
  }

  &[readonly] {
    border-color: transparent;
    padding-inline-start: 0;
    padding-top: 0;

    &:focus {
      padding-inline-start: var(--space--small);
      padding-top: var(--space--small);
    }
  }
}

:is(
  input[type="email"],
  input[type="password"],
) {
  width: 100%;
}

:where(
  input:not([type]),
  select,
  textarea,
  [type="color"],
  [type="date"],
  [type="datetime"],
  [type="datetime-local"],
  [type="email"],
  [type="month"],
  [type="month"],
  [type="number"],
  [type="password"],
  [type="search"],
  [type="tel"],
  [type="text"],
  [type="time"],
  [type="url"],
  [type="week"]
) {
  background-color: var(--color--dark-gray-brand);
  border-radius: var(--border-radius--pill);
  color: var(--color--text);
  padding: var(--space--small);
}

label:has(
    input:not([type]),
    select,
    textarea,
    [type="color"],
    [type="date"],
    [type="datetime"],
    [type="datetime-local"],
    [type="email"],
    [type="month"],
    [type="number"],
    [type="password"],
    [type="search"],
    [type="tel"],
    [type="text"],
    [type="time"],
    [type="url"],
    [type="week"]
  ) {
  display: flex;
  flex-direction: column;
  gap: var(--space--x-small);
}

label:has([type="radio"], [type="checkbox"]) {
  align-items: center;
  display: flex;
  gap: var(--space--x-small);
  justify-self: start;
}

label:has(
  input[required],
  select[required],
  textarea[required]
) > span::after,
.fieldset-required > legend::after {
  content: "*";
  margin-inline-start: var(--space--xx-small);
}

textarea {
  resize: vertical;
}

:where(select) {
  appearance: none;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="6" fill="none"><path fill="%2332314C" fill-rule="evenodd" d="M.65.63A.875.875 0 0 1 1.885.602L4.828 3.42 7.77.603a.875.875 0 1 1 1.21 1.264l-3.374 3.23a1.125 1.125 0 0 1-1.556 0L.676 1.868A.875.875 0 0 1 .649.629Z" clip-rule="evenodd"/></svg>');
  background-position: calc(100% - var(--space--small)) center;
  background-repeat: no-repeat;
  background-size: var(--space--small);

  [dir="rtl"] & {
    background-position: var(--space--small) center;
  }
}

:where([type="search"])::-webkit-search-cancel-button {
  appearance: none;
  background-image: url('data:image/svg+xml,<svg width="11" height="11" viewBox="0 0 11 11" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6.01629 5.99568L9.79098 2.22099C9.86057 2.15553 9.9163 2.07677 9.95487 1.98937C9.99345 1.90197 10.0141 1.80772 10.0155 1.71219C10.017 1.61667 9.99927 1.52183 9.96338 1.43329C9.9275 1.34475 9.8742 1.26432 9.80665 1.19677C9.7391 1.12922 9.65867 1.07592 9.57013 1.04003C9.48159 1.00415 9.38675 0.986415 9.29122 0.987876C9.1957 0.989338 9.10144 1.00997 9.01405 1.04854C8.92665 1.08712 8.84788 1.14285 8.78243 1.21244L5.00774 4.98713L1.23305 1.21244C1.09931 1.0787 0.917915 1.00356 0.728776 1.00356C0.539636 1.00356 0.358244 1.0787 0.224502 1.21244C0.0907603 1.34618 0.015625 1.52758 0.015625 1.71671C0.015625 1.90585 0.0907603 2.08725 0.224502 2.22099L3.99919 5.99568L0.224502 9.77037C0.0907603 9.90411 0.015625 10.0855 0.015625 10.2746C0.015625 10.4638 0.0907603 10.6452 0.224502 10.7789C0.358244 10.9127 0.539636 10.9878 0.728776 10.9878C0.917915 10.9878 1.09931 10.9127 1.23305 10.7789L5.00774 7.00423L8.78243 10.7789C8.91617 10.9127 9.09756 10.9878 9.2867 10.9878C9.47584 10.9878 9.65724 10.9127 9.79098 10.7789C9.92472 10.6452 9.99985 10.4638 9.99985 10.2746C9.99985 10.0855 9.92472 9.90411 9.79098 9.77037L6.01629 5.99568Z" fill="%2332314C"/></svg>');
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
  height: var(--space--small);
  width: var(--space--small);
}

:where(input[type="range"]) {
  appearance: none;
  background-color: var(--color--background-base);
  border: 0;
  border-radius: var(--border-radius--base);
  height: var(--border-width--thick);
  width: 100%;

  &:focus {
    background-color: var(--color--primary-base);
    outline: none;
  }
}

label:has(input[type="range"]) {
  gap: var(--space--base);
}

[type="range"]::-webkit-slider-thumb {
  --size: var(--space--large);
  
  appearance: none;
  background-color: var(--color--background-base);
  background-image: url('data:image/svg+xml,<svg width="16" height="9" viewBox="0 0 16 9" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4.65812 9C4.43757 8.99995 4.22607 8.90521 4.07014 8.73662L0.743499 5.14104C0.587587 4.97247 0.5 4.74388 0.5 4.50552C0.5 4.26717 0.587587 4.03857 0.743499 3.87L4.07014 0.274422C4.14686 0.188569 4.23862 0.120089 4.34009 0.0729785C4.44156 0.0258683 4.55069 0.0010711 4.66111 3.39396e-05C4.77154 -0.00100322 4.88105 0.0217402 4.98326 0.0669374C5.08547 0.112135 5.17833 0.17888 5.25641 0.26328C5.3345 0.34768 5.39625 0.448043 5.43807 0.558514C5.47988 0.668985 5.50093 0.787352 5.49997 0.906706C5.49901 1.02606 5.47607 1.14401 5.43248 1.25368C5.38889 1.36335 5.32554 1.46254 5.2461 1.54546L2.50745 4.50552L5.2461 7.46559C5.36238 7.5913 5.44156 7.75145 5.47363 7.92579C5.50571 8.10014 5.48924 8.28084 5.42631 8.44507C5.36337 8.6093 5.25681 8.74967 5.12007 8.84845C4.98334 8.94722 4.82258 8.99996 4.65812 9Z" fill="%2332314C"/><path d="M11.3419 9C11.1774 8.99996 11.0167 8.94722 10.8799 8.84845C10.7432 8.74967 10.6366 8.6093 10.5737 8.44507C10.5108 8.28084 10.4943 8.10014 10.5264 7.92579C10.5584 7.75145 10.6376 7.5913 10.7539 7.46559L13.4926 4.50552L10.7539 1.54546C10.6745 1.46254 10.6111 1.36335 10.5675 1.25368C10.5239 1.14401 10.501 1.02606 10.5 0.906706C10.4991 0.787352 10.5201 0.668985 10.5619 0.558514C10.6037 0.448043 10.6655 0.34768 10.7436 0.26328C10.8217 0.17888 10.9145 0.112135 11.0167 0.0669374C11.1189 0.0217402 11.2285 -0.00100322 11.3389 3.39396e-05C11.4493 0.0010711 11.5584 0.0258683 11.6599 0.0729785C11.7614 0.120089 11.8531 0.188569 11.9299 0.274422L15.2565 3.87C15.4124 4.03857 15.5 4.26717 15.5 4.50552C15.5 4.74388 15.4124 4.97247 15.2565 5.14104L11.9299 8.73662C11.7739 8.90521 11.5624 8.99995 11.3419 9Z" fill="%2332314C"/></svg>');
  background-position: center;
  background-repeat: no-repeat;
  border: var(--border--base);
  border-radius: var(--border-radius--circle);
  height: var(--size);
  width: var(--size);
}

[type="range"]::-moz-range-thumb {
  --size: var(--space--large);

  background-color: var(--color--background-base);
  background-image: url('data:image/svg+xml,<svg width="16" height="9" viewBox="0 0 16 9" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4.65812 9C4.43757 8.99995 4.22607 8.90521 4.07014 8.73662L0.743499 5.14104C0.587587 4.97247 0.5 4.74388 0.5 4.50552C0.5 4.26717 0.587587 4.03857 0.743499 3.87L4.07014 0.274422C4.14686 0.188569 4.23862 0.120089 4.34009 0.0729785C4.44156 0.0258683 4.55069 0.0010711 4.66111 3.39396e-05C4.77154 -0.00100322 4.88105 0.0217402 4.98326 0.0669374C5.08547 0.112135 5.17833 0.17888 5.25641 0.26328C5.3345 0.34768 5.39625 0.448043 5.43807 0.558514C5.47988 0.668985 5.50093 0.787352 5.49997 0.906706C5.49901 1.02606 5.47607 1.14401 5.43248 1.25368C5.38889 1.36335 5.32554 1.46254 5.2461 1.54546L2.50745 4.50552L5.2461 7.46559C5.36238 7.5913 5.44156 7.75145 5.47363 7.92579C5.50571 8.10014 5.48924 8.28084 5.42631 8.44507C5.36337 8.6093 5.25681 8.74967 5.12007 8.84845C4.98334 8.94722 4.82258 8.99996 4.65812 9Z" fill="%2332314C"/><path d="M11.3419 9C11.1774 8.99996 11.0167 8.94722 10.8799 8.84845C10.7432 8.74967 10.6366 8.6093 10.5737 8.44507C10.5108 8.28084 10.4943 8.10014 10.5264 7.92579C10.5584 7.75145 10.6376 7.5913 10.7539 7.46559L13.4926 4.50552L10.7539 1.54546C10.6745 1.46254 10.6111 1.36335 10.5675 1.25368C10.5239 1.14401 10.501 1.02606 10.5 0.906706C10.4991 0.787352 10.5201 0.668985 10.5619 0.558514C10.6037 0.448043 10.6655 0.34768 10.7436 0.26328C10.8217 0.17888 10.9145 0.112135 11.0167 0.0669374C11.1189 0.0217402 11.2285 -0.00100322 11.3389 3.39396e-05C11.4493 0.0010711 11.5584 0.0258683 11.6599 0.0729785C11.7614 0.120089 11.8531 0.188569 11.9299 0.274422L15.2565 3.87C15.4124 4.03857 15.5 4.26717 15.5 4.50552C15.5 4.74388 15.4124 4.97247 15.2565 5.14104L11.9299 8.73662C11.7739 8.90521 11.5624 8.99995 11.3419 9Z" fill="%2332314C"/></svg>');
  background-position: center;
  background-repeat: no-repeat;
  border: var(--border--base);
  border-radius: var(--border-radius--circle);
  height: var(--size);
  width: var(--size);
}

[type="range"]:is(:active, :focus)::-webkit-slider-thumb {
  background-color: var(--color--primary-base);
  background-image: url('data:image/svg+xml,<svg width="16" height="9" viewBox="0 0 16 9" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4.65812 9C4.43757 8.99995 4.22607 8.90521 4.07014 8.73662L0.743499 5.14104C0.587587 4.97247 0.5 4.74388 0.5 4.50552C0.5 4.26717 0.587587 4.03857 0.743499 3.87L4.07014 0.274422C4.14686 0.188569 4.23862 0.120089 4.34009 0.0729785C4.44156 0.0258683 4.55069 0.0010711 4.66111 3.39396e-05C4.77154 -0.00100322 4.88105 0.0217402 4.98326 0.0669374C5.08547 0.112135 5.17833 0.17888 5.25641 0.26328C5.3345 0.34768 5.39625 0.448043 5.43807 0.558514C5.47988 0.668985 5.50093 0.787352 5.49997 0.906706C5.49901 1.02606 5.47607 1.14401 5.43248 1.25368C5.38889 1.36335 5.32554 1.46254 5.2461 1.54546L2.50745 4.50552L5.2461 7.46559C5.36238 7.5913 5.44156 7.75145 5.47363 7.92579C5.50571 8.10014 5.48924 8.28084 5.42631 8.44507C5.36337 8.6093 5.25681 8.74967 5.12007 8.84845C4.98334 8.94722 4.82258 8.99996 4.65812 9Z" fill="%23FFFFFF"/><path d="M11.3419 9C11.1774 8.99996 11.0167 8.94722 10.8799 8.84845C10.7432 8.74967 10.6366 8.6093 10.5737 8.44507C10.5108 8.28084 10.4943 8.10014 10.5264 7.92579C10.5584 7.75145 10.6376 7.5913 10.7539 7.46559L13.4926 4.50552L10.7539 1.54546C10.6745 1.46254 10.6111 1.36335 10.5675 1.25368C10.5239 1.14401 10.501 1.02606 10.5 0.906706C10.4991 0.787352 10.5201 0.668985 10.5619 0.558514C10.6037 0.448043 10.6655 0.34768 10.7436 0.26328C10.8217 0.17888 10.9145 0.112135 11.0167 0.0669374C11.1189 0.0217402 11.2285 -0.00100322 11.3389 3.39396e-05C11.4493 0.0010711 11.5584 0.0258683 11.6599 0.0729785C11.7614 0.120089 11.8531 0.188569 11.9299 0.274422L15.2565 3.87C15.4124 4.03857 15.5 4.26717 15.5 4.50552C15.5 4.74388 15.4124 4.97247 15.2565 5.14104L11.9299 8.73662C11.7739 8.90521 11.5624 8.99995 11.3419 9Z" fill="%23FFFFFF"/></svg>');
}

[type="range"]:is(:active, :focus)::-moz-range-thumb {
  background-color: var(--color--primary-base);
  background-image: url('data:image/svg+xml,<svg width="16" height="9" viewBox="0 0 16 9" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4.65812 9C4.43757 8.99995 4.22607 8.90521 4.07014 8.73662L0.743499 5.14104C0.587587 4.97247 0.5 4.74388 0.5 4.50552C0.5 4.26717 0.587587 4.03857 0.743499 3.87L4.07014 0.274422C4.14686 0.188569 4.23862 0.120089 4.34009 0.0729785C4.44156 0.0258683 4.55069 0.0010711 4.66111 3.39396e-05C4.77154 -0.00100322 4.88105 0.0217402 4.98326 0.0669374C5.08547 0.112135 5.17833 0.17888 5.25641 0.26328C5.3345 0.34768 5.39625 0.448043 5.43807 0.558514C5.47988 0.668985 5.50093 0.787352 5.49997 0.906706C5.49901 1.02606 5.47607 1.14401 5.43248 1.25368C5.38889 1.36335 5.32554 1.46254 5.2461 1.54546L2.50745 4.50552L5.2461 7.46559C5.36238 7.5913 5.44156 7.75145 5.47363 7.92579C5.50571 8.10014 5.48924 8.28084 5.42631 8.44507C5.36337 8.6093 5.25681 8.74967 5.12007 8.84845C4.98334 8.94722 4.82258 8.99996 4.65812 9Z" fill="%23FFFFFF"/><path d="M11.3419 9C11.1774 8.99996 11.0167 8.94722 10.8799 8.84845C10.7432 8.74967 10.6366 8.6093 10.5737 8.44507C10.5108 8.28084 10.4943 8.10014 10.5264 7.92579C10.5584 7.75145 10.6376 7.5913 10.7539 7.46559L13.4926 4.50552L10.7539 1.54546C10.6745 1.46254 10.6111 1.36335 10.5675 1.25368C10.5239 1.14401 10.501 1.02606 10.5 0.906706C10.4991 0.787352 10.5201 0.668985 10.5619 0.558514C10.6037 0.448043 10.6655 0.34768 10.7436 0.26328C10.8217 0.17888 10.9145 0.112135 11.0167 0.0669374C11.1189 0.0217402 11.2285 -0.00100322 11.3389 3.39396e-05C11.4493 0.0010711 11.5584 0.0258683 11.6599 0.0729785C11.7614 0.120089 11.8531 0.188569 11.9299 0.274422L15.2565 3.87C15.4124 4.03857 15.5 4.26717 15.5 4.50552C15.5 4.74388 15.4124 4.97247 15.2565 5.14104L11.9299 8.73662C11.7739 8.90521 11.5624 8.99995 11.3419 9Z" fill="%23FFFFFF"/></svg>');
}

:where(ul, ol)[class] {
  list-style: none;
  margin: 0;
  padding: 0;
}

dl {
  dt {
    font-weight: var(--font-weight--bold);
  }

  dd {
    margin-inline-start: 0;

    &:not(:last-of-type) {
      margin-bottom: var(--space--base);
    }
  }
}

.logo {
  display: block;
  width: 122px;
  height: 38px;
}

:where(
  audio,
  canvas,
  iframe,
  img,
  figure,
  picture,
  video
) {
  display: block;
  height: auto;
  margin: 0;
  width: 100%;
}

iframe {
  border: 0;
}

svg:not([fill]) {
  fill: currentColor;
}

dialog {
  background-color: var(--color--background-base);
  border: var(--border--base);
  border-radius: var(--border-radius--base);
  color: var(--color--text);
  flex-direction: column;
  gap: var(--space--base);
  max-width: var(--container--base);
  width: calc(100% - var(--space--base));
  
  &[open] {
    display: flex;
  }

  &[open]::backdrop {
    background-color: color-mix(
      in srgb,
      var(--color--primary-base),
      transparent 10%
    );
  }
}

dialog button[data-dialogClose] {
  align-self: flex-end;
}

dialog.slide-in {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  margin-bottom: 0;
  transform: translateY(100%);
  transition:
    calc(var(--transition-duration--base) * 2) var(--transition-timing--base)
      transform,
    display var(--transition-duration--base) var(--transition-timing--base)
      allow-discrete,
    overlay var(--transition-duration--base) var(--transition-timing--base)
      allow-discrete;

  &::backdrop {
    transition:
      overlay var(--transition-duration--base) allow-discrete,
      display var(--transition-duration--base) allow-discrete,
      var(--transition-duration--base) background-color
        var(--transition-timing--base);
  }

  &[open] {
    transform: translateY(0);
    transition: calc(var(--transition-duration--base) * 2)
      var(--transition-timing--base) transform;

    @starting-style {
      transform: translateY(100%);

      &::backdrop {
        background-color: transparent;
      }

      @media screen and (prefers-reduced-motion: reduce) {
        transform: translateY(0);
      }
    }
  }
}

table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;

  p {
    margin: 0;
  }
}

:where(thead, tbody) :where(th, td) {
  border-inline-end: var(--border--base);
  border-bottom: var(--border--base);
  padding: var(--space--small);
}

:where(tfoot) td, caption {
  font-weight: var(--font-weight--bold);
  padding: var(--space--xx-small) var(--space--small);
  text-align: start;
}

:where(thead, tbody) :where(th, td):first-child {
  border-inline-start: var(--border--base);
}

th {
  background-color: var(--color--background-dark);
  border-top: var(--border--base);
  font-size: var(--font-size--small);
  font-weight: var(--font-weight--bold);
  text-align: start;
}

tbody {
  background-color: var(--color--background-x-light);
  color: var(--color--text-inverse);
}

tr:first-child th:first-child {
  border-top-left-radius: var(--border-radius--base);
}

tr:first-child th:last-child {
  border-top-right-radius: var(--border-radius--base);
}

tr:last-child td:first-child {
  border-bottom-left-radius: var(--border-radius--base);
}

tr:last-child td:last-child {
  border-bottom-right-radius: var(--border-radius--base);
}

.table--striped tbody tr:nth-child(even) {
  background-color: var(--color--background-x-light);
}

.table-outer-wrapper {
  display: flex;
}

.table-inner-wrapper {
  overflow-x: auto;
  flex: 1 1 0%;
  margin-bottom: var(--space--base);
  width: 1rem;
}

html {
  font-size: 100%;
  -webkit-font-smoothing: antialiased;
}

body {
  color: var(--color--text);
  font-family: var(--font-family--body);
  font-size: var(--font-size--body);
  font-weight: var(--font-weight--normal);
  line-height: var(--line-height--base);
}

:where(
  h1,
  h2,
  h3,
  h4,
  strong
) {
  font-weight: var(--font-weight--bold);
}

:where(h1, h2, h3, h4) {
  font-family: var(--font-family--display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1 {
  text-wrap: balance;
  text-wrap: pretty;
}

a {
  color: var(--color--link);
  transition: var(--transition-duration--base) color var(--transition-timing--base);
  
  &:hover {
    color: var(--color--link-hover);
  }
}

label {
  font-size: var(--font-size--ui);
  font-weight: var(--font-weight--normal);
  text-align: start;
}

input {
  font-size: var(--font-size--body);
}

legend {
  font-size: var(--font-size--body);
  font-weight: var(--font-weight--bold);
}

hr {
  border: var(--border--light);
  width: 100%;
}

table {
  font-variant-numeric: tabular-nums lining-nums slashed-zero;
}

code {
  font-variant-numeric: slashed-zero;
}

.small {
  font-size: var(--font-size--small);
}

.highlighted-text {
  font-size: var(--font-size--section-title);
  font-weight: var(--font-weight--bold);
  color: var(--color--primary-base);
  margin-bottom: var(--space--medium);
}

/* Components */

.badge {
  display: inline-block;
  padding: var(--space--xx-small) var(--space--x-small);
  border-radius: var(--border-radius--pill);
  font-size: var(--font-size--small);
  font-weight: var(--font-weight--bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
}

.badge--success {
  background-color: var(--color--ui-success);
  color: var(--color--text-light);
}

.badge--warning {
  background-color: var(--color--ui-warning);
  color: var(--color--text-inverse);
}

.badge--danger {
  background-color: var(--color--ui-danger);
  color: var(--color--text-light);
}

.badge--neutral {
  background-color: var(--color--gray-20);
  color: var(--color--text-inverse);
}

body {
  background-color: var(--color--background-base);
}

.bulleted-list ul {
  list-style: none;
}

.bulleted-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space--small);
  padding: var(--space--small) 0;
  line-height: 1.5;
}

 .bulleted-list--red li::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #f48e8e;
  margin-top: 7px;
}

.container {
  padding: var(--space--large);
}

.container--centered-narrow {
  max-width: 50rem;
  margin: 0 auto;
}

.faq-page h2 {
  margin-top: var(--space--large);
  padding-bottom: var(--space--x-small);
  border-bottom: var(--border--dark);
}

.faq-page h3 {
  margin-top: var(--space--medium);
}

.download-app__badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space--base);
  flex-wrap: wrap;
}

.download-app__badge {
  display: block;
  transition: transform var(--transition-duration--base) var(--transition-timing--base);
}

.download-app__badge:hover {
  transform: scale(1.05);
}

.download-app__badge img {
  height: 48px;
  width: auto;
}

/* Google Play badge has extra padding baked in, so we scale it up to match App Store */
.download-app__badge--google-play img {
  height: 70px;
  margin: -11px 0;
}

.flash {
  position: fixed;
  top: var(--space--base);
  left: var(--space--base);
  padding: var(--space--base) var(--space--medium);
  border-radius: var(--border-radius--base);
  font-size: var(--font-size--body);
  z-index: var(--z-index--modal);
  animation: flash-slide-in-out 5s forwards;
}

@keyframes flash-slide-in-out {
  0% { opacity: 0; transform: translateX(-100%); }
  5% { opacity: 1; transform: translateX(0); }
  80% { opacity: 1; transform: translateX(0); }
  100% { opacity: 0; transform: translateX(-100%); pointer-events: none; }
}

.flash--notice {
  background-color: var(--color--ui-success);
  color: var(--color--text-inverse);
}

.flash--alert {
  background-color: var(--color--ui-danger);
  color: var(--color--text-inverse);
}

.page--v-centered {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
}

.series-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space--base) 0;
}

.series-nav a {
  display: flex;
  align-items: center;
  gap: var(--space--x-small);
  padding: var(--space--x-small) var(--space--small);
  color: var(--color--gray-900);
  font-size: var(--font-size--ui);
  text-decoration: none;
  transition-duration: var(--transition-duration--base);
  transition-property: color;
  transition-timing-function: var(--transition-timing--base);
}

.series-nav a:not([aria-disabled="true"]):hover,
.series-nav a:not([aria-disabled="true"]):focus-visible {
  color: var(--color--text);
}

.series-nav a:focus-visible {
  outline: var(--border-width--thick) solid var(--color--primary-base);
  outline-offset: 2px;
}

/* Disabled links (previous on first page, next on last page) */
.series-nav a[aria-disabled="true"] {
  cursor: default;
  opacity: 0.5;
}

/* Current page - with top bar indicator */
.series-nav a[aria-current="page"] {
  position: relative;
  color: var(--color--text);
  cursor: default;
}

.series-nav a[aria-current="page"]::before {
  content: "";
  position: absolute;
  top: calc(-1 * var(--space--x-small));
  left: 50%;
  transform: translateX(-50%);
  width: 1.5rem;
  height: 3px;
  background-color: var(--color--primary-base);
  border-radius: var(--border-radius--small);
}

/* Gap separator */
.series-nav a[role="separator"] {
  cursor: default;
}

/* Previous/Next wrapper for left/right positioning */
.series-nav a:first-child {
  margin-right: auto;
}

.series-nav a:last-child {
  margin-left: auto;
}

/* Page numbers container - centered */
.series-nav a:not(:first-child):not(:last-child) {
  flex-shrink: 0;
}

.sidebar {
  height: calc(100vh - var(--space--medium) * 2);
  text-align: center;
  width: 17rem;
}

.sidebar__logo {
  display: block;
  margin: 0 auto;
  width: 150px;
}

.sidebar__account-name {
  font-size: 1.1rem;
  word-break: break-word;
}

.small-dimmed-text {
  font-size: var(--font-size--x-small);
  color: var(--color--gray-60);
}

.step-list {
  list-style: none;
  counter-reset: steps;
}

.step-list li {
  counter-increment: steps;
  display: flex;
  align-items: flex-start;
  gap: var(--space--base);
  padding: var(--space--medium) 0;
  border-bottom: var(--border--base);
}

.step-list li:last-child {
  border-bottom: none;
}

.step-number {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--color--gray-100);
  border: var(--border--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.step-content h3 {
  color: #fff;
  margin-bottom: var(--space--xx-small);
  margin-top: var(--space--xx-small);
}

.step-content p {
  margin: 0;
}

.well {
  background-color: var(--color--dark-gray-brand);
  border-radius: var(--border-radius--base);
  padding: var(--space--medium);
}

.well--dark {
  background-color: var(--color--background-x-dark);
}

.well--max-width-32 {
  max-width: 32rem;;
}

/* Utilities */

/* Display */
.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

/* Direction */
.flex-row {
  flex-direction: row;
}

.flex-row-reverse {
  flex-direction: row-reverse;
}

.flex-col {
  flex-direction: column;
}

.flex-col-reverse {
  flex-direction: column-reverse;
}

/* Wrap */
.flex-wrap {
  flex-wrap: wrap;
}

.flex-nowrap {
  flex-wrap: nowrap;
}

.flex-wrap-reverse {
  flex-wrap: wrap-reverse;
}

/* Justify Content */
.justify-start {
  justify-content: flex-start;
}

.justify-end {
  justify-content: flex-end;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-around {
  justify-content: space-around;
}

.justify-evenly {
  justify-content: space-evenly;
}

/* Align Items */
.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

.items-center {
  align-items: center;
}

.items-baseline {
  align-items: baseline;
}

.items-stretch {
  align-items: stretch;
}

/* Align Self */
.self-auto {
  align-self: auto;
}

.self-start {
  align-self: flex-start;
}

.self-end {
  align-self: flex-end;
}

.self-center {
  align-self: center;
}

.self-baseline {
  align-self: baseline;
}

.self-stretch {
  align-self: stretch;
}

/* Align Content */
.content-start {
  align-content: flex-start;
}

.content-end {
  align-content: flex-end;
}

.content-center {
  align-content: center;
}

.content-between {
  align-content: space-between;
}

.content-around {
  align-content: space-around;
}

.content-stretch {
  align-content: stretch;
}

/* Flex Grow / Shrink */
.flex-1 {
  flex: 1 1 0%;
}

.flex-auto {
  flex: 1 1 auto;
}

.flex-initial {
  flex: 0 1 auto;
}

.flex-none {
  flex: none;
}

.grow {
  flex-grow: 1;
}

/* Gap utilities
 * Sizes: xx-small, x-small, small, base, medium, large, x-large, xx-large
 */

.gap-xx-small { gap: var(--space--xx-small); }
.gap-x-small  { gap: var(--space--x-small); }
.gap-small    { gap: var(--space--small); }
.gap-base     { gap: var(--space--base); }
.gap-medium   { gap: var(--space--medium); }
.gap-large    { gap: var(--space--large); }
.gap-x-large  { gap: var(--space--x-large); }
.gap-xx-large { gap: var(--space--xx-large); }

.grow-0 {
  flex-grow: 0;
}

.shrink {
  flex-shrink: 1;
}

.shrink-0 {
  flex-shrink: 0;
}

.u-hide-visually {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(100%);
  height: 1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.u-hide-visually--focus-unhide:focus {
  clip: auto;
  clip-path: none;
  height: auto;
  overflow: visible;
  white-space: inherit;
  width: auto;
  padding: var(--space--small) var(--space--medium);
  position: absolute;
  text-align: center;
  z-index: calc(var(--z-index--layout) + 1);
}

/* Margin utilities
 * Sizes: 0, auto, xx-small, x-small, small, base, medium, large, x-large, xx-large
 * Sides: (all), t (top), r (right), b (bottom), l (left), x (horizontal), y (vertical)
 */

/* All sides */
.m-0         { margin: 0; }
.m-auto      { margin: auto; }
.m-xx-small  { margin: var(--space--xx-small); }
.m-x-small   { margin: var(--space--x-small); }
.m-small     { margin: var(--space--small); }
.m-base      { margin: var(--space--base); }
.m-medium    { margin: var(--space--medium); }
.m-large     { margin: var(--space--large); }
.m-x-large   { margin: var(--space--x-large); }
.m-xx-large  { margin: var(--space--xx-large); }

/* Top */
.m-t-0         { margin-top: 0; }
.m-t-auto      { margin-top: auto; }
.m-t-xx-small  { margin-top: var(--space--xx-small); }
.m-t-x-small   { margin-top: var(--space--x-small); }
.m-t-small     { margin-top: var(--space--small); }
.m-t-base      { margin-top: var(--space--base); }
.m-t-medium    { margin-top: var(--space--medium); }
.m-t-large     { margin-top: var(--space--large); }
.m-t-x-large   { margin-top: var(--space--x-large); }
.m-t-xx-large  { margin-top: var(--space--xx-large); }

/* Right */
.m-r-0         { margin-right: 0; }
.m-r-auto      { margin-right: auto; }
.m-r-xx-small  { margin-right: var(--space--xx-small); }
.m-r-x-small   { margin-right: var(--space--x-small); }
.m-r-small     { margin-right: var(--space--small); }
.m-r-base      { margin-right: var(--space--base); }
.m-r-medium    { margin-right: var(--space--medium); }
.m-r-large     { margin-right: var(--space--large); }
.m-r-x-large   { margin-right: var(--space--x-large); }
.m-r-xx-large  { margin-right: var(--space--xx-large); }

/* Bottom */
.m-b-0         { margin-bottom: 0; }
.m-b-auto      { margin-bottom: auto; }
.m-b-xx-small  { margin-bottom: var(--space--xx-small); }
.m-b-x-small   { margin-bottom: var(--space--x-small); }
.m-b-small     { margin-bottom: var(--space--small); }
.m-b-base      { margin-bottom: var(--space--base); }
.m-b-medium    { margin-bottom: var(--space--medium); }
.m-b-large     { margin-bottom: var(--space--large); }
.m-b-x-large   { margin-bottom: var(--space--x-large); }
.m-b-xx-large  { margin-bottom: var(--space--xx-large); }

/* Left */
.m-l-0         { margin-left: 0; }
.m-l-auto      { margin-left: auto; }
.m-l-xx-small  { margin-left: var(--space--xx-small); }
.m-l-x-small   { margin-left: var(--space--x-small); }
.m-l-small     { margin-left: var(--space--small); }
.m-l-base      { margin-left: var(--space--base); }
.m-l-medium    { margin-left: var(--space--medium); }
.m-l-large     { margin-left: var(--space--large); }
.m-l-x-large   { margin-left: var(--space--x-large); }
.m-l-xx-large  { margin-left: var(--space--xx-large); }

/* Horizontal (left + right) */
.m-x-0         { margin-left: 0; margin-right: 0; }
.m-x-auto      { margin-left: auto; margin-right: auto; }
.m-x-xx-small  { margin-left: var(--space--xx-small); margin-right: var(--space--xx-small); }
.m-x-x-small   { margin-left: var(--space--x-small); margin-right: var(--space--x-small); }
.m-x-small     { margin-left: var(--space--small); margin-right: var(--space--small); }
.m-x-base      { margin-left: var(--space--base); margin-right: var(--space--base); }
.m-x-medium    { margin-left: var(--space--medium); margin-right: var(--space--medium); }
.m-x-large     { margin-left: var(--space--large); margin-right: var(--space--large); }
.m-x-x-large   { margin-left: var(--space--x-large); margin-right: var(--space--x-large); }
.m-x-xx-large  { margin-left: var(--space--xx-large); margin-right: var(--space--xx-large); }

/* Vertical (top + bottom) */
.m-y-0         { margin-top: 0; margin-bottom: 0; }
.m-y-auto      { margin-top: auto; margin-bottom: auto; }
.m-y-xx-small  { margin-top: var(--space--xx-small); margin-bottom: var(--space--xx-small); }
.m-y-x-small   { margin-top: var(--space--x-small); margin-bottom: var(--space--x-small); }
.m-y-small     { margin-top: var(--space--small); margin-bottom: var(--space--small); }
.m-y-base      { margin-top: var(--space--base); margin-bottom: var(--space--base); }
.m-y-medium    { margin-top: var(--space--medium); margin-bottom: var(--space--medium); }
.m-y-large     { margin-top: var(--space--large); margin-bottom: var(--space--large); }
.m-y-x-large   { margin-top: var(--space--x-large); margin-bottom: var(--space--x-large); }
.m-y-xx-large  { margin-top: var(--space--xx-large); margin-bottom: var(--space--xx-large); }

.m-0-auto {
  margin: 0 auto;
}

/* Padding utilities
 * Sizes: 0, xx-small, x-small, small, base, medium, large, x-large, xx-large
 * Sides: (all), t (top), r (right), b (bottom), l (left), x (horizontal), y (vertical)
 */

/* All sides */
.p-0         { padding: 0; }
.p-xx-small  { padding: var(--space--xx-small); }
.p-x-small   { padding: var(--space--x-small); }
.p-small     { padding: var(--space--small); }
.p-base      { padding: var(--space--base); }
.p-medium    { padding: var(--space--medium); }
.p-large     { padding: var(--space--large); }
.p-x-large   { padding: var(--space--x-large); }
.p-xx-large  { padding: var(--space--xx-large); }

/* Top */
.p-t-0         { padding-top: 0; }
.p-t-xx-small  { padding-top: var(--space--xx-small); }
.p-t-x-small   { padding-top: var(--space--x-small); }
.p-t-small     { padding-top: var(--space--small); }
.p-t-base      { padding-top: var(--space--base); }
.p-t-medium    { padding-top: var(--space--medium); }
.p-t-large     { padding-top: var(--space--large); }
.p-t-x-large   { padding-top: var(--space--x-large); }
.p-t-xx-large  { padding-top: var(--space--xx-large); }

/* Right */
.p-r-0         { padding-right: 0; }
.p-r-xx-small  { padding-right: var(--space--xx-small); }
.p-r-x-small   { padding-right: var(--space--x-small); }
.p-r-small     { padding-right: var(--space--small); }
.p-r-base      { padding-right: var(--space--base); }
.p-r-medium    { padding-right: var(--space--medium); }
.p-r-large     { padding-right: var(--space--large); }
.p-r-x-large   { padding-right: var(--space--x-large); }
.p-r-xx-large  { padding-right: var(--space--xx-large); }

/* Bottom */
.p-b-0         { padding-bottom: 0; }
.p-b-xx-small  { padding-bottom: var(--space--xx-small); }
.p-b-x-small   { padding-bottom: var(--space--x-small); }
.p-b-small     { padding-bottom: var(--space--small); }
.p-b-base      { padding-bottom: var(--space--base); }
.p-b-medium    { padding-bottom: var(--space--medium); }
.p-b-large     { padding-bottom: var(--space--large); }
.p-b-x-large   { padding-bottom: var(--space--x-large); }
.p-b-xx-large  { padding-bottom: var(--space--xx-large); }

/* Left */
.p-l-0         { padding-left: 0; }
.p-l-xx-small  { padding-left: var(--space--xx-small); }
.p-l-x-small   { padding-left: var(--space--x-small); }
.p-l-small     { padding-left: var(--space--small); }
.p-l-base      { padding-left: var(--space--base); }
.p-l-medium    { padding-left: var(--space--medium); }
.p-l-large     { padding-left: var(--space--large); }
.p-l-x-large   { padding-left: var(--space--x-large); }
.p-l-xx-large  { padding-left: var(--space--xx-large); }

/* Horizontal (left + right) */
.p-x-0         { padding-left: 0; padding-right: 0; }
.p-x-xx-small  { padding-left: var(--space--xx-small); padding-right: var(--space--xx-small); }
.p-x-x-small   { padding-left: var(--space--x-small); padding-right: var(--space--x-small); }
.p-x-small     { padding-left: var(--space--small); padding-right: var(--space--small); }
.p-x-base      { padding-left: var(--space--base); padding-right: var(--space--base); }
.p-x-medium    { padding-left: var(--space--medium); padding-right: var(--space--medium); }
.p-x-large     { padding-left: var(--space--large); padding-right: var(--space--large); }
.p-x-x-large   { padding-left: var(--space--x-large); padding-right: var(--space--x-large); }
.p-x-xx-large  { padding-left: var(--space--xx-large); padding-right: var(--space--xx-large); }

/* Vertical (top + bottom) */
.p-y-0         { padding-top: 0; padding-bottom: 0; }
.p-y-xx-small  { padding-top: var(--space--xx-small); padding-bottom: var(--space--xx-small); }
.p-y-x-small   { padding-top: var(--space--x-small); padding-bottom: var(--space--x-small); }
.p-y-small     { padding-top: var(--space--small); padding-bottom: var(--space--small); }
.p-y-base      { padding-top: var(--space--base); padding-bottom: var(--space--base); }
.p-y-medium    { padding-top: var(--space--medium); padding-bottom: var(--space--medium); }
.p-y-large     { padding-top: var(--space--large); padding-bottom: var(--space--large); }
.p-y-x-large   { padding-top: var(--space--x-large); padding-bottom: var(--space--x-large); }
.p-y-xx-large  { padding-top: var(--space--xx-large); padding-bottom: var(--space--xx-large); }

.width-100 {
  width: 100%;
}

.height-100 {
  height: 100%;
}

.text-center {
  text-align: center;
}

/* Pages */

.dashboard__main {
  flex-grow: 1;
  overflow-y: auto;
  max-height: 100vh;
}

.dashboard__sidebar {
  height: 100vh;
}

.cable-status-banner {
  background-color: var(--color--ui-danger-base);
  color: var(--color--white-500);
  text-align: center;
  padding: var(--space--small) var(--space--base);
  font-weight: bold;
}

.dashboard__search {
  margin-bottom: var(--space--medium);
}

.dashboard__search-form {
  flex-direction: row;
  gap: 0;
}

.dashboard__search-input-wrapper {
  position: relative;
  flex: 1;
}

.dashboard__search-input-wrapper input[type="search"] {
  box-sizing: border-box;
  width: 100%;
  padding-right: 2.5rem;
  border-radius: var(--border-radius--base) 0 0 var(--border-radius--base);
}

.dashboard__search-input-wrapper input[type="search"]::-webkit-search-cancel-button {
  display: none;
}

.dashboard__search-clear {
  position: absolute;
  right: var(--space--small);
  top: 50%;
  transform: translateY(-50%);
  color: var(--color--gray-40);
  font-size: 1.25rem;
  line-height: 1;
  text-decoration: none;
}

.dashboard__search-clear:hover {
  color: var(--color--gray-20);
}

.dashboard__search-submit {
  flex-shrink: 0;
  background: none;
  border: var(--border--light);
  border-left: none;
  border-radius: 0 var(--border-radius--base) var(--border-radius--base) 0;
  padding: 0 var(--space--small);
  color: var(--color--gray-40);
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
}

.dashboard__search-submit:hover {
  color: var(--color--gray-20);
}

.dashboard__search-submit.is-loading {
  color: transparent;
  position: relative;
  pointer-events: none;
}

.dashboard__search-submit.is-loading::after {
  content: "";
  position: absolute;
  width: 1em;
  height: 1em;
  top: 50%;
  left: 50%;
  margin: -0.5em 0 0 -0.5em;
  border: 2px solid var(--color--gray-40);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: var(--space--medium) auto;
}

.form-page__form {
  width: 100%;
}

@media (min-width: 768px) {
  .form-page {
    max-width: 50vw;
  }
}

@media (min-width: 1024px) {
  .form-page {
    max-width: 25vw;
  }
}

.clickable-row {
  cursor: pointer;
}

.clickable-row:hover {
  background-color: var(--color--gray-10);
}

.detail-list {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: var(--space--x-small) var(--space--medium);
  margin: 0;
}

.detail-list dt {
  font-weight: 600;
  color: var(--color--gray-40);
}

.detail-list dd {
  margin: 0;
}

.event-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space--x-small);
}

/* Generous enough for ~10 events before a scrollbar kicks in */
.event-list--scrollable {
  max-height: 20rem;
  overflow-y: auto;
}

.event-list__item {
  display: flex;
  gap: var(--space--small);
  align-items: baseline;
}

.event-list__time {
  min-width: 9rem;
}

.roster-panel {
  border: 1px solid var(--color--gray-70);
}

.roster-enrichment {
  font-weight: normal;
}

.roster-enrichment--heading {
  display: block;
  font-family: var(--font-family--body);
  font-size: var(--font-size--200);
  font-weight: normal;
  color: var(--color--gray-40);
  letter-spacing: 0;
  text-transform: none;
  margin-top: var(--space--xx-small);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space--x-small);
  margin-bottom: var(--space--large);
  color: var(--color--link);
  text-decoration: none;
  font-size: var(--font-size--small);
}

.back-link:hover {
  text-decoration: underline;
}

.back-link__arrow {
  font-size: 1.1em;
  line-height: 1;
}

.dashboard__topbar {
  display: flex;
  justify-content: flex-end;
  padding: var(--space--small) 0;
}

.dropdown {
  position: relative;
}

.dropdown__panel[hidden] {
  display: none;
}

.dropdown__panel {
  position: absolute;
  top: calc(100% + var(--space--x-small));
  right: 0;
  min-width: 18rem;
  z-index: var(--z-index--layout);
  display: flex;
  flex-direction: column;
  gap: var(--space--small);
  padding: var(--space--medium);
  border: var(--border--light);
}

.dropdown__section {
  display: flex;
  flex-direction: column;
  gap: var(--space--x-small);
}

.dropdown__section-label {
  font-weight: 600;
  margin: 0;
}

.dropdown__divider {
  border: none;
  border-top: 1px solid var(--color--gray-70);
  margin: 0;
}

/* Weekly school hours form (shared by the school-admin dashboard panel and
   the internal admin edit page - see app/views/school_hours/_form.html.erb).
   Note: the admin page renders under Administrate's own layout, which does
   NOT load this stylesheet - see the matching <style> block in
   app/views/admin/school_hours/edit.html.erb, kept in sync with these rules. */
.school-hours__row {
  display: flex;
  align-items: center;
  gap: var(--space--small);
  margin-bottom: var(--space--medium);
}

.school-hours__day-label {
  min-width: 6rem;
  font-weight: bold;
}

.school-hours__open-toggle {
  display: flex;
  align-items: center;
  gap: var(--space--xx-small);
  font-weight: normal;
  min-width: 5rem;
}

.school-hours__time {
  max-width: 10rem;
}

/* Timeline chart */
.timeline-bar {
  display: flex;
  height: 1.5rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  background: var(--color--gray-90);
  flex: 1;
}

.timeline-bar--compact {
  height: 0.75rem;
  min-width: 6rem;
}


.timeline-bar__segment { flex-shrink: 0; }
.timeline-bar__segment--compliant     { background: #4caf82; }
.timeline-bar__segment--non_compliant { background: var(--color--ui-danger); }
.timeline-bar__segment--unreachable   { background: var(--color--ui-warning); }
.timeline-bar__segment--not_active    { background: var(--color--gray-70); }

/* Time outside this day's own school hours (e.g. an early-dismissal day),
   once bars share one axis spanning the week's earliest start/latest end.
   A hatch pattern reads as "not applicable" rather than another state. */
:root {
  --timeline-spacer-pattern: repeating-linear-gradient(
    45deg,
    var(--color--gray-90) 0,
    var(--color--gray-90) 4px,
    var(--color--gray-80) 4px,
    var(--color--gray-80) 8px
  );
}

.timeline-bar__segment--spacer { background: var(--timeline-spacer-pattern); }

/* For today, segments stop at "now" rather than the day's actual
   window_end - this fills the still-within-school-hours remainder plainly
   (no hatch), so it isn't mistaken for the outside-school-hours spacer. */
.timeline-bar__segment--pending { background: transparent; }

.timeline-chart__labels {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space--xx-small);
  flex: 1;
}

.timeline-chart__label-tick {
  font-size: var(--font-size--small);
  color: var(--color--gray-40);
  display: flex;
  flex: 1;
}

.timeline-chart__week-row {
  display: flex;
  align-items: center;
  gap: var(--space--small);
  margin-bottom: var(--space--x-small);
}

.timeline-chart__day-label {
  min-width: 3.5rem;
  font-size: var(--font-size--small);
  color: var(--color--gray-40);
}

.timeline-chart__legend {
  display: flex;
  gap: var(--space--medium);
}

.timeline-chart__legend-item {
  font-size: var(--font-size--small);
  display: flex;
  align-items: center;
  gap: var(--space--xx-small);
}

.timeline-chart__legend-item::before {
  content: "";
  display: inline-block;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 2px;
}

.timeline-chart__legend-item--compliant::before     { background: #4caf82; }
.timeline-chart__legend-item--non_compliant::before { background: var(--color--ui-danger); }
.timeline-chart__legend-item--unreachable::before   { background: var(--color--ui-warning); }
.timeline-chart__legend-item--not_active::before    { background: var(--color--gray-70); }
.timeline-chart__legend-item--spacer::before        { background: var(--timeline-spacer-pattern); }

/* State breakdown donut chart */
.state-breakdown-chart {
  display: inline-block;
}

.state-breakdown-chart svg {
  display: block;
}

.state-breakdown-chart__segment {
  fill: none;
  stroke-width: 21;
}

.state-breakdown-chart__segment--compliant     { stroke: #4caf82; }
.state-breakdown-chart__segment--non_compliant { stroke: var(--color--ui-danger); }
.state-breakdown-chart__segment--unreachable   { stroke: var(--color--ui-warning); }
.state-breakdown-chart__segment--not_active    { stroke: var(--color--gray-70); }

/* Multiple donuts side by side (Stats page), sharing one legend below */
.state-breakdown-charts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space--large);
  max-width: 75%;
  margin-left: auto;
  margin-right: auto;
}

.state-breakdown-charts__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space--small);
  flex: 1 1 0;
  min-width: 160px;
  max-width: 220px;
}

.state-breakdown-charts__item .state-breakdown-chart {
  width: 100%;
}

.state-breakdown-charts__item .state-breakdown-chart svg {
  width: 100%;
  height: auto;
}

.state-breakdown-charts__item-label {
  font-size: var(--font-size--small);
  color: var(--color--gray-40);
}

/* Legend shown as a hover/focus popup, for tight spaces like the dashboard sidebar */
.state-breakdown-chart-popup {
  position: relative;
  display: flex;
  justify-content: center;
}

.state-breakdown-chart-popup__legend {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: var(--space--x-small);
  z-index: var(--z-index--layout);
  gap: var(--space--x-small);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-duration--base) var(--transition-timing--base);
}

.state-breakdown-chart-popup:hover .state-breakdown-chart-popup__legend,
.state-breakdown-chart-popup:focus-within .state-breakdown-chart-popup__legend {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* School counts line chart (Stats page) */
.school-counts-chart {
  max-width: 75%;
  margin-left: auto;
  margin-right: auto;
}

.school-counts-chart svg {
  display: block;
  width: 100%;
  height: auto;
}

.school-counts-chart__axis {
  fill: none;
  stroke: var(--color--gray-70);
  stroke-width: 1;
}

.school-counts-chart__gridline {
  fill: none;
  stroke: var(--color--gray-90);
  stroke-width: 1;
}

.school-counts-chart__y-label {
  font-size: var(--font-size--small);
  fill: var(--color--gray-40);
  text-anchor: end;
  dominant-baseline: middle;
}

.school-counts-chart__line {
  fill: none;
  stroke-width: 2;
}

.school-counts-chart__line--checked-in   { stroke: var(--color--primary-base); }
.school-counts-chart__line--non-compliant { stroke: var(--color--ui-danger); }
.school-counts-chart__line--registered   {
  stroke: var(--color--gray-40);
  stroke-dasharray: 4 3;
}

.school-counts-chart__marker--checked-in    { fill: var(--color--primary-base); }
.school-counts-chart__marker--non-compliant { fill: var(--color--ui-danger); }

.school-counts-chart__day-label {
  font-size: var(--font-size--x-small);
  fill: var(--color--gray-40);
  text-anchor: middle;
}

.school-counts-chart__legend {
  display: flex;
  gap: var(--space--medium);
  margin-top: var(--space--small);
}

.school-counts-chart__legend-item {
  font-size: var(--font-size--small);
  display: flex;
  align-items: center;
  gap: var(--space--xx-small);
}

.school-counts-chart__legend-item::before {
  content: "";
  display: inline-block;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 2px;
}

.school-counts-chart__legend-item--checked-in::before    { background: var(--color--primary-base); }
.school-counts-chart__legend-item--non-compliant::before { background: var(--color--ui-danger); }
.school-counts-chart__legend-item--registered::before    { background: var(--color--gray-40); }

/* Today's state-count line chart (Stats page) - shares .school-counts-chart's
   container/axis/gridline/label rules above, only needs its own line colors. */
.today-state-chart__line {
  fill: none;
  stroke-width: 2;
}

.today-state-chart__line--compliant     { stroke: #4caf82; }
.today-state-chart__line--non_compliant { stroke: var(--color--ui-danger); }
.today-state-chart__line--unreachable   { stroke: var(--color--ui-warning); }
.today-state-chart__line--not_active    { stroke: var(--color--gray-70); }

/* Device status history chart (Stats page) - shares .school-counts-chart's
   container/axis/gridline/label rules above. Today draws as 4 solid,
   full-opacity lines reusing .today-state-chart__line--* directly above,
   so today looks exactly like the old standalone "Today so far" chart did.
   The prior school day draws its compliant/non_compliant/unreachable
   lines in those exact same colors, just dashed and slightly faded -
   combined on each polyline as `today-state-chart__line--<state>
   device-status-history-chart__line--history` - so color always means
   the same state on both lines, and solid-vs-dashed is the only thing
   that distinguishes "today" from "last school day" (not a second,
   unrelated color scale). */
.device-status-history-chart__line--history {
  fill: none;
  stroke-width: 1.5;
  stroke-dasharray: 4 3;
  opacity: 0.7;
}

.device-status-history-chart__legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space--medium);
  margin-top: var(--space--x-small);
}

.device-status-history-chart__legend-item {
  font-size: var(--font-size--small);
  opacity: 0.7;
  display: flex;
  align-items: center;
  gap: var(--space--xx-small);
}

.device-status-history-chart__legend-item::before {
  content: "";
  display: inline-block;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 2px;
}

.device-status-history-chart__legend-item--compliant::before     { background: #4caf82; }
.device-status-history-chart__legend-item--non_compliant::before { background: var(--color--ui-danger); }
.device-status-history-chart__legend-item--unreachable::before   { background: var(--color--ui-warning); }

/* Hovering a line or its legend item (both carry [data-series], set by
   device_status_history_chart_controller.js) raises that one series above
   the rest of the stack - see the controller for the reordering logic. */
[data-series] {
  cursor: pointer;
}
