@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap");
:root {
  color-scheme: dark;
  --bg: #0f1729;
  --panel: #121b31;
  --line: #29313d;
  --text: #e7ebef;
  --muted: #8596ad;
  --blue: #3c83f6;
  --green: #21c45d;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.shell {
  display: flex;
  min-height: 100vh;
}
aside {
  width: 225px;
  flex-shrink: 0;
  background: #131b2d;
  border-right: 1px solid var(--line);
  padding: 30px 20px;
  position: relative;
}
aside > a:not(.wordmark) {
  display: block;
  padding: 14px 12px;
  margin: 8px -4px;
  color: var(--muted);
}
aside > a.nav-active {
  background: #3c83f61a;
  color: #75a8ff;
  border-radius: 8px;
}
.wordmark {
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -1px;
}
.wordmark span {
  font-weight: 400;
  color: var(--muted);
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--muted);
  margin: 35px 0 16px;
}
.sidebar-bottom {
  position: absolute;
  bottom: 30px;
  font-size: 11px;
  color: var(--muted);
}
.screen {
  padding: 36px;
  flex: 1;
  min-width: 0;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
header .eyebrow {
  margin-top: 0;
}
h1 {
  font-size: 30px;
  letter-spacing: -1px;
  margin: 8px 0;
}
h2 {
  font-size: 22px;
  letter-spacing: -0.5px;
}
.muted,
small,
.fineprint {
  color: var(--muted);
}
.badge {
  font-size: 12px;
  text-transform: capitalize;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 30px;
}
.positive {
  color: var(--green);
}
.toolbar {
  display: flex;
  align-items: end;
  gap: 20px;
  margin: 32px 0 20px;
}
.toolbar label {
  font-size: 11px;
  color: var(--muted);
}
input,
select {
  display: block;
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 12px;
  color: var(--text);
  margin: 8px 0 18px;
}
.toolbar input {
  margin-bottom: 0;
}
.toolbar > span {
  margin-left: auto;
  padding-bottom: 12px;
}
.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}
table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
}
th,
td {
  text-align: left;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}
th {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}
td {
  font-variant-numeric: tabular-nums;
}
td small {
  display: block;
  font-size: 11px;
  margin-top: 6px;
}
td strong {
  font-weight: 500;
}
.empty {
  text-align: center;
  padding: 70px 20px;
  color: var(--muted);
}
.empty h2 {
  color: var(--text);
  font-size: 18px;
}
.fineprint {
  font-size: 11px;
  margin-top: 20px;
}
.account-page {
  max-width: 1080px;
  margin: auto;
  padding: 32px 24px;
}
.account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  margin: 70px 0;
}
.account-intro h1 {
  font-size: 54px;
  line-height: 1.05;
  margin: 24px 0;
}
.account-intro p {
  line-height: 1.8;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 30px;
  border-radius: 16px;
}
.tabs {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.tabs button,
.text-button {
  background: none;
  border: 0;
  color: var(--muted);
  padding: 8px 0;
}
.tabs .selected {
  color: var(--text);
  border-bottom: 2px solid var(--blue);
}
label {
  display: block;
  font-size: 12px;
}
.primary,
.secondary {
  border-radius: 7px;
  padding: 13px 18px;
  border: 1px solid var(--line);
  display: inline-block;
  text-align: center;
}
.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}
.secondary {
  background: transparent;
  color: var(--text);
}
form > .primary,
.panel > .primary {
  width: 100%;
  margin: 12px 0;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0;
}
#message {
  padding: 16px;
  background: #3c83f61a;
  border: 1px solid #3c83f655;
  border-radius: 8px;
  line-height: 1.6;
}
#api-key {
  word-break: break-all;
  display: block;
  padding: 12px;
  background: var(--bg);
  user-select: all;
}
.fineprint a {
  text-decoration: underline;
}
footer {
  border-top: 1px solid var(--line);
  padding: 25px 0;
  color: var(--muted);
  font-size: 12px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 800px) {
  aside {
    display: none;
  }
  .screen {
    padding: 24px 16px;
  }
  .toolbar {
    flex-wrap: wrap;
  }
  .toolbar > span {
    margin-left: 0;
  }
  .account-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 32px 0;
  }
  .account-intro h1 {
    font-size: 40px;
  }
  .panel {
    padding: 24px;
  }
  header {
    align-items: flex-start;
  }
}
