@charset "UTF-8";
@import url("lato.css");

:root {
  color-scheme: light;

  --dark: #238838;
  --dark-tr: #238838cc;
  --dark-extra-tr: #23883855;

  --light: #9dc9a6;
  --light-tr: #9dc9a6cc;
  --light-extra-tr: #9dc9a655;
  --same-as-light-extra-tr-on-gray: #cbd9cc;
  --gray: #e2e1df;
  --gray-tr: #e2e1dfcc;

  --white-tr: #ffffffcc;
  --white-extra-tr: #ffffff66;
  --paper: #f9f9f9;

  --red: #f25260;
  --red-tr: #f2526099;
  --red-extra-tr: #f2526033;

  --yellow: #f4e7a3;
  --yellow-tr: #f4e7a399;
  --yellow-extra-tr: #f4e7a355;

  --blue: #04b0fa;
  --blue-tr: #04b0fa99;
  --blue-extra-tr: #04b0fa33;

  --purple: #9429ff;
  --purple-tr: #9429ff55;
  --purple-extra-tr: #9429ff22;

  --font-size: 24px;
  --line-height: 1.75em;
  --border-radius: 0.25rem;
  --text: #222;

  --text-tr: #222222aa;
  --text-extra-tr: #22222266;

}

html
, a
, address
, aside
, b
, body
, br
, button
, caption
, div
, fieldset
, footer
, form
, h1
, h2
, h3
, h4
, h5
, h6
, head
, header
, hr
, i
, img
, input
, label
, main
, nav
, ol
, p
, pre
, span
, table
, tbody
, td
, textarea
, tfoot
, th
, thead
, title
, tr
, u
, ul
{
  all: unset;
  margin: 0;
  padding: 0;
  transition: all 0.25s ease-in-out;
  word-wrap: break-word;
  hyphens: auto;
  box-sizing: border-box;
  flex-wrap: wrap;
  color: var(--text);
  line-height: var(--line-height);
  scroll-margin: 1rem;
  font-family: "Lato", "Signika", sans-serif;
}

svg, svg * {
  transform-box: fill-box;
}

html {
  scroll-behavior: smooth;
  font-size: var(--font-size);
}

a:any-link,
label[for],
button,
.button,
input[type="submit"],
input[type="reset"],
input[type="button"],
input[type="checkbox"],
input[type="radio"],
input[type="file"],
input[type="color"] {
  cursor: pointer;
}

body {
  background: var(--gray);
  gap: 1rem;
  min-height: 100vh;
  min-width: 640px;
}

aside {
  display: flex;
  flex: 1;
  align-content: center;
  justify-content: center;
  padding: 1rem;
}
aside img {
  max-width: 300px;
  min-width: 128px;
}

main {
  display: flex;
  flex: 1;
  padding: 1rem 2rem 2rem;
  gap: 2rem;
  align-content: center;
  justify-content: flex-start;
  position: relative;
}

.form {
  padding: 2rem;
  min-width: 80%;
  border-radius: var(--border-radius);
  background-color: var(--gray);
  display: flex;
  gap: 2rem;
  flex-direction: column;
  align-self: center;
  justify-self: start;
  box-shadow: 0 0 0 0.125rem var(--light-extra-tr);
}

h1 {
  color: var(--dark);
  /* text-transform: uppercase; */
  font-weight: bold;
  font-size: 2rem;
  line-height: 2rem;
}

.fieldset {
  position: relative;
  display: flex;
  gap: 1rem;
  align-items: center;
}

input,
button,
.button,
textarea {
  padding: 0.5rem 1rem;
  border: 0.125rem solid var(--light);
  border-radius: var(--border-radius);
  box-shadow: 0 0 0 0 var(--light);
}

::placeholder {
  color: var(--light);
}

input[type="text"],
input[type="password"],
textarea {
  flex: 1;
  box-shadow: 0 0 0 0 var(--light);
}

button,
.button,
.big-button,
input[type="submit"],
input[type="button"] {
  border: 0.125rem solid var(--dark);
  background: var(--gray);
  padding: 0.5rem 1rem;
  color: var(--dark);
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
}
button *,
.button *,
input[type="submit"] *,
input[type="button"] * {
  color: var(--dark);
}

input[type="submit"] {
  color: var(--gray);
  background: var(--dark);
  text-transform: uppercase;
  font-weight: bold;
}
input[type="submit"],
input[type="submit"] * {
  color: var(--gray);
}
input[type="submit"]:hover,
input[type="submit"]:focus,
input[type="submit"]:active,
input[type="submit"]:hover *,
input[type="submit"]:focus *,
input[type="submit"]:active * {
  color: white;
}

input[type="radio"] {
  display: flex;
  align-content: center;
  justify-content: center;
  line-height: 1em;
  height: 1rem;
  width: 2rem;
  border-radius: 999px;
  color: var(--dark);
  background: var(--light-extra-tr);
  border: 0.125rem solid var(--dark-extra-tr);
}
input[type="radio"]:checked {
  background: var(--light);
}
input[type="radio"]:checked::before {
  content: "⤬";
  font-size: 2.5em;
  margin-top: -0.125em;
  z-index: 100;
}

input[type="checkbox"] {
  display: flex;
  align-content: center;
  justify-content: center;
  line-height: 1em;
  height: 1em;
  width: 1em;
  color: var(--dark);
  background: var(--light-extra-tr);
  border: 0.125rem solid var(--dark-extra-tr);
}
input[type="checkbox"]:checked {
  background: var(--light);
}
input[type="checkbox"]:checked::before {
  content: "✓";
  margin-top: -0.075em;
  font-size: 2.5em;
  z-index: 100;
}

label.placeholder {
  color: var(--dark);
  position: absolute;
  top: -0.5em;
  left: 0.5rem;
  padding: 0 0.25rem;
  line-height: 1em;
  background-color: var(--gray);
  border-radius: var(--border-radius);
}

label.warning {
  background: var(--red);
  color: var(--gray);
  font-size: 0.75rem;
  padding: 0.075rem 0.5rem;
  border-radius: var(--border-radius);
  box-shadow: 0 0 0 0.125rem var(--gray);
  position: absolute;
  top: -0.75rem;
  right: -0.5rem;
}
.button:hover,
.button:focus,
.button:active,
button:hover,
button:focus,
button:active,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="button"]:active {
  background: var(--light);
  box-shadow: 0 0 0 0.125rem var(--light);
}

input[type="submit"]:hover,
input[type="submit"]:active,
input[type="submit"]:focus {
  border: 0.125rem solid var(--gray);
  box-shadow: 0 0 0 0.125rem var(--dark);
}

input[type="text"]:hover,
input[type="password"]:hover,
input[type="checkbox"]:hover,
input[type="radio"]:hover,
textarea:hover {
  border-color: var(--light);
  box-shadow: 0 0 0 0.125rem var(--light-extra-tr);
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="checkbox"]:focus,
input[type="radio"]:focus,
textarea:focus,
input[type="text"]:active,
input[type="password"]:active,
input[type="checkbox"]:active,
input[type="radio"]:active,
textarea:active {
  border-color: var(--dark);
  box-shadow: 0 0 0 0.125rem var(--light);
}

[disabled],
.disabled {
  opacity: 0.25;
  cursor: not-allowed;
  pointer-events: none;
}

body.login {
  background: var(--dark);
  gap: 0;
  --font-size: 15px;
}

body.login main {
  background-color: var(--light);
  background-image: url("../img/bg.jpg");
  background-position: 50% 50%;
  background-size: cover;
  padding: 5rem 2rem;
  flex: 2;
  box-shadow: inset 0 0 1rem var(--dark);
  justify-content: center;
  position: relative;
}
body.login main footer {
  position: absolute;
  top: calc(100% - 5rem);
  padding: 1rem;
  align-self: center;
}

.bg-stamp {
  background-color: var(--gray);
  background-image: url("../img/bg-stamp.png");
  background-position: 50% 50%;
  background-size: 25rem 25rem;
  background-repeat: no-repeat;
  background-blend-mode: multiply;
}

header {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  align-content: center;
  justify-content: space-between;
  background: #238838
    linear-gradient(#238838 0.5rem, #e2e1dfff 0.5rem, #e2e1dfff);
  padding: 1rem 0.5rem 0.5rem;
}

header img.icon {
  height: 1.5rem;
  color: var(--text);
  opacity: 0.85;
  /* stroke: var(--text); */
}
.with-icon {
  display: flex;
  align-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
}

.h-stack {
  display: flex;
  flex-direction: row;
  align-items: center;
  align-content: center;
  gap: 0.5rem;
}

.v-stack {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.v-stack > * {
  line-height: 1em;
}
.align-end {
  justify-content: flex-end;
  text-align: end;
}

.item-end {
  justify-self: flex-end;
}

.action {
  /* text-transform: uppercase; */
  font-weight: bold;
}

.logo {
  height: 3rem;
  border-radius: 999px;
}

.wordmark {
  height: 1.25rem;
  mix-blend-mode: multiply;
}

.z-stack {
  display: grid;
  grid-template: "stack";
}
.z-stack > * {
  grid-area: stack;
}

h2 {
  font-size: 2rem;
  color: var(--dark);
}

.notice {
  background-color: var(--light-tr);
  border: 0.125rem solid var(--dark);
  padding: 2rem 3rem;
  /* text-align: center; */
  border-radius: 0.5rem;
}

nav {
  /* padding: 0 2rem 0; */
  display: flex;
  gap: 1rem;
  /* justify-content: space-between; */
  justify-self: start;
}

table,
caption,
thead,
tbody,
tfoot,
tr,
th,
td {
  display: flex;
  line-height: 1em;
  min-width: 2rem;
}

table,
thead,
tfoot,
tbody {
  flex-direction: column;
  width: 100%;
}

table {
  border-radius: var(--border-radius);
  box-shadow: 0 0 0 0.125rem var(--light-extra-tr);
}

caption,
.heading {
  caption-side: top;
  font-size: 2rem;
  background: var(--dark);
  color: white;
  padding: 1.5rem 2rem;
  border-top-left-radius: var(--border-radius);
  border-top-right-radius: var(--border-radius);
}
table.warning .long {
  flex: 5;
}
table.warning td,
table.warning th {
  border-color: var(--yellow);
}
table.warning th {
  border-top: 0;
}
table.warning caption {
  background-color: var(--yellow-tr);
  border: 0.125rem solid var(--yellow);
  color: var(--dark);
}
table.warning tfoot,
table.warning tfoot tr {
  background: none;
}
table.warning tfoot td {
  background-color: var(--yellow-extra-tr);
}

.heading {
  border-bottom: 0.125rem solid var(--same-as-light-extra-tr-on-gray);
}
.heading * {
  color: white;
}
.heading h3,
.heading h3 * {
  font-size: 1.5rem;
  line-height: 1.5em;
}

thead {
  background: var(--dark-tr);
}
table.warning thead {
  background: var(--yellow);
  color: var(--dark);
}
tfoot tr {
  background: var(--dark-extra-tr);
}

th,
td {
  padding: 0.25rem 0.5rem;
  align-items: center;
  justify-content: center;
  justify-items: center;
  text-align: center;
  flex: 1;
  border-left: 1px solid var(--dark-extra-tr);
  height: 4rem;
  display: flex;
  gap: 0.5rem;
  border-top: 1px solid var(--dark-extra-tr);
  word-break: break-all;
}
th {
  border-top: 0.125rem solid var(--same-as-light-extra-tr-on-gray);
}

th.long,
td.long {
  justify-content: start;
  text-align: start;
  flex: 5;
  flex-grow: 10;
  flex-wrap: nowrap;
  padding: 0;
  word-break: break-all;
}
.long > :first-child {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-overflow: ellipsis;
  padding: 1rem 1rem 1rem 2rem;
  width: 100%;
}
.short {
  max-width: 4rem;
}

th:first-of-type,
td:first-of-type {
  border-left: none;
}

tr {
  background-color: var(--white-tr);
}
tbody tr:hover {
  background-color: var(--light-extra-tr);
}

table :last-child :last-child {
  border-bottom-left-radius: var(--border-radius);
  border-bottom-right-radius: var(--border-radius);
}

.button {
  display: flex;
  align-items: center;
  align-content: center;
  gap: 0.5rem;
  border: 0.125rem solid var(--gray);
  background: var(--gray);
  color: var(--text);
}
.button.text:hover,
.button.text:focus,
.button.text:active {
  box-shadow: 0 0 0 0.125rem var(--text);
}

.button.danger:hover,
.button.danger:focus,
.button.danger:active {
  box-shadow: 0 0 0 0.125rem var(--red);
  background: none;
}

.fa-circle-check {
  color: var(--dark);
}

.fa-circle-dot {
  color: var(--light-extra-tr);
}

.danger span
/* tr:hover a span, */
, a:hover span
, a:focus span
, a:active span
, .button:hover a span
, .button:focus a span
, .button:active a span {
  text-decoration: underline;
  text-decoration-thickness: 0.05em;
  text-underline-offset: 0.075em;
}

tbody td i.fa-chevron-right {
  opacity: 0;
}
/* tbody tr:hover td:first-of-type i.fa-chevron-right, */
a:hover i.fa-chevron-right,
a:focus i.fa-chevron-right,
a:active i.fa-chevron-right {
  opacity: 1;
}

header img {
  max-height: 3rem;
}
header a {
  flex-wrap: nowrap;
  border-radius: var(--border-radius);
}
header a.img {
  padding: 0.25rem 0.75rem 0.25rem 0.25rem;
}
header a.stack {
  padding: 0.25rem 0.5rem 0.25rem 0.75rem;
}
header a:hover,
header a:focus,
header a:active {
  background: var(--light);
}

header a * {
  font-size: 0.75rem;
  line-height: 1em;
}

.big-icons {
  display: flex;
  flex-direction: row;
  gap: 2rem;
}

.enclosure {
  position: relative;
  max-height: 15rem;
  min-width: 15rem;
  max-width: 25%;
  flex: 1 0 20%;
  flex-wrap: nowrap;
  background: var(--white-extra-tr);
  border: 0.125rem solid var(--light);
  border-radius: 0.5rem;
  padding: 1rem;
  /* aspect-ratio: 5/4; */
}
.enclosure:not(.finished):hover {
  background: var(--white-tr);
  border: 0.125rem solid var(--dark);
  box-shadow: 0 0 0 0.125rem var(--light-tr);
}
.enclosure:not(.finished):focus,
.enclosure:not(.finished):active {
  background: white;
  border: 0.125rem solid var(--gray);
  box-shadow: 0 0 0 0.125rem var(--dark);
}
.big-icon {
  max-width: 10rem;
  align-items: center;
  align-content: center;
  justify-items: center;
  justify-content: center;
}
.finished .big-icon {
  margin-left: 3.5rem;
  margin-right: -3.5rem;
}
.big-icon img {
  border-radius: 999px;
  max-width: 10rem;
  height: 100%;
  object-fit: contain;
}
.filled .big-icon .image {
  opacity: 0.125;
}
.filled,
.filled:hover,
.filled:focus,
.filled:active {
  background: var(--light-tr);
}
.thumbsup {
  display: none;
}
.filled .thumbsup {
  display: block;
}

.center {
  align-items: center;
  align-content: center;
  justify-items: center;
  justify-content: center;
  text-align: center;
}

.row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}
.col {
  display: flex;
  flex-direction: column;
}

.bg-stamp .form {
  background: var(--white-tr);
  padding: 0 0 1.5rem 0;
  gap: 0;
}

.bg-stamp .form .fieldset {
  padding: 1rem 2rem;
}
.bg-stamp .form .fieldset label:not(.upload) {
  top: 0.25rem;
  padding: 0.25rem;
  left: 2.5rem;
  background: var(--paper);
}

b {
  font-weight: bold;
}

ol {
  counter-reset: ol_lvl_1;
  display: flex;
  flex-direction: column;
}

ol > li::before {
  list-style: lower-alpha inside;
  content: counter(ol_lvl_1) ".";
  counter-increment: ol_lvl_1;
  padding-right: 0.25rem;
}

.pill {
  border-radius: var(--border-radius);
  background: var(--light-extra-tr);
  padding: 0.075rem 0.25rem;
}

.percents {
  background: var(--purple-extra-tr);
}
.points {
  background: var(--red-extra-tr);
}

h4 {
  font-size: 1.25rem;
  padding-top: 1rem;
}
.left {
  align-content: flex-start;
  align-items: flex-start;
  text-align: left;
}
.right {
  align-content: flex-end;
  align-items: flex-end;
  text-align: right;
}

hr {
  display: flex;
  background: var(--light);
  width: calc(100% - 2rem);
  height: 0.125rem;
  margin: 2rem 1rem;
}

input[type="file"] {
  width: 100%;
  height: 100%;
  opacity: 0;
  border: none;
}
label.upload {
  align-items: center;
  align-content: center;
  gap: 1rem;
}

label.upload,
label.upload * {
  pointer-events: none;
}

.bg-red {
  background: var(--red);
  box-shadow: 0 0 0 0 var(--red-extra-tr);
}
.bg-red,
.bg-red * {
  color: white;
}
.small-button {
  padding: 0.125rem 0.5rem;
  border-radius: var(--border-radius);
  gap: 0.35rem;
  align-items: center;
  align-content: center;
  cursor: pointer;
  border: 0.125rem solid transparent;
}
input[type="file"]:hover ~ label.upload .small-button {
  box-shadow: 0 0 0 0.125rem var(--red-extra-tr);
  border-color: var(--paper);
}

input[type="file"]:focus ~ label.upload .small-button,
input[type="file"]:active ~ label.upload .small-button {
  box-shadow: 0 0 0 0.125rem var(--red);
  border-color: var(--paper);
}

.empty {
  color: var(--light);
}

a.big-button {
  margin: 2rem 0;
  background: var(--light-tr);
  padding: 1rem 1.5rem;
  border: 0.125rem solid var(--dark-tr);
  box-shadow: 0 0 0 0 var(--dark);
  gap: 1rem;
  color: var(--dark);
  border-radius: 0.5rem;
}
a.big-button * {
  text-decoration: none;
  color: var(--dark);
  line-height: 1em;
  font-size: 2rem;
}
a.big-button:hover {
  border-color: var(--gray);
  box-shadow: 0 0 0 0.125rem var(--dark);
}
a.big-button:focus,
a.big-button:active {
  border-color: var(--dark);
  box-shadow: 0 0 0 0.125rem var(--dark);
}

.thermometer {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  transform: rotate(-90deg);
  align-items: center;
  align-content: center;
  align-self: center;
  justify-content: stretch;
  justify-items: stretch;
  min-width: 10rem;
  max-width: 10rem;
  width: 10rem;
  /* position: absolute; */
  /* right: -2.5rem; */
}
.thermometer progress {
  border-bottom-right-radius: 999px;
  border-top-right-radius: 999px;
  border: 0.125rem solid var(--dark);
  border-left-color: transparent;
  padding: 0.125rem;
  padding-left: 0.1rem;
  margin-left: -0.35rem;
  width: calc(100% - 1.5rem);
  max-width: 15rem;
  position: absolute;
  left: 2rem;
  height: 1.5rem;
  background-clip: content-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.thermometer .ball {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 0.125rem solid var(--dark);
  background-clip: content-box;
  padding: 0.125rem;
  position: absolute;
  left: 0;
  z-index: 10;
  background-size: 1rem 1rem;
  background-repeat: repeat;
  background-color: var(--dark);
  background-image: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.5) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0.5) 75%,
    transparent 75%,
    transparent
  );
}

.thermometer progress::-webkit-progress-bar {
  border-top-right-radius: 999px;
  border-bottom-right-radius: 999px;
  z-index: 5;
  background: var(--light-extra-tr);
  color: var(--light-extra-tr);
}
.thermometer progress::-moz-progress-bar {
  border-top-right-radius: 999px;
  border-bottom-right-radius: 999px;
  z-index: 5;
  /* margin-left: 0.175rem; */
  background: none;
  background-size: 1rem 1rem;
  background-repeat: repeat;
  background-color: var(--dark);
  background-image: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.5) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0.5) 75%,
    transparent 75%,
    transparent
  );
}
.thermometer progress::-webkit-progress-value {
  border-top-right-radius: 999px;
  border-bottom-right-radius: 999px;
  z-index: 5;
  background: none;
  background-size: 1rem 1rem;
  background-repeat: repeat;
  background-color: var(--dark);
  background-image: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.5) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0.5) 75%,
    transparent 75%,
    transparent
  );
}
.thermometer progress::-moz-progress-value {
  border-top-right-radius: 999px;
  border-bottom-right-radius: 999px;
  z-index: 5;
  background: var(--light-extra-tr);
  color: var(--light-extra-tr);
}

.thermometer label {
  position: absolute;
  transform: rotate(90deg);
  top: -4.25rem;
  transform-origin: top left;
  left: calc(2.75rem + ((var(--pr) / 100) * (100% - 2rem)));
  background: var(--same-as-light-extra-tr-on-gray);
  padding: 0 0.25rem;
  border-radius: var(--border-radius);
  box-shadow: 0 0 0 0.125rem var(--light-extra-tr);
}

ol.row {
  gap: 0.25rem;
}

.notice.col {
  gap: 1rem;
}

.danger,
.danger span,
.danger i {
  color: var(--red);
}

.small-icon {
  background: transparent;
  border-color: var(--light);
  height: 2rem;
  width: 2rem;
  padding: 0;
  display: flex;
  align-content: center;
  justify-content: center;
  box-shadow: 0 0 0 0 var(--light);
}
.small-icon:hover {
  border-color: var(--paper);
  box-shadow: 0 0 0 0.125rem var(--light);
}
.small-icon:focus,
.small-icon:active {
  border-color: var(--paper);
  box-shadow: 0 0 0 0.125rem var(--dark);
}

.notice.warning {
  background-color: var(--yellow-tr);
  border-color: var(--yellow);
}
.notice h3 {
  font-size: 1.5rem;
  color: var(--dark);
}
.wide {
  padding: 0.5rem 2rem !important;
}
.light {
  background-color: var(--light-extra-tr);
  border-color: var(--light-tr);
  box-shadow: 0 0 0 0 var(--light-tr);
}
a.light:hover {
  border-color: var(--paper);
  box-shadow: 0 0 0 0.125rem var(--light-tr);
}
a.light:focus,
a.light:active {
  border-color: var(--paper);
  box-shadow: 0 0 0 0.125rem var(--dark);
}
.warning a.light:hover {
  border-color: var(--yellow-tr);
}
.warning a.light:focus,
.warning a.light:active {
  border-color: var(--yellow-tr);
}

a.border {
  border: 0.125rem solid var(--light);
  border-radius: var(--border-radius);
  box-shadow: 0 0 0 0 var(--light);
}
a.border:hover {
  border-color: var(--gray);
  box-shadow: 0 0 0 0.125rem var(--light);
}
a.border:focus,
a.border:active {
  border-color: var(--gray);
  box-shadow: 0 0 0 0.125rem var(--dark);
}

.no-wrap,
.no-wrap a {
  word-wrap: normal;
  white-space: nowrap;
}

.grow {
  flex-grow: 1;
}

.text {
  gap: 0.5rem;
}

ul {
  display: flex;
  flex-direction: column;
}

.button.red {
  background: transparent;
}
.small-icon.red {
  border-color: var(--red);
}
.btn_remove_doc.red {
  border-color: var(--red-tr);
}
.btn_remove_doc i {
  pointer-events: none;
}

button.button.red {
  border-color: var(--red);
  background: var(--red-extra-tr);
}

pre,
.pre,
textarea {
  white-space: pre-wrap;
  padding: 1rem;
}

@keyframes flash_green {
  from {
    background-color: transparent;
  }
  to {
    background-color: var(--light-extra-tr);
  }
}

.updated {
  animation-duration: 0.5s;
  animation-name: flash_green;
  animation-direction: alternate;
  animation-iteration-count: 2;
}

.invis {
  opacity: 0;
  pointer-events: none;
}

/* hidden */
head,
title,
style,
script,
[hidden],
[type="hidden"],
.hidden {
  display: none;
}

footer {
  padding-top: 2rem;
  color: var(--light);
  text-align: center;
  gap: 2rem;
  align-content: flex-end;
  flex-grow: 1;
}
footer,
footer * {
  font-size: 0.75rem;
}
footer > div.col {
  flex: 1;
  justify-content: flex-start;
}
footer > a {
  color: var(--gray-tr);
}

footer a:hover,
footer a:focus,
footer a:active {
  text-decoration: underline;
}

footer div a {
  text-decoration: underline;
}

footer div a:hover,
footer div a:focus,
footer div a:active,
footer div a:hover *,
footer div a:focus *,
footer div a:active * {
  color: var(--dark);
}
footer div a i {
  color: var(--dark-extra-tr);
  margin-right: 0.25rem;
}

.done {
  /* opacity: 0.75; */
  background-color: var(--yellow-extra-tr);
}
.done td,
.done td span {
  color: var(--text-tr);
}
.done td.long i {
  color: var(--text-extra-tr);
}
.green {
  color: var(--dark-extra-tr);
}

i.red {
  color: var(--red);
  background: none;
}
i.light {
  color: var(--light);
  background: none;
}

@media (max-width: 1024px) {
  body.login main {
    padding: 1rem;
  }
  body.login main footer {
    top: 0;
    padding: 0;
    position: relative;
  }
  header > a > div {
    /* hide-on-tablet */
    display: none !important;
  }
  header a.stack {
    padding: 0 1rem;
  }
  .big-icons {
    gap: 1rem;
  }
}

@media (max-width: 960px) {
  .non-tablet {
    display: none;
  }
  main {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
@media (max-width: 800px) {
  header a.stack {
    padding: 0 0.4rem;
  }
  .non-mobile {
    display: none;
  }
  main {
    padding-left: 0.125rem;
    padding-right: 0.125rem;
  }
}

.notice.white {
  background: var(--white-extra-tr);
  border: 0.125rem solid var(--light);
}
.chart svg {
  width: auto;
  height: auto;
  height: 30rem;
}
.chart #chart-bg {
  fill: var(--white-extra-tr);
}
