@layer reset {
/* =============================================================================
   @elements/style — reset (inside @layer reset)

   Minimal, opinionated. Kill browser-default margins, normalize box-sizing,
   make media block-level. The defining principle: this layer can't fight
   the components layer because it's earlier in the cascade order.
============================================================================= */

*, ::before, ::after {
  box-sizing:   border-box;
  border-width: 0;
  border-style: solid;
  border-color: currentColor;
}

* {
  margin:  0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: var(--space-6);
}

body {
  min-height: 100vh;
  min-height: 100dvh;
}

button, input, optgroup, select, textarea {
  font-family: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
}

button, [role="button"] {
  cursor: pointer;
}
button:disabled, [role="button"][aria-disabled="true"] {
  cursor: not-allowed;
}
button {
  background: transparent;
  background-image: none;
}

ol, ul, menu {
  list-style: none;
}

img, svg, video, canvas, audio, iframe, embed, object {
  display: block;
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  text-indent: 0;
  border-color: inherit;
}

a {
  color: inherit;
  text-decoration: inherit;
}

input, textarea, select {
  background-color: transparent;
}

[type="search"] {
  -webkit-appearance: none;
  appearance: none;
  outline-offset: -2px;
}
::-webkit-search-decoration { -webkit-appearance: none; }
::-webkit-file-upload-button { -webkit-appearance: button; font: inherit; }

textarea { resize: vertical; }

::placeholder {
  opacity: 1;
}

[hidden] { display: none !important; }

:focus { outline: none; }

hr {
  height: 0;
  color: inherit;
  border-top-width: 1px;
}

abbr[title] {
  text-decoration: underline dotted;
  cursor: help;
}

code, kbd, samp, pre {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.95em;
}

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

fieldset { min-width: 0; }
legend   { padding: 0; }

}
