:root {
  color-scheme: dark;
  --background: #0b151a;
  --surface: #111e25;
  --text: #edf3f3;
  --muted: #a9b9c0;
  --accent: #7ddbc3;
  --amber: #dfbc7a;
  --line: #36515c;
  font: 16px/1.5 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--text); }
a { color: var(--accent); text-underline-offset: .2em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.topbar { border-bottom: 1px solid var(--line); }
.topbar-inner {
  width: min(100% - 32px, 1040px);
  min-height: 68px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding-block: 8px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 750;
  letter-spacing: -.035em;
  text-decoration: none;
}
.brand svg {
  flex-shrink: 0;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.brand span span { color: var(--accent); }
.languages { display: flex; gap: 2px; }
.languages a {
  display: grid;
  min-width: 36px;
  min-height: 40px;
  place-items: center;
  border-radius: 5px;
  color: var(--muted);
  text-decoration: none;
  font-size: .75rem;
  font-weight: 700;
}
.languages a[aria-current], .languages a:hover { color: var(--accent); background: var(--surface); }
.layout { width: min(100% - 32px, 520px); margin: clamp(32px, 8vw, 88px) auto 40px; }
.card { padding: clamp(20px, 5vw, 36px); border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.eyebrow { margin: 0 0 9px; color: var(--accent); font-size: .75rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(1.55rem, 4.5vw, 2rem); line-height: 1.18; letter-spacing: -.035em; }
.intro { margin: 12px 0 0; color: var(--muted); }
.actions { display: grid; align-items: start; gap: 15px; margin-top: 24px; }
form { display: grid; gap: 8px; }
label { font-size: .875rem; font-weight: 650; }
input:not([type="hidden"]) {
  width: 100%;
  min-height: 46px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--background);
  color: inherit;
  font: inherit;
}
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: 7px;
  font: inherit;
  font-weight: 690;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
form > .button { margin-top: 5px; }
.primary { background: var(--accent); color: var(--background); }
.primary:hover { background: #9ae7d4; }
.secondary { border-color: var(--line); color: var(--accent); background: var(--background); }
.secondary:hover { border-color: var(--accent); }
.subtle { color: var(--muted); background: transparent; }
.subtle:hover { color: var(--text); border-color: var(--line); }
.notice, .claim-state {
  margin: 0;
  padding: 11px 12px;
  border-left: 3px solid var(--amber);
  border-radius: 4px;
  background: var(--background);
  color: var(--text);
  overflow-wrap: anywhere;
}
.notice { margin-top: 18px; }
.claim-state[data-status="verified"] { border-color: var(--accent); }
.form-note, .page-links { color: var(--muted); font-size: .875rem; }
.form-note { margin: 0; }
.signout { justify-items: start; }
.secondary-link { justify-self: start; padding: 7px 0; }
.page-links { margin-top: 17px; }
.page-links p { margin: 0 0 6px; }
.page-links div { display: flex; flex-wrap: wrap; gap: 2px 16px; }
.page-links a { display: inline-block; padding: 6px 0; }
/* Private owner referral list. */
.admin-layout { max-width: 1160px; margin: 40px auto; padding: 24px; }
.admin-links { display: flex; flex-wrap: wrap; gap: 20px; margin: 24px 0; }
.admin-table { overflow-x: auto; border: 1px solid #28424a; border-radius: 12px; }
.admin-table table { width: 100%; border-collapse: collapse; white-space: nowrap; }
.admin-table th, .admin-table td { padding: 14px; text-align: left; border-bottom: 1px solid #28424a; }
