:root {
  color-scheme: light;
  --paper: #f5f3e9;
  --card: #fffef8;
  --ink: #172b25;
  --muted: #566860;
  --line: #dcded0;
  --green: #234d3b;
  --lime: #dff498;
  --red: #8a3025;
  --gold: #ffe8a9;
  --radius: 16px;
  font-family: "DM Sans", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
button,
input,
select {
  font: inherit;
}
a {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3,
.wordmark {
  font-family: "Instrument Sans", "DM Sans", system-ui, sans-serif;
}
h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}
h2 {
  font-size: 1.22rem;
  letter-spacing: -0.025em;
}
p {
  line-height: 1.6;
  color: var(--muted);
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #967714;
  outline-offset: 3px;
}
.skip {
  position: absolute;
  top: -150px;
  left: 1rem;
  background: white;
  padding: 0.75rem;
  z-index: 10;
}
.skip:focus {
  top: 1rem;
}
#header {
  background: var(--ink);
  color: #fbfcf2;
}
.bar,
.nav-inner,
main,
footer {
  max-width: 1280px;
  width: 100%;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 52px);
}
.bar {
  min-height: 76px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.mark {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--lime);
  color: var(--ink);
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 12px;
}
.wordmark {
  font-weight: 700;
  font-size: 1.16rem;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.identity {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.85rem;
}
.identity span {
  color: #d2dfd6;
  max-width: 230px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.identity button {
  background: transparent;
  border: 1px solid #678176;
  color: white;
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
  white-space: nowrap;
}
nav {
  background: #e9ebda;
  color: var(--ink);
  border-bottom: 1px solid #d5dac7;
}
.nav-inner {
  display: flex;
  gap: 0.25rem;
  overflow: auto;
  padding-block: 7px;
}
.nav-inner a {
  padding: 0.65rem 0.8rem;
  white-space: nowrap;
  border-radius: 9px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
}
.nav-inner a[aria-current],
.nav-inner a:hover {
  background: #fffef7;
}
main {
  flex: 1;
  padding-block: clamp(24px, 5vw, 54px);
  outline: none;
}
footer {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding-block: 18px;
  font-size: 0.79rem;
  color: var(--muted);
  gap: 1rem;
}
#notice:empty {
  display: none;
}
#notice {
  max-width: 1170px;
  width: calc(100% - 32px);
  margin: 1rem auto 0;
  background: var(--lime);
  padding: 0.8rem 1rem;
  border-radius: 9px;
  overflow-wrap: anywhere;
}
#notice.error {
  background: #fce4dc;
  color: var(--red);
}
.page-title {
  margin-bottom: 1.6rem;
}
.page-title p {
  margin-top: 0.65rem;
}
.cover {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--green);
  color: #fbfcf2;
  border-radius: 24px;
  min-height: 235px;
  padding: clamp(26px, 5vw, 60px);
  display: grid;
  align-content: center;
}
.cover::after {
  content: "";
  z-index: -1;
  position: absolute;
  inset: -40% -13% -65% 38%;
  transform: rotate(-22deg);
  opacity: 0.65;
  background: repeating-radial-gradient(
    ellipse at 65% 58%,
    transparent 0 19px,
    #b4d585 20px 21px,
    transparent 22px 33px
  );
  mask-image: linear-gradient(90deg, transparent, #000 55%);
}
.cover p {
  color: #e4efdf;
  margin-top: 0.85rem;
  max-width: 35ch;
}
.cover .eyebrow {
  color: var(--lime);
  margin-bottom: 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.cover h1 {
  max-width: 16ch;
  overflow-wrap: anywhere;
}
.auth {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: stretch;
  gap: 1.2rem;
}
.auth .cover {
  min-height: 500px;
}
.auth .cover::after {
  inset: -5% -50% -65% 0;
  opacity: 0.85;
}
.auth .card {
  padding: clamp(22px, 4vw, 46px);
}
.auth .card h2 {
  font-size: 1.65rem;
  margin-bottom: 0.5rem;
}
.auth .card p {
  margin-top: 0.8rem;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(16px, 2.3vw, 26px);
  min-width: 0;
}
.card h2 + p {
  margin-top: 0.45rem;
}
.stack {
  display: grid;
  gap: 1rem;
}
.split {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1rem;
  align-items: start;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-block: 1rem;
}
.metric {
  display: grid;
  gap: 0.45rem;
}
.metric strong {
  font-size: 2.45rem;
  line-height: 1;
  letter-spacing: -0.07em;
}
.metric span,
.muted {
  color: var(--muted);
}
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.rule {
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
}
.rule:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.empty {
  padding: 1.5rem 0 0.5rem;
  color: var(--muted);
}
.form {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.1rem;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}
label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 700;
}
input,
select {
  min-width: 0;
  width: 100%;
  background: #fbfaf2;
  border: 1px solid #b7c1af;
  border-radius: 9px;
  padding: 0.65rem 0.7rem;
  color: var(--ink);
  min-height: 42px;
}
input::placeholder {
  color: #62756b;
}
input[type="password"] {
  letter-spacing: 0.05em;
}
.button {
  border: 1px solid var(--green);
  background: var(--green);
  color: white;
  padding: 0.58rem 0.85rem;
  min-height: 40px;
  border-radius: 9px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}
.button:hover {
  filter: brightness(1.1);
}
.button.secondary {
  color: var(--green);
  background: transparent;
  border-color: #9eaf9b;
}
.button.danger {
  color: var(--red);
  background: transparent;
  border-color: #caa097;
}
.actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.pill {
  border-radius: 99px;
  background: #eceee3;
  padding: 0.26rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}
.pill.approved,
.pill.active,
.pill.reachable {
  background: var(--lime);
}
.pill.pending {
  background: var(--gold);
}
.pill.rejected,
.pill.expired {
  background: #f9e4da;
  color: var(--red);
}
.table-wrap {
  overflow: auto;
  margin-top: 0.8rem;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}
th {
  color: var(--muted);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
th,
td {
  padding: 0.7rem 0.55rem;
  vertical-align: middle;
  border-bottom: 1px solid var(--line);
}
th:first-child,
td:first-child {
  padding-left: 0;
}
td {
  overflow-wrap: anywhere;
}
tr:last-child td {
  border-bottom: 0;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #172b25;
  color: #ecf8d8;
  border-radius: 12px;
  padding: 1rem;
  max-height: 430px;
  overflow: auto;
  margin-bottom: 0;
}
pre:empty {
  display: none;
}
code {
  overflow-wrap: anywhere;
}
details > summary {
  cursor: pointer;
  font-weight: 700;
  padding: 0.35rem 0;
}
#claim-code {
  margin-top: 1rem;
  display: block;
  word-break: break-all;
}
@media (max-width: 800px) {
  .split,
  .auth {
    grid-template-columns: 1fr;
  }
  .auth .cover {
    min-height: 230px;
  }
  .bar {
    min-height: 62px;
  }
  .identity span {
    max-width: 130px;
  }
}
@media (max-width: 460px) {
  .identity span {
    display: none;
  }
  .wordmark {
    font-size: 1rem;
  }
  .metrics {
    gap: 0.45rem;
  }
  .metric {
    padding: 0.65rem;
  }
  .metric strong {
    font-size: 1.7rem;
  }
  .metric span {
    font-size: 0.75rem;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
}
