:root {
  color-scheme: dark;
  --bg: #111315;
  --surface: #1b1e21;
  --line: #303438;
  --muted: #999fa4;
  --text: #eceeef;
  --accent: #f45652;
  font:
    14px/1.55 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  display: grid;
  grid-template-columns: 230px 1fr;
  min-height: 100vh;
}
aside {
  border-right: 1px solid var(--line);
  padding: 34px 24px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.brand {
  font-size: 29px;
  font-weight: 850;
  letter-spacing: 2px;
  color: var(--text);
  text-decoration: none;
  line-height: 1.1;
}
.brand:first-letter {
  color: var(--accent);
}
.brand span {
  display: block;
  font-size: 9px;
  letter-spacing: 5px;
  color: var(--muted);
  margin-top: 12px;
}
nav {
  display: grid;
  gap: 8px;
  margin-top: 68px;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  padding: 10px 16px;
  border-radius: 7px;
  cursor: pointer;
  transition:
    background 0.15s,
    transform 0.15s;
}
button:hover {
  background: #2b3035;
}
button:active {
  transform: translateY(1px);
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #180f0e;
  font-weight: 700;
}
nav button {
  background: none;
  border-color: transparent;
  text-align: left;
  padding: 12px;
}
nav button.active {
  border-left-color: var(--accent);
  background: var(--surface);
}
.aside-bottom {
  margin-top: auto;
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 11px;
}
main {
  max-width: 1300px;
  width: 100%;
  padding: 0 48px 70px;
}
header {
  display: flex;
  justify-content: space-between;
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 48px;
}
h1 {
  font-size: 38px;
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin: 12px 0 18px;
}
h2 {
  font-size: 21px;
  letter-spacing: -0.4px;
  margin: 0 0 8px;
}
h3 {
  margin: 0 0 4px;
  font-size: 17px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2.5px;
  color: var(--muted);
}
.intro {
  color: var(--muted);
  max-width: 670px;
}
.hint,
.subtle,
small {
  color: var(--muted);
}
.hint {
  font-size: 12px;
  max-width: 700px;
}
.title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}
form {
  display: grid;
  gap: 18px;
}
label {
  display: grid;
  gap: 7px;
  font-size: 12px;
  color: #c6cacc;
}
input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  padding: 11px 13px;
  border-radius: 6px;
}
textarea {
  min-height: 160px;
  resize: vertical;
}
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}
.check {
  display: flex;
  align-items: center;
  gap: 10px;
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.editor {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 26px 0 38px;
  animation: enter 0.2s ease-out;
}
.list-row {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.list-row p {
  margin: 5px 0;
  color: var(--muted);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.pill {
  font-size: 11px;
  color: var(--muted);
  margin-left: 12px;
}
.numbers {
  display: flex;
  gap: 48px;
  padding: 4px 0 28px;
}
.numbers strong {
  display: block;
  font-size: 32px;
  line-height: 1.2;
}
.numbers span {
  font-size: 12px;
  color: var(--muted);
}
.search {
  display: flex;
  gap: 12px;
  align-items: end;
}
.search label {
  flex: 1;
}
#notice {
  padding: 14px 16px;
  border-left: 3px solid var(--accent);
  background: var(--surface);
  white-space: pre-wrap;
}
#notice.error {
  color: #ffc0bd;
}
#login {
  max-width: 620px;
  padding-top: 30px;
}
#login-form {
  max-width: 440px;
  margin: 36px 0 24px;
}
#login-form button {
  justify-self: start;
}
details {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
summary {
  cursor: pointer;
}
.audit {
  font-size: 12px;
  color: var(--muted);
  padding: 7px 0;
}
.tokenless {
  overflow-wrap: anywhere;
}
code {
  font-size: 12px;
  color: #babfc4;
}
.danger {
  color: #ffc0bd;
}
.empty {
  padding: 35px 0;
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
@media (max-width: 800px) {
  body {
    display: block;
  }
  aside {
    height: auto;
    position: static;
    padding: 22px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  nav {
    display: flex;
    overflow-x: auto;
    margin-top: 24px;
  }
  .aside-bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
  }
  main {
    padding: 0 22px 40px;
  }
  header {
    margin-bottom: 30px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  h1 {
    font-size: 31px;
  }
  .numbers {
    gap: 25px;
  }
  .list-row {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .title-row {
    align-items: flex-start;
  }
  #login {
    padding-top: 0;
  }
}
