:root {
  --navy: #102b49;
  --text: #16304f;
  --border: #e5eaf0;
  --muted: #718096;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body[inert] {
  visibility: hidden;
}
body {
  margin: 0;
  font-family:
    Inter,
    Segoe UI,
    Arial,
    sans-serif;
  color: var(--text);
  background: #f5f7fa;
  display: grid;
  grid-template-columns: 190px 1fr;
  min-height: 100vh;
}
#authReactRoot {
  display: contents;
}
aside {
  background: linear-gradient(180deg, #102b49, #0d2238);
  color: #fff;
  padding: 20px 12px;
}
h1 {
  font-size: 22px;
  margin: 8px 0 24px;
}
nav button {
  width: 100%;
  background: #244a73;
  text-align: left;
  margin: 4px 0;
}
main {
  min-width: 0;
  padding: 20px;
}
header {
  display: flex;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--border);
}
header span {
  margin-left: auto;
}
section {
  background: white;
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 20px;
  margin: 18px 0;
}
h2 {
  font-size: 20px;
}
h3 {
  font-size: 17px;
}
form {
  display: grid;
  gap: 14px;
  max-width: 640px;
  margin: 18px 0;
}
label {
  display: grid;
  gap: 6px;
  font-size: 14px;
}
input,
select {
  font: inherit;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px;
  width: 100%;
  background: #fff;
  color: var(--text);
}
.check {
  display: flex;
  align-items: center;
}
.check input {
  width: auto;
}
button {
  font: inherit;
  border: 0;
  background: var(--navy);
  color: white;
  border-radius: 8px;
  padding: 10px 13px;
  cursor: pointer;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #f59a00;
}
.notice {
  color: var(--muted);
}
#message {
  min-height: 24px;
  color: #ad3f25;
}
.scroll {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}
td,
th {
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid var(--border);
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 12px;
  max-height: 400px;
  overflow: auto;
}
@media (max-width: 800px) {
  body {
    grid-template-columns: 1fr;
  }
  aside {
    padding: 12px;
  }
  h1 {
    margin: 0 0 8px;
  }
  nav {
    display: flex;
    gap: 8px;
  }
  header {
    flex-wrap: wrap;
  }
  main {
    padding: 12px;
  }
}
