/* Tiger Tracks Recruiting v2
   Brand: Brand Guidelines.pdf v1.0 (July 2026)
   Colors: Orange #FE5E16, Ink #052E3F, Teal #7FCAD3, Lime #D3E3A0, Paper #EFF0EF, White
   Type: Work Sans Bold 700-800 headlines, Inter Light 300 body, DM Sans Light labels */

:root {
  --orange: #FE5E16;
  --ink: #052E3F;
  --teal: #7FCAD3;
  --lime: #D3E3A0;
  --paper: #EFF0EF;
  --white: #FFFFFF;

  --ink-80: #2B4E5C;
  --ink-60: #50707D;
  --ink-20: #CDD6D9;
  --ink-10: #E4EAEC;
  --orange-10: #FFEDE4;
  --teal-20: #E2F3F5;
  --lime-30: #EEF4D8;
  --danger: #B3261E;
  --danger-10: #FBE9E7;

  --head: 'Work Sans', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --label: 'DM Sans', system-ui, sans-serif;

  --radius: 10px;
  --shadow: 0 1px 2px rgba(5, 46, 63, .06), 0 4px 16px rgba(5, 46, 63, .06);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--head); font-weight: 800; letter-spacing: -.01em; line-height: 1.15; margin: 0; }
h1 { font-size: 34px; }
h2 { font-size: 22px; font-weight: 700; }
h3 { font-size: 16px; font-weight: 700; }
p { margin: 0; }
a { color: var(--ink); }
button { font: inherit; }
[hidden] { display: none !important; }

.stripe { position: fixed; top: 0; left: 0; right: 0; height: 4px; display: flex; z-index: 50; }
.stripe i { flex: 1; }
.stripe i:nth-child(1) { background: var(--orange); }
.stripe i:nth-child(2) { background: var(--teal); }
.stripe i:nth-child(3) { background: var(--lime); }
.stripe i:nth-child(4) { background: var(--paper); }

.eyebrow { font-family: var(--label); font-weight: 500; font-size: 13px; color: var(--orange); letter-spacing: .02em; margin-bottom: 6px; }
.eyebrow.on-ink { color: var(--orange); }
.muted { color: var(--ink-60); }
.small { font-size: 13px; }

/* Sign-in gate */
.gate { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--ink); padding: 24px; }
.gate-card { width: 100%; max-width: 420px; color: var(--white); }
.gate-logo { width: 150px; display: block; margin-bottom: 40px; }
.gate h1 { font-size: 44px; color: var(--white); margin-bottom: 12px; }
.gate-sub { color: var(--ink-20); margin-bottom: 28px; }
.gate-err { margin-top: 16px; color: #FFB89A; font-size: 14px; }

/* App shell */
.shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; background: linear-gradient(to right, var(--ink) 248px, var(--paper) 248px); }
.side { background: var(--ink); color: var(--white); display: flex; flex-direction: column; padding: 28px 18px 20px; position: sticky; top: 0; height: 100vh; }
.brand img { width: 118px; display: block; margin: 4px 8px 32px; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav a { font-family: var(--label); font-size: 14px; font-weight: 400; color: var(--ink-20); text-decoration: none; padding: 9px 12px; border-radius: 8px; display: flex; justify-content: space-between; align-items: center; }
.nav a:hover { background: rgba(255,255,255,.06); color: var(--white); }
.nav a.active { background: rgba(255,255,255,.1); color: var(--white); box-shadow: inset 3px 0 0 var(--orange); }
.nav .count { font-size: 12px; background: var(--orange); color: var(--white); border-radius: 999px; padding: 0 8px; line-height: 20px; }
.nav .group { font-family: var(--label); font-size: 12px; color: var(--ink-60); margin: 18px 12px 6px; }
.side-foot { margin-top: auto; padding: 16px 12px 0; border-top: 1px solid rgba(255,255,255,.1); }
.who { font-size: 13px; color: var(--ink-20); margin-bottom: 6px; word-break: break-all; }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink-80); text-decoration: underline; font-size: 13px; }
.link-btn.on-ink { color: var(--teal); }

.main { padding: 40px 48px 64px; max-width: 1240px; width: 100%; min-width: 0; outline: none; }
.table-wrap { overflow-x: auto; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.page-head p { margin-top: 8px; color: var(--ink-60); max-width: 640px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid transparent; border-radius: 8px; padding: 10px 18px; font-family: var(--label); font-weight: 500; font-size: 14px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: #E8530F; }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--ink-20); }
.btn-ghost:hover { border-color: var(--ink-60); }

/* Cards and stats */
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 24px; }
.grid { display: grid; gap: 16px; }
.grid > * { min-width: 0; }
.stats { grid-template-columns: repeat(4, 1fr); margin-bottom: 24px; }
.stat .num { font-family: var(--head); font-weight: 800; font-size: 36px; line-height: 1; margin: 8px 0 6px; }
.stat .lbl { font-family: var(--label); font-size: 13px; color: var(--ink-60); }
.stat.alert .num { color: var(--orange); }
.two { grid-template-columns: 2fr 1fr; align-items: start; }
.section-title { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }

/* Tables */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-family: var(--label); font-weight: 500; font-size: 12px; color: var(--ink-60); padding: 0 10px 10px; border-bottom: 1px solid var(--ink-10); }
.table td { padding: 12px 10px; border-bottom: 1px solid var(--ink-10); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table tr.click { cursor: pointer; }
.table tr.click:hover td { background: #FAFBFB; }
.seat-name { font-weight: 500; }
.seat-sub { font-size: 12px; color: var(--ink-60); margin-top: 2px; }

/* Pills */
.pill { display: inline-block; font-family: var(--label); font-size: 12px; font-weight: 500; padding: 2px 10px; border-radius: 999px; background: var(--ink-10); color: var(--ink); white-space: nowrap; }
.pill.p0 { background: var(--orange); color: var(--white); }
.pill.p1 { background: var(--orange-10); color: #A13A08; }
.pill.p2 { background: var(--teal-20); color: var(--ink); }
.pill.p3 { background: var(--ink-10); color: var(--ink-60); }
.pill.stage { background: var(--lime-30); color: var(--ink); }
.pill.flag { background: var(--danger-10); color: var(--danger); }

.flags { display: flex; flex-direction: column; gap: 4px; }
.flag-line { font-size: 12px; color: var(--danger); }

/* Activity */
.feed { list-style: none; margin: 0; padding: 0; }
.feed li { padding: 10px 0; border-bottom: 1px solid var(--ink-10); font-size: 14px; }
.feed li:last-child { border-bottom: 0; }
.feed .when { font-size: 12px; color: var(--ink-60); }

/* Board */
.board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 8px; }
.col { background: var(--ink-10); border-radius: var(--radius); padding: 12px; min-height: 120px; }
.col h3 { font-size: 14px; display: flex; justify-content: space-between; margin-bottom: 10px; }
.col h3 span { font-family: var(--label); font-weight: 400; color: var(--ink-60); }
.cand { background: var(--white); border-radius: 8px; padding: 10px 12px; margin-bottom: 8px; box-shadow: var(--shadow); font-size: 13px; }
.cand b { display: block; font-weight: 500; font-size: 14px; }
.cand .src { color: var(--ink-60); font-size: 12px; }

.toolbar { display: flex; gap: 10px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.select, .input, .textarea { font: inherit; font-weight: 400; color: var(--ink); background: var(--white); border: 1px solid var(--ink-20); border-radius: 8px; padding: 10px 12px; width: 100%; }
.select:focus, .input:focus, .textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--ink-60); }
.toolbar .select { width: auto; min-width: 220px; }
.textarea { min-height: 110px; resize: vertical; line-height: 1.5; }

/* Request form */
.form-wrap { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; }
.steps { position: sticky; top: 32px; list-style: none; margin: 0; padding: 0; }
.steps li { display: flex; gap: 12px; align-items: center; padding: 10px 0; font-family: var(--label); font-size: 14px; color: var(--ink-60); cursor: pointer; }
.steps li .dot { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--ink-20); display: grid; place-items: center; font-size: 12px; background: var(--white); flex: none; }
.steps li.done .dot { background: var(--ink); border-color: var(--ink); color: var(--white); }
.steps li.current { color: var(--ink); font-weight: 500; }
.steps li.current .dot { border-color: var(--orange); color: var(--orange); }
.q { margin-bottom: 26px; }
.q label.ql { display: block; font-weight: 500; font-size: 15px; margin-bottom: 4px; }
.q .req { color: var(--orange); }
.q .help { font-size: 13px; color: var(--ink-60); margin-bottom: 10px; }
.q .err { font-size: 13px; color: var(--danger); margin-top: 6px; }
.q.has-err .input, .q.has-err .textarea, .q.has-err .select { border-color: var(--danger); }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.check { display: flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 400; }
.check input { accent-color: var(--orange); width: 16px; height: 16px; }
.nudge { border-left: 3px solid var(--orange); background: var(--orange-10); padding: 10px 14px; border-radius: 0 8px 8px 0; font-size: 13px; margin-top: 8px; }
.form-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--ink-10); }
.review dt { font-weight: 500; font-size: 13px; margin-top: 14px; }
.review dd { margin: 2px 0 0; white-space: pre-wrap; font-size: 14px; }
.review h3 { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--ink-10); display: flex; justify-content: space-between; }
.review h3:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

.callout { border-left: 3px solid var(--orange); background: var(--white); padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0; box-shadow: var(--shadow); margin-bottom: 20px; font-size: 14px; }
.empty { padding: 28px; text-align: center; color: var(--ink-60); font-size: 14px; }

.kv { display: grid; grid-template-columns: 180px 1fr; gap: 8px 16px; font-size: 14px; }
.kv dt { color: var(--ink-60); font-family: var(--label); }
.kv dd { margin: 0; }

.done-hero { text-align: center; padding: 56px 24px; }
.done-hero h1 { margin: 10px 0 12px; }
.done-hero p { color: var(--ink-60); max-width: 520px; margin: 0 auto 24px; }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--white); padding: 10px 18px; border-radius: 8px; font-size: 14px; box-shadow: var(--shadow); z-index: 60; }

.skeleton { height: 14px; background: linear-gradient(90deg, var(--ink-10), #F4F6F7, var(--ink-10)); background-size: 200% 100%; animation: sh 1.2s infinite; border-radius: 4px; margin: 10px 0; }
@keyframes sh { to { background-position: -200% 0; } }

@media (max-width: 960px) {
  .shell { grid-template-columns: minmax(0, 1fr); background: var(--paper); }
  .who { display: none; }
  .side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; padding: 16px; gap: 8px; }
  .brand img { width: 90px; margin: 0 12px 0 0; }
  .nav { flex-direction: row; flex-wrap: wrap; }
  .nav .group { display: none; }
  .side-foot { margin: 0 0 0 auto; border: 0; padding: 0; }
  .main { padding: 24px 16px 48px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .two, .form-wrap { grid-template-columns: 1fr; }
  .steps { position: static; display: flex; overflow-x: auto; gap: 14px; }
  .steps li span.t { display: none; }
  .checks { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 1fr; }
}
