:root {
  font-family: Tahoma, Arial, sans-serif;
  color: #102943;
  background: #f8fafc;
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  background: white;
  border-bottom: 1px solid #d7dfe7;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px clamp(18px, 4vw, 64px);
}
header img {
  width: 108px;
  height: 42px;
  object-fit: contain;
}
header span {
  border-inline-start: 1px solid #cdd7e0;
  padding-inline-start: 18px;
}
header button {
  margin-inline-start: auto;
}
button,
a,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button,
a.link {
  cursor: pointer;
  color: #154a80;
  background: white;
  border: 1px solid #bdccd9;
  padding: 10px 16px;
  border-radius: 6px;
  min-height: 44px;
}
a {
  text-decoration: none;
  color: #195092;
}
button.primary,
a.primary {
  background: #174f88;
  color: white;
  border: 0;
}
button:disabled {
  opacity: 0.55;
}
.layout {
  max-width: 1450px;
  margin: auto;
  display: flex;
  min-height: 90vh;
}
nav {
  width: 210px;
  flex-shrink: 0;
  padding: 32px 16px;
  border-inline-end: 1px solid #d7dfe7;
}
nav:empty {
  display: none;
}
nav a {
  display: block;
  padding: 14px;
  border-radius: 5px;
  color: #334d64;
}
nav a.active {
  background: #deebf7;
  color: #103d6b;
  font-weight: bold;
}
main {
  padding: clamp(22px, 5vw, 76px);
  width: 100%;
  min-width: 0;
}
h1 {
  font-size: clamp(26px, 4vw, 44px);
  margin: 14px 0 24px;
}
h2 {
  font-size: 20px;
  margin-top: 32px;
}
.bar,
.row,
.stats {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.bar {
  justify-content: space-between;
}
.stats {
  border-block: 1px solid #ced9e2;
  padding: 22px 0;
}
.stats a {
  flex: 1;
  min-width: 100px;
}
.stats strong {
  display: block;
  font-size: 32px;
  color: #173959;
}
.row {
  display: flex;
  justify-content: space-between;
  color: inherit;
  border-bottom: 1px solid #dae2e9;
  padding: 18px 2px;
}
.row small,
p {
  color: #52677a;
  line-height: 1.7;
}
.row span {
  overflow-wrap: anywhere;
}
form {
  max-width: 520px;
  display: grid;
  gap: 17px;
}
label {
  display: grid;
  gap: 7px;
}
input,
textarea,
select {
  width: 100%;
  padding: 12px;
  color: inherit;
  border: 1px solid #b9c9d5;
  border-radius: 5px;
  background: white;
}
textarea {
  min-height: 98px;
}
#notice:not(:empty) {
  position: fixed;
  bottom: 15px;
  inset-inline: 16px;
  margin: auto;
  width: fit-content;
  max-width: 95vw;
  background: #132f4c;
  color: white;
  padding: 14px 22px;
  border-radius: 6px;
}
pre {
  white-space: pre-wrap;
  font: inherit;
  line-height: 1.8;
}
.muted {
  color: #607589;
}
.back {
  display: inline-block;
  padding-block: 12px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #3675b7;
  outline-offset: 2px;
}
@media (max-width: 720px) {
  .layout {
    display: block;
  }
  nav {
    display: flex;
    overflow: auto;
    width: 100%;
    padding: 5px 12px;
    border-bottom: 1px solid #dde4eb;
  }
  nav a {
    white-space: nowrap;
  }
  header {
    gap: 8px;
  }
  header img {
    width: 82px;
  }
  header button {
    font-size: 13px;
  }
  main {
    padding: 20px 18px 75px;
  }
}
