@font-face {
  font-family: Inter;
  src: url("/assets/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --bg: #171719;
  --panel: #222225;
  --text: #ececee;
  --muted: #a5a5ad;
  --accent: #a4b4f6;
  --border: #303034;
  --danger: #f18a95;
  --success: #9cc9b6;
  color-scheme: dark;
  font-family: Inter, system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 14px;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  font-variant-numeric: tabular-nums;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button {
  cursor: pointer;
  border: 1px solid #3a3a40;
  border-radius: 7px;
  background: transparent;
  color: var(--text);
  padding: 9px 13px;
  min-height: 36px;
  line-height: 18px;
}
button:hover {
  background: #2c2c32;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.primary {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.primary:hover {
  background: #bac6fa;
}
.danger {
  color: var(--danger);
  border-color: #82515b;
}
.danger.primary {
  background: var(--danger);
  color: #171719;
}
.ghost {
  border: 0;
  color: var(--accent);
  padding: 9px 0;
}
.muted {
  color: var(--muted);
}
.success {
  color: var(--success);
}
.danger-text {
  color: var(--danger);
}
.nowrap {
  white-space: nowrap;
}
.row {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}
.between {
  justify-content: space-between;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.wrap {
  flex-wrap: wrap;
}
.grow {
  flex: 1;
  min-width: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.04em;
}
h2 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.025em;
}
h3 {
  font-size: 17px;
  font-weight: 500;
}
p {
  line-height: 1.6;
}
.shell {
  max-width: 1440px;
  padding: 0 64px;
  margin: auto;
  isolation: isolate;
}
.topbar {
  height: 88px;
  display: flex;
  align-items: center;
  gap: 48px;
  border-bottom: 1px solid var(--border);
}
.brand {
  font-size: 24px;
  letter-spacing: -0.04em;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav a {
  color: var(--text);
}
.nav a.active {
  color: var(--accent);
}
.account {
  margin-left: auto;
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 13px;
}
.mobile-menu {
  display: none;
}
.page-head {
  padding: 44px 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.crumb {
  font-size: 14px;
  color: var(--muted);
  padding-top: 28px;
}
.crumb + .page-head {
  padding-top: 18px;
}
.metrics {
  display: flex;
  gap: 64px;
  padding: 8px 0 32px;
}
.metric {
  min-width: 190px;
  display: flex;
  gap: 8px;
  flex-direction: column;
}
.metric small {
  font-size: 14px;
  color: var(--muted);
}
.metric strong {
  font-size: 40px;
  letter-spacing: -0.04em;
  font-weight: 500;
}
.filters {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid var(--border);
}
input,
select,
textarea {
  border: 1px solid #3a3a40;
  background: transparent;
  border-radius: 7px;
  color: var(--text);
  padding: 11px 13px;
  min-width: 0;
  max-width: 100%;
}
input::placeholder,
textarea::placeholder {
  color: var(--muted);
}
input[type="checkbox"] {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
  margin: 0;
  flex-shrink: 0;
}
input[type="file"] {
  width: 100%;
  border: 0;
  padding: 0;
}
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -1px;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.search {
  width: 340px;
  background: var(--panel);
  border-color: var(--panel);
}
label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.check {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  line-height: 1.5;
}
label small {
  color: var(--muted);
  line-height: 1.5;
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
th {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  white-space: nowrap;
  padding: 14px 18px 14px 0;
  border-bottom: 1px solid var(--border);
}
td {
  padding: 22px 18px 22px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}
td:last-child,
th:last-child {
  padding-right: 0;
}
td:first-child {
  min-width: 230px;
}
.site-title {
  display: block;
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
}
.site-url {
  font-size: 14px;
  display: block;
  padding-top: 6px;
  overflow-wrap: anywhere;
}
.empty {
  padding: 64px 20px;
  text-align: center;
  border: 1px dashed #50505b;
  border-radius: 10px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 20px;
}
.cols {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr);
  gap: 64px;
}
.panel {
  background: var(--panel);
  border-radius: 12px;
  padding: 28px;
}
.panel hr,
hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 8px 0;
}
.drop {
  padding: 30px 24px;
  min-height: 156px;
  border: 1px dashed #62626b;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-direction: column;
}
.drop.over {
  border-color: var(--accent);
  background: #292d40;
}
.drop strong {
  font-size: 20px;
  font-weight: 500;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 20px;
}
.section {
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}
.alert {
  padding: 24px 28px;
  border: 1px solid #674049;
  background: #2d2024;
  border-radius: 10px;
}
.tabs {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid var(--border);
  overflow: auto;
  white-space: nowrap;
}
.tabs button {
  border: 0;
  border-radius: 0;
  color: var(--muted);
  padding: 16px 0;
}
.tabs button.active {
  color: var(--text);
  border-bottom: 2px solid var(--accent);
}
.actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.chart {
  height: 245px;
  display: flex;
  align-items: flex-end;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.bar-col {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}
.bar {
  background: #535f88;
  width: 100%;
  min-height: 2px;
  border-radius: 3px 3px 0 0;
}
.bar-col:last-child .bar {
  background: var(--accent);
}
.halves {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 28px 0;
}
.line-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  overflow-wrap: anywhere;
}
.footnote {
  font-size: 13px;
  color: var(--muted);
  padding: 20px 0;
}
.login {
  max-width: 360px;
  margin: 110px auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.login h1 {
  font-size: 26px;
}
.login .primary {
  text-align: center;
  padding: 12px;
}
.login .ghost {
  text-align: center;
}
.code {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: var(--panel);
  padding: 24px;
  border-radius: 10px;
  font:
    13px/1.8 ui-monospace,
    monospace;
}
dialog {
  background: var(--panel);
  color: var(--text);
  border: 1px solid #3a3a40;
  border-radius: 12px;
  padding: 32px;
  width: min(600px, calc(100vw - 32px));
  max-height: 90dvh;
  overflow: auto;
}
dialog::backdrop {
  background: #0009;
}
dialog h2 {
  font-size: 24px;
  font-weight: 600;
}
dialog form,
dialog .dialog-body {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
dialog .actions {
  justify-content: flex-end;
}
.error {
  color: var(--danger);
  line-height: 1.5;
}
.error:empty {
  display: none;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 90vw;
  background: #35353c;
  padding: 12px 20px;
  border-radius: 8px;
  z-index: 10;
  display: none;
}
.hidden {
  display: none !important;
}
.busy {
  opacity: 0.65;
  pointer-events: none;
}
main {
  padding-bottom: 48px;
}
.toggle-label {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}
.toggle-label .check {
  flex-shrink: 0;
}
.badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.badge {
  padding: 4px 8px;
  background: #29292e;
  border-radius: 5px;
  font-size: 13px;
}
.copy {
  font-size: 13px;
}
.inline-input {
  display: flex;
  gap: 12px;
  align-items: center;
}
.inline-input input {
  flex: 1;
}
.key-output {
  font:
    14px/1.6 ui-monospace,
    monospace;
  overflow-wrap: anywhere;
  padding: 16px;
  background: var(--bg);
  border-radius: 8px;
}
.progress {
  height: 4px;
  background: #3a3a40;
  border-radius: 2px;
  overflow: hidden;
}
.progress > div {
  background: var(--accent);
  height: 100%;
  width: 0;
}
select option {
  background: var(--panel);
}
@media (max-width: 1000px) {
  .shell {
    padding: 0 28px;
  }
  .topbar {
    gap: 24px;
  }
  .metrics {
    gap: 32px;
    flex-wrap: wrap;
  }
  .metric {
    min-width: 140px;
  }
  .cols {
    gap: 28px;
    grid-template-columns: 1.5fr 1fr;
  }
  .nav {
    gap: 16px;
  }
  .account .who {
    display: none;
  }
  .halves {
    gap: 32px;
  }
}
@media (max-width: 700px) {
  :root {
    font-size: 16px;
  }
  .shell {
    padding: 0 24px;
  }
  .topbar {
    height: 80px;
    justify-content: space-between;
    position: relative;
  }
  .brand {
    font-size: 22px;
  }
  .nav {
    display: none;
    position: absolute;
    top: 79px;
    left: -24px;
    right: -24px;
    background: var(--panel);
    padding: 20px 24px;
    z-index: 5;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid #3a3a40;
  }
  .nav.open {
    display: flex;
  }
  .nav a {
    padding: 14px 0;
  }
  .account {
    margin-left: 0;
  }
  .account .logout {
    display: none;
  }
  .mobile-menu {
    display: block;
    min-height: 48px;
  }
  .page-head {
    padding: 28px 0 24px;
  }
  h1 {
    font-size: 28px;
  }
  button {
    min-height: 48px;
    font-size: 16px;
  }
  .metric strong {
    font-size: 32px;
  }
  .metric small {
    font-size: 16px;
  }
  .metrics {
    gap: 24px;
  }
  .metric {
    min-width: 125px;
  }
  .filters {
    flex-wrap: wrap;
  }
  .search {
    width: 100%;
  }
  .cols,
  .field-row,
  .halves {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .panel {
    padding: 22px;
  }
  input,
  select,
  textarea {
    font-size: 16px;
    min-height: 48px;
  }
  .site-table thead {
    display: none;
  }
  .site-table tr {
    display: flex;
    flex-wrap: wrap;
    padding: 20px 0;
    gap: 12px;
    border-top: 1px solid var(--border);
  }
  .site-table td {
    padding: 0;
    border: 0;
    min-width: 0;
  }
  .site-table td:first-child {
    width: 100%;
  }
  .site-table td:nth-child(2),
  .site-table td:nth-child(5) {
    display: none;
  }
  .site-table td:nth-child(3) {
    flex: 1;
  }
  .site-table td:last-child {
    width: 100%;
  }
  .site-title {
    font-size: 18px;
  }
  .site-url {
    font-size: 16px;
  }
  .table-wrap {
    margin: 0 -4px;
    padding: 0 4px;
  }
  .tabs {
    gap: 24px;
  }
  .tabs button {
    font-size: 16px;
  }
  .chart {
    gap: 8px;
  }
  .bar-col {
    font-size: 11px;
  }
  .alert {
    padding: 22px;
  }
  .section.between {
    align-items: flex-start;
  }
  .section .row {
    flex-wrap: wrap;
  }
  .login {
    margin: 64px auto;
  }
  .page-head .actions {
    justify-content: flex-end;
  }
  .halves {
    padding: 24px 0;
  }
  dialog {
    padding: 24px;
  }
  dialog .actions button {
    flex: 1;
  }
  .footnote {
    font-size: 14px;
  }
  .row.wrap {
    gap: 12px;
  }
  .account {
    gap: 0;
  }
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid #3a3a40;
  border-radius: 7px;
  min-height: 40px;
  color: var(--text);
}
.button.primary {
  color: var(--bg);
  border-color: var(--accent);
}
.button:hover {
  text-decoration: none;
  filter: brightness(1.1);
}
.tabs {
  margin: 28px 0;
}
.tabs a {
  color: var(--muted);
  padding: 16px 0;
}
.tabs a.active {
  color: var(--text);
  border-bottom: 2px solid var(--accent);
}
.metric > span {
  color: var(--muted);
}
td small {
  display: block;
  color: var(--muted);
  padding-top: 5px;
}
#toast.show {
  display: block;
}
.crumb {
  display: inline-block;
}
fieldset {
  border: 1px solid #3a3a40;
  border-radius: 7px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
summary {
  cursor: pointer;
  padding: 12px 0;
}
.chart {
  overflow-x: auto;
}
.bar-col {
  min-width: 24px;
}
.bar-col svg {
  display: block;
}
.badge {
  display: inline-block;
  margin: 2px 4px 2px 0;
}
main > .panel {
  max-width: 780px;
}
#access h2 {
  margin-bottom: 12px;
}
@media (max-width: 700px) {
  .topbar {
    height: auto;
    min-height: 80px;
    flex-wrap: wrap;
    gap: 16px;
    padding: 20px 0;
  }
  .nav {
    display: flex;
    position: static;
    flex-direction: row;
    overflow-x: auto;
    padding: 0;
    background: none;
    border: 0;
    order: 3;
    width: 100%;
    gap: 24px;
  }
  .nav a {
    white-space: nowrap;
  }
  .account > span {
    display: none;
  }
  .account button {
    font-size: 14px;
  }
  .site-table td:nth-child(2),
  .site-table td:nth-child(5) {
    display: block;
  }
  .login {
    padding: 0 24px;
  }
  .page-head .button {
    white-space: nowrap;
  }
  .button {
    min-height: 48px;
  }
  .chart {
    gap: 8px;
  }
}
