/* Tailwind Preflight plain CSS version */

/* Reset box sizing, margins, and borders */
*,
::after,
::before,
::backdrop,
::file-selector-button {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid;
}

/* Base HTML adjustments */
html,
:host {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  font-family: ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  font-feature-settings: normal;
  font-variation-settings: normal;
  -webkit-tap-highlight-color: transparent;
}

/* Horizontal rules */
hr {
  height: 0;
  color: inherit;
  border-top-width: 1px;
}

/* Abbreviations */
abbr[title] {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/* Links */
a {
  color: inherit;
  text-decoration: inherit;
}

/* Bold text */
b,
strong {
  font-weight: bolder;
}

/* Monospace text */
code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
  font-feature-settings: normal;
  font-variation-settings: normal;
  font-size: 1em;
}

/* Small text */
small {
  font-size: 80%;
}

/* Sub/sup alignment */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}

/* Tables */
table {
  text-indent: 0;
  border-color: inherit;
  border-collapse: collapse;
}

/* Focus ring */
:-moz-focusring {
  outline: auto;
}

/* Progress elements */
progress {
  vertical-align: baseline;
}

/* Summary elements */
summary {
  display: list-item;
}

/* Lists */
ol,
ul,
menu {
  list-style: none;
}

/* Replaced elements */
img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  vertical-align: middle;
}

/* Media scaling */
img,
video {
  max-width: 100%;
  height: auto;
}

/* Form elements */
button,
input,
select,
optgroup,
textarea,
::file-selector-button {
  font: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  letter-spacing: inherit;
  color: inherit;
  border-radius: 0;
  background-color: transparent;
  opacity: 1;
}

/* Select & optgroup */
select[multiple],
select[size],
optgroup {
  font-weight: bolder;
}
select[multiple] option,
select[size] option {
  padding-inline-start: 20px;
}

/* File selector */
::file-selector-button {
  margin-inline-end: 4px;
}

/* Placeholder text */
::placeholder {
  opacity: 1;
  color: rgba(0, 0, 0, 0.4);
}

/* Textareas */
textarea {
  resize: vertical;
}

/* Search inputs */
::-webkit-search-decoration {
  -webkit-appearance: none;
}

/* Date/time inputs */
::-webkit-date-and-time-value {
  min-height: 1lh;
  text-align: inherit;
}
::-webkit-datetime-edit {
  display: inline-flex;
}
::-webkit-datetime-edit-fields-wrapper {
  padding: 0;
}
::-webkit-datetime-edit,
::-webkit-datetime-edit-year-field,
::-webkit-datetime-edit-month-field,
::-webkit-datetime-edit-day-field,
::-webkit-datetime-edit-hour-field,
::-webkit-datetime-edit-minute-field,
::-webkit-datetime-edit-second-field,
::-webkit-datetime-edit-millisecond-field,
::-webkit-datetime-edit-meridiem-field {
  padding-block: 0;
}

/* Calendar picker indicator */
::-webkit-calendar-picker-indicator {
  line-height: 1;
}

/* Firefox invalid state */
:-moz-ui-invalid {
  box-shadow: none;
}

/* Buttons */
button,
input[type='button'],
input[type='reset'],
input[type='submit'],
::file-selector-button {
  appearance: button;
}

/* Spin buttons */
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/* Hidden attribute */
[hidden]:not([hidden='until-found']) {
  display: none !important;
}