@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('cinzel-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('cinzel-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #08090a;
  --ink-2: #0d0f11;
  --surface: #121517;
  --surface-2: #181b1e;
  --line: #24272b;
  --line-2: #33373c;
  --text: #e8e2d4;
  --muted: #9a958a;
  --faint: #6b675f;
  --gold: #c8a44d;
  --gold-hi: #f2dfa0;
  --gold-lo: #8a6f2e;
  --gold-wash: rgba(200, 164, 77, 0.09);
  --ember: #b4402a;
  --bad: #e06a4f;
  --ok: #86bd7f;
  --blue: #93b6dc;
  --violet: #b2a5ea;

  --display: 'Cinzel', 'Times New Roman', serif;
  --sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius: 8px;
  --radius-sm: 5px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: inset 0 1px 0 rgba(242, 223, 160, 0.035), 0 18px 40px -28px rgba(0, 0, 0, 0.9);
  --rule: linear-gradient(90deg, transparent, rgba(200, 164, 77, 0.55), transparent);

  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(70rem 28rem at 50% -8rem, rgba(200, 164, 77, 0.08), transparent 70%),
    radial-gradient(50rem 30rem at 100% 0, rgba(180, 64, 42, 0.04), transparent 70%),
    var(--ink);
  background-attachment: fixed;
  color: var(--text);
  font: 400 15px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.15s;
}

a:hover {
  color: var(--gold-hi);
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  margin: 0;
  font: 600 clamp(1.7rem, 2.6vw, 2.35rem) / 1.1 var(--display);
  letter-spacing: 0.02em;
  color: var(--text);
}

code {
  padding: 0.08em 0.4em;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 0.86em;
}

strong {
  font-weight: 600;
}

.quiet {
  color: var(--muted);
}

.lead {
  max-width: 46rem;
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.hint {
  margin: 0.35rem 0 0;
  color: var(--faint);
  font-size: 0.8rem;
}

.bad {
  color: var(--bad);
}

.eyebrow {
  margin: 0 0 0.55rem;
  font: 600 0.7rem/1.3 var(--display);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}

.count {
  color: var(--faint);
  font-size: 0.85em;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

:focus-visible {
  outline: 2px solid var(--gold-hi);
  outline-offset: 2px;
}

.icon {
  width: 1.05em;
  height: 1.05em;
  flex: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.rule-diamond {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.4rem 0;
  color: var(--gold);
  font-size: 0.55rem;
}

.rule-diamond::before,
.rule-diamond::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rule);
}

input[type='text'],
input[type='email'],
input[type='search'],
input[type='number'],
select,
textarea {
  width: 100%;
  min-height: 2.5rem;
  padding: 0.5rem 0.8rem;
  background: rgba(8, 9, 10, 0.75);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  color: var(--text);
  font: inherit;
  font-size: 0.92rem;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}

input::placeholder,
textarea::placeholder {
  color: var(--faint);
}

textarea {
  resize: vertical;
  line-height: 1.55;
}

select {
  appearance: none;
  padding-right: 2.2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23c8a44d' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  cursor: pointer;
}

select option {
  background: var(--surface);
  color: var(--text);
}

input:hover,
select:hover,
textarea:hover {
  border-color: #454a50;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 164, 77, 0.16);
}

input[type='checkbox'] {
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: var(--gold);
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.5rem;
  padding: 0 1.15rem;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #1c1f23, #141619);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: 600 0.72rem/1 var(--display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition:
    border-color 0.15s,
    color 0.15s,
    background 0.15s,
    box-shadow 0.2s,
    transform 0.15s var(--ease);
}

.btn:hover {
  border-color: var(--gold);
  color: var(--gold-hi);
}

.btn:active {
  transform: translateY(1px);
}

.btn.primary {
  border-color: #e0c272;
  background: linear-gradient(180deg, #f3e2a6 0%, #d9b964 46%, #b48d3a 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 rgba(90, 64, 18, 0.5),
    0 10px 24px -12px rgba(200, 164, 77, 0.7);
  color: #1b1407;
}

.btn.primary:hover {
  background: linear-gradient(180deg, #fbeec2 0%, #e6c977 46%, #c39b45 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(90, 64, 18, 0.5),
    0 12px 30px -10px rgba(200, 164, 77, 0.85);
  color: #1b1407;
}

.btn.tiny {
  min-height: 1.9rem;
  padding: 0 0.7rem;
  font-size: 0.64rem;
  letter-spacing: 0.12em;
}

.btn.icon-only {
  padding: 0;
  width: 1.9rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0;
}

.btn.danger:hover {
  border-color: var(--bad);
  color: var(--bad);
  background: linear-gradient(180deg, #24150f, #1a100c);
}

.btn[disabled] {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

.linklike {
  padding: 0;
  background: none;
  border: 0;
  color: var(--gold);
  font: inherit;
  cursor: pointer;
}

.linklike:hover {
  color: var(--gold-hi);
}

.flash {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0 0 1.5rem;
  padding: 0.85rem 1.1rem 0.85rem 1.2rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, var(--gold-wash), transparent 60%), var(--ink-2);
  animation: rise 0.45s var(--ease) both;
}

.flash.ok {
  border-left-color: var(--ok);
  background: linear-gradient(90deg, rgba(134, 189, 127, 0.08), transparent 60%), var(--ink-2);
}

.flash.warn {
  border-left-color: var(--gold-hi);
}

.flash.error {
  border-left-color: var(--bad);
  background: linear-gradient(90deg, rgba(224, 106, 79, 0.09), transparent 60%), var(--ink-2);
}

.flash ul {
  margin: 0.4rem 0;
  padding-left: 1.2rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(8, 9, 10, 0.82);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
}

.topbar::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--rule);
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 90rem;
  min-height: 4.25rem;
  margin: 0 auto;
  padding: 0 1.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
}

.brand img {
  width: 2.25rem;
  height: 2.25rem;
  filter: drop-shadow(0 2px 8px rgba(200, 164, 77, 0.25));
  transition: transform 0.3s var(--ease);
}

.brand:hover img {
  transform: scale(1.06);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-game {
  font: 600 0.82rem var(--display);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-hi);
}

.brand-app {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand:hover {
  color: var(--text);
}

.topnav {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: 0.25rem;
}

.topnav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.85rem;
  color: var(--muted);
  font: 600 0.72rem var(--display);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.topnav a:hover {
  color: var(--text);
}

.topnav a.current {
  color: var(--gold-hi);
}

.topnav a.current::after {
  content: '';
  position: absolute;
  left: 0.6rem;
  right: 0.6rem;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.topnav a.current::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  background: var(--gold-hi);
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(242, 223, 160, 0.6);
}

.topnav .icon {
  opacity: 0.8;
}

.tools {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
  font-size: 0.82rem;
}

.tools > a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
}

.tools > a:hover {
  color: var(--gold-hi);
}

.who {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.2rem 0.3rem 0.2rem 0.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ink-2);
}

.who-mail {
  max-width: 14rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-size: 0.78rem;
}

.topnav-form {
  display: flex;
  margin: 0;
}

.logout {
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  color: var(--muted);
}

.logout:hover {
  background: var(--surface-2);
  color: var(--bad);
}

.badge {
  display: inline-grid;
  place-items: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold));
  box-shadow: 0 0 12px rgba(200, 164, 77, 0.45);
  color: #1b1407;
  font: 700 0.68rem/1 var(--sans);
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.devbar {
  margin: 0;
  padding: 0.45rem 1.75rem;
  background: linear-gradient(90deg, #5a2116, #3a160f);
  color: #ffd9cf;
  font-size: 0.8rem;
  text-align: center;
}

.page {
  flex: 1;
  width: 100%;
  max-width: 90rem;
  margin: 0 auto;
  padding: 2.5rem 1.75rem 4rem;
  animation: rise 0.5s var(--ease) both;
}

.page.narrow {
  max-width: 60rem;
}

.head {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding-bottom: 1.6rem;
}

.head::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(200, 164, 77, 0.5), rgba(200, 164, 77, 0.08) 55%, transparent);
}

.head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.75rem 1rem 2.25rem;
  color: var(--faint);
  font: 500 0.66rem var(--display);
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.foot::before,
.foot::after {
  content: '';
  width: 3rem;
  height: 1px;
  background: var(--rule);
}

.avatar {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font: 600 0.78rem/1 var(--display);
  letter-spacing: 0.04em;
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.avatar.small {
  width: 1.7rem;
  height: 1.7rem;
  font-size: 0.66rem;
}

.avatar.large {
  width: 4.25rem;
  height: 4.25rem;
  font-size: 1.35rem;
  border-color: rgba(200, 164, 77, 0.45);
  box-shadow:
    0 0 0 4px var(--ink),
    0 0 0 5px rgba(200, 164, 77, 0.25),
    0 12px 30px -10px rgba(0, 0, 0, 0.8);
}

.av-0 {
  background: linear-gradient(145deg, #5b4a22, #2c2412);
  color: var(--gold-hi);
}

.av-1 {
  background: linear-gradient(145deg, #5a2a1f, #2a1511);
  color: #f3c3b5;
}

.av-2 {
  background: linear-gradient(145deg, #2c3d52, #161e28);
  color: #c9dbef;
}

.av-3 {
  background: linear-gradient(145deg, #34452e, #1a2217);
  color: #cfe3c9;
}

.av-4 {
  background: linear-gradient(145deg, #43355a, #20192c);
  color: #ddd2f5;
}

.av-5 {
  background: linear-gradient(145deg, #45403a, #211f1c);
  color: var(--text);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 1.75rem;
}

.stat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.05rem 1.2rem 1.1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--surface-2), var(--ink-2));
  box-shadow: var(--shadow);
  color: var(--text);
  transition:
    border-color 0.2s,
    transform 0.25s var(--ease);
}

.stat::after {
  content: '';
  position: absolute;
  right: -2.5rem;
  top: -2.5rem;
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  background: radial-gradient(circle, var(--tint, rgba(200, 164, 77, 0.16)), transparent 70%);
  pointer-events: none;
}

.stat:hover {
  border-color: rgba(200, 164, 77, 0.5);
  color: var(--text);
  transform: translateY(-2px);
}

.stat.current {
  border-color: var(--gold);
  background: linear-gradient(160deg, rgba(200, 164, 77, 0.12), var(--ink-2));
}

.stat-n {
  font: 600 2.1rem/1 var(--display);
  color: var(--gold-hi);
  font-variant-numeric: tabular-nums;
}

.stat-l {
  font: 600 0.66rem var(--display);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.stat.t-new {
  --tint: rgba(242, 223, 160, 0.2);
}

.stat.t-interview {
  --tint: rgba(147, 182, 220, 0.2);
}

.stat.t-interview .stat-n {
  color: #cfe0f3;
}

.stat.t-hired {
  --tint: rgba(134, 189, 127, 0.2);
}

.stat.t-hired .stat-n {
  color: #cde8c8;
}

.tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.25rem;
  overflow-x: auto;
  scrollbar-width: thin;
}

.tabs a {
  display: inline-flex;
  align-items: center;
  flex: none;
  gap: 0.5rem;
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ink-2);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 500;
  transition:
    border-color 0.15s,
    color 0.15s,
    background 0.15s;
}

.tabs a:hover {
  border-color: var(--line-2);
  color: var(--text);
}

.tabs a.current {
  border-color: rgba(200, 164, 77, 0.6);
  background: var(--gold-wash);
  color: var(--gold-hi);
}

.tabs a.gone {
  opacity: 0.6;
}

.tabs .quiet {
  font-size: 0.78rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.8rem;
  margin-bottom: 2rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(13, 15, 17, 0.7);
  box-shadow: var(--shadow);
}

.filters label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: var(--faint);
  font: 600 0.62rem var(--display);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.filters label.grow {
  flex: 1 1 16rem;
}

.filters select {
  width: auto;
  min-width: 10.5rem;
  font-family: var(--sans);
  letter-spacing: 0;
  text-transform: none;
}

.filters input {
  font-family: var(--sans);
  letter-spacing: 0;
  text-transform: none;
}

.filters input[type='search'] {
  padding-left: 2.3rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239a958a' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0.8rem center;
}

.filters > a {
  align-self: center;
  font-size: 0.82rem;
}

.group {
  margin-bottom: 2.5rem;
}

.group h2 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.85rem;
  font: 600 1.1rem var(--display);
  letter-spacing: 0.04em;
}

.group h2 a {
  color: var(--text);
}

.group h2 a:hover {
  color: var(--gold-hi);
}

.group h2::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
}

.more {
  margin: 0.75rem 0 0;
  font-size: 0.86rem;
}

.table {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(13, 15, 17, 0.85);
  box-shadow: var(--shadow);
  font-size: 0.88rem;
}

.table th {
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  color: var(--faint);
  font: 600 0.62rem var(--display);
  letter-spacing: 0.2em;
  text-align: left;
  text-transform: uppercase;
}

.table td {
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid rgba(36, 39, 43, 0.7);
  vertical-align: middle;
  overflow-wrap: anywhere;
  transition: background 0.15s;
}

.table tbody tr:last-child td {
  border-bottom: 0;
}

.table tbody tr[data-href] {
  cursor: pointer;
}

.table tbody tr:hover td {
  background: rgba(200, 164, 77, 0.04);
}

.table tbody tr[data-href]:hover td:first-child {
  box-shadow: inset 2px 0 0 var(--gold);
}

.table .check {
  width: 2.75rem;
  text-align: center;
}

.applicants th:nth-child(3) {
  width: 9.5rem;
}

.applicants th:nth-child(4) {
  width: 8rem;
}

.table th.date {
  width: 8rem;
  text-align: right;
}

.table td.date {
  white-space: nowrap;
  color: var(--muted);
  text-align: right;
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
}

.audit th:first-child {
  width: 10rem;
  text-align: left;
}

.audit th:nth-child(2) {
  width: 16rem;
}

.audit th:nth-child(3) {
  width: 14rem;
}

.audit .date {
  text-align: left;
}

.person {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.person-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.person-text a {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.name {
  color: var(--text);
  font-weight: 500;
}

a.name:hover {
  color: var(--gold-hi);
}

.unread .name {
  font-weight: 700;
}

.mail {
  color: var(--muted);
  font-size: 0.8rem;
}

a.mail:hover {
  color: var(--gold);
}

.dot {
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.5rem;
  border-radius: 50%;
  background: var(--gold-hi);
  box-shadow: 0 0 8px rgba(242, 223, 160, 0.8);
  vertical-align: 0.12em;
}

.stars {
  white-space: nowrap;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.stars .quiet {
  color: #34373b;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.22rem 0.65rem 0.22rem 0.55rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
}

.status::before {
  content: '';
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: currentColor;
}

.status.s-new {
  border-color: rgba(200, 164, 77, 0.55);
  background: var(--gold-wash);
  color: var(--gold-hi);
}

.status.s-new::before {
  box-shadow: 0 0 6px currentColor;
}

.status.s-reviewing,
.status.s-shortlisted,
.status.s-interview {
  border-color: rgba(147, 182, 220, 0.4);
  background: rgba(147, 182, 220, 0.07);
  color: #bcd3ec;
}

.status.s-offer,
.status.s-hired {
  border-color: rgba(134, 189, 127, 0.45);
  background: rgba(134, 189, 127, 0.08);
  color: #bfe0b9;
}

.status.s-rejected,
.status.s-withdrawn {
  color: var(--faint);
}

.status.large {
  padding: 0.4rem 0.95rem 0.4rem 0.8rem;
  font-size: 0.85rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin: 0.12rem 0.25rem 0.12rem 0;
  padding: 0.1rem 0.5rem;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.74rem;
  line-height: 1.5;
}

.tag.ai {
  border-style: dashed;
  border-color: rgba(178, 165, 234, 0.6);
  color: #d6cdf7;
}

.tag.file {
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.tag.portfolio {
  border-color: rgba(200, 164, 77, 0.55);
  background: var(--gold-wash);
  color: var(--gold-hi);
}

.tag.portfolio:hover {
  border-color: var(--gold-hi);
}

.tag.missing {
  border-style: dashed;
  background: transparent;
  color: var(--faint);
}

.missing-text {
  color: var(--bad);
}

.ai {
  display: inline-block;
  padding: 0 0.45rem;
  border: 1px dashed rgba(178, 165, 234, 0.6);
  border-radius: 4px;
  color: #d6cdf7;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  padding: 4rem 1.5rem;
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
  background: rgba(13, 15, 17, 0.5);
  color: var(--muted);
  text-align: center;
}

.empty::before {
  content: '';
  width: 3.25rem;
  height: 3.25rem;
  background: url('shield.webp') center / contain no-repeat;
  opacity: 0.35;
  filter: grayscale(0.4);
}

.pages {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 1.1rem;
}

.pages a {
  display: grid;
  place-items: center;
  min-width: 2.2rem;
  height: 2.2rem;
  padding: 0 0.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--ink-2);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.pages a:hover {
  color: var(--text);
  border-color: var(--line-2);
}

.pages a.current {
  border-color: var(--gold);
  background: var(--gold-wash);
  color: var(--gold-hi);
}

.bulk {
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: rgba(18, 21, 23, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.9);
  font-size: 0.85rem;
}

.bulk.active {
  position: sticky;
  bottom: 1rem;
  border-color: rgba(200, 164, 77, 0.55);
  box-shadow:
    0 18px 40px -18px rgba(0, 0, 0, 0.9),
    0 0 30px -12px rgba(200, 164, 77, 0.4);
}

.bulk > .quiet {
  margin-right: 0.25rem;
  font: 600 0.64rem var(--display);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.bulk select,
.bulk input {
  width: auto;
  min-width: 12rem;
}

.crumbs {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  font-size: 0.86rem;
}

.crumbs > a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
}

.crumbs > a:hover {
  color: var(--gold-hi);
}

.step {
  display: flex;
  gap: 0.4rem;
}

.profile {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  min-width: 0;
}

.profile h1 {
  overflow-wrap: anywhere;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1.1rem;
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.meta span,
.meta a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 23rem;
  gap: 1.25rem;
  align-items: start;
}

.main,
.side {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

.card {
  position: relative;
  padding: 1.25rem 1.35rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 120px), rgba(13, 15, 17, 0.88);
  box-shadow: var(--shadow);
}

.card h2,
.card h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1rem;
  color: var(--gold);
  font: 600 0.7rem var(--display);
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.card h2::before {
  content: '';
  flex: none;
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
}

.card h3 {
  margin: 1.4rem 0 0.6rem;
  color: var(--muted);
}

.card p {
  margin: 0 0 0.6rem;
}

.card.danger {
  border-style: dashed;
  background: transparent;
  box-shadow: none;
}

.text {
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.cv-file {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--ink);
}

.cv-file + .cv-file {
  margin-top: 0.5rem;
}

.cv-file .file-icon {
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.6rem;
  border: 1px solid rgba(200, 164, 77, 0.4);
  border-radius: 4px;
  background: linear-gradient(160deg, rgba(200, 164, 77, 0.15), transparent);
  color: var(--gold-hi);
  font: 700 0.55rem var(--sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cv-file .file-name {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 10rem;
  overflow-wrap: anywhere;
}

.cv-file .file-name .quiet {
  font-size: 0.78rem;
}

.cv-file .row {
  margin-left: auto;
}

.facts {
  display: grid;
  grid-template-columns: minmax(9rem, max-content) 1fr;
  gap: 0;
  margin: 0;
}

.facts dt,
.facts dd {
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(36, 39, 43, 0.7);
}

.facts dt:last-of-type,
.facts dd:last-of-type {
  border-bottom: 0;
}

.facts dt {
  padding-right: 1.5rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.facts dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.answers {
  margin: 0;
}

.answers dt {
  color: var(--gold-hi);
  font-weight: 500;
  font-size: 0.9rem;
}

.answers dd {
  margin: 0.3rem 0 1.1rem;
  padding-left: 0.9rem;
  border-left: 2px solid var(--line-2);
  line-height: 1.65;
}

.answers dd:last-child {
  margin-bottom: 0;
}

.others {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.others .quiet {
  margin-left: 0.5rem;
  font-size: 0.82rem;
}

.inline {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.inline input,
.inline select {
  flex: 1;
  min-width: 0;
}

.inline label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.inline label input {
  width: 5rem;
  flex: none;
}

.row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.rating {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.rating button:not(.linklike) {
  padding: 0 0.08rem;
  background: none;
  border: 0;
  color: #34373b;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition:
    color 0.12s,
    transform 0.2s var(--ease),
    text-shadow 0.2s;
}

.rating button.on,
.rating:hover button:not(.linklike) {
  color: var(--gold);
  text-shadow: 0 0 12px rgba(200, 164, 77, 0.45);
}

.rating button:not(.linklike):hover {
  transform: scale(1.15);
}

.rating button:not(.linklike):hover ~ button:not(.linklike) {
  color: #34373b;
  text-shadow: none;
}

.rating .linklike {
  margin-left: 0.75rem;
  font-size: 0.8rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 0.9rem;
}

.tags form {
  margin: 0.15rem 0.3rem 0.15rem 0;
}

.tags .linklike {
  color: var(--faint);
  font-size: 1rem;
  line-height: 1;
}

.tags .linklike:hover {
  color: var(--bad);
}

.side textarea {
  margin-bottom: 0.6rem;
}

.events {
  position: relative;
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0 0 0 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  font-size: 0.86rem;
}

.events::before {
  content: '';
  position: absolute;
  left: 0.2rem;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 1px;
  background: linear-gradient(180deg, var(--line-2), transparent);
}

.events li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  overflow-wrap: anywhere;
}

.events li::before {
  content: '';
  position: absolute;
  left: -1.13rem;
  top: 0.4rem;
  width: 7px;
  height: 7px;
  border: 1px solid var(--line-2);
  background: var(--ink-2);
  transform: rotate(45deg);
}

.events li.kind-note::before {
  border-color: var(--gold);
  background: var(--gold);
}

.events li.kind-note > span:last-child {
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--ink);
}

.events .quiet {
  font-size: 0.74rem;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.stack label,
.editor .card label,
.modes label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.stack label.check,
.editor .card label.check {
  flex-direction: row;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  font-size: 0.9rem;
}

.stack .hint {
  margin-top: -0.4rem;
}

.langs {
  display: inline-flex;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ink-2);
  font: 600 0.66rem var(--display);
  letter-spacing: 0.14em;
}

.langs a {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  color: var(--faint);
}

.langs a:hover {
  color: var(--text);
}

.langs a.current {
  background: var(--gold-wash);
  box-shadow: inset 0 0 0 1px rgba(200, 164, 77, 0.45);
  color: var(--gold-hi);
}

.positions .order {
  width: 6.5rem;
}

.positions .state {
  width: 9.5rem;
}

.positions .apps {
  width: 7rem;
  text-align: center;
}

.positions th.actions {
  width: 17rem;
}

.positions td.actions .row {
  justify-content: flex-end;
}

.positions td .name,
.positions td .mail {
  display: block;
}

.positions td .name {
  font-weight: 600;
}

.apps-count {
  display: inline-grid;
  place-items: center;
  min-width: 2rem;
  height: 1.7rem;
  padding: 0 0.5rem;
  border: 1px solid rgba(200, 164, 77, 0.45);
  border-radius: 999px;
  background: var(--gold-wash);
  color: var(--gold-hi);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.general {
  margin-top: 2rem;
}

.modes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
  gap: 0.8rem;
}

.editor .card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.editor .card h2 {
  margin-bottom: 0.2rem;
}

.pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 0.85rem;
}

.pair .wide {
  grid-column: 1 / -1;
}

.question {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
  padding: 1rem 1.1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--ink);
}

.question.blank {
  border-style: dashed;
  background: transparent;
  opacity: 0.8;
}

.question legend {
  padding: 0 0.5rem;
  color: var(--gold);
  font: 600 0.7rem var(--display);
  letter-spacing: 0.18em;
}

.savebar {
  position: sticky;
  bottom: 0;
  z-index: 5;
  padding: 1.1rem 0 1.25rem;
  background: linear-gradient(transparent, var(--ink) 40%);
}

.danger-zone {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--line-2);
}

.gate-page {
  background:
    radial-gradient(ellipse at center, rgba(8, 9, 10, 0.35), rgba(8, 9, 10, 0.92) 75%),
    linear-gradient(180deg, rgba(8, 9, 10, 0.55), rgba(8, 9, 10, 0.95)),
    url('keyart.webp') center 30% / cover no-repeat,
    var(--ink);
  background-attachment: fixed;
}

.gate {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 4.5rem 1.25rem 2rem;
}

.gate-langs {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  margin: 0;
}

.gate-card {
  position: relative;
  width: 100%;
  max-width: 29rem;
  padding: 2.75rem 2.4rem 2.25rem;
  border: 1px solid rgba(200, 164, 77, 0.35);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(24, 27, 30, 0.82), rgba(10, 11, 13, 0.9));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 40px 90px -30px rgba(0, 0, 0, 0.95),
    0 0 60px -20px rgba(200, 164, 77, 0.25);
  text-align: center;
  animation: rise 0.7s var(--ease) both;
}

.gate-card::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(200, 164, 77, 0.14);
  border-radius: 6px;
  pointer-events: none;
}

.gate-shield {
  width: 4.5rem;
  height: 4.5rem;
  margin: -5.1rem auto 0.75rem;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 18px rgba(200, 164, 77, 0.3));
}

.gate-wordmark {
  display: block;
  width: 15rem;
  max-width: 100%;
  height: auto;
  margin: 0 auto 0.9rem;
}

.gate-card .eyebrow {
  margin: 0;
}

.gate-card h1 {
  font-size: 1.65rem;
}

.gate-card .rule-diamond {
  margin: 1.3rem 0 1.1rem;
}

.gate-card .lead {
  margin: 0 auto 1.75rem;
  font-size: 0.92rem;
}

.gate-card .flash {
  text-align: left;
}

.btn.google {
  width: 100%;
  min-height: 3.1rem;
  gap: 0.75rem;
  font-size: 0.78rem;
}

.btn.google .g {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.btn.google .g svg {
  width: 1rem;
  height: 1rem;
}

.gate-card .btn + p {
  margin-top: 0.75rem;
}

.footnote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: 1.5rem 0 0;
  color: var(--faint);
  font-size: 0.76rem;
}

@media (max-width: 1080px) {
  .topbar-inner {
    flex-wrap: wrap;
    gap: 0 1rem;
    padding: 0.6rem 1.25rem 0;
  }

  .topnav {
    order: 3;
    width: 100%;
    min-height: 2.9rem;
    margin: 0 -0.85rem;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .topnav::-webkit-scrollbar {
    display: none;
  }

  .who-mail {
    display: none;
  }
}

@media (max-width: 960px) {
  .columns {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .applicants th:nth-child(4),
  .applicants td:nth-child(4),
  .applicants th:nth-child(5),
  .applicants td:nth-child(5) {
    display: none;
  }

  .positions th.actions {
    width: 8rem;
  }

  .positions .order {
    display: none;
  }

  .page {
    padding: 1.75rem 1rem 3rem;
  }
}

@media (max-width: 600px) {
  .topnav a {
    padding: 0 0.6rem;
    letter-spacing: 0.12em;
  }

  .topnav .icon {
    display: none;
  }

  .brand-app,
  .tools > a.site-link {
    display: none;
  }

  .table .check,
  .table th.date,
  .table td.date {
    display: none;
  }

  .profile {
    align-items: flex-start;
  }

  .avatar.large {
    width: 3.25rem;
    height: 3.25rem;
    font-size: 1rem;
  }

  .gate-card {
    padding: 2.5rem 1.4rem 2rem;
  }

  .bulk select,
  .bulk input {
    min-width: 0;
    flex: 1 1 10rem;
  }

  
  .positions,
  .positions tbody,
  .positions tr,
  .positions td {
    display: block;
    width: auto !important;
  }

  .positions thead {
    display: none;
  }

  .positions tr {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--line);
  }

  .positions tr:last-child {
    border-bottom: 0;
  }

  .positions td {
    padding: 0.2rem 0;
    border: 0;
  }

  .positions td.state,
  .positions td.apps {
    display: inline-block;
    margin: 0.4rem 0.5rem 0.4rem 0;
  }

  .positions td.actions .row {
    justify-content: flex-start;
  }

  .table tbody tr[data-href]:hover td:first-child {
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
