/*
 * The base the old site was designed on: Tailwind's preflight reset and the @tailwindcss/forms
 * base styles, taken from the stylesheet jaris.io served on 2026-09-29 (Tailwind is MIT). Only
 * element, attribute and pseudo selectors: no utility classes. `--form-*` are the forms plugin's
 * focus-ring variables, local to the rules that set them.
 */
*,
:before,
:after {
  box-sizing: border-box;
  border: 0 solid;
}

html,
:host {
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  font-feature-settings: normal;
  font-variation-settings: normal;
  -webkit-tap-highlight-color: transparent;
  font-family:
    Open Sans,
    sans-serif;
  line-height: 1.5;
}

body {
  line-height: inherit;
  margin: 0;
}

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

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

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

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp,
pre {
  font-feature-settings: normal;
  font-variation-settings: normal;
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    Liberation Mono,
    Courier New,
    monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

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

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

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

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

button,
select {
  text-transform: none;
}

button,
input:where([type="button"]),
input:where([type="reset"]),
input:where([type="submit"]) {
  -webkit-appearance: button;
  background-color: #0000;
  background-image: none;
}

:-moz-focusring {
  outline: auto;
}

:-moz-ui-invalid {
  box-shadow: none;
}

progress {
  vertical-align: baseline;
}

::-webkit-inner-spin-button {
  height: auto;
}

::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

summary {
  display: list-item;
}

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

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

dialog {
  padding: 0;
}

textarea {
  resize: vertical;
}

input::-moz-placeholder {
  opacity: 1;
  color: #9ca3af;
}

textarea::-moz-placeholder {
  opacity: 1;
  color: #9ca3af;
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  color: #9ca3af;
}

button,
[role="button"] {
  cursor: pointer;
}

:disabled {
  cursor: default;
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  vertical-align: middle;
  display: block;
}

img,
video {
  max-width: 100%;
  height: auto;
}

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

input:where([type="text"]),
input:where(:not([type])),
input:where([type="email"]),
input:where([type="url"]),
input:where([type="password"]),
input:where([type="number"]),
input:where([type="date"]),
input:where([type="datetime-local"]),
input:where([type="month"]),
input:where([type="search"]),
input:where([type="tel"]),
input:where([type="time"]),
input:where([type="week"]),
select:where([multiple]),
textarea,
select {
  appearance: none;
  --form-shadow: 0 0 #0000;
  background-color: #fff;
  border-width: 1px;
  border-color: #6b7280;
  border-radius: 0;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5rem;
}

input:where([type="text"]):focus,
input:where(:not([type])):focus,
input:where([type="email"]):focus,
input:where([type="url"]):focus,
input:where([type="password"]):focus,
input:where([type="number"]):focus,
input:where([type="date"]):focus,
input:where([type="datetime-local"]):focus,
input:where([type="month"]):focus,
input:where([type="search"]):focus,
input:where([type="tel"]):focus,
input:where([type="time"]):focus,
input:where([type="week"]):focus,
select:where([multiple]):focus,
textarea:focus,
select:focus {
  outline-offset: 2px;
  --form-ring-inset: var(--form-empty,);
  --form-ring-offset-width: 0px;
  --form-ring-offset-color: #fff;
  --form-ring-color: #2563eb;
  --form-ring-offset-shadow: var(--form-ring-inset) 0 0 0 var(--form-ring-offset-width)
    var(--form-ring-offset-color);
  --form-ring-shadow: var(--form-ring-inset) 0 0 0 calc(1px + var(--form-ring-offset-width))
    var(--form-ring-color);
  box-shadow:
    var(--form-ring-offset-shadow),
    var(--form-ring-shadow),
    0 0 #0000;
  border-color: #2563eb;
  outline: 2px solid #0000;
}

input::-moz-placeholder {
  color: #6b7280;
  opacity: 1;
}

textarea::-moz-placeholder {
  color: #6b7280;
  opacity: 1;
}

input::placeholder,
textarea::placeholder {
  color: #6b7280;
  opacity: 1;
}

::-webkit-datetime-edit-fields-wrapper {
  padding: 0;
}

::-webkit-date-and-time-value {
  min-height: 1.5em;
  text-align: inherit;
}

::-webkit-datetime-edit {
  display: inline-flex;
}

::-webkit-datetime-edit {
  padding-top: 0;
  padding-bottom: 0;
}

::-webkit-datetime-edit-year-field {
  padding-top: 0;
  padding-bottom: 0;
}

::-webkit-datetime-edit-month-field {
  padding-top: 0;
  padding-bottom: 0;
}

::-webkit-datetime-edit-day-field {
  padding-top: 0;
  padding-bottom: 0;
}

::-webkit-datetime-edit-hour-field {
  padding-top: 0;
  padding-bottom: 0;
}

::-webkit-datetime-edit-minute-field {
  padding-top: 0;
  padding-bottom: 0;
}

::-webkit-datetime-edit-second-field {
  padding-top: 0;
  padding-bottom: 0;
}

::-webkit-datetime-edit-millisecond-field {
  padding-top: 0;
  padding-bottom: 0;
}

::-webkit-datetime-edit-meridiem-field {
  padding-top: 0;
  padding-bottom: 0;
}

select {
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
}

select:where([multiple]),
select:where([size]:not([size="1"])) {
  background-image: initial;
  background-position: initial;
  background-repeat: unset;
  background-size: initial;
  -webkit-print-color-adjust: unset;
  print-color-adjust: unset;
  padding-right: 0.75rem;
}

input:where([type="checkbox"]),
input:where([type="radio"]) {
  appearance: none;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
  vertical-align: middle;
  -webkit-user-select: none;
  user-select: none;
  color: #2563eb;
  --form-shadow: 0 0 #0000;
  background-color: #fff;
  background-origin: border-box;
  border-width: 1px;
  border-color: #6b7280;
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  padding: 0;
  display: inline-block;
}

input:where([type="checkbox"]) {
  border-radius: 0;
}

input:where([type="radio"]) {
  border-radius: 100%;
}

input:where([type="checkbox"]):focus,
input:where([type="radio"]):focus {
  outline-offset: 2px;
  --form-ring-inset: var(--form-empty,);
  --form-ring-offset-width: 2px;
  --form-ring-offset-color: #fff;
  --form-ring-color: #2563eb;
  --form-ring-offset-shadow: var(--form-ring-inset) 0 0 0 var(--form-ring-offset-width)
    var(--form-ring-offset-color);
  --form-ring-shadow: var(--form-ring-inset) 0 0 0 calc(2px + var(--form-ring-offset-width))
    var(--form-ring-color);
  box-shadow:
    var(--form-ring-offset-shadow),
    var(--form-ring-shadow),
    0 0 #0000;
  outline: 2px solid #0000;
}

input:where([type="checkbox"]):checked,
input:where([type="radio"]):checked {
  background-color: currentColor;
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  border-color: #0000;
}

input:where([type="checkbox"]):checked {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
}

input:where([type="radio"]):checked {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");
}

input:where([type="checkbox"]):checked:hover,
input:where([type="checkbox"]):checked:focus,
input:where([type="radio"]):checked:hover,
input:where([type="radio"]):checked:focus {
  background-color: currentColor;
  border-color: #0000;
}

input:where([type="checkbox"]):indeterminate {
  background-color: currentColor;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  border-color: #0000;
}

input:where([type="checkbox"]):indeterminate:hover,
input:where([type="checkbox"]):indeterminate:focus {
  background-color: currentColor;
  border-color: #0000;
}

input:where([type="file"]) {
  background: unset;
  border-color: inherit;
  font-size: unset;
  line-height: inherit;
  border-width: 0;
  border-radius: 0;
  padding: 0;
}

input:where([type="file"]):focus {
  outline: 1px solid buttontext;
  /* biome-ignore lint/suspicious/noDuplicateProperties: a fallback for browsers without -webkit-focus-ring-color, as the forms plugin ships it. */
  outline: 1px auto -webkit-focus-ring-color;
}

html {
  color: var(--c-black);
}
