* { box-sizing: border-box; }
body { margin: 0; background: #f7f8fc; color: #252735; font: 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: #6154b8; text-decoration: none; }
a:hover { text-decoration: underline; }
.topbar { display: flex; align-items: center; gap: 40px; padding: 20px 32px; background: white; border-bottom: 1px solid #e7e8ee; }
.brand { color: #252735; font-size: 22px; font-weight: 750; }
.brand span { color: #858797; font-weight: 400; font-size: 14px; }
nav { display: flex; gap: 24px; flex: 1; }
main { max-width: 1280px; padding: 40px 32px; margin: auto; }
h1 { margin: 0; font-size: 28px; }
.heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 24px; }
.eyebrow { color: #888a9c; font-size: 11px; font-weight: 700; letter-spacing: .16em; margin: 0 0 8px; }
.muted { color: #808292; }
.card { background: white; border: 1px solid #e7e8ee; border-radius: 10px; overflow: hidden; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; white-space: nowrap; }
th, td { padding: 16px 20px; border-bottom: 1px solid #eef0f5; text-align: left; }
th { background: #fafbfe; color: #848696; font-size: 12px; font-weight: 600; }
.pagination { display: flex; justify-content: space-between; padding: 18px 20px; }
.pagination a + a { margin-left: 20px; }
.empty { padding: 48px; text-align: center; color: #858797; }
button, .button { border: 0; border-radius: 6px; padding: 10px 16px; background: #6859c8; color: white; font: inherit; cursor: pointer; display: inline-block; }
button:hover, .button:hover { background: #584bb1; text-decoration: none; }
.quiet { color: #77798a; background: #f1f2f7; }
.quiet:hover { background: #e7e8ef; }
.login { max-width: 480px; margin: 64px auto; padding: 36px; }
.login .button { margin: 16px 0; }
@media (max-width: 700px) {
  .topbar { padding: 16px; gap: 16px; flex-wrap: wrap; }
  nav { gap: 16px; }
  main { padding: 24px 16px; }
  .heading { align-items: start; flex-direction: column; }
}

.padded { padding: 24px; }
.section-gap { margin-top: 24px; }
h2 { margin: 0 0 12px; font-size: 19px; }
.metadata { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; }
.metadata dt { color: #808292; }
.metadata dd { margin: 0; overflow-wrap: anywhere; }
.status { display: inline-block; padding: 3px 9px; border-radius: 12px; background: #f1f2f7; color: #77798a; }
.status.enabled, .status.succeeded { background: #e9f7ef; color: #227044; }
.status.failed, .status.interrupted { background: #fff0ee; color: #a73830; }
.status.pending { background: #fff6df; color: #8c641a; }
.json-content { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 640px; overflow: auto; font: 12px/1.5 ui-monospace, monospace; background: #f7f8fc; padding: 16px; }
summary { cursor: pointer; padding: 8px 0; }
.error-message { color: #a73830; white-space: pre-wrap; }
.status.available { background: #e9f7ef; color: #227044; }
.status.reserved { background: #fff6df; color: #8c641a; }
.status.used { background: #eef0fb; color: #4f46a0; }
.status.disabled, .status.expired { background: #fff0ee; color: #a73830; }
.invite-form { display: flex; flex-wrap: wrap; align-items: end; gap: 16px; }
.invite-form label { display: flex; flex-direction: column; gap: 6px; color: #808292; }
.invite-form input { width: 180px; padding: 9px 12px; border: 1px solid #dfe1ea; border-radius: 6px; font: inherit; color: #252735; }
.notice { color: #8c641a; background: #fff6df; border-radius: 6px; padding: 10px 14px; }
.codes { display: block; width: 100%; max-width: 360px; max-height: 480px; margin: 12px 0; padding: 12px; border: 1px solid #dfe1ea; border-radius: 6px; font: 15px/1.6 ui-monospace, monospace; letter-spacing: .08em; resize: vertical; }
.pager { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.pagination .pager a + a { margin-left: 0; }
.page-jump { display: flex; align-items: center; gap: 8px; }
.page-jump label { color: #808292; }
.page-jump input { width: 80px; margin-left: 6px; padding: 6px 8px; border: 1px solid #dfe1ea; border-radius: 6px; font: inherit; }
.page-jump button { padding: 6px 12px; }
