/* admin.abloh.dev on the glad site's own look: site/styles.css's tokens, header and inputs, and
   site/docs.css's labels, buttons and footer, copied since this is its own Vercel project. */
:root {
  --ink: #111110;
  --ground: #FAFAF8;
  --muted: #6B6B66;
  --body: #3B3B38;
  --hairline: #E2E1DB;
  --rule: #D6D5CF;
  --error: #8A2B1F;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --mono: 'Geist Mono', ui-monospace, Menlo, monospace;
  --header-h: clamp(64px, calc(64px + 0.029412 * (100vw - 480px)), 80px);
  --gutter: clamp(16px, calc(16px + 0.117647 * (100vw - 480px)), 80px);
  --logo: clamp(28px, calc(28px + 0.007353 * (100vw - 480px)), 32px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--serif); }
::selection { background: var(--ink); color: var(--ground); }
.mono { font-family: var(--mono); }
button { font: inherit; color: inherit; }

.page { min-height: 100vh; display: flex; flex-direction: column; }
.header { height: var(--header-h); padding: 0 var(--gutter); display: flex; align-items: center; gap: 16px; }
.logo { display: block; width: auto; height: var(--logo); }
.product { padding-left: 16px; border-left: 1px solid var(--rule); font-size: 13px; letter-spacing: .04em; line-height: 28px; white-space: nowrap; }
.header .a-out { margin-left: auto; }

.main { flex: 1; padding: 48px var(--gutter) 96px; }
h1 { margin: 0 0 40px; font-weight: 300; font-size: 48px; line-height: 1.05; letter-spacing: -.02em; }
.label { margin: 0; font-size: 12px; font-weight: 400; letter-spacing: .08em; color: var(--muted); }

/* The gate. */
.gate { max-width: 440px; }
.a-gate { display: flex; flex-direction: column; gap: 8px; }
.row { display: flex; gap: 12px; }
.input { width: 100%; min-width: 0; height: 48px; padding: 0 16px; border: 1px solid var(--hairline); border-radius: 0; background: transparent; color: var(--ink); font-size: 15px; }
.input:hover { border-color: var(--muted); }
.input:focus-visible { outline: none; border-color: var(--ink); }
.input[aria-invalid="true"] { border-color: var(--error); }
.btn { flex-shrink: 0; height: 48px; padding: 0 24px; border: 0; background: var(--ink); color: var(--ground); font-size: 14px; letter-spacing: .06em; cursor: pointer; }
.btn:hover { background: #2E2E2B; }
.btn:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
.btn:disabled { background: var(--muted); cursor: default; }
.error { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: var(--error); }
.link { min-height: 44px; padding: 0; border: 0; background: none; font-size: 13px; letter-spacing: .04em; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link:hover { color: var(--muted); }
.link:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }

/* The numbers: the headline large, the rest beside it on a hairline. */
.stats { display: grid; grid-template-columns: 2fr repeat(4, 1fr); border-top: 1px solid var(--rule); margin: 0 0 56px; }
.stat { display: flex; flex-direction: column; gap: 8px; padding: 20px 20px 20px 0; border-bottom: 1px solid var(--hairline); }
.stat + .stat { padding-left: 20px; border-left: 1px solid var(--hairline); }
.stat .n { font-weight: 300; font-size: 44px; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat.lead .n { font-size: 96px; }
.stat.lead .label { color: var(--ink); }

/* Sign-ups per day: one column a day, today last. */
.days { display: grid; grid-template-columns: repeat(30, 1fr); gap: 4px; align-items: end; height: 140px; margin: 16px 0 8px; border-bottom: 1px solid var(--rule); }
.day { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; }
.day-n { font-size: 11px; color: var(--muted); text-align: center; line-height: 18px; }
.day-bar { display: block; min-height: 0; background: var(--ink); }
.day:hover .day-bar { background: var(--muted); }
.days-axis { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .04em; color: var(--muted); margin: 0 0 56px; }

/* The accounts. */
.bar { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 0 0 16px; }
.bar .input { flex: 1; min-width: 220px; height: 44px; padding: 0 14px; font-size: 13px; }
.table-wrap { overflow-x: auto; }
.accounts { width: 100%; border-collapse: collapse; font-size: 13px; }
.accounts th { padding: 8px 20px 8px 0; border-bottom: 1px solid var(--rule); text-align: left; font-weight: 500; font-size: 11px; letter-spacing: .08em; color: var(--muted); white-space: nowrap; }
.accounts td { height: 52px; padding: 8px 20px 8px 0; border-bottom: 1px solid var(--hairline); white-space: nowrap; }
.accounts .dim { color: var(--muted); }
.accounts .tag { color: var(--muted); }
.accounts .bad { color: var(--error); }
.accounts tr.is-dev td:first-child { color: var(--muted); }
.empty { margin: 16px 0 0; font-size: 13px; color: var(--muted); }

.footer { margin: 0 var(--gutter); min-height: 88px; border-top: 1px solid var(--hairline); display: flex; align-items: center; justify-content: space-between; font-size: 12px; letter-spacing: .06em; color: var(--muted); }

@media (max-width: 760px) {
  .main { padding-top: 32px; }
  h1 { font-size: 36px; margin-bottom: 28px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat.lead { grid-column: 1 / -1; }
  .stat + .stat { padding-left: 0; border-left: 0; }
  .stat:nth-child(odd):not(.lead) { padding-left: 16px; border-left: 1px solid var(--hairline); }
  .stat.lead .n { font-size: 72px; }
  .stat .n { font-size: 36px; }
  .days { gap: 2px; height: 110px; }
  .day-n { font-size: 9px; }
}
