:root {
  color-scheme: dark;
  --navy: #111427;
  --card: #1b213b;
  --cyan: #66c8e5;
  --lime: #cbf600;
  --orange: #ff8a50;
}
.auth-actions {display:flex;flex-wrap:wrap;gap:12px;align-items:center;}
.button-link {display:inline-block;padding:11px 17px;border:1px solid var(--cyan);border-radius:7px;color:var(--cyan);text-decoration:none;font-weight:600;}
.auth-page {max-width:700px;}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--navy);
  color: #f5f6fc;
  font:
    16px/1.6 Poppins,
    system-ui,
    sans-serif;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px max(20px, calc((100vw - 1200px) / 2));
  border-bottom: 1px solid #364261;
  flex-wrap: wrap;
}
.brand {
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
  color: white;
}
.brand span {
  color: var(--cyan);
}
nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
main {
  max-width: 1200px;
  margin: auto;
  padding: 24px 20px;
}
h1 {
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.2;
}
h2 {
  font-size: 22px;
  color: var(--cyan);
}
p {
  max-width: 80ch;
}
a {
  color: var(--orange);
}
button {
  font: inherit;
  font-weight: 600;
  background: var(--lime);
  color: #111427;
  border: 0;
  padding: 12px 18px;
  border-radius: 7px;
  cursor: pointer;
  margin: 4px 0;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}
input,
select,
textarea {
  font: inherit;
  color: white;
  background: #10172b;
  border: 1px solid #7383a3;
  padding: 11px;
  border-radius: 6px;
  width: 100%;
  min-width: 0;
}
input[type="checkbox"] {
  width: auto;
}
label {
  display: block;
  margin: 14px 0;
}
textarea {
  min-height: 100px;
  resize: vertical;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 20px;
}
.notice,
form,
.item {
  background: var(--card);
  border: 1px solid #39476b;
  border-radius: 10px;
  padding: 20px;
  margin: 16px 0;
}
.notice {
  border-left: 4px solid var(--cyan);
}
.item {
  overflow-wrap: anywhere;
}
.item h3 {
  margin: 0 0 10px;
}
.meta {
  color: #bbc8e2;
  font-size: 14px;
}
.error {
  color: #ffb5ac;
}
#status {
  min-height: 32px;
  overflow-wrap: anywhere;
}
[hidden] {
  display: none !important;
}
table {
  width: 100%;
  border-collapse: collapse;
}
td,
th {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid #39476b;
}
.table-wrap {
  overflow-x: auto;
}
footer {
  padding: 30px 20px;
  text-align: center;
  color: #bbc8e2;
}
details {
  margin: 12px 0;
}
summary {
  cursor: pointer;
}
@media (max-width: 600px) {
  header {
    padding: 16px;
  }
  main {
    padding: 16px;
  }
  button {
    min-height: 44px;
  }
  h2 {
    font-size: 20px;
  }
  .notice,
  form,
  .item {
    padding: 16px;
  }
  nav {
    gap: 12px;
  }
}
