:root {
  color-scheme: dark;
  font-family: Inter, system-ui, sans-serif;
  background: #0d1019;
  color: #f6f7fc;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
main {
  max-width: 1080px;
  margin: auto;
  padding: 36px 22px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 50px;
}
.brand {
  font-weight: 900;
  letter-spacing: 3px;
  font-size: 22px;
}
.brand span {
  color: #ff4268;
}
.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ff6684;
}
h1 {
  font-size: clamp(32px, 6vw, 52px);
  letter-spacing: -2px;
  line-height: 1.1;
  margin: 14px 0;
}
h2 {
  font-size: 22px;
}
p {
  color: #b0b7cc;
  line-height: 1.6;
}
.card {
  background: #171c2a;
  border: 1px solid #2c344b;
  border-radius: 20px;
  padding: 26px;
  margin: 20px 0;
}
.narrow {
  max-width: 540px;
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
label {
  display: block;
  font-size: 14px;
  margin: 18px 0 8px;
  color: #c9cfdf;
}
input,
select,
button {
  font: inherit;
  border-radius: 10px;
  padding: 13px 15px;
}
input,
select {
  width: 100%;
  background: #0d1220;
  color: white;
  border: 1px solid #404c69;
}
button {
  background: #df254e;
  color: white;
  border: 0;
  cursor: pointer;
  font-weight: 650;
}
button:hover {
  background: #f73c65;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button.secondary {
  background: #2c344b;
}
button.danger {
  background: #6f2334;
}
a {
  color: #ff819c;
}
form button {
  margin-top: 22px;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.status {
  padding: 5px 10px;
  border-radius: 30px;
  background: #283849;
  color: #afeece;
  font-size: 13px;
}
.message {
  min-height: 26px;
  color: #ffd0d9;
  white-space: pre-wrap;
}
.item {
  padding: 20px 0;
  border-bottom: 1px solid #30394e;
}
.item:last-child {
  border: 0;
}
.item h3 {
  margin: 0 0 8px;
  overflow-wrap: anywhere;
}
.small {
  font-size: 13px;
}
.hidden,
[hidden] {
  display: none !important;
}
code {
  font-size: 16px;
  color: #ffd3dc;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}
th,
td {
  text-align: left;
  padding: 14px 10px;
  border-bottom: 1px solid #30394e;
  vertical-align: top;
}
td button {
  padding: 8px;
  margin: 3px;
  font-size: 12px;
}
td input {
  min-width: 140px;
}
footer {
  margin-top: 45px;
  color: #818ba4;
  font-size: 13px;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 3px solid #ff91a9;
  outline-offset: 3px;
}
@media (max-width: 700px) {
  .grid {
    grid-template-columns: 1fr;
  }
  header {
    margin-bottom: 32px;
  }
  .card {
    padding: 20px;
  }
  main {
    padding: 24px 16px;
  }
}
