@font-face {
  font-family: "Geist";
  src: url("/static/geist-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --canvas: #f7f7f8;
  --surface: #fff;
  --ink: #18181b;
  --muted: #52525b;
  --subtle: #626268;
  --line: #e4e4e7;
  --accent: #4b36bb;
  --accent-strong: #38258f;
  --night: #202023;
  --sidebar-text: var(--muted);
  --selection: #e6e0fc;
  --accent-soft: #f0edff;
  --gold: #f1f1f3;
  --gold-ink: #414147;
  --lilac: #f1f1f3;
  --lilac-ink: #414147;
  --error: #29292d;
  --error-bg: #f2f2f4;
  --radius: 12px;
  --shadow: 0 1px 2px #18181b08;
  --font-ui: "Geist", system-ui, sans-serif;
  --body: var(--font-ui);
  --heading: var(--font-ui);
  --text-label: .9rem;
  --text-caption: .84rem;
  color: var(--ink);
  background: var(--canvas);
  font-family: var(--font-ui);
  font-size: 93.75%;
  line-height: 1.5;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 290px; min-height: 100vh; }
button, input, textarea, select { font: inherit; }
option, optgroup { font-family: inherit; }
::file-selector-button { font: inherit; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-strong); }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h1 {
  font: 650 clamp(2rem, 3.1vw, 2.9rem)/1.1 var(--heading);
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
}
h2 { font-size: 1.14rem; font-weight: 650; line-height: 1.3; letter-spacing: -.022em; }
h3 { font-size: 1rem; font-weight: 650; line-height: 1.4; }
small { font-size: var(--text-caption); }
pre { line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
::selection { background: var(--selection); color: var(--night); }

.skip-link {
  position: fixed;
  z-index: 10;
  top: 8px;
  left: 8px;
  padding: 12px 16px;
  transform: translateY(-150%);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}
.skip-link:focus { transform: translateY(0); }

.workspace {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 27px 13px 18px;
  overflow-y: auto;
  border-right: 1px solid var(--line);
  background: var(--surface);
  color: var(--sidebar-text);
}
.sidebar :focus-visible { outline-color: var(--subtle); }
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 7px;
  color: var(--ink);
  text-decoration: none;
  font: 750 1.27rem/1.1 var(--heading);
  letter-spacing: -.055em;
}
.wordmark:hover { color: var(--accent); }
.wordmark small {
  display: block;
  margin-top: 4px;
  color: var(--subtle);
  font: 600 .7rem/1.25 var(--body);
  letter-spacing: 0;
}
.brand-mark {
  display: inline-grid;
  place-content: center;
  flex: 0 0 37px;
  width: 37px;
  height: 37px;
  border-radius: 11px;
  background: linear-gradient(145deg, #727278, #39393f 74%);
  box-shadow: 0 3px 9px #18181b25;
  color: white;
}
.brand-mark .line-icon { width: 27px; height: 27px; }

.sidebar-nav { display: grid; gap: 22px; margin-top: 32px; }
.navigation-group { display: grid; gap: 3px; }
.nav-heading {
  margin: 0 10px 7px;
  color: var(--subtle);
  font-size: .66rem;
  font-weight: 720;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--sidebar-text);
  font-size: .91rem;
  font-weight: 550;
  text-decoration: none;
}
.nav-link:hover { background: #f3f3f5; color: var(--ink); }
.nav-link[aria-current="page"] {
  border-color: #d4d4d8;
  background: #ededf0;
  color: #2b2b30;
  font-weight: 730;
}
.nav-link[aria-current="page"]::after {
  width: 6px;
  height: 6px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--subtle);
  content: "";
}
.nav-icon {
  display: inline-grid;
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  place-items: center;
  color: inherit;
}
.nav-icon .line-icon { width: 100%; height: 100%; }
.nav-link .nav-icon { color: var(--subtle); }
.nav-link[aria-current="page"] .nav-icon { color: var(--muted); }
.sidebar-footer { display: grid; gap: 10px; margin-top: auto; padding: 23px 9px 0; }
.agent-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--subtle);
  font-size: .72rem;
  font-weight: 570;
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #727278; }
.careers-link { display: flex; align-items: center; gap: 6px; color: var(--accent); font-size: .82rem; font-weight: 650; text-decoration: none; }
.careers-link:hover { color: var(--accent-strong); text-decoration: underline; }
.careers-link .nav-icon { width: 14px; height: 14px; flex-basis: 14px; }

.workspace-body { min-width: 0; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px clamp(18px, 3.15vw, 45px);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.topbar-left, .topbar-right, .account-chip {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}
.topbar-left { font-size: .89rem; }
.topbar-label, .breadcrumb-divider { color: var(--muted); }
.breadcrumb-current { font-weight: 650; }
.menu-toggle { display: none !important; }
.account-chip { gap: 8px; font-size: .82rem; line-height: 1.3; }
.account-name { display: grid; gap: 2px; min-width: 0; }
.account-name strong {
  max-width: 210px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-avatar {
  display: inline-grid;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: #ededf0;
  color: #39393f;
  font-weight: 750;
  text-transform: uppercase;
}
.account-role { color: var(--muted); font-size: .75rem; }

.content {
  width: min(100%, 1560px);
  margin: 0 auto;
  padding: clamp(22px, 3vw, 38px) clamp(18px, 3.15vw, 45px) 58px;
  scroll-margin-top: 70px;
}
.content:focus { outline: none; }
.page-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 14px 24px;
  margin: 0 0 20px;
}
.page-header p { margin-top: 9px; color: var(--muted); }
.page-header h1 { max-width: 100%; }
.page-header .header-copy { flex: 1 1 290px; min-width: 0; }
.activity-header h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.header-actions, .toolbar, .inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.header-actions { align-self: end; }
.toolbar { margin-bottom: 16px; }
.toolbar .control { min-width: min(185px, 100%); width: auto; }
.toolbar .search { min-width: min(100%, 225px); }
.toolbar-end { margin-left: auto; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 41px;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font-size: var(--text-label);
  font-weight: 650;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: var(--accent-soft); color: var(--ink); }
.button:disabled { opacity: .6; cursor: progress; }
.button-primary { background: var(--accent); color: white; }
.button-primary:hover { background: var(--accent-strong); color: white; }
.button-outline { border-color: #d4d4d8; background: var(--surface); }
.button .nav-icon { width: 16px; height: 16px; flex-basis: 16px; }
.button-primary .nav-icon { color: #ededf0; }
.button-danger { border-color: #c0c0c6; color: var(--error); background: var(--surface); }
.button-danger:hover { background: var(--error-bg); color: var(--error); }
.button-small { min-height: 32px; padding: 5px 10px; font-size: var(--text-caption); }
.icon-button { min-width: 38px; min-height: 38px; padding: 1px; font-size: 1.25rem; }

.stack { display: grid; gap: 18px; }
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, 1fr);
  gap: 18px;
  align-items: start;
}
.split-even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.panel, .stat-card, .career-card, .board-lane {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.panel-body { padding: clamp(15px, 2vw, 23px); }
.panel-heading {
  display: flex;
  min-height: 65px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 16px clamp(15px, 2vw, 23px);
  border-bottom: 1px solid var(--line);
}
.panel-hint { margin: 4px 0 0; color: var(--muted); font-size: var(--text-label); }
.panel-body > * + * { margin-top: 13px; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}
.stat-card { padding: 15px clamp(12px, 2vw, 19px) 17px; }
.stat-card-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 600;
}
.stat-card .nav-icon {
  width: 30px;
  height: 30px;
  flex-basis: 30px;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent);
}
.stat-card:nth-child(2) .nav-icon { background: var(--gold); color: var(--gold-ink); }
.stat-card:nth-child(3) .nav-icon { background: var(--lilac); color: var(--lilac-ink); }
.stat-card:nth-child(4) .nav-icon { background: #ededf0; }
.stat-metric {
  font: 720 1.95rem/1.1 var(--heading);
  letter-spacing: -.055em;
  font-variant-numeric: lining-nums tabular-nums;
}
.stat-context { margin-top: 5px; color: var(--muted); font-size: .76rem; }

.table-scroll { overflow-x: auto; border-radius: 0 0 var(--radius) var(--radius); }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td {
  padding: 12px 13px;
  border-bottom: 1px solid var(--line);
  font-size: var(--text-label);
  vertical-align: middle;
  overflow-wrap: anywhere;
}
thead th { white-space: nowrap; background: var(--canvas); color: var(--subtle); font-size: var(--text-caption); font-weight: 650; }
th:first-child, td:first-child { padding-left: clamp(15px, 2vw, 23px); }
th:last-child, td:last-child { padding-right: clamp(15px, 2vw, 23px); }
tbody th { font-weight: 650; }
tbody tr:last-child > * { border-bottom: 0; }
tbody tr:hover { background: var(--canvas); }
.data-link { color: var(--accent); font-weight: 650; text-decoration-thickness: 1px; }
.secondary { color: var(--muted); }
.cell-note { display: block; margin-top: 2px; color: var(--muted); font-size: var(--text-caption); }
.nowrap { white-space: nowrap; }
.modest-width { min-width: 550px; }
.contacts-table { min-width: 715px; }

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 2px 8px;
  border-radius: 100px;
  background: #ededf0;
  color: var(--muted);
  font-size: .74rem;
  font-weight: 660;
  line-height: 1.3;
  white-space: nowrap;
}
.pill-green { background: #f3f3f5; color: var(--muted); }
.pill-gold { background: var(--gold); color: var(--gold-ink); }
.pill-purple { background: var(--lilac); color: var(--lilac-ink); }
.pill-red { background: var(--error-bg); color: var(--error); }

.empty {
  display: grid;
  gap: 8px;
  justify-items: start;
  padding: 28px clamp(16px, 3vw, 28px);
  color: var(--muted);
}
.empty strong { color: var(--ink); }
.empty .button { margin-top: 4px; }
.alert {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f3f3f5;
  color: var(--accent-strong);
}
.alert-error { border-color: #d4d4d8; background: var(--error-bg); color: var(--error); }
.alert-warm { border-color: var(--line); background: #f3f3f5; color: var(--gold-ink); }

.activity-list { padding: 0; margin: 0; list-style: none; }
.activity-list li {
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr);
  gap: 9px;
  padding: 12px clamp(15px, 2vw, 23px);
  border-bottom: 1px solid var(--line);
}
.activity-list li:last-child { border-bottom: 0; }
.activity-list .nav-icon { width: 26px; height: 26px; border-radius: 7px; background: var(--accent-soft); color: var(--accent); }
.activity-meta { margin-top: 2px; color: var(--muted); font-size: .76rem; }
.meter-list { display: grid; gap: 13px; padding: 0; margin: 0; list-style: none; }
.meter-list-caption { display: flex; justify-content: space-between; gap: 12px; font-size: .86rem; }

.board {
  display: grid;
  grid-auto-columns: minmax(224px, 1fr);
  grid-auto-flow: column;
  align-items: start;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 3px 16px;
}
.board-lane { min-height: 165px; background: var(--canvas); box-shadow: none; }
.lane-title { display: flex; align-items: center; justify-content: space-between; padding: 12px; }
.lane-items { display: grid; gap: 8px; padding: 0 8px 8px; }
.lane-empty { padding: 5px 6px 10px; color: var(--muted); font-size: .8rem; }
.candidate-card {
  display: grid;
  gap: 4px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  overflow-wrap: anywhere;
}
.candidate-card .inline-actions { margin-top: 5px; }

.control {
  width: 100%;
  min-height: 41px;
  padding: 8px 10px;
  border: 1px solid #d4d4d8;
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.45;
}
textarea.control { min-height: 104px; resize: vertical; }
.field { display: grid; gap: 4px; }
.field > label, .field > span:first-child { font-size: var(--text-label); font-weight: 650; }
.field-hint { color: var(--muted); font-size: var(--text-caption); }
.check-field { display: flex; gap: 8px; align-items: start; font-size: .84rem; }
.check-field input { margin-top: .26rem; accent-color: var(--accent); }
.form-stack { display: grid; gap: 13px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 9px; justify-content: flex-end; margin-top: 11px; }
.form-error:empty { display: none; }
.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 19px 13px 23px;
  border-bottom: 1px solid var(--line);
}
dialog {
  width: min(calc(100vw - 26px), 550px);
  max-height: calc(100dvh - 26px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 15px 55px #18181b36;
}
dialog::backdrop { background: #18181b80; }
#editor-form { padding: 19px 23px 23px; }
.bootstrap-message { padding: 42px; color: var(--muted); }
.auth-layout {
  display: grid;
  min-height: 100dvh;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.auth-story {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(44px, 10vh, 125px);
  min-height: 100dvh;
  padding: clamp(30px, 7vw, 94px);
  background:
    radial-gradient(ellipse at 90% 93%, #18181b4d, transparent 53%),
    repeating-radial-gradient(ellipse at 100% 100%, var(--muted) 0px, var(--muted) 1px, transparent 2px, transparent 26px),
    #2b2b30;
  color: var(--canvas);
}
.auth-story h1 { max-width: 520px; font-size: clamp(2.9rem, 5.5vw, 5.5rem); }
.auth-story p { max-width: 400px; margin-top: 17px; color: var(--line); }
.auth-story .wordmark, .auth-story .wordmark small, .public-header .wordmark, .public-header .wordmark small { color: #f3f3f5; }
.auth-story > a:last-child { color: var(--line); font-size: .88rem; }
.auth-content {
  display: grid;
  place-content: center;
  padding: clamp(22px, 6vw, 75px);
}
.auth-form { width: min(355px, 100%); }
.auth-form h2 { font: 730 2.2rem/1.1 var(--heading); letter-spacing: -.05em; }
.auth-form .subtitle { margin: 7px 0 22px; color: var(--muted); }
.auth-form .button { width: 100%; margin-top: 3px; }

.careers-page { min-height: 100dvh; }
.public-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px max(5vw, calc((100vw - 1050px) / 2));
  background: var(--night);
  color: white;
}
.public-header .button { border-color: #727278; color: white; white-space: nowrap; }
.public-header .button:hover { border-color: #c0c0c6; background: #39393f; }
.careers-content { width: min(100% - 36px, 1050px); margin: 0 auto; padding: 50px 0 65px; }
.career-list { display: grid; gap: 12px; }
.career-card { padding: 20px; }
.career-card p { margin-top: 5px; color: var(--muted); }
.career-card .button { margin-top: 13px; }
.public-form { max-width: 670px; }
.prose { white-space: pre-wrap; overflow-wrap: anywhere; }
.detail-grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 14px;
  margin: 0;
  overflow-wrap: anywhere;
}
.detail-grid dt { font-weight: 660; }
.detail-grid dd { margin: 0; color: var(--muted); }
.details-list { display: grid; gap: 8px; }
.review-evidence { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; }
.review-evidence dl { grid-template-columns: minmax(0, .65fr) minmax(0, 1fr); }
.demo-buttons { margin-top: 8px; }
.auth-form .demo-buttons .button { width: auto; }
details { padding: 9px 0; border-bottom: 1px solid var(--line); }
details summary { font-weight: 650; cursor: pointer; }
details:last-child { border-bottom: 0; }

@media (max-width: 1060px) {
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr); }
  th, td { padding-inline: 9px; }
}

@media (max-width: 760px) {
  .workspace { display: block; }
  .sidebar {
    display: none;
    position: fixed;
    inset: 58px 0 auto;
    z-index: 3;
    height: auto;
    max-height: calc(100dvh - 58px);
    padding: 19px 17px 15px;
  }
  .workspace.menu-open .sidebar { display: flex; }
  .sidebar-nav { display: grid; gap: 15px; margin-top: 18px; }
  .navigation-group { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-heading { grid-column: 1 / -1; margin-bottom: 1px; }
  .sidebar-footer { padding-top: 10px; }
  .topbar { min-height: 58px; padding: 8px 17px; }
  .topbar-left, .topbar-right { gap: 7px; }
  .menu-toggle { display: inline-flex !important; }
  .topbar-label, .breadcrumb-divider { display: none; }
  .content { padding: 25px 16px 48px; scroll-margin-top: 58px; }
  .page-header { margin-bottom: 19px; }
  .auth-layout { grid-template-columns: minmax(0, 1fr); }
  .auth-story { min-height: auto; gap: 24px; padding: 25px 20px; }
  .auth-story h1 { font-size: clamp(2.3rem, 6vw, 3.2rem); }
  .auth-story p { margin-top: 9px; }
  .auth-content { padding: 32px 20px; place-content: initial; }
  .auth-form { width: min(100%, 430px); margin-inline: auto; }
}
@media (max-width: 460px) {
  .account-name { display: none; }
  .stat-card { padding: 11px; }
  .stat-metric { font-size: 1.7rem; }
  .stat-card-title { gap: 3px; }
  .stat-card .nav-icon { width: 24px; height: 24px; flex-basis: 24px; }
  .toolbar-end { margin-left: 0; }
  .public-header { padding: 17px 13px; }
  .public-header .wordmark { padding: 0; font-size: 1.4rem; }
}

.filter-buttons .button[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
}
.filter-count {
  min-width: 1.4rem;
  padding: 1px 5px;
  border-radius: 20px;
  background: #18181b28;
  font-size: .73rem;
  font-variant-numeric: tabular-nums;
}
.filter-buttons select { margin-left: auto; }
.workflow-list li { grid-template-columns: 27px minmax(0, 1fr) auto; align-items: start; }
.workflow-meta { display: flex; align-items: center; justify-content: end; flex-wrap: wrap; gap: 5px 11px; }
@media (max-width: 600px) {
  .workflow-list li { grid-template-columns: 27px minmax(0, 1fr); }
  .workflow-meta { grid-column: 2; justify-content: start; }
  .filter-buttons select { margin-left: 0; }
}
.interview-suggestions {
  display: grid;
  gap: 7px;
  justify-items: start;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--canvas);
}
.interview-suggestions :empty { display: none; }
.applicant-notice {
  display: grid;
  gap: 6px;
  max-width: 90ch;
}
.applicant-notice .prose { font-size: .91rem; }
.applicant-notice + form { margin-top: 19px; }

.agent-header-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 33px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--canvas);
  color: #39393f;
  font-size: .77rem;
  font-weight: 720;
  white-space: nowrap;
  text-decoration: none;
}
.agent-header-pill:hover { background: #ededf0; color: #2b2b30; }
.agent-header-pill .nav-icon { width: 15px; height: 15px; flex-basis: 15px; }
.agent-header-pill .status-dot { background: #727278; }
.agent-header-status { color: var(--muted); }
.agent-header-running .agent-header-status { color: var(--subtle); }
.agent-header-queued .status-dot { background: #727278; }
.agent-header-paused .status-dot { background: #444449; }

.agent-workbench {
  display: grid;
  grid-template-columns: minmax(282px, .92fr) minmax(310px, 1fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid #d4d4d8;
  border-radius: 17px;
  background: var(--surface);
  box-shadow: 0 5px 18px #18181b0c;
}
.agent-workbench-lead {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 13px;
  min-height: 202px;
  padding: 21px clamp(16px, 2.35vw, 31px);
  background:
    radial-gradient(ellipse at 106% 113%, #18181b5b, transparent 55%),
    radial-gradient(ellipse at 96% -27%, #18181b58, transparent 57%),
    #2b2b30;
  color: var(--canvas);
}
.agent-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #d4d4d8;
  font-size: .75rem;
  font-weight: 710;
  letter-spacing: .025em;
}
.agent-label .nav-icon { width: 16px; height: 16px; flex-basis: 16px; color: #c0c0c6; }
.agent-workbench-lead h2 {
  max-width: 25ch;
  color: #fff;
  font-size: clamp(1.28rem, 1.85vw, 1.83rem);
  font-weight: 730;
  letter-spacing: -.045em;
}
.agent-workbench-lead p { margin-top: 3px; color: var(--line); font-size: .84rem; }
.agent-workbench-lead .button { min-height: 36px; padding: 6px 10px; font-size: .76rem; }
.agent-workbench-lead .button-primary { background: var(--line); color: #2b2b30; }
.agent-workbench-lead .button-primary .nav-icon { color: #39393f; }
.agent-workbench-lead .button-primary:hover { background: #f3f3f5; }
.agent-workbench-lead .button-outline { border-color: #8a8a90; background: #39393f; color: #f3f3f5; }
.agent-workbench-lead .button-outline:hover { background: #444449; }
.agent-workbench-lead :focus-visible { outline-color: #c0c0c6; }

.agent-launch { display: grid; gap: 7px; }
.agent-launch .form-error:empty { display: none; }
.agent-workbench-feed { min-width: 0; padding: 13px clamp(14px, 1.9vw, 24px); }
.agent-feed-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  min-height: 39px;
  border-bottom: 1px solid var(--line);
}
.agent-feed-header h3 { font-size: .92rem; }
.agent-all-link {
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 4px;
  color: var(--accent);
  font-size: .76rem;
  font-weight: 720;
  text-decoration: none;
  white-space: nowrap;
}
.agent-all-link:hover { text-decoration: underline; }
.agent-all-link .nav-icon { width: 14px; height: 14px; flex-basis: 14px; }
.agent-activity-list { margin: 0; padding: 0; list-style: none; }
.agent-activity-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.agent-activity-list li:last-child { border-bottom: 0; }
.agent-activity-list > li > .nav-icon, .agent-feed-empty > .nav-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #ededf0;
  color: #444449;
}
.agent-activity-list > li > .nav-icon .line-icon,
.agent-feed-empty > .nav-icon .line-icon { width: 17px; height: 17px; }
.agent-activity-list .data-link { font-size: .83rem; text-decoration: none; }
.agent-activity-list .data-link:hover { text-decoration: underline; }
.agent-activity-list .activity-meta { margin-top: 0; font-size: .72rem; }
.agent-feed-empty { display: flex; align-items: center; gap: 9px; padding: 28px 0 10px; }
.agent-feed-empty strong { display: block; color: var(--ink); font-size: .86rem; }
.agent-feed-empty p > span { display: block; color: var(--muted); font-size: .76rem; }

.run-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-variant-numeric: tabular-nums;
}
.run-progress li {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--canvas);
}
.run-progress li .nav-icon {
  width: 29px;
  height: 29px;
  flex-basis: 29px;
  border-radius: 8px;
  background: #ededf0;
  color: var(--subtle);
}
.run-progress li .line-icon { width: 18px; height: 18px; }
.run-progress li > span:nth-child(2) { display: grid; gap: 1px; min-width: 0; }
.run-progress strong { font-size: .86rem; }
.run-progress time, .progress-waiting { color: var(--muted); font-size: .76rem; }
.run-progress .progress-complete { border-color: var(--line); background: var(--canvas); }
.run-progress .progress-complete .nav-icon { background: #ededf0; color: var(--muted); }
.run-progress .progress-active { border-color: #c0c0c6; background: #ededf0; }
.run-progress .progress-active .nav-icon { background: var(--line); color: #444449; }
.run-progress .run-progress-activity { display: grid; place-items: center; }

.signature-document {
  max-height: 310px;
  overflow: auto;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.signature-actions { display: grid; gap: 10px; margin-top: 16px; }
.signature-actions form { display: grid; gap: 10px; }
.signature-version { color: var(--muted); font-size: .76rem; }

@media (max-width: 1060px) {
  .agent-workbench { grid-template-columns: minmax(230px, .9fr) minmax(240px, 1fr); }
}
@media (max-width: 835px) {
  .agent-workbench { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .sidebar { box-shadow: 0 12px 25px #18181b26; }
  .agent-workbench { grid-template-columns: minmax(0, 1fr); }
  .agent-workbench-lead { min-height: 0; padding: 17px; gap: 9px; }
  .agent-workbench-feed { padding: 8px 15px 12px; }
  .agent-feed-empty { padding-top: 14px; }
  #sign-out { min-width: 35px; }
}
@media (max-width: 550px) {
  #account-chip { display: none; }
  #sign-out { font-size: 0; width: 35px; padding: 4px; gap: 0; }
  #sign-out .nav-icon { width: 16px; height: 16px; flex-basis: 16px; }
  .topbar-left .breadcrumb-current { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .run-progress { grid-template-columns: minmax(0, 1fr); gap: 7px; }
}

.agent-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 17px;
  margin: 0 0 21px;
  border-bottom: 1px solid var(--line);
}
.agent-tabs a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 5px 12px;
  color: var(--muted);
  font-weight: 650;
  font-size: .84rem;
  text-decoration: none;
}
.agent-tabs a:hover { color: var(--accent); }
.agent-tabs a[aria-current="page"] { color: var(--accent-strong); font-weight: 740; }
.agent-tabs a[aria-current="page"]::after {
  position: absolute;
  right: 4px;
  bottom: -1px;
  left: 4px;
  height: 2px;
  border-radius: 3px;
  background: var(--subtle);
  content: "";
}
.agent-tabs .nav-icon { width: 16px; height: 16px; flex-basis: 16px; }

.agent-command {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(232px, .8fr);
  min-height: 206px;
  overflow: hidden;
  border: 1px solid #d4d4d8;
  border-radius: 18px;
  background: var(--canvas);
  box-shadow: 0 5px 18px #18181b0c;
}
.agent-command-main {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 13px;
  padding: 23px clamp(18px, 3vw, 38px);
  background:
    radial-gradient(ellipse at 104% 100%, #18181b6b, transparent 59%),
    linear-gradient(113deg, var(--night), #2b2b30);
  color: white;
}
.agent-command-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--line);
  font-size: .74rem;
  font-weight: 710;
}
.agent-command-label .nav-icon { width: 16px; height: 16px; flex-basis: 16px; color: #c0c0c6; }
.agent-command-main h2 { font-size: clamp(1.6rem, 2.65vw, 2.45rem); font-weight: 750; letter-spacing: -.05em; }
.agent-command-main p { max-width: 62ch; margin-top: 4px; color: var(--line); font-size: .89rem; }
.agent-command-main .button-primary { background: var(--line); color: #2b2b30; }
.agent-command-main .button-primary .nav-icon { color: #444449; }
.agent-command-main .button-primary:hover { background: #f3f3f5; }
.agent-command-main .button-outline { border-color: #8a8a90; background: #39393f; color: #f3f3f5; }
.agent-command-main .button-outline:hover { background: #444449; }
.agent-command-main :focus-visible { outline-color: #c0c0c6; }
.agent-command-aside { display: grid; align-content: center; gap: 13px; padding: 17px clamp(14px, 2vw, 26px); }
.agent-command-aside header { display: flex; justify-content: space-between; align-items: center; gap: 7px; }
.agent-command-aside .detail-grid { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; }
.agent-command-aside .detail-grid dt { color: var(--muted); font-size: .8rem; font-weight: 570; }
.agent-command-aside .detail-grid dd { color: var(--ink); font-weight: 700; font-size: .86rem; }
.agent-command-aside > .button { justify-self: start; }

.agent-team-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.agent-team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 14px;
}
.agent-role-card {
  --role-accent: #444449;
  --role-surface: #ededf0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  box-shadow: var(--shadow);
}
.agent-role-card[data-agent="sourcing"] { --role-accent: var(--muted); --role-surface: #ededf0; }
.agent-role-card[data-agent="cv_intake"] { --role-accent: var(--muted); --role-surface: #f3f3f5; }
.agent-role-card[data-agent="scheduling"] { --role-accent: var(--muted); --role-surface: #f3f3f5; }
.agent-role-card[data-agent="governance"] { --role-accent: var(--muted); --role-surface: #f3f3f5; }
.agent-role-card[data-agent="communications"] { --role-accent: #444449; --role-surface: #ededf0; }
.agent-role-card[data-agent="signing"] { --role-accent: var(--muted); --role-surface: #ededf0; }
.agent-role-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.agent-role-icon {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  background: var(--role-surface);
  color: var(--role-accent);
}
.agent-role-icon .nav-icon { width: 21px; height: 21px; }
.agent-role-title { color: var(--ink); font-weight: 740; text-decoration: none; }
.agent-role-title:hover { color: var(--accent); text-decoration: underline; }
.agent-role-copy { display: grid; gap: 4px; }
.agent-role-copy p { color: var(--muted); font-size: .81rem; line-height: 1.45; }
.agent-role-copy .agent-role-detail { color: var(--role-accent); font-weight: 640; font-size: .74rem; }
.agent-role-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 16px;
  margin: auto 0 0;
  color: var(--muted);
  font-size: .74rem;
}
.agent-role-stats > div { display: flex; align-items: baseline; gap: 5px; }
.agent-role-stats dd { margin: 0; color: var(--ink); font-size: .84rem; font-weight: 740; }
.agent-role-card footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
}
.agent-role-card time { color: var(--subtle); font-size: .72rem; }
.agent-role-link {
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 4px;
  color: var(--accent);
  font-size: .79rem;
  font-weight: 710;
  text-decoration: none;
}
.agent-role-link:hover { text-decoration: underline; }
.agent-role-link .nav-icon { width: 14px; height: 14px; flex-basis: 14px; }

.agent-setup-list { display: grid; gap: 12px; max-width: 800px; margin: 0; padding: 0; list-style: none; }
.agent-setup-list > li {
  display: grid;
  grid-template-columns: 29px minmax(0, 1fr);
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: white;
  box-shadow: var(--shadow);
}
.agent-setup-step {
  display: inline-grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 8px;
  background: #ededf0;
  color: #444449;
  font-size: .8rem;
  font-weight: 750;
}
.agent-setup-list section { display: grid; gap: 8px; justify-items: start; min-width: 0; }
.agent-setup-list section > p { color: var(--muted); font-size: .87rem; }
.agent-setup-checks { display: grid; gap: 8px; padding-top: 6px; }
.agent-setup-checks strong { margin-inline-start: 7px; font-size: .8rem; }
.agent-setup-checks p { margin: 3px 0 0; font-size: .78rem; }

.candidate-evidence {
  max-height: 350px;
  overflow: auto;
  margin: 8px 0;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--canvas);
}
.document-status { display: inline-block; margin-left: 8px; }
.portal-document-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.portal-document-list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.portal-document-list li strong, .portal-document-list li small { display: block; }
.portal-document-list li small { color: var(--muted); }

@media (max-width: 1040px) {
  .agent-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 670px) {
  .agent-command { grid-template-columns: minmax(0, 1fr); }
  .agent-command-main { padding: 19px 16px; }
  .agent-command-aside { padding: 14px 15px; }
  .agent-team-grid { grid-template-columns: minmax(0, 1fr); }
  .agent-tabs { gap: 3px 10px; }
  .agent-tabs a { font-size: .75rem; padding-inline: 2px; }
}
