@charset "UTF-8";

*,
*::after,
*::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:where(:focus-visible) {
  outline-offset: 3px;
}

:where(html) {
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  line-height: 1.5;
  scrollbar-gutter: stable;
  overflow-x: hidden;
}

:where(body) {
  overflow-x: hidden;
}

:where(h1) {
  margin: 0;
}

:where(abbr[title]) {
  cursor: help;
  text-decoration-line: underline;
  text-decoration-style: dotted;
}

@media (forced-colors: active) {
  :where(mark) {
    color: HighlightText;
    background-color: Highlight;
  }
}

:where(audio, iframe, img, svg, video) {
  max-block-size: 100%;
  max-inline-size: 100%;
}

:where(fieldset) {
  min-inline-size: 0;
}

:where(label):has(+ :where(input:not([type="radio"], [type="checkbox"]), select, textarea)) {
  display: block;
}

:where(textarea:not([rows])) {
  min-block-size: 6em;
}

:where(button, input, select, textarea) {
  font-family: inherit;
  font-size: inherit;
  width: 100%;
}

:where([type="search"]) {
  -webkit-appearance: textfield;
}

/* iOS only */
@supports (-webkit-touch-callout: none) {
  :where([type="search"]) {
    border: 1px solid -apple-system-secondary-label;
    background-color: canvas;
  }
}

:where(input):where([type="tel"], [type="url"], [type="email"], [type="number"]):not( :placeholder-shown) {
  direction: ltr;
}

:where(table) {
  border-collapse: collapse;
  border: none;
}

:where(th, td) {
  border: none;
  padding: 0;
  vertical-align: top;
}

:where(dialog)::backdrop {
  background: oklch(0% 0 0 / 0.3);
}

:where(dialog, [popover]),
:where(dialog)::backdrop {
  opacity: 0;
  transition: opacity 150ms ease-out, display 150ms allow-discrete,
    overlay 150ms allow-discrete;
}

:where(dialog[open], :popover-open),
:where(dialog[open])::backdrop {
  opacity: 1;
}

@starting-style {

  :where(dialog[open], :popover-open),
  :where(dialog[open])::backdrop {
    opacity: 0;
  }
}

[hidden]:not([hidden="until-found"]) {
  display: none !important;
}

:where(img) {
  display: block;
  max-width: 100%;
}

:where(summary) {
  cursor: default;
}

:where(iframe) {
  border: none;
}

:where(ul) {
  list-style: none;
  margin: 0;
  padding: 0;
}