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

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

:where(html) {
  tab-size:2;

  -webkit-text-size-adjust:none;
  color-scheme:dark light;
  scrollbar-gutter:stable;
  }

:where(html:has(dialog:modal[open])) {
  overflow:clip;
  }

@media (prefers-reduced-motion: no-preference) {
  :where(html:focus-within) {
    scroll-behavior:smooth;
    }
  }

:where(body) {
  font-family:system-ui, sans-serif;
  line-height:1.5;

  -webkit-font-smoothing:antialiased;
  }

:where(input, button, textarea, select) {
  font:inherit;
  color:inherit;
  }

:where(textarea) {
  resize:vertical;
  resize:block;
  }

:where(button, label, select, summary, [role='button'], [role='option']) {
  cursor:pointer;
  }

:where(:disabled) {
  cursor:not-allowed;
  }


:where(a) {
  color:inherit;

  text-underline-offset:0.2ex;
  }

:where(ul, ol) {
  list-style:none;
  }

:where(img, svg, video, canvas, audio, iframe, embed, object) {
  display:block;
  }

:where(img, picture, svg, video) {
  max-inline-size:100%;
  block-size:auto;
  }
:where(img) {
  max-width:100%;
  height:auto;
  object-fit:cover;
  }
:where(p, h1, h2, h3, h4, h5, h6) {
  overflow-wrap:break-word;
  }

:where(h1, h2, h3) {
  line-height:calc(1em + 0.5rem);
  text-wrap:balance;
  }

:where(hr) {
  overflow:visible;
  color:inherit;
  border:none;

  border-block-start:1px solid;
  block-size:0;
  }

:where(dialog) {
  max-width:unset;
  max-height:unset;
  border:none;
  background:none;

  inset:unset;
  }

:where(dialog:not([open], [popover])) {
  display:none !important;
  }

:where([popover]) {
  color:inherit;
  border:none;
  background:none;

  inset:unset;
  }

:where([popover]:not(:popover-open)) {
  display:none !important;
  }

:where(:focus-visible) {
  outline:3px solid CanvasText;
  outline-offset:1px;
  box-shadow:0 0 0 5px Canvas;
  }

:where(:focus-visible, :target) {
  scroll-margin-block:8vh;
  }

:where(.visually-hidden:not(:focus-within, :active)) {
  position:absolute !important;
  overflow:hidden !important;
  width:1px !important;
  height:1px !important;
  user-select:none !important;
  white-space:nowrap !important;
  border:0 !important;

  clip-path:inset(50%) !important;
  }