:root {
  color-scheme: dark;
  --bg: #171b19;
  --panel: #202623;
  --text: #f4f5ef;
  --muted: #9da9a2;
  --line: #343c37;
  --accent: #c7e579;
  --cyan: #9bd6d4;
  --error: #f4b9ae;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}
[hidden] {
  display: none !important;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  border: 0;
  transition:
    background 0.15s,
    color 0.15s;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 5px;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 36px;
  font-weight: 650;
  line-height: 1.15;
}
h2 {
  font-size: 19px;
  font-weight: 600;
}
h3 {
  font-size: 17px;
}
p {
  line-height: 1.65;
}
input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #455148;
  background: #171d19;
  color: var(--text);
  border-radius: 5px;
  padding: 10px 12px;
  outline-offset: 3px;
}
input:focus {
  outline: 2px solid var(--accent);
}
input::placeholder {
  color: #839087;
}
label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: #cbd3cd;
}
.topbar {
  height: 82px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 44px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  color: #cbd3cd;
}
.brand img {
  width: 116px;
  height: auto;
  display: block;
}
.brand-divider {
  height: 22px;
  width: 1px;
  background: #4a544d;
}
.topnav {
  margin-left: auto;
}
.nav-link {
  font-size: 13px;
  color: var(--muted);
}
.nav-link:hover {
  color: var(--text);
}
.account {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
}
.quiet {
  background: none;
  color: var(--muted);
  padding: 10px 0 10px 16px;
  border-left: 1px solid var(--line);
  font-size: 13px;
}
.quiet:hover {
  color: var(--text);
}
.notice {
  max-width: 1180px;
  margin: 20px auto 0;
  padding: 14px 20px;
  background: #30372b;
  border-left: 3px solid var(--accent);
  font-size: 14px;
}
.loading {
  padding: 90px 32px;
  text-align: center;
  color: var(--muted);
}
.login-view {
  min-height: calc(100svh - 82px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 76px 32px 30px;
}
.login-content {
  width: 100%;
  max-width: 470px;
  margin: auto;
  padding: 20px 0 70px;
}
.eyebrow {
  color: var(--accent);
  font-size: 11px;
  font-weight: 650;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.login-content h1 {
  font-size: 54px;
  line-height: 1.09;
  font-weight: 600;
  margin-bottom: 26px;
}
.login-content h1 span {
  color: var(--accent);
}
.login-description {
  font-size: 16px;
  color: #b2beb6;
  margin-bottom: 36px;
}
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 44px;
  padding: 12px 20px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 650;
}
.primary {
  background: var(--accent);
  color: #172015;
}
.primary:hover {
  background: #dbf299;
}
.secondary {
  background: #2b342e;
  color: var(--text);
  border: 1px solid #465148;
}
.secondary:hover {
  background: #354138;
}
.login-button {
  width: 100%;
  justify-content: space-between;
  min-height: 56px;
  font-size: 15px;
}
.login-button span {
  font-size: 24px;
  line-height: 1;
}
.identity-note {
  font-size: 12px;
  color: #8d9c92;
  text-align: center;
  margin-top: 16px;
}
.login-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  font-size: 11px;
  color: #89988e;
  margin-top: 32px;
}
.workspace {
  max-width: 920px;
  margin: 0 auto;
  padding: 50px 44px 20px;
}
.page-heading {
  margin-bottom: 36px;
}
.page-heading .eyebrow {
  margin-bottom: 12px;
}
.page-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
  margin-top: 12px;
  max-width: 620px;
}
.add-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
}
.form-error {
  font-size: 13px;
  color: var(--error);
  margin-top: 14px;
  overflow-wrap: anywhere;
}
.feedback {
  font-size: 13px;
  color: var(--accent);
  margin-top: 14px;
  overflow-wrap: anywhere;
}
.list-heading {
  margin: 40px 0 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.count {
  font-size: 11px;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 3px 7px;
  border-radius: 4px;
  margin-left: 10px;
  vertical-align: middle;
}
.state {
  color: var(--muted);
  font-size: 13px;
  padding: 30px 0;
}
.state-error {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--error);
}
.empty {
  text-align: center;
  padding: 56px 20px 64px;
}
.empty-symbol {
  display: block;
  color: var(--cyan);
  font-size: 32px;
  margin-bottom: 18px;
}
.empty p {
  font-size: 13px;
  color: var(--muted);
  max-width: 410px;
  margin: 12px auto 0;
}
.claims {
  list-style: none;
  padding: 0;
  margin: 0;
}
.claim {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.claim-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}
.claim-domain {
  font-size: 16px;
  font-weight: 550;
  overflow-wrap: anywhere;
}
.claim-meta {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}
.claim-message {
  font-size: 13px;
  color: #cbd3cd;
  margin-top: 10px;
  overflow-wrap: anywhere;
}
.status {
  display: inline-block;
  white-space: nowrap;
  font-size: 11px;
  padding: 5px 8px;
  background: #303831;
  border-radius: 4px;
  color: #c9d2cb;
}
.status-verified {
  color: var(--accent);
  background: #c7e57912;
}
.status-pending {
  color: var(--cyan);
  background: #9bd6d412;
}
.records {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  display: grid;
  gap: 10px;
}
.records-title {
  font-size: 12px;
  font-weight: 600;
}
.record {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 12px;
}
.record-label {
  color: var(--muted);
  font-size: 11px;
}
.record code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  background: #171d19;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 6px 8px;
  overflow-wrap: anywhere;
  user-select: all;
}
.copy,
.table-action {
  background: none;
  border: 1px solid #445048;
  color: #dce5de;
  border-radius: 4px;
  padding: 7px 11px;
  font-size: 12px;
  white-space: nowrap;
}
.copy:hover,
.table-action:hover {
  background: #2d372f;
}
.danger {
  color: var(--error);
}
.claim-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}
.form-note {
  color: var(--muted);
  font-size: 12px;
  margin-top: 28px;
}
.form-note a,
.workspace-footer a {
  color: var(--cyan);
}
.workspace-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding: 23px 0;
  margin-top: 40px;
  color: #89978e;
  font-size: 11px;
}
@media (max-width: 700px) {
  .topbar {
    height: auto;
    min-height: 72px;
    padding: 20px;
    flex-wrap: wrap;
    gap: 16px;
  }
  .brand {
    gap: 15px;
  }
  .brand img {
    width: 100px;
  }
  .account {
    width: 100%;
    justify-content: flex-end;
    font-size: 12px;
  }
  .account #account-name {
    margin-right: auto;
    overflow-wrap: anywhere;
    min-width: 0;
  }
  .login-view {
    min-height: calc(100svh - 72px);
    padding: 54px 24px 24px;
  }
  .login-content {
    max-width: 400px;
    padding-bottom: 44px;
  }
  .login-content h1 {
    font-size: 40px;
  }
  .login-description {
    font-size: 14px;
  }
  .login-bottom {
    font-size: 10px;
    flex-wrap: wrap;
  }
  .workspace {
    padding: 32px 20px 16px;
  }
  h1 {
    font-size: 30px;
  }
  .add-form {
    grid-template-columns: 1fr;
  }
  .record {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .record-label {
    grid-column: 1 / -1;
  }
  .claim-actions > * {
    flex: 1 1 auto;
  }
  .notice {
    margin: 16px 20px 0;
  }
  .workspace-footer {
    margin-top: 30px;
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
