:root {
  font:
    16px/1.5 system-ui,
    sans-serif;
  color: #172c3c;
  background: #f3f6f8;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  background: #123048;
  color: white;
  padding: 20px 5vw;
}
.brand {
  font-weight: 800;
  letter-spacing: 0.06em;
  color: white;
  text-decoration: none;
}
.brand span {
  font-weight: 400;
  color: #aee4ef;
  letter-spacing: 0;
  margin-left: 12px;
}
main {
  max-width: 1200px;
  margin: 32px auto;
  padding: 0 24px;
}
h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}
h2 {
  margin-top: 0;
  font-size: 1.25rem;
}
p {
  color: #526878;
}
.card {
  padding: 24px;
  background: white;
  border: 1px solid #d9e2e7;
  border-radius: 12px;
  margin: 18px 0;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.grid .card {
  margin: 0;
}
button,
.button {
  font: inherit;
  border: 1px solid #b7cad6;
  border-radius: 7px;
  padding: 9px 15px;
  background: white;
  color: #153b55;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
button:hover {
  background: #edf6fa;
}
button.primary {
  background: #087c95;
  border-color: #087c95;
  color: white;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.actions,
nav {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  align-items: center;
}
nav {
  margin-bottom: 24px;
}
.field {
  display: grid;
  gap: 5px;
  margin: 12px 0;
}
input,
textarea,
select {
  font: inherit;
  border: 1px solid #b7cad6;
  padding: 10px;
  border-radius: 6px;
  width: 100%;
}
input[type="checkbox"] {
  width: auto;
}
textarea {
  min-height: 100px;
}
.muted,
small {
  color: #526878;
}
.drop {
  border: 2px dashed #91b8c5;
  border-radius: 10px;
  padding: 24px;
  text-align: center;
  margin: 20px 0;
  background: #f9fcfd;
}
.drop input {
  width: auto;
  max-width: 100%;
  border: 0;
}
table {
  width: 100%;
  border-collapse: collapse;
}
td,
th {
  padding: 14px 10px;
  border-bottom: 1px solid #e5ecef;
  text-align: left;
  vertical-align: top;
}
th {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: #526878;
}
.table {
  overflow: auto;
}
.flag {
  display: inline-block;
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 0.85rem;
  background: #eef1f3;
}
.green {
  background: #d8f4e5;
  color: #185936;
}
.yellow {
  background: #fff1c5;
  color: #6a4700;
}
.red {
  background: #ffe0df;
  color: #932b26;
}
.warning {
  background: #fff4d7;
  border: 1px solid #efcf77;
  padding: 14px;
  border-radius: 8px;
}
.error {
  color: #a32727;
}
#notice {
  position: sticky;
  top: 0;
  z-index: 3;
  text-align: center;
  background: #fff1c5;
  padding: 0 16px;
}
#notice:not(:empty) {
  padding: 12px 16px;
}
dialog {
  border: 0;
  border-radius: 12px;
  padding: 26px;
  width: 540px;
  max-width: 94vw;
  box-shadow: 0 20px 70px #12304844;
}
dialog::backdrop {
  background: #102b4666;
}
dialog .actions {
  margin-top: 22px;
  justify-content: flex-end;
}
progress {
  width: 100%;
  height: 20px;
}
.login {
  max-width: 850px;
  margin: 60px auto;
}
.event {
  padding: 12px 0;
  border-bottom: 1px solid #e5ecef;
}
.event small {
  display: block;
}
a {
  color: #087c95;
}
:focus-visible {
  outline: 3px solid #19a7c5;
  outline-offset: 3px;
}
@media (max-width: 600px) {
  header {
    align-items: start;
    flex-direction: column;
  }
  main {
    padding: 0 16px;
    margin-top: 20px;
  }
  .card {
    padding: 16px;
  }
  h1 {
    font-size: 1.6rem;
  }
}
