/*!
 * Bootstrap Reboot v5.3.0 (https://getbootstrap.com/)
 * Copyright 2011-2023 The Bootstrap Authors
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
 */

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

@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font-family: var(--rui-font-sans);
  font-size: var(--rui-font-size-m);
  font-weight: var(--rui-font-weight-normal);
  line-height: var(--rui-line-height-m);
  color: var(--rui-color-text-primary);
  text-align: start;
  background-color: var(--rui-color-background-tertiary);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

hr {
  margin: var(--rui-gap-m) 0;
  color: inherit;
  border: 0;
  border-top: var(--rui-border-width-m) solid;
  opacity: 0.25;
}

h1,
h2,
h3 {
  margin-bottom: var(--rui-gap-m);
  margin-top: 0;
  font-weight: var(--rui-font-weight-semibold);
  color: var(--rui-heading-color);
}

h4,
h5,
h6 {
  margin-bottom: var(--rui-gap-m);
  margin-top: 0;
  font-weight: var(--rui-font-weight-semibold);
  color: var(--rui-heading-color);
}

h1 {
  font-size: var(--rui-font-size-x3l);
}

h2 {
  font-size: var(--rui-font-size-x2l);
}

h3 {
  font-size: var(--rui-font-size-xl);
}

h4 {
  font-size: var(--rui-font-size-l);
}

h5 {
  font-size: var(--rui-font-size-m);
}

h6 {
  font-size: var(--rui-font-size-s);
}

p {
  margin-top: 0;
  margin-bottom: var(--rui-gap-m);
}

abbr[title] {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
  cursor: help;
  -webkit-text-decoration-skip-ink: none;
  text-decoration-skip-ink: none;
}

address {
  margin-bottom: var(--rui-gap-m);
  font-style: normal;
  line-height: inherit;
}

ol,
ul {
  padding-left: var(--rui-gap-m);
}

ol,
ul,
dl {
  margin-top: 0;
  margin-bottom: var(--rui-gap-m);
}

ol ol,
ul ul,
ol ul,
ul ol {
  margin-bottom: 0;
}

dt {
  font-weight: 700;
}

dd {
  margin-bottom: var(--rui-gap-intra-m);
  margin-left: 0;
}

blockquote {
  margin: 0 0 var(--rui-gap-m);
}

b,
strong {
  font-weight: bolder;
}

small {
  font-size: calc(1em * 6 / 7);
}

mark {
  padding: 0.1875em;
  background-color: var(--rui-highlight-bg);
}

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

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

a {
  color: rgba(var(--rui-link-color-rgb), var(--rui-link-opacity, 1));
  text-decoration: underline;
}
a:hover {
  --rui-link-color-rgb: var(--rui-link-hover-color-rgb);
}

a:not([href]):not([class]),
a:not([href]):not([class]):hover {
  color: inherit;
  text-decoration: none;
}

pre,
code,
kbd,
samp {
  font-family: var(--rui-font-mono);
  font-size: 1em;
}

pre {
  display: block;
  margin-top: 0;
  margin-bottom: var(--rui-gap-intra-xl);
  overflow: auto;
  font-size: 0.875em;
}
pre code {
  font-size: inherit;
  color: inherit;
  word-break: normal;
}

code {
  font-size: 0.9em;
  background-color: var(--rui-color-code-bg);
  border-radius: var(--rui-border-radius-m);
  padding: 0.125em 0.25em;
  margin: 0 0.1em;
  word-wrap: break-word;
}
a > code {
  color: inherit;
}

kbd {
  padding: 0.125em 0.4em;
  font-size: 0.9em;
  background-color: var(--rui-color-kbd-bg);
  border-radius: var(--rui-border-radius-m);
  border: var(--rui-border-kbd);
  box-shadow: var(--rui-box-shadow-kbd);
}
kbd kbd {
  padding: 0;
  font-size: 1em;
  border: none;
  box-shadow: none;
}

figure {
  margin: 0 0 var(--rui-gap-m);
}

img,
svg {
  vertical-align: middle;
}

table {
  caption-side: bottom;
  border-collapse: collapse;
}

caption {
  padding-top: var(--rui-gap-intra-m);
  padding-bottom: var(--rui-gap-intra-m);
  color: var(--rui-secondary-color);
  text-align: left;
}

th {
  text-align: inherit;
  text-align: -webkit-match-parent;
}

thead,
tbody,
tfoot,
tr,
td,
th {
  border-color: inherit;
  border-style: solid;
  border-width: 0;
}

label {
  display: inline-block;
}

button {
  border-radius: 0;
}

button:focus:not(:focus-visible) {
  outline: 0;
}

input,
button,
select,
optgroup,
textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

button,
select {
  text-transform: none;
}

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

select {
  word-wrap: normal;
}
select:disabled {
  opacity: 1;
}

[list]:not([type="date"]):not([type="datetime-local"]):not([type="month"]):not(
    [type="week"]
  ):not([type="time"])::-webkit-calendar-picker-indicator {
  display: none !important;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}
button:not(:disabled),
[type="button"]:not(:disabled),
[type="reset"]:not(:disabled),
[type="submit"]:not(:disabled) {
  cursor: pointer;
}

::-moz-focus-inner {
  padding: 0;
  border-style: none;
}

textarea {
  resize: vertical;
}

fieldset {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
  margin-bottom: var(--rui-gap-m);
}

legend {
  float: left;
  width: 100%;
  padding: 0;
  margin-bottom: var(--rui-gap-m);
  font-size: var(--rui-font-size-l);
  font-weight: var(--rui-font-weight-semibold);
  line-height: inherit;
}

legend + * {
  clear: left;
}

::-webkit-datetime-edit-fields-wrapper,
::-webkit-datetime-edit-text,
::-webkit-datetime-edit-minute,
::-webkit-datetime-edit-hour-field,
::-webkit-datetime-edit-day-field,
::-webkit-datetime-edit-month-field,
::-webkit-datetime-edit-year-field {
  padding: 0;
}

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

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

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

::-webkit-color-swatch-wrapper {
  padding: 0;
}

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

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

output {
  display: inline-block;
}

iframe {
  border: 0;
}

summary {
  display: list-item;
  cursor: pointer;
}

progress {
  vertical-align: baseline;
}

[hidden] {
  display: none !important;
}
