*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

* {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

*::-webkit-scrollbar {
  display: none;
}

:root {
  --app-bg: #ebe6de;
  --page-bg: #fafafa;
  --page-bg-2: #efebe3;
  --sidebar-bg: #f6f1ea;
  --sidebar-bg-soft: #fcf9f4;
  --sidebar-line: #e7dfd3;

  --card: #ffffff;
  --card-2: #faf6f0;
  --line: #e6dfd6;
  --line-soft: #f0e8de;

  --text: #111111;
  --text-2: #4f4a43;
  --text-3: #8b857d;

  --green: #f1eae0;
  --green-strong: #111111;
  --green-soft: #f8f4ee;
  --green-tag: #f3ede3;
  --green-tag-border: #e2d8ca;
  --green-deep: #111111;

  --warn-bg: #f7f2ea;
  --warn-border: #e3dbd1;
  --warn-text: #6e665d;
  --accent-purple: #8567f2;

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 0 rgba(255, 255, 255, 0.8), 0 16px 38px rgba(22, 19, 14, 0.05);
  --shadow-md: 0 1px 0 rgba(255, 255, 255, 0.82), 0 22px 52px rgba(22, 19, 14, 0.07);

  --font: 'Geist', sans-serif;
  --font-mono: 'Geist Mono', monospace;
}

.shell-icon {
  width: 24px;
  height: 24px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--app-bg);
  font-family: var(--font);
  color: var(--text);
  font-size: 12px;
}

body {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.65), transparent 28%),
    linear-gradient(180deg, #ece7df 0%, #e9e4dc 100%);
}

.app {
  display: flex;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  gap: 0;
}

.main-shell {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--page-bg);
}

.content {
  flex: 1;
  min-height: 0;
  display: flex;
  overflow: hidden;
  background: var(--page-bg);
}

.workspace-page {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 36px 24px 24px;
  overflow-y: auto;
  scroll-behavior: smooth;
  background: var(--page-bg);
}

.card-surface {
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.workspace-overview {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 26px;
}

.overview-copy {
  max-width: 760px;
}

.overview-kicker,
.section-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}

.workspace-title {
  margin-top: 10px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 700;
  color: var(--text);
}

.workspace-copy {
  margin-top: 12px;
  max-width: 650px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-2);
}

.overview-metrics {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  min-width: 280px;
}

.metric-pill {
  min-width: 132px;
  padding: 14px 15px;
  border-radius: 18px;
  border: 2px solid var(--line);
  background: var(--card);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.metric-pill-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}

.metric-pill-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.workspace-top-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.86fr);
  gap: 18px;
  align-items: start;
}

.upload-stage,
.brief-stage,
.queue-stage,
.actions-stage,
.results-stage {
  padding: 22px;
}

.upload-stage,
.brief-stage,
.actions-stage {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.section-title {
  margin-top: 8px;
  font-size: 20px;
  line-height: 1.18;
  letter-spacing: -0.03em;
  font-weight: 650;
  color: var(--text);
}

.section-badge {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: var(--card-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-2);
  white-space: nowrap;
}

.section-badge-dark {
  border-color: #111111;
  background: #111111;
  color: #ffffff;
}

.upload-card {
  min-height: 360px;
  border-radius: 24px;
  border: 1.5px dashed #cfc7bc;
  background:
    linear-gradient(180deg, rgba(248, 243, 237, 0.55) 0%, rgba(255, 255, 255, 0.96) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.upload-card:hover {
  border-color: #111111;
  box-shadow: 0 18px 34px rgba(17, 17, 17, 0.06);
  transform: translateY(-2px);
}

.upload-inner {
  max-width: 430px;
  width: 100%;
}

.upload-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border-radius: 18px;
  background: #111111;
  color: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 16px 28px rgba(17, 17, 17, 0.12);
}

.upload-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text);
}

.upload-sub {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-2);
}

.upload-limit {
  margin-top: 8px;
  font-size: 11px;
  color: var(--text-3);
}

.btn-browse {
  min-width: 148px;
  height: 42px;
  margin-top: 20px;
  border: 2px solid #111111;
  border-radius: 12px;
  background: #111111;
  color: #ffffff;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn-browse:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(17, 17, 17, 0.14);
}

.upload-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.toolbar-pill {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-2);
}

.toolbar-pill-dark {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}

.brief-stage {
  background: rgba(255, 255, 255, 0.84);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-2);
}

.form-hint {
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-3);
}

.input,
.textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  font-family: var(--font);
  font-size: 13px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.input {
  height: 48px;
  padding: 0 14px;
}

.textarea {
  min-height: 184px;
  resize: none;
  padding: 14px;
  line-height: 1.65;
}

.input:focus,
.textarea:focus {
  border-color: #111111;
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.05);
}

.chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card-2);
  color: var(--text-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.chip:hover {
  transform: translateY(-1px);
}

.chip.active {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}

.chip-add {
  border-style: dashed;
  background: transparent;
}

.chip-add.is-open {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}

.toggle-switch {
  width: 44px;
  height: 28px;
  padding: 0;
  border: 2px solid #111111;
  border-radius: 8px;
  background: #f5ce4f;
  color: #111111;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  cursor: pointer;
  box-shadow: 3px 3px 0 #111111;
  transition: background-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.toggle-switch.is-off {
  background: #d9d9d9;
}

.toggle-switch:hover {
  background: #ffd85a;
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 #111111;
}

.toggle-switch.is-off:hover {
  background: #cccccc;
}

.toggle-switch:active {
  background: #eec247;
  transform: translateY(0);
  box-shadow: 1px 1px 0 #111111;
}

.toggle-switch.is-off:active {
  background: #bfbfbf;
}

.toggle-switch:focus-visible {
  outline: 3px solid rgba(17, 17, 17, 0.22);
  outline-offset: 3px;
}

.toggle-knob {
  width: 18px;
  height: 18px;
  border: 2px solid #111111;
  border-radius: 5px;
  background: #111111;
  position: absolute;
  top: 3px;
  left: 3px;
  box-shadow: none;
  transform: translateX(16px);
  transition: transform 0.18s ease, background-color 0.16s ease;
}

.toggle-switch.is-off .toggle-knob {
  background: #ffffff;
  transform: translateX(0);
}

.workspace-middle-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 18px;
}

.queue-stage {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.queue-list {
  display: grid;
  gap: 10px;
}

.queue-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--card);
}

.queue-file {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid #e3d9cc;
  background: #f8f2ea;
  display: grid;
  place-items: center;
}

.queue-file-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--text-2);
}

.queue-main {
  min-width: 0;
}

.queue-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.queue-meta {
  margin-top: 5px;
  font-size: 11px;
  color: var(--text-3);
}

.queue-status {
  min-width: 72px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

.actions-stage {
  justify-content: space-between;
}

.action-metrics {
  display: grid;
  gap: 10px;
}

.action-metric {
  padding: 14px 15px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--card-2);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.action-metric-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}

.action-metric-value {
  font-size: 14px;
  line-height: 1.45;
  font-weight: 650;
  color: var(--text);
}

.action-note {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #f9f6f1 0%, #f2ede6 100%);
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-2);
}

.cta-wrap {
  margin-top: auto;
}

.btn-analyze {
  width: 100%;
  height: 48px;
  border: 1px solid #111111;
  border-radius: 14px;
  background: #111111;
  color: #ffffff;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(17, 17, 17, 0.14);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.btn-analyze:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 32px rgba(17, 17, 17, 0.16);
}

.btn-analyze:active {
  transform: translateY(1px) scale(0.99);
}

.btn-analyze i {
  color: #ffffff;
}

.results-stage {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.results-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(272px, 1fr);
  gap: 14px;
  overflow-x: auto;
  padding: 2px 12px 14px 2px;
  scrollbar-width: thin;
}

.results-track::-webkit-scrollbar {
  display: block;
  height: 7px;
}

.results-track::-webkit-scrollbar-thumb {
  background: rgba(17, 17, 17, 0.16);
  border-radius: 999px;
}

.result-card {
  min-width: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid #111111;
  background: linear-gradient(180deg, #ffffff 0%, #fbf8f4 100%);
  box-shadow: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.result-card:hover {
  transform: translateY(-2px);
  box-shadow: none;
  border-color: #111111;
}

.result-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.result-head > div:first-child {
  min-width: 0;
  flex: 1;
}

.result-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.result-rank {
  min-height: 28px;
  padding: 0 11px;
  border-radius: 10px;
  background: #111111;
  border: 1px solid #111111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
}

.result-rank.outlined {
  background: transparent;
  border-style: dashed;
  border-color: #cbc0b1;
  color: #6d665d;
}

.result-name {
  font-size: 18px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}


.score-number {
  font-size: 20px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--text);
}

.score-label {
  margin-top: 2px;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}

.result-summary {
  margin-bottom: 14px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-2);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.tag {
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid #dfd6ca;
  background: #f6f1e9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-2);
}

.tag.warn {
  background: #ffffff;
  color: #7f776d;
}

.sidebar-scroll::-webkit-scrollbar,
.workspace-page::-webkit-scrollbar {
  display: block;
  width: 7px;
}

.sidebar-scroll::-webkit-scrollbar-track,
.workspace-page::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar-scroll::-webkit-scrollbar-thumb {
  background: rgba(17, 17, 17, 0.12);
  border-radius: 999px;
}

.workspace-page::-webkit-scrollbar-thumb {
  background: rgba(17, 17, 17, 0.14);
  border-radius: 999px;
}

@media (max-width: 1280px) {
  .workspace-top-grid,
  .workspace-middle-grid {
    grid-template-columns: 1fr;
  }

  .results-track {
    grid-auto-columns: minmax(292px, 1fr);
  }
}

@media (max-width: 900px) {
  .workspace-page {
    padding: 36px 24px 24px;
    gap: 16px;
  }

  .workspace-overview,
  .upload-stage,
  .brief-stage,
  .queue-stage,
  .actions-stage,
  .results-stage {
    padding: 18px;
  }

  .workspace-overview,
  .section-head {
    flex-direction: column;
  }

  .overview-metrics {
    justify-content: flex-start;
    min-width: 0;
  }

  .upload-card {
    min-height: 300px;
  }
}

@media (max-width: 640px) {
  .workspace-page {
    padding: 16px 12px;
  }

  .workspace-title {
    font-size: 24px;
  }

  .section-title {
    font-size: 18px;
  }

  .metric-pill,
  .queue-item {
    width: 100%;
  }

  .queue-item {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .queue-status {
    grid-column: 1 / -1;
    width: fit-content;
  }

  .results-track {
    grid-auto-columns: minmax(250px, 82vw);
  }
}

.workspace-page--upload {
  display: block;
  padding: 20px 24px 24px;
  background: var(--page-bg);
}

.workspace-page--upload:has(.workspace-active-shell:not([hidden])) {
  padding-top: 10px;
}

.workspace-active-shell[hidden],
.workspace-empty-state[hidden] {
  display: none !important;
}

.workspace-active-shell {
  display: block;
}

.workspace-empty-state {
  min-height: calc(100dvh - 120px);
  display: grid;
  place-items: center;
  padding: 28px 0;
}

.workspace-empty-card {
  width: min(100%, 944px);
  color: #111111;
  display: grid;
  gap: 16px;
}

.workspace-empty-copy {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.workspace-empty-title {
  margin: 11px 0 0;
  padding: 2px 8px 3px;
  max-width: none;
  background: #f7c83d;
  color: #111111;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.08;
  font-weight: 800;
  font-style: italic;
}

.workspace-empty-text {
  margin: 8px 0 0;
  width: 100%;
  max-width: 760px;
  color: #4d5867;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
}

.workspace-empty-create {
  width: 100%;
}

.workspace-empty-create-icon {
  width: 55px;
  height: 55px;
  border: 0;
  border-radius: 8px;
  background: #111111;
  color: #ffffff;
  display: inline-grid;
  place-items: center;
  box-shadow: none;
}

.workspace-empty-create .workspace-empty-form {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border: 1px solid #c3c9d1;
  border-radius: 14px;
  background: #ffffff;
  overflow: visible;
  min-height: 0;
  transition: border-color 0.16s ease;
}

.workspace-empty-create .workspace-empty-form:focus-within {
  border-color: #111111;
}

.workspace-empty-create .workspace-empty-input {
  height: 38px;
  min-width: 0;
  flex: 1 1 auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #111111;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  padding: 0;
  outline: none;
  box-shadow: none;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.workspace-empty-create .workspace-empty-input::placeholder {
  color: #606a79;
}

.workspace-empty-create .workspace-empty-input:hover {
  box-shadow: none;
}

.workspace-empty-create .workspace-empty-input:focus {
  background: transparent;
  box-shadow: none;
}

.workspace-empty-form-plus {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #111111;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 0.16s ease, transform 0.16s ease;
}

.workspace-empty-form-plus svg {
  width: 17px;
  height: 17px;
  stroke-width: 2.2;
}

.workspace-empty-form-plus:hover {
  background: #eef1f5;
}

.workspace-empty-form-plus.is-open {
  transform: rotate(90deg);
}

.workspace-empty-create .workspace-empty-submit {
  flex: 0 0 36px;
  width: 36px;
  min-width: 36px;
  height: 36px;
  padding: 0;
  border: 2px solid #111111;
  border-radius: 0;
  background: #111111;
  color: #ffffff;
  font-family: var(--font);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 3px 3px 0 #f4c73f;
  transition: background-color 0.16s ease, color 0.16s ease, transform 0.12s ease, box-shadow 0.12s ease;
}

@media (hover: hover) and (pointer: fine) {
  .workspace-empty-create .workspace-empty-submit:hover:not(:disabled) {
    background: #111111;
    color: #ffffff;
    box-shadow: 4px 4px 0 #f4c73f;
    transform: translate(-1px, -1px);
  }

  .workspace-empty-create .workspace-empty-submit:active:not(:disabled) {
    transform: translate(1px, 1px);
    box-shadow: 1px 1px 0 #f4c73f;
  }
}

.workspace-empty-submit svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.5;
}

.workspace-empty-create .workspace-empty-input:disabled,
.workspace-empty-create .workspace-empty-submit:disabled {
  cursor: not-allowed;
}

.workspace-empty-create .workspace-empty-submit:disabled {
  background: #e3e3e3;
  color: #111111;
  border-color: #111111;
  box-shadow: 3px 3px 0 #111111;
  opacity: 1;
}

.workspace-empty-faq-popover[hidden] {
  display: none;
}

.workspace-empty-faq-popover {
  position: absolute;
  z-index: 30;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  width: auto;
  padding: 4px 6px;
  border: 1px solid #737b87;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
}

.workspace-empty-faq-popover a {
  min-width: 0;
  min-height: 36px;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #171717;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.workspace-empty-faq-popover a .faq-link-icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: currentColor;
  margin-right: 10px;
}

.workspace-empty-faq-popover a span {
  min-width: 0;
  flex: 1 1 auto;
  text-align: left;
  display: block;
}

.workspace-empty-faq-popover a > i:last-child {
  flex: 0 0 auto;
  margin-left: 8px;
}

.workspace-empty-faq-popover a svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  stroke-width: 2.2;
}

.workspace-empty-faq-popover a:hover,
.workspace-empty-faq-popover a:focus-visible {
  color: #ffffff;
  background: #111111;
}

@media (prefers-reduced-motion: reduce) {
  .workspace-page {
    scroll-behavior: auto;
  }

  .workspace-empty-create .workspace-empty-submit,
  .workspace-empty-form-plus {
    transition: none;
  }
}

.upload-brief-card,
.upload-intake-card,
.upload-queue-panel {
  min-width: 0;
  border: 2px solid #111111;
  border-radius: 8px;
  background: #ffffff;
}

.upload-brief-card,
.upload-intake-card {
  padding: 21px 24px 30px;
}

.upload-intake-card {
  min-height: 405px;
  display: flex;
  flex-direction: column;
}

.upload-queue-panel {
  grid-area: queue;
  padding: 18px 24px 24px;
}

.workspace-queue-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.25fr) minmax(0, 3.75fr);
  grid-template-areas: "log queue";
  gap: 24px;
  align-items: stretch;
}

.upload-log-panel {
  grid-area: log;
  min-width: 0;
  min-height: 0;
  padding: 16px;
  border: 2px solid #111111;
  border-radius: 0;
  background: #111111;
  color: #ffffff;
  box-shadow: 5px 5px 0 var(--accent-purple);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.upload-queue-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.upload-log-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.upload-log-head::after {
  content: "";
  min-width: 20px;
  height: 2px;
  flex: 1 1 auto;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
}

.upload-workspace-head {
  margin-bottom: 14px;
}

.upload-workspace-title-row {
  display: grid;
  grid-template-columns: 23px minmax(0, 1fr);
  column-gap: 8px;
  row-gap: 6px;
  align-items: start;
  color: var(--text);
}

.upload-workspace-title-copy,
.upload-brief-title-copy {
  display: contents;
  min-width: 0;
}

.upload-workspace-copy {
  grid-column: 1 / -1;
  margin-top: 0;
  padding-left: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-3);
}

.upload-brief-head {
  margin-bottom: 10px;
}

.upload-brief-title-row {
  display: grid;
  grid-template-columns: 23px minmax(0, 1fr);
  column-gap: 8px;
  row-gap: 6px;
  align-items: start;
  color: var(--text);
}

.upload-brief-title-line,
.upload-workspace-title-line {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.upload-section-icon {
  width: 23px;
  height: 23px;
  min-width: 23px;
  min-height: 23px;
  display: grid;
  place-items: center;
  flex: 0 0 23px;
  flex-shrink: 0;
  color: #1b1b1b;
  margin-right: 0;
}

.upload-section-icon svg {
  width: 23px !important;
  height: 23px !important;
  stroke-width: 2;
}

.upload-workspace-title,
.upload-brief-title,
.upload-queue-title {
  margin: 0;
  display: inline-block;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-style: italic;
  background: #ffc83f;
  padding: 0 4px;
  transform: skewX(-3deg);
  transform-origin: left center;
  color: var(--text);
}

.upload-log-title {
  margin: 0;
  flex: 0 0 auto;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.upload-brief-subtitle {
  grid-column: 1 / -1;
  margin-top: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-3);
}

.workspace-intake-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(340px, 2fr);
  gap: 20px;
  align-items: stretch;
  margin-bottom: 20px;
}

.upload-brief-card {
  min-height: 0;
}

.upload-brief-card--meta {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 405px;
}

.upload-brief-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.upload-brief-card--meta .upload-brief-fields {
  flex: 1 1 auto;
  min-height: 0;
}

.upload-brief-input {
  height: 38px;
  width: 100%;
  padding: 0 12px;
  border-radius: 0;
  border: 2px solid #111111;
  background: #ffffff;
  color: #111111;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 400;
  outline: none;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.upload-brief-input::placeholder {
  color: rgba(17, 17, 17, 0.48);
  font-weight: 400;
}

.upload-brief-input:focus,
.upload-brief-textarea:focus {
  border-color: #111111;
  box-shadow: none;
  background: #ffffff;
}

.upload-brief-input.is-invalid,
.upload-brief-textarea.is-invalid {
  border-color: #d12f2f;
}

.upload-brief-textarea {
  width: 100%;
  min-height: 187px;
  height: 187px;
  resize: none;
  padding: 10px 12px;
  border-radius: 0;
  border: 2px solid #111111;
  background: #ffffff;
  color: #111111;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.55;
  outline: none;
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.upload-brief-card--meta .upload-brief-textarea {
  flex: 1 1 auto;
  height: auto;
}

.upload-brief-textarea::-webkit-scrollbar {
  display: none;
}

.upload-brief-textarea::placeholder {
  color: rgba(17, 17, 17, 0.48);
}

.upload-description-field {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
}

.upload-description-field .upload-brief-textarea {
  padding-right: 40px;
}

.vacancy-description-ai-trigger {
  position: absolute;
  right: 9px;
  bottom: 9px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #111111;
  cursor: pointer;
}

.vacancy-description-ai-trigger svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

.vacancy-description-ai-trigger:focus-visible {
  outline: 1px solid #111111;
  outline-offset: 1px;
}

.vacancy-description-ai-trigger.is-locked {
  background: transparent;
  color: #9aa1aa;
  cursor: not-allowed;
}

.vacancy-description-ai-trigger.is-locked::after {
  content: attr(data-tooltip);
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  width: max-content;
  max-width: 220px;
  padding: 7px 9px;
  border: 1px solid #111111;
  background: #111111;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
  opacity: 0;
  pointer-events: none;
  transform: translateY(3px);
  transition: opacity 120ms ease, transform 120ms ease;
}

.vacancy-description-ai-trigger.is-locked:hover::after,
.vacancy-description-ai-trigger.is-locked:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

body.vacancy-description-ai-modal-open {
  overflow: hidden;
}

.vacancy-description-ai-modal[hidden] {
  display: none;
}

.vacancy-description-ai-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(18px + env(safe-area-inset-top)) 18px calc(18px + env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
}

.vacancy-description-ai-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.68);
}

.vacancy-description-ai-modal__card {
  position: relative;
  z-index: 1;
  width: min(650px, 100%);
  max-height: calc(100dvh - 36px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  overflow: auto;
  padding: 26px 28px 28px;
  border: 2px solid #111111;
  border-radius: 0;
  background: #ffffff;
  box-shadow: 6px 6px 0 #111111;
  color: #111111;
}

.vacancy-description-ai-modal__header {
  display: block;
  margin-bottom: 18px;
}

.vacancy-description-ai-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111111;
  cursor: pointer;
  transition: transform 0.16s ease;
}

.vacancy-description-ai-modal__close:hover {
  transform: translateY(-2px) rotate(5deg);
}

.vacancy-description-ai-modal__close:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 2px;
}

.vacancy-description-ai-modal__close svg {
  width: 21px;
  height: 21px;
  stroke-width: 2.8;
}

.vacancy-description-ai-modal__close:active {
  transform: translateY(0) rotate(0);
}

.vacancy-description-ai-modal__heading {
  min-width: 0;
}

.vacancy-description-ai-modal__heading h2 {
  margin: 0;
  padding-right: 42px;
  font-size: clamp(25px, 3vw, 32px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.vacancy-description-ai-modal__heading p {
  max-width: none;
  margin: 9px 0 0;
  color: #555f6d;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
}

.vacancy-description-ai-modal__fields {
  display: grid;
  gap: 8px;
}

.vacancy-description-ai-modal__fields label {
  margin-top: 3px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.vacancy-description-ai-modal__fields textarea {
  width: 100%;
  min-height: 190px;
  resize: none;
  padding: 12px 13px;
  border: 2px solid #111111;
  border-radius: 0;
  background: #ffffff;
  color: #111111;
  font: inherit;
  font-size: 14px;
  line-height: 1.45;
  box-shadow: none;
}

.vacancy-description-ai-modal__fields textarea[readonly] {
  background: #ffffff;
  color: #111111;
  opacity: 1;
}

.vacancy-description-ai-modal__fields textarea:focus {
  outline: none;
  border-color: #111111;
  box-shadow: none;
}

.vacancy-description-ai-generate,
.vacancy-description-ai-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 0 18px;
  border: 2px solid #111111;
  border-radius: 0;
  background: #111111;
  color: #ffffff;
  font-weight: 900;
  box-shadow: 4px 4px 0 #f4c73f;
  cursor: pointer;
  line-height: 1;
  transition: background-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.vacancy-description-ai-generate:hover:not(:disabled),
.vacancy-description-ai-generate:focus-visible:not(:disabled),
.vacancy-description-ai-apply:hover:not(:disabled),
.vacancy-description-ai-apply:focus-visible:not(:disabled) {
  outline: 0;
  color: #ffffff;
  transform: translate(-1px, -1px);
}

.vacancy-description-ai-generate:active:not(:disabled),
.vacancy-description-ai-apply:active:not(:disabled) {
  background: #111111;
  transform: translate(1px, 1px);
}

.vacancy-description-ai-generate {
  margin: 4px 0 10px;
}

.vacancy-description-ai-generate span,
.vacancy-description-ai-apply span {
  display: block;
  line-height: 1;
}

.vacancy-description-ai-generate:hover:not(:disabled),
.vacancy-description-ai-generate:focus-visible:not(:disabled) {
  box-shadow: 5px 5px 0 #f4c73f;
}

.vacancy-description-ai-generate:active:not(:disabled) {
  box-shadow: 1px 1px 0 #f4c73f;
}

.vacancy-description-ai-generate.is-loading:disabled {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
  box-shadow: 4px 4px 0 #f4c73f;
  opacity: 1;
  cursor: default;
}

.vacancy-description-ai-generate:disabled,
.vacancy-description-ai-apply:disabled {
  background: #e1e4e8;
  color: #111111;
  border-color: #111111;
  box-shadow: 4px 4px 0 #111111;
  opacity: 1;
  cursor: not-allowed;
}

.vacancy-description-ai-modal__note {
  margin: 14px 0;
  padding-left: 10px;
  border-left: 4px solid #f9ca3f;
  color: #555f6d;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
}

.vacancy-description-ai-apply {
  width: 100%;
  box-shadow: 4px 4px 0 #69d28f;
}

.vacancy-description-ai-apply:hover:not(:disabled),
.vacancy-description-ai-apply:focus-visible:not(:disabled) {
  box-shadow: 5px 5px 0 #69d28f;
}

.vacancy-description-ai-apply:active:not(:disabled) {
  box-shadow: 1px 1px 0 #69d28f;
}

@media (max-width: 640px) {
  .vacancy-description-ai-modal {
    padding: calc(12px + env(safe-area-inset-top)) 10px calc(12px + env(safe-area-inset-bottom));
  }

  .vacancy-description-ai-modal__card {
    max-height: calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    padding: 20px 16px;
    box-shadow: 4px 4px 0 #111111;
  }

  .vacancy-description-ai-modal__header {
    gap: 12px;
    margin-bottom: 16px;
  }

  .vacancy-description-ai-modal__fields textarea {
    min-height: 176px;
  }
}

@media (max-height: 620px) {
  .vacancy-description-ai-modal {
    align-items: flex-start;
  }
}

.upload-resume-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.upload-resume-progress {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
}

.upload-resume-progress[hidden] {
  display: none;
}

.upload-resume-progress-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #d9d9d9;
}

.upload-resume-progress-fill {
  display: block;
  width: 0;
  height: 100%;
  background: #111111;
  transition: width 0.18s ease;
}

.upload-resume-progress-value {
  min-width: 0;
  color: #596272;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  text-align: right;
  white-space: nowrap;
}

.upload-resume-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 2px solid #111111;
  border-radius: 6px;
  background: #ffffff;
  min-width: 0;
  min-height: 62px;
  box-shadow: none;
  transition: none;
}

.upload-resume-item:hover {
  background: #fafafa;
  box-shadow: none;
}

.upload-resume-empty {
  min-height: 62px;
  padding: 14px 12px;
  border: 2px dashed #111111;
  border-radius: 8px;
  color: #111111;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.4;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  box-shadow: none;
}

.upload-resume-empty[data-empty-slots="2"] {
  min-height: 136px;
}

.upload-resume-empty[data-empty-slots="3"] {
  min-height: 210px;
}

.upload-resume-avatar {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #111111;
  color: #ffffff;
  display: grid;
  align-items: center;
  justify-content: center;
  border: 2px solid #111111;
}

.upload-resume-avatar svg {
  stroke: currentColor;
  width: 15px;
  height: 15px;
  stroke-width: 2.2;
}

.upload-resume-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.upload-resume-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #111111;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 750;
}

.upload-resume-size {
  color: #596272;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 650;
  white-space: nowrap;
}

.upload-resume-remove {
  width: 28px;
  height: 28px;
  border: 2px solid #111111;
  border-radius: 0;
  background: #ffffff;
  color: #111111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: 0 0 28px;
  padding: 0;
  opacity: 1;
  box-shadow: 3px 3px 0 #111111;
  transition: background-color 0.16s ease, color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.upload-resume-remove svg {
  width: 12px !important;
  height: 12px !important;
  stroke-width: 2.6;
  transform: none;
  transform-origin: center;
}

.upload-resume-remove:hover {
  background: #c94f55;
  color: #ffffff;
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 #111111;
}

.upload-resume-remove:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 #111111;
}

.upload-resume-remove:disabled {
  background: #d9d9d9;
  color: #111111;
  box-shadow: 2px 2px 0 #111111;
  opacity: 1;
  cursor: default;
  transform: none;
}

.upload-resume-actions {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.upload-resume-list-controls {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.upload-resume-see-all {
  border: none;
  background: transparent;
  color: #5a6574;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  padding: 0 2px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  flex-shrink: 0;
}

.upload-resume-see-all:hover {
  color: #2e3948;
}

.upload-resume-see-all[hidden] {
  display: none;
}

.upload-resume-log {
  border: 0;
  border-radius: 0;
  background: transparent;
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
  max-height: none;
  box-sizing: border-box;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.upload-resume-log-inner {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  flex: 1 1 auto;
  padding-right: 4px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.upload-resume-log-inner::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.upload-resume-log-line {
  flex: 0 0 auto;
  width: 100%;
  box-sizing: border-box;
  padding-left: 10px;
  border-left: 2px solid #7c8592;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.4;
  color: #d8dde5;
  white-space: normal;
  overflow-wrap: anywhere;
}

.upload-resume-log-line:first-child {
  font-weight: 700;
}

.upload-resume-log-line.is-info {
  border-left-color: #9aa4b2;
  color: #d8dde5;
}

.upload-resume-log-line.is-success {
  border-left-color: #69d28f;
  color: #a8e7bd;
}

.upload-resume-log-line.is-error {
  border-left-color: #ff7777;
  color: #ffaaaa;
}

.upload-resume-log-line.is-warning {
  border-left-color: #f4c542;
  color: #f8dc7c;
}

@media (min-width: 901px) {
  .upload-log-panel {
    contain: size layout;
  }
}

body.resume-files-modal-open {
  overflow: hidden;
}

.resume-files-modal[hidden] {
  display: none !important;
}

.resume-files-modal {
  position: fixed;
  inset: 0;
  z-index: 1320;
  display: grid;
  place-items: center;
  padding: 24px;
}

.resume-files-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.56);
}

.resume-files-modal__card {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100vw - 48px));
  max-height: min(620px, calc(100dvh - 48px));
  padding: 22px;
  border: 2px solid #111111;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 7px 7px 0 #111111;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.resume-files-modal__header {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.resume-files-modal__heading {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.resume-files-modal__heading h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.resume-files-modal__count {
  min-width: 0;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #111111;
  display: inline;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.resume-files-modal__count::before {
  content: "/";
  margin-right: 8px;
  color: inherit;
}

.resume-files-modal__close {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111111;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.16s ease;
}

.resume-files-modal__close:hover {
  transform: translateY(-2px) rotate(5deg);
}

.resume-files-modal__close:active {
  transform: translateY(0) rotate(0);
}

.resume-files-modal__close:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 2px;
}

.resume-files-modal__list {
  min-height: 0;
  max-height: min(500px, calc(100dvh - 148px));
  flex: 0 1 auto;
  padding: 2px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  gap: 10px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.resume-files-modal__list .upload-resume-item {
  height: 68px;
  min-height: 68px;
  grid-template-columns: 32px minmax(0, 1fr) 28px;
  gap: 10px;
  padding: 10px;
}

.resume-files-modal__list .upload-resume-name {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.resume-files-modal__list .upload-resume-empty {
  grid-column: 1 / -1;
}

@media (prefers-reduced-motion: no-preference) {
  .resume-files-modal:not([hidden]) .resume-files-modal__backdrop {
    animation: resume-files-backdrop-in 170ms ease-out both;
  }

  .resume-files-modal:not([hidden]) .resume-files-modal__card {
    animation: resume-files-card-in 190ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .resume-files-modal.is-closing .resume-files-modal__backdrop {
    animation: resume-files-backdrop-out 160ms ease-in both;
  }

  .resume-files-modal.is-closing .resume-files-modal__card {
    animation: resume-files-card-out 180ms ease-in both;
  }
}

@keyframes resume-files-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes resume-files-card-in {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes resume-files-backdrop-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes resume-files-card-out {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(10px) scale(0.985); }
}

.upload-start-button {
  width: 100%;
  min-width: 0;
  margin-top: 0;
  height: 42px;
  min-height: 42px;
  padding: 0 16px;
  border: 2px solid #111111;
  border-radius: 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #111111;
  color: #ffffff;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 4px 4px 0 #69d28f;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.upload-start-button:hover:not(:disabled) {
  color: #111111;
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 #111111;
}

.upload-start-button::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #69d28f;
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}

.upload-start-button:hover:not(:disabled)::before {
  transform: scaleX(1);
}

.upload-start-label {
  position: relative;
  z-index: 1;
}

.upload-start-button:active:not(:disabled) {
  background: #111111;
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 #111111;
}

.upload-start-button:focus-visible {
  outline: 2px solid rgba(42, 42, 42, 0.55);
  outline-offset: 2px;
}

.form-toast,
.app-toast {
  position: fixed;
  top: calc(max(14px, env(safe-area-inset-top)) + 58px);
  right: max(14px, env(safe-area-inset-right));
  z-index: 1300;
  width: min(390px, calc(100vw - 28px));
  box-sizing: border-box;
  border: 2px solid #111111;
  border-radius: 4px;
  background: #ffffff;
  color: #111111;
  padding: 14px 16px 15px;
  font-family: var(--font);
  box-shadow: 6px 6px 0 #111111;
  opacity: 0;
  transform: translateX(calc(100% + 36px));
  transition: opacity 0.2s ease, transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.form-toast.is-visible,
.app-toast.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.form-toast-title {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.form-toast-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.form-toast-list li::marker {
  font-weight: 900;
}

.app-toast {
  min-height: 48px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.app-toast svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  stroke-width: 2.4;
}

.app-toast span {
  min-width: 0;
}

@media (max-width: 640px) {
  .form-toast,
  .app-toast {
    top: calc(max(10px, env(safe-area-inset-top)) + 54px);
    left: 10px;
    right: 10px;
    width: auto;
  }

}

.upload-start-button.is-cancel-mode {
  background: #c94f55;
  color: #ffffff;
  box-shadow: 3px 3px 0 #111111;
}

.upload-start-button.is-cancel-mode::before {
  transform: scaleX(0);
}

.upload-start-button.is-cancel-mode:hover:not(:disabled) {
  background: #c94f55;
  color: #ffffff;
  box-shadow: 3px 3px 0 #111111;
}

.upload-start-button.is-cancel-mode:hover:not(:disabled)::before {
  transform: scaleX(0);
}

.upload-start-button.is-cancel-mode:active:not(:disabled) {
  background: #aa383f;
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 #111111;
}

.upload-start-button:disabled {
  background: #e1e4e8;
  border-color: #111111;
  color: #111111;
  box-shadow: 4px 4px 0 #111111;
  opacity: 1;
  cursor: not-allowed;
  transform: none;
}

.upload-resume-quota {
  margin-top: 0;
  margin-left: 0;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  color: #111111;
  text-align: left;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
}

.upload-resume-quota.is-limit {
  color: #9f2323;
}

.upload-resume-quota-extra {
  color: #8a8f98;
}

.upload-resume-extra-quota {
  flex: 0 0 100%;
  margin-top: -8px;
  text-align: right;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  color: #7d8794;
  white-space: nowrap;
}

.upload-clear-button {
  justify-self: end;
  width: 36px;
  min-width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0;
  border: 2px solid #111111;
  border-radius: 0;
  background: #d76464;
  color: #ffffff;
  font-family: var(--font);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 3px 3px 0 #111111;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.upload-clear-button svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}

.upload-clear-button:hover {
  background: #c65353;
  color: #ffffff;
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 #111111;
}

.upload-clear-button:active {
  background: #ad4242;
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 #111111;
}

.upload-clear-button:disabled {
  background: #e1e4e8;
  color: #111111;
  border-color: #111111;
  box-shadow: 3px 3px 0 #111111;
  opacity: 1;
  cursor: not-allowed;
  transform: none;
}

.upload-dropzone {
  flex: 1 1 auto;
  min-height: 260px;
  border: 2px dashed #7f7f7f;
  border-radius: 6px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.upload-dropzone.is-dragover {
  border-color: #111111;
  background: #f8f9fb;
}

.upload-dropzone.is-busy {
  opacity: 0.85;
  pointer-events: none;
}

.upload-dropzone:active {
  transform: translateY(0);
}

.upload-dropzone-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.upload-dropzone-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  color: var(--text);
  display: grid;
  place-items: center;
}

.upload-dropzone-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: #111111;
  color: #ffffff;
  display: grid;
  place-items: center;
}

.upload-dropzone-title {
  max-width: 480px;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--text);
}

.upload-dropzone-subtitle {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-3);
}

.upload-dropzone-note {
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.45;
  color: #838b96;
}

.upload-dropzone-button {
  height: 38px;
  margin-top: 18px;
  padding: 0 14px;
  border: none;
  border-radius: 6px;
  background: #e5e5e5;
  color: var(--text);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.16s ease;
}

@media (hover: hover) and (pointer: fine) {
  .upload-dropzone:hover {
    background: #f0f1f3;
    transform: translateY(-1px);
  }

  .upload-dropzone:hover .upload-dropzone-button,
  .upload-dropzone-button:hover {
    background: #111111;
    color: #ffffff;
    transform: translateY(-1px);
  }
}

.upload-dropzone-button:active {
  background: #d5d5d5;
  transform: translateY(0);
}

.upload-dropzone-button:disabled {
  opacity: 0.65;
  cursor: wait;
}

.workspace-settings-panel {
  background: #ffffff;
}

.workspace-settings-panel--resumes .upload-resume-list {
  margin-top: 0;
}

.upload-list-actions {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px 42px;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.candidate-carousel {
  margin-top: 12px;
}

.candidate-carousel-shell {
  position: relative;
}

.candidate-carousel-track {
  min-width: 0;
  display: grid;
  align-items: start;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 6px 7px 2px;
  scroll-padding-inline: 2px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.candidate-carousel-track::-webkit-scrollbar {
  display: none;
}

.upload-start-button:disabled::before {
  transform: scaleX(0);
}

.candidate-carousel-track[hidden] {
  display: none;
}

.candidate-carousel-page {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  align-content: start;
  gap: 14px;
  scroll-snap-align: start;
}

.candidate-carousel-page .candidate-card {
  scroll-snap-align: unset;
}

.candidate-carousel-track.is-dragging,
.saved-candidates-preview-track.is-dragging {
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.candidate-carousel-track.is-dragging .candidate-card,
.saved-candidates-preview-track.is-dragging .candidate-card {
  cursor: grabbing;
}

.candidate-carousel-controls {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.candidate-toolbar-divider {
  width: 2px;
  height: 24px;
  flex: 0 0 2px;
  border-radius: 999px;
  background: #d7dce4;
}

.candidate-retention-notice {
  margin-top: 15px;
  margin-bottom: 15px;
  min-height: 48px;
  padding: 12px 16px 12px 20px;
  border: 2px solid #111111;
  border-radius: 0;
  background: #111111;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  box-shadow: 5px 5px 0 #69d28f;
  position: relative;
}

.candidate-retention-notice::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: #69d28f;
  content: "";
}

.candidate-retention-notice[hidden] {
  display: none;
}

.saved-candidate-retention-notice {
  margin-top: 0;
}

.candidate-retention-notice.has-results {
  border-color: #111111;
  background: #111111;
  color: #ffffff;
  font-weight: 700;
}

.candidate-export-wrap {
  width: auto;
  margin-top: 0;
  display: inline-flex;
  flex: 0 0 auto;
}

.upload-list-actions .candidate-export-wrap,
.upload-list-actions .candidate-export-button {
  width: 42px;
  min-width: 42px;
  height: 42px;
  min-height: 42px;
}

.upload-list-actions .candidate-export-button {
  padding: 0;
}

.upload-list-actions .upload-clear-button {
  width: 42px;
  min-width: 42px;
  height: 42px;
  min-height: 42px;
}

.candidate-export-button {
  width: auto;
  min-width: 174px;
  height: 42px;
  border: 2px solid #111111;
  box-sizing: border-box;
  border-radius: 0;
  background: #eef0f3;
  color: #111111;
  font-family: var(--font);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.01em;
  line-height: 1;
  cursor: not-allowed;
  white-space: nowrap;
  box-shadow: 3px 3px 0 rgba(17, 17, 17, 0.95);
  transition: background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.candidate-export-button svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  opacity: 1;
}

.candidate-export-button.is-enabled {
  background: #23a267;
  color: #ffffff;
  cursor: pointer;
  box-shadow: 3px 3px 0 #111111;
}

.candidate-export-button.is-enabled svg {
  opacity: 1;
}

.candidate-export-button.is-enabled:hover:not(:disabled) {
  background: #1f925c;
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 #111111;
}

.candidate-export-button.is-enabled:active:not(:disabled) {
  background: #187a4a;
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 #111111;
}

.candidate-export-button:focus-visible {
  outline: 2px solid rgba(17, 132, 75, 0.35);
  outline-offset: 2px;
}

.candidate-export-button:disabled {
  opacity: 1;
}

.candidate-export-button:not(.is-enabled):disabled {
  background: #e1e4e8;
  color: #111111;
  border-color: #111111;
  box-shadow: 3px 3px 0 #111111;
  opacity: 1;
  cursor: not-allowed;
  transform: none;
}

.candidate-export-button:not(.is-enabled):disabled svg {
  opacity: 1;
}

.candidate-export-button.is-enabled:disabled {
  cursor: wait;
  opacity: 1;
  transform: none;
  background: #23a267;
  color: #ffffff;
  border-color: #111111;
  box-shadow: 3px 3px 0 #111111;
}

.candidate-carousel-control-buttons {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.candidate-bulk-actions {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.candidate-card-search {
  position: relative;
  width: 210px;
  min-width: 160px;
  height: 36px;
  flex: 0 1 210px;
  display: inline-flex;
  align-items: center;
}

.candidate-card-search > svg {
  position: absolute;
  left: 11px;
  width: 15px;
  height: 15px;
  color: #5f6874;
  pointer-events: none;
  z-index: 1;
}

.candidate-card-search input {
  width: 100%;
  min-width: 0;
  height: 36px;
  padding: 0 11px 0 34px;
  border: 2px solid #111111;
  border-radius: 0;
  box-sizing: border-box;
  background: #ffffff;
  color: #111111;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  outline: none;
}

.candidate-card-search input::placeholder {
  color: #737b86;
  opacity: 1;
}

.candidate-card-search input:focus-visible {
  border-color: #111111;
  box-shadow: none;
}

.candidate-card-search input:disabled {
  border-color: #111111;
  background: #e1e4e8;
  color: #111111;
  cursor: not-allowed;
}

.candidate-bulk-menu-wrap {
  position: relative;
  flex: 0 0 auto;
}

.candidate-bulk-action-button,
.candidate-bulk-selected-count,
.saved-candidates-selected-count,
.saved-candidates-filter-button {
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  box-sizing: border-box;
  border-radius: 6px;
  background: #ffffff;
  color: #111111;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  box-shadow: none;
}

.candidate-bulk-action-button,
.saved-candidates-filter-button {
  width: 76px;
  min-width: 76px;
  flex: 0 0 76px;
  box-sizing: border-box;
  padding-inline: 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 2px solid #111111;
  border-radius: 0;
  background: #111111;
  color: #ffffff;
  box-shadow: 3px 3px 0 #f4c73f;
}

.candidate-bulk-selected-count,
.saved-candidates-selected-count {
  width: auto;
  min-width: 76px;
  padding-inline: 6px;
  justify-content: center;
  align-self: center;
  align-items: center;
  line-height: 1;
  border: 0;
  background: transparent;
  color: #555f6d;
  box-shadow: none;
}

.candidate-bulk-action-button,
.saved-candidates-filter-button {
  cursor: pointer;
  transition:
    background-color 0.16s ease,
    transform 0.16s ease,
    box-shadow 0.16s ease;
}

.candidate-bulk-action-button svg,
.saved-candidates-filter-button svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  stroke-width: 2.4;
  position: relative;
  z-index: 1;
}

.candidate-bulk-action-button span,
.saved-candidates-filter-button span {
  position: relative;
  z-index: 1;
}

.candidate-bulk-action-button::before,
.saved-candidates-filter-button::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #69d28f;
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}

.candidate-bulk-action-button:hover,
.saved-candidates-filter-button:hover {
  color: #111111;
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 #111111;
}

.candidate-bulk-action-button:hover::before,
.saved-candidates-filter-button:hover::before,
.candidate-bulk-action-button[aria-expanded="true"]::before,
.candidate-bulk-action-button.is-active::before,
.saved-candidates-filter-button[aria-expanded="true"]::before,
.saved-candidates-filter-button.is-active::before {
  transform: scaleX(1);
}

.candidate-bulk-action-button:active,
.saved-candidates-filter-button:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 #111111;
}

.candidate-bulk-action-button[aria-expanded="true"],
.candidate-bulk-action-button.is-active,
.saved-candidates-filter-button[aria-expanded="true"],
.saved-candidates-filter-button.is-active {
  background: #111111;
  color: #111111;
}

.saved-candidates-selection {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.saved-candidates-selection[hidden] {
  display: none;
}

.candidate-bulk-action-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  bottom: auto;
  z-index: 60;
  width: min(238px, calc(100vw - 32px));
  padding: 7px;
  display: grid;
  gap: 5px;
  border: 2px solid #111111;
  border-radius: 0;
  background: #ffffff;
  max-height: min(360px, calc(100vh - 32px));
  overflow-y: auto;
}

.candidate-bulk-action-menu[hidden] {
  display: none;
}

.candidate-bulk-action-menu.is-flipped {
  top: auto;
  bottom: calc(100% + 8px);
}

.candidate-bulk-menu-group {
  display: grid;
  gap: 5px;
  padding-top: 5px;
  margin-top: 2px;
  border-top: 1px solid #d7dce4;
}

.candidate-bulk-menu-group--actions {
  padding-top: 0;
  padding-bottom: 5px;
  margin-top: 0;
  margin-bottom: 2px;
  border-top: 0;
  border-bottom: 1px solid #d7dce4;
}

.candidate-bulk-menu-option {
  width: 100%;
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 5px;
  background: #ffffff;
  color: #111111;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
}

.candidate-bulk-menu-option:hover,
.candidate-bulk-menu-option:focus-visible {
  background: #f5ce4f;
  outline: none;
}

.candidate-bulk-menu-option:disabled {
  color: #8d96a3;
  background: #ffffff;
  cursor: not-allowed;
  opacity: 0.72;
}

.candidate-bulk-menu-option.is-selected {
  background: #111111;
  color: #ffffff;
}

.candidate-carousel-arrow {
  width: 36px;
  height: 36px;
  border: 2px solid #111111;
  box-sizing: border-box;
  border-radius: 0;
  background: #69d28f;
  color: #111111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 3px 3px 0 #111111;
  transition: background-color 0.16s ease, color 0.16s ease, opacity 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.candidate-carousel-arrow:hover:not(:disabled) {
  background: #69d28f;
  color: #111111;
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 #111111;
}

.candidate-carousel-arrow:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 #111111;
}

.candidate-carousel-arrow:disabled {
  opacity: 1;
  cursor: default;
  background: #e1e4e8;
  color: #111111;
  border-color: #111111;
  box-shadow: 3px 3px 0 #111111;
  transform: none;
}

.candidate-carousel-arrow:disabled:hover {
  background: #e1e4e8;
  color: #111111;
}

.candidate-carousel-arrow svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.35;
}

.saved-candidates-preview {
  margin-top: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.saved-candidates-preview-head {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin-bottom: 14px;
}

.saved-candidates-preview-heading {
  min-width: 0;
  margin-left: 0;
  padding-left: 0;
  text-align: left;
}

.saved-candidates-preview-text {
  min-width: 0;
}

.saved-candidates-preview-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.saved-candidates-preview-separator {
  color: #111111;
  font-size: 20px;
  line-height: 1.1;
  font-weight: 700;
}

.saved-candidates-preview-title {
  margin: 0;
  color: #111111;
  font-size: 20px;
  line-height: 1.1;
  font-weight: 800;
  text-align: left;
}

.saved-candidates-preview-copy {
  max-width: 760px;
  margin-top: 5px;
  color: #424b57;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 650;
  text-align: left;
}

.saved-candidates-preview-summary {
  width: 100%;
  min-width: 0;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  position: relative;
}

.saved-candidates-preview-summary .candidate-card-search {
  margin-left: 0;
}

.saved-candidates-preview-counter {
  padding: 0 0 2px;
  border-bottom: 2px dashed #8b929c;
  color: #626b77;
  font-size: 14px;
  line-height: 1.1;
  font-weight: 800;
  white-space: nowrap;
}

.saved-candidates-preview-arrows {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.saved-candidates-filter-wrap {
  position: relative;
  flex: 0 0 auto;
}

.saved-candidates-filter-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 70;
  width: min(238px, calc(100vw - 32px));
  padding: 7px;
  display: grid;
  gap: 5px;
  border: 2px solid #111111;
  border-radius: 0;
  background: #ffffff;
  max-height: min(360px, calc(100vh - 32px));
  overflow-y: auto;
}

.saved-candidates-filter-menu[hidden] {
  display: none;
}

.saved-candidates-filter-menu.is-flipped {
  top: auto;
  bottom: calc(100% + 8px);
}

.saved-candidates-filter-group {
  display: grid;
  gap: 5px;
  padding-top: 5px;
  margin-top: 2px;
  border-top: 1px solid #d7dce4;
}

.saved-candidates-filter-group--actions {
  padding-top: 0;
  padding-bottom: 5px;
  margin-top: 0;
  margin-bottom: 2px;
  border-top: 0;
  border-bottom: 1px solid #d7dce4;
}

.saved-candidates-filter-option {
  width: 100%;
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 5px;
  background: #ffffff;
  color: #111111;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
}

.saved-candidates-filter-option:hover,
.saved-candidates-filter-option:focus-visible {
  background: #f5ce4f;
  outline: none;
}

.saved-candidates-filter-option.is-selected {
  background: #111111;
  color: #ffffff;
}

.saved-candidates-filter-option:disabled {
  color: #8d96a3;
  background: #ffffff;
  cursor: not-allowed;
  opacity: 0.72;
}

.saved-candidates-preview-arrow {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border: 2px solid #111111;
  box-sizing: border-box;
  border-radius: 0;
  background: #69d28f;
  color: #111111;
  box-shadow: 3px 3px 0 #111111;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease, opacity 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.saved-candidates-preview-arrow:hover:not(:disabled):not(.is-muted) {
  background: #69d28f;
  color: #111111;
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 #111111;
}

.saved-candidates-export-button {
  margin-left: 0;
}

.saved-candidates-actions-divider {
  margin-left: auto;
}

.saved-candidates-preview-arrow:active:not(:disabled):not(.is-muted) {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 #111111;
}

.saved-candidates-preview-arrow:disabled,
.saved-candidates-preview-arrow.is-muted {
  opacity: 1;
  background: #e1e4e8;
  color: #111111;
  border-color: #111111;
  box-shadow: 3px 3px 0 #111111;
  cursor: default;
  transform: none;
}

.saved-candidates-preview-arrow svg {
  width: 15px;
  height: 15px;
}

.saved-candidates-preview-track {
  width: 100%;
  margin-inline: 0;
  min-width: 0;
  display: grid;
  align-items: start;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 6px 7px 2px;
  scroll-padding-inline: 2px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

.saved-candidates-preview-track[hidden] {
  display: none;
}

.saved-candidates-preview-page {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  align-content: start;
  gap: 18px;
  scroll-snap-align: start;
}

.saved-candidates-preview-page .candidate-card {
  scroll-snap-align: unset;
}

.candidate-card.saved-candidate-slot-placeholder {
  min-height: 390px;
  border: 2px dashed #111111;
  background: transparent;
  box-shadow: none;
  padding: 0;
  pointer-events: none;
}

.candidate-card.saved-candidate-slot-placeholder:hover {
  transform: none;
  box-shadow: none;
}

.saved-candidates-preview-empty {
  width: auto;
  max-width: 100%;
  min-height: 0;
  margin: 0 auto;
  padding: 9px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5f6874;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
}

.saved-candidates-preview-empty[hidden] {
  display: none;
}

.saved-candidates-preview.is-empty {
  padding: 0;
}

.saved-candidates-preview.is-empty .saved-candidates-preview-head {
  display: none;
}

.saved-candidates-preview.is-pro-required .saved-candidates-preview-empty {
  background: transparent;
  color: #5f6874;
}

.saved-candidates-preview.has-cards .saved-candidates-preview-head {
  align-items: stretch;
  margin-bottom: 14px;
}

.saved-candidates-preview.has-cards .saved-candidates-preview-empty {
  margin: 36px auto 0;
}

.saved-candidates-preview.has-cards .saved-candidates-preview-copy {
  max-width: 720px;
  margin-top: 4px;
}

.candidate-card {
  min-height: 390px;
  min-width: 0;
  scroll-snap-align: start;
  border: 2px solid #111111;
  border-radius: 0;
  background: #ffffff;
  box-shadow: 5px 5px 0 #111111;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.candidate-card--clickable {
  cursor: pointer;
}

.saved-candidate-preview-card--selectable {
  cursor: pointer;
}

.candidate-card.candidate-card--selected {
  border-color: #4aa3df;
}

.candidate-card:hover {
  position: relative;
  z-index: 5;
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 #111111;
}

.candidate-card-save,
.saved-candidate-card-mark {
  width: 25px;
  height: 25px;
  padding: 0;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #111111;
  font: inherit;
  line-height: 1;
  cursor: pointer;
  transition: color 0.16s ease, transform 0.16s ease, opacity 0.16s ease;
}

.candidate-card-save svg,
.saved-candidate-card-mark svg {
  width: 19px;
  height: 19px;
  stroke-width: 2.2;
  fill: transparent;
  pointer-events: none;
}

.candidate-card-save.is-saved svg,
.saved-candidate-card-mark svg {
  fill: currentColor;
}

.candidate-card-save:hover:not(:disabled) {
  transform: scale(1.08);
}

.candidate-card-save:active:not(:disabled) {
  transform: scale(0.96);
}

.candidate-card-save:focus-visible {
  outline: 2px solid rgba(17, 17, 17, 0.22);
  outline-offset: 2px;
}

.candidate-card-save:disabled {
  color: #a6acb5;
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
}

.candidate-card--placeholder {
  border: 2px dashed #111111;
  background: var(--page-bg);
  box-shadow: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 390px;
}

.saved-candidates-export-button {
  width: 36px;
  min-width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0;
}

.candidate-review-toggle {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  padding: 0;
  border: 2px solid #111111;
  border-radius: 50%;
  background: #d76464;
  color: #ffffff;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 3px 3px 0 #111111;
  transform: none;
  transition: background-color 0.16s ease, border-radius 0.16s ease, color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.candidate-review-toggle svg {
  grid-area: 1 / 1;
  width: 16px;
  height: 16px;
  stroke-width: 2.5;
}

.candidate-review-toggle-alert-icon {
  color: #ffffff;
}

.candidate-review-toggle-results-icon {
  display: none;
  color: #ffffff;
}

.candidate-review-toggle.is-active {
  border-radius: 10px;
  background: #d76464;
  color: #ffffff;
  box-shadow: 4px 4px 0 #111111;
  transform: rotate(-4deg);
}

.candidate-review-toggle.is-active .candidate-review-toggle-alert-icon {
  display: none;
}

.candidate-review-toggle.is-active .candidate-review-toggle-results-icon {
  display: block;
  color: #ffffff;
}

.candidate-review-toggle:hover {
  background: #d76464;
  color: #ffffff;
  border-radius: 10px;
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 #111111;
}

.candidate-review-toggle:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 #111111;
}

.candidate-review-toggle.is-active:hover {
  background: #c65353;
  transform: translate(-1px, -1px) rotate(-4deg);
}

.candidate-review-toggle:hover .candidate-review-toggle-alert-icon,
.candidate-review-toggle:hover .candidate-review-toggle-results-icon {
  color: #ffffff;
}

.candidate-review-toggle.is-active:active {
  transform: translate(1px, 1px) rotate(-4deg);
}

.candidate-review-toggle:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 2px;
}

.candidate-card--placeholder:hover {
  transform: none;
  box-shadow: none;
}

.candidate-card-head {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid #d7dce4;
}

.candidate-card-avatar {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 50%;
  border: 2px solid #111111;
  background: var(--candidate-avatar-bg, #5a8dee);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.candidate-card-title-wrap {
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
}

.candidate-card-title-row {
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.candidate-card-title-actions {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
}

.candidate-card-controls-row {
  position: relative;
  width: 100%;
  align-self: stretch;
  margin-top: auto;
  padding-top: 7px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid #e4e7ec;
  z-index: 4;
}

.candidate-card-contact-wrap {
  position: static;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
}

.candidate-card-contact-trigger {
  width: 25px;
  height: 25px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 6px;
  background: #111111;
  color: #ffffff;
  cursor: pointer;
  transition:
    background-color 0.16s ease,
    transform 0.16s ease;
}

.candidate-card-contact-trigger svg {
  display: block;
  width: 15px;
  height: 15px;
  stroke-width: 2.25;
  pointer-events: none;
}

.candidate-card-contact-trigger:hover {
  background: #000000;
  transform: scale(1.12);
}

.candidate-card-contact-trigger:active {
  transform: scale(0.96);
}

.candidate-card-contact-trigger:focus,
.candidate-card-contact-trigger:focus-visible {
  outline: none;
  box-shadow: none;
}

.candidate-card-contact-popover {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  width: min(280px, 100%);
  max-height: min(330px, calc(100vh - 34px));
  padding: 10px;
  display: none;
  overflow-y: auto;
  border: 2px solid #111111;
  border-radius: 8px;
  background: #ffffff;
  color: #111111;
  z-index: 37;
}

.candidate-card-contact-wrap.is-open .candidate-card-contact-popover {
  display: grid;
  gap: 8px;
}

.candidate-card-contact-title {
  font-size: 10px;
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.candidate-card-contact-list {
  display: grid;
  gap: 5px;
}

.candidate-card-contact-row {
  min-width: 0;
  width: 100%;
  min-height: 36px;
  padding: 5px 6px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 12px;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #111111;
  cursor: pointer;
  font: inherit;
  text-align: left;
  text-decoration: none;
  transition:
    background-color 0.22s ease,
    color 0.14s ease;
}

.candidate-card-contact-row:hover,
.candidate-card-contact-row:focus-visible {
  outline: none;
  background: #f2f3f5;
  color: #111111;
}

.candidate-card-contact-row.is-copied {
  background: transparent;
  color: #111111;
}

.candidate-card-contact-icon {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 5px;
  background: #111111;
  color: #ffffff;
}

.candidate-card-contact-row:hover .candidate-card-contact-icon,
.candidate-card-contact-row:focus-visible .candidate-card-contact-icon,
.candidate-card-contact-row.is-copied .candidate-card-contact-icon {
  background: #111111;
  color: #ffffff;
}

.candidate-card-contact-row.is-copied .candidate-card-contact-label {
  color: #777777;
}

.candidate-card-contact-icon svg,
.candidate-card-contact-row > svg {
  display: block;
  width: 12px;
  height: 12px;
  stroke-width: 2.35;
}

.candidate-card-contact-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.candidate-card-contact-label {
  color: #777777;
  font-size: 7.5px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.candidate-card-contact-row:hover .candidate-card-contact-label,
.candidate-card-contact-row:focus-visible .candidate-card-contact-label {
  color: #565d67;
}

.candidate-card-contact-value {
  min-width: 0;
  overflow: hidden;
  color: inherit;
  font-size: 9.5px;
  line-height: 1.25;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.candidate-card-contact-notice {
  margin: 0;
  color: #777777;
  font-size: 9px;
  line-height: 1.35;
  font-weight: 650;
}

.candidate-card-user-status-wrap {
  position: relative;
  flex: 0 1 auto;
  min-width: 0;
  align-self: stretch;
  margin-right: auto;
}

.candidate-card-user-status {
  width: auto;
  min-height: 25px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #111111;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  box-shadow: none;
  transition:
    color 0.14s ease;
}

.candidate-card-user-status svg {
  display: block;
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  stroke-width: 2.8;
  pointer-events: none;
  transition: transform 0.14s ease;
}

.candidate-card-user-status-value {
  max-width: 150px;
  min-height: 25px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #111111;
  box-shadow: none;
}

.candidate-card-user-status-dot {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  border: 2px solid #111111;
  border-radius: 0;
  background: var(--candidate-status-color, #ffffff);
}

.candidate-card-user-status-label {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.candidate-card-user-status--none .candidate-card-user-status-value {
  color: #4f5864;
}

.candidate-card-user-status--approved .candidate-card-user-status-value {
  color: #111111;
}

.candidate-card-user-status--interview .candidate-card-user-status-value {
  color: #111111;
}

.candidate-card-user-status--rejected .candidate-card-user-status-value {
  color: #111111;
}

.candidate-card-user-status--none,
.candidate-card-user-status-option--none {
  --candidate-status-color: #ffffff;
}

.candidate-card-user-status--approved,
.candidate-card-user-status-option--approved {
  --candidate-status-color: #69d28f;
}

.candidate-card-user-status--interview,
.candidate-card-user-status-option--interview {
  --candidate-status-color: #f4c73f;
}

.candidate-card-user-status--rejected,
.candidate-card-user-status-option--rejected {
  --candidate-status-color: #ef7770;
}

.candidate-card-user-status:hover:not(:disabled) {
  color: #4f5864;
}

.candidate-card-user-status:focus,
.candidate-card-user-status:focus-visible {
  outline: none;
  box-shadow: none;
}

.candidate-card-user-status:disabled {
  cursor: not-allowed;
  opacity: 1;
  transform: none;
}

.candidate-card-user-status-wrap.is-open .candidate-card-user-status {
  transform: none;
}

.candidate-card-user-status-wrap.is-open .candidate-card-user-status svg {
  transform: rotate(180deg);
}

.candidate-card-user-status-menu {
  position: absolute;
  top: auto;
  bottom: calc(100% + 13px);
  right: auto;
  left: 0;
  width: min(148px, calc(100vw - 28px));
  max-width: calc(100vw - 28px);
  padding: 7px;
  display: none;
  gap: 4px;
  border: 2px solid #111111;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 5px 5px 0 #111111;
  z-index: 30;
}

.candidate-card-user-status-wrap.is-open .candidate-card-user-status-menu {
  display: grid;
}

.candidate-card-user-status-option {
  width: 100%;
  height: 27px;
  padding: 0 8px;
  border: 0;
  border-radius: 5px;
  background: #ffffff;
  color: #111111;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  box-shadow: inset 0 0 0 0 #111111;
  transition:
    background-color 0.12s ease,
    box-shadow 0.12s ease;
}

.candidate-card-user-status-option--none {
  color: #777777;
}

.candidate-card-user-status-option--approved {
  background: #ffffff;
}

.candidate-card-user-status-option--interview {
  background: #ffffff;
}

.candidate-card-user-status-option--rejected {
  background: #ffffff;
}

.candidate-card-user-status-option:hover {
  background: #f4f4f4;
}

.candidate-card-user-status-option.is-selected {
  background: #111111;
  color: #ffffff;
  box-shadow: none;
}

.candidate-card-note-wrap {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
}

.candidate-card-note-trigger {
  width: 25px;
  height: 25px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 6px;
  background: #111111;
  color: #ffffff;
  cursor: pointer;
  transition:
    background-color 0.16s ease,
    transform 0.16s ease,
    color 0.16s ease;
}

.candidate-card-note-trigger svg {
  display: block;
  width: 15px;
  height: 15px;
  stroke-width: 2.25;
  pointer-events: none;
}

.candidate-card-note-wrap.has-note .candidate-card-note-trigger {
  background: #111111;
  color: #8fe3a2;
}

.candidate-card-note-trigger:hover:not(:disabled) {
  background: #000000;
  transform: scale(1.12);
}

.candidate-card-note-trigger:active:not(:disabled) {
  transform: scale(0.96);
}

.candidate-card-note-trigger:focus,
.candidate-card-note-trigger:focus-visible {
  outline: none;
  box-shadow: none;
}

.candidate-card-note-trigger:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.candidate-card-question-wrap {
  position: static;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
}

.candidate-card-question-trigger {
  width: 25px;
  height: 25px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 6px;
  background: #f5c542;
  color: #111111;
  cursor: pointer;
  transition:
    background-color 0.16s ease,
    transform 0.16s ease;
}

.candidate-card-question-trigger svg {
  display: block;
  width: 15px;
  height: 15px;
  stroke-width: 2.5;
  pointer-events: none;
}

.candidate-card-question-trigger:hover {
  background: #e4b52f;
  transform: scale(1.12);
}

.candidate-card-question-trigger:active {
  transform: scale(0.96);
}

.candidate-card-question-trigger:focus,
.candidate-card-question-trigger:focus-visible {
  outline: none;
  box-shadow: none;
}

.candidate-card-question-popover {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  width: min(300px, 100%);
  max-height: min(300px, calc(100vh - 34px));
  padding: 12px;
  display: none;
  overflow-y: auto;
  border: 2px solid #111111;
  border-radius: 8px;
  background: #111111;
  color: #ffffff;
  z-index: 36;
}

.candidate-card-question-wrap.is-open .candidate-card-question-popover {
  display: grid;
  gap: 9px;
}

.candidate-card-question-title {
  color: #ffffff;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.candidate-card-question-list {
  margin: 0;
  padding: 0 0 0 19px;
  display: grid;
  gap: 8px;
  color: #ffffff;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 650;
}

.candidate-card-question-list li {
  min-width: 0;
  padding-left: 2px;
  overflow-wrap: anywhere;
}

.candidate-card-question-text {
  color: #ffffff;
}

.candidate-card-question-basis {
  margin: 3px 0 0;
  color: #cbd1da;
  font-size: 10px;
  line-height: 1.38;
  font-weight: 500;
}

.candidate-card-question-basis-label {
  color: #ffffff;
  font-weight: 800;
}

.candidate-card-question-message {
  margin: 0;
  color: #ffffff;
  font-size: 11px;
  line-height: 1.42;
  font-weight: 650;
}

.candidate-card-select {
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  display: inline-grid;
  place-items: center;
  border: 2px solid #b8c0cc;
  border-radius: 999px;
  background: #ffffff;
  color: #ffffff;
  cursor: pointer;
  transition:
    background-color 0.16s ease,
    border-color 0.16s ease,
    transform 0.16s ease;
}

.candidate-card-select svg {
  width: 14px;
  height: 14px;
  opacity: 0;
  stroke-width: 3;
  pointer-events: none;
  transition: opacity 0.12s ease;
}

.candidate-card-select:hover {
  border-color: #4aa3df;
  background: rgba(74, 163, 223, 0.14);
  transform: scale(1.08);
}

.candidate-card-select:active {
  transform: scale(0.96);
}

.candidate-card-select:focus,
.candidate-card-select:focus-visible {
  outline: none;
  box-shadow: none;
}

.candidate-card-select.is-selected {
  border-color: #111111;
  background: #4aa3df;
}

.candidate-card-select.is-selected svg {
  opacity: 1;
}

.candidate-card-select:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
}

.candidate-card-note-popover {
  position: absolute;
  right: 8px;
  bottom: calc(100% + 12px);
  width: min(250px, calc(100vw - 34px));
  padding: 12px;
  display: none;
  border: 2px solid #111111;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 5px 5px 0 #111111;
  z-index: 35;
}

.candidate-card-note-wrap.is-open .candidate-card-note-popover {
  display: grid;
  gap: 4px;
}

.candidate-card-note-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #111111;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
}

.candidate-card-note-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.candidate-card-note-count {
  position: absolute;
  right: 7px;
  bottom: 10px;
  margin: 0;
  color: #777777;
  font-size: 9px;
  font-weight: 700;
  text-transform: none;
  -webkit-text-stroke: 1px #ffffff;
  paint-order: stroke fill;
  text-shadow: 0 0 2px #ffffff;
  pointer-events: none;
}

.candidate-card-note-field {
  position: relative;
}

.candidate-card-note-close {
  width: 24px;
  height: 24px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #111111;
  cursor: pointer;
  transition: transform 0.16s ease;
}

.candidate-card-note-close:hover {
  transform: translateY(-2px) rotate(5deg);
}

.candidate-card-note-close:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 1px;
}

.candidate-card-note-close svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.8;
}

.candidate-card-note-input {
  width: 100%;
  height: 78px;
  min-height: 78px;
  max-height: 78px;
  padding: 8px 8px 20px;
  resize: none;
  border: 2px solid #111111;
  border-radius: 0;
  background: #ffffff;
  color: #111111;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 600;
  box-shadow: none;
}

.candidate-card-note-input:focus,
.candidate-card-note-input:focus-visible {
  outline: none;
  outline-offset: 0;
  box-shadow: none;
}

.candidate-card-note-input:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.candidate-card-note-save {
  width: 100%;
  min-height: 34px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: stretch;
  border: 2px solid #111111;
  border-radius: 0;
  position: relative;
  background: #111111;
  color: #ffffff;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 3px 3px 0 #69d28f;
  transition: background-color 0.14s ease, box-shadow 0.14s ease, transform 0.14s ease;
}

.candidate-card-note-save:hover:not(:disabled) {
  background: #111111;
  color: #ffffff;
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 #69d28f;
}

.candidate-card-note-save:active:not(:disabled) {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 #69d28f;
}

.candidate-card-note-save:disabled {
  background: #e1e4e8;
  color: #111111;
  border-color: #111111;
  box-shadow: 3px 3px 0 #111111;
  cursor: not-allowed;
  opacity: 1;
  transform: none;
}

.candidate-card-title {
  min-width: 0;
  flex: 1 1 auto;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
  color: #111111;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.candidate-card-download {
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #111111;
  cursor: pointer;
  transition:
    transform 0.16s ease,
    color 0.16s ease;
}

.candidate-card-download svg {
  display: block;
  width: 15px;
  height: 15px;
  stroke-width: 2.2;
  pointer-events: none;
}

.candidate-card-download:hover {
  color: #000000;
  transform: scale(1.08);
}

.candidate-card-download:active {
  transform: scale(0.96);
}

.candidate-card-download:focus-visible {
  outline: 2px solid rgba(17, 17, 17, 0.22);
  outline-offset: 2px;
}

.candidate-card-download:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.candidate-card-copy {
  font-size: 11px;
  line-height: 1.45;
  color: #4d4d4d;
}

.candidate-metric {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.candidate-metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.candidate-metric-label {
  font-size: 11px;
  font-weight: 600;
  color: #111111;
}

.candidate-metric-value {
  font-size: 11px;
  font-weight: 700;
  color: #111111;
}

.candidate-meter {
  width: 100%;
  height: 7px;
  border-radius: 999px;
  background: #e6e9ef;
  overflow: hidden;
}

.candidate-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #111111;
}

.candidate-tags-block {
  margin-top: 2px;
}

.candidate-tags-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #111111;
}

.candidate-tags-list {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.candidate-tag {
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid #d5dae2;
  background: #ffffff;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  color: #333333;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.candidate-tags-block--missing .candidate-tags-title {
  color: #6f7784;
}

.candidate-tags-block--missing .candidate-tag {
  border-style: dashed;
  border-color: #cfd5df;
  color: #5f6773;
}

.candidate-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-height: 20px;
  padding: 2px 7px;
  margin-top: 0;
  border-radius: 0;
  border: 2px dashed #747b87;
  background: transparent;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #626b77;
}

.candidate-status-pill--needs-review {
  border-color: #111111;
  background: #ffd84d;
  color: #111111;
}

.candidate-status-pill--invalid {
  margin-right: auto;
  border-color: #747b87;
  background: transparent;
  color: #626b77;
}

.candidate-card-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #b42318;
  line-height: 1;
  cursor: pointer;
  transform-origin: center;
  transition:
    background-color 0.16s ease,
    color 0.16s ease,
    transform 0.16s ease;
}

.candidate-card-remove svg {
  display: block;
  width: 17px;
  height: 17px;
  stroke-width: 2.4;
  pointer-events: none;
  transform: none;
}

.candidate-card-remove:hover {
  background: transparent;
  color: #861c16;
  transform: scale(1.08);
}

.candidate-card-remove:active {
  transform: scale(0.96);
  background: transparent;
  color: #6f1712;
}

.candidate-card-remove:disabled {
  opacity: 1;
  background: transparent;
  color: #b42318;
  cursor: not-allowed;
  transform: none;
}

.candidate-card-coverage-note {
  margin: 2px 0 0;
  color: #747b87;
  font-size: 9px;
  line-height: 1.35;
  font-weight: 600;
}

@media (max-width: 1120px) {
  .candidate-carousel-page {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .saved-candidates-preview-page {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 760px) {
  .candidate-carousel-track {
    gap: 10px;
  }

  .candidate-carousel-page {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .saved-candidates-preview {
    margin-top: 0;
    padding: 0;
  }

  .saved-candidates-preview-track {
    gap: 10px;
  }

  .saved-candidates-preview-page {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .saved-candidates-selection {
    width: auto;
    display: inline-flex;
  }

  .candidate-card.saved-candidate-slot-placeholder {
    min-height: 390px;
  }

  .candidate-card--placeholder {
    min-height: 390px;
  }

  .candidate-carousel-controls {
    margin-bottom: 10px;
    column-gap: 10px;
    row-gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .candidate-card-search {
    width: 100%;
    max-width: none;
    min-width: 0;
    flex: 1 0 100%;
    margin-top: 0;
  }

  .candidate-toolbar-divider--search {
    display: none;
  }

  .candidate-bulk-action-button,
  .saved-candidates-filter-button {
    min-height: 36px;
    padding-inline: 0;
    font-size: 11px;
  }

  .candidate-bulk-selected-count,
  .saved-candidates-selected-count {
    min-height: 36px;
    font-size: 12px;
  }

  .candidate-bulk-action-menu,
  .saved-candidates-filter-menu {
    right: 0;
    left: auto;
    transform: none;
  }

}

@media (max-width: 900px) {
  .workspace-intake-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .upload-brief-card--meta,
  .upload-intake-card {
    min-height: 0;
  }

  .upload-dropzone {
    min-height: 300px;
  }

  .workspace-queue-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "log"
      "queue";
  }

  .upload-log-panel {
    padding: 14px;
    border: 2px solid #111111;
    border-radius: 0;
    box-shadow: 4px 4px 0 var(--accent-purple);
  }

  .upload-resume-log {
    flex: 0 0 80px;
    height: 80px;
    min-height: 80px;
    max-height: 80px;
  }

  .upload-resume-log-inner {
    height: 80px;
    min-height: 80px;
    max-height: 80px;
  }

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

  .workspace-empty-state {
    min-height: calc(100dvh - 112px);
    place-items: center;
    padding: 24px 0;
  }

  .workspace-empty-card {
    gap: 16px;
  }

}

@media (max-width: 800px) {
  .upload-list-actions {
    grid-template-columns: minmax(0, 1fr) 42px 42px;
  }
}

@media (max-width: 640px) {
  .candidate-export-button.saved-candidates-export-button {
    width: 36px;
    min-width: 36px;
  }

  .candidate-carousel-controls {
    flex-wrap: wrap;
    column-gap: 10px;
    row-gap: 12px;
  }

  .candidate-carousel-control-buttons,
  .candidate-bulk-actions,
  .saved-candidates-preview-arrows {
    gap: 10px;
  }

  .saved-candidates-preview-summary {
    column-gap: 10px;
    row-gap: 10px;
  }

  .candidate-bulk-action-button,
  .saved-candidates-filter-button {
    width: 66px;
    min-width: 66px;
    flex-basis: 66px;
  }

  .candidate-bulk-selected-count,
  .saved-candidates-selected-count {
    width: auto;
    min-width: 72px;
    padding-inline: 4px;
  }

  .candidate-bulk-actions {
    width: auto;
    justify-content: flex-end;
  }

  .upload-list-actions {
    width: 100%;
  }

  .workspace-page--upload {
    padding: 8px 10px 18px;
  }

  .workspace-page--upload:has(.workspace-active-shell:not([hidden])) {
    padding-top: 4px;
  }

  .workspace-empty-card {
    gap: 16px;
  }

  .workspace-empty-title {
    font-size: 28px;
  }

  .workspace-empty-text {
    font-size: 13px;
  }

  .workspace-empty-create-icon {
    width: 53px;
    height: 53px;
  }

  .workspace-empty-create .workspace-empty-form {
    grid-template-columns: 1fr;
  }

  .workspace-empty-create .workspace-empty-submit {
    width: 34px;
  }

  .upload-brief-card,
  .upload-intake-card,
  .upload-queue-panel {
    padding: 16px 14px;
  }

  .upload-workspace-title,
  .upload-brief-title,
  .upload-queue-title {
    font-size: 20px;
  }

  .upload-dropzone {
    min-height: 300px;
    padding: 22px 16px;
  }

  .upload-list-actions {
    grid-template-columns: minmax(0, 1fr) 40px 40px;
    gap: 10px;
  }

  .upload-list-actions .candidate-export-wrap,
  .upload-list-actions .candidate-export-button,
  .upload-list-actions .upload-clear-button {
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
  }

  .resume-files-modal {
    padding: 12px 10px;
  }

  .resume-files-modal__card {
    width: 100%;
    max-height: min(540px, calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom)));
    padding: 18px 14px;
    box-shadow: 4px 4px 0 #111111;
  }

  .resume-files-modal__heading h2,
  .resume-files-modal__count {
    font-size: 21px;
  }

  .resume-files-modal__list {
    grid-template-columns: minmax(0, 1fr);
    max-height: min(420px, calc(100dvh - 132px - env(safe-area-inset-top) - env(safe-area-inset-bottom)));
  }

}

/* =========================================
   BRUTALIST SHADOW вЂ” ARROWS + EXCEL
   ========================================= */

/* Active blue arrows */

/* Active Excel */


/* Disabled arrows вЂ” same shadow, but gray */

/* Disabled Excel */


/* Hover only for active buttons */


/* Press */

/* Create vacancy input вЂ” square brutalist */
.workspace-empty-create .workspace-empty-form {
  border: 2px solid #111111;
  border-radius: 0;

  background: #ffffff;

  box-shadow: 5px 5px 0 #111111;

  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease;
}

.workspace-empty-create .workspace-empty-form:focus-within {
  border-color: #111111;
  box-shadow: 5px 5px 0 #111111;
}

/* =========================================
   CREATE VACANCY вЂ” FAQ POPOVER
   ========================================= */

.workspace-empty-faq-popover {
  position: absolute;
  z-index: 30;

  /* РІС–РґСЃС‚СѓРї РІС–Рґ input */
  top: calc(100% + 15px);

  /* СЂС–РІРЅРѕ С‚Р°РєР° СЃР°РјР° С€РёСЂРёРЅР°, СЏРє input */
  left: 0;
  right: 0;
  width: auto;

  padding: 6px;

  /* brutalist / square */
  border: 2px solid #111111;
  border-radius: 0;

  background: #ffffff;

  /* Р‘Р•Р— С‚С–РЅС– */
  box-shadow: none;

  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;

  overflow: hidden;
}


/* Hidden */
.workspace-empty-faq-popover[hidden] {
  display: none;
}


/* =========================================
   FAQ ITEM
   ========================================= */

.workspace-empty-faq-popover a {
  width: 100%;
  min-width: 0;
  min-height: 44px;

  padding: 10px 12px;

  border: 0;
  border-radius: 0;

  background: #ffffff;
  color: #111111;

  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 18px;
  align-items: center;
  column-gap: 12px;

  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;

  text-decoration: none;

  transition:
    background-color 0.14s ease,
    color 0.14s ease;
}


/* =========================================
   DIVIDERS
   ========================================= */

.workspace-empty-faq-popover a + a {
  border-top: 1px solid #d8dde3;
}


/* =========================================
   LEFT ICON
   ========================================= */

.workspace-empty-faq-popover a .faq-link-icon {
  width: 18px;
  height: 18px;

  margin: 0;

  color: currentColor;

  justify-self: center;

  stroke-width: 2.2;
}


/* =========================================
   TEXT
   ========================================= */

.workspace-empty-faq-popover a span {
  min-width: 0;

  display: block;

  text-align: left;
  color: inherit;
}


/* =========================================
   RIGHT ARROW
   ========================================= */

.workspace-empty-faq-popover a > i:last-child,
.workspace-empty-faq-popover a > svg:last-child {
  width: 15px;
  height: 15px;

  margin: 0;

  justify-self: end;

  color: currentColor;
  stroke-width: 2.2;
}


/* =========================================
   HOVER
   ========================================= */

.workspace-empty-faq-popover a:hover,
.workspace-empty-faq-popover a:focus-visible {
  background: #f7c83d;
  color: #111111;

  outline: none;
}


/* =========================================
   ACTIVE
   ========================================= */

.workspace-empty-faq-popover a:active {
  background: #edbb27;
}


/* =========================================
   OPTIONAL: first / last item cleanup
   ========================================= */

.workspace-empty-faq-popover a:first-child {
  border-top: 0;
}

.workspace-empty-faq-popover a:last-child {
  border-bottom: 0;
}
.workspace-empty-faq-popover {
  box-shadow: 5px 5px 0 #111111;
}

/* =========================================
   UPLOAD ACTIONS вЂ” BRUTALIST FINAL
   ========================================= */

/* РЎРїС–Р»СЊРЅР° РіРµРѕРјРµС‚СЂС–СЏ + Р°РЅС–РјР°С†С–СЏ */


/* =========================================
   START ANALYSIS вЂ” ACTIVE
   СЏРє РєРЅРѕРїРєР° "Р”С–СЏ"
   ========================================= */



/* Hover */


/* Press */


/* =========================================
   EXCEL вЂ” ACTIVE
   ========================================= */



/* =========================================
   CLEAR вЂ” ACTIVE
   ========================================= */



/* =========================================
   DISABLED вЂ” ALL THREE
   ========================================= */



/* Disabled РЅРµ СЂРµР°РіСѓСЋС‚СЊ РЅР° hover */


/* =========================================
   CANCEL MODE
   РџРѕС‡Р°С‚Рё Р°РЅР°Р»С–Р· в†’ РЎРєР°СЃСѓРІР°С‚Рё
   ========================================= */

/* =========================================
   WORKSPACE вЂ” NEXT BUTTON
   ========================================= */



/* С–РєРѕРЅРєР° */



/* HOVER вЂ” РєРѕР»СЊРѕСЂРё РЅРµ РјС–РЅСЏС”РјРѕ */



/* CLICK вЂ” Р»РёС€Рµ СЂСѓС… */



/* =========================================
   DISABLED
   ========================================= */

/* =========================================
   DISABLED WORKSPACE BUTTONS вЂ” BLACK BRUTALIST
   ========================================= */


/* РџРѕС‡Р°С‚Рё Р°РЅР°Р»С–Р· */
/* Excel */


/* Р†РљРћРќРљР С‚РµР¶ С‡РѕСЂРЅС– */



/* Disabled РІР·Р°РіР°Р»С– РЅРµ СЂРµР°РіСѓСЋС‚СЊ РЅР° hover */



/* Р† РїСЂРё active С‚РµР¶ РЅС–С‡РѕРіРѕ РЅРµ РјС–РЅСЏС”С‚СЊСЃСЏ */



/* РќР° РІРёРїР°РґРѕРє, СЏРєС‰Рѕ Lucide СѓСЃРїР°РґРєРѕРІСѓС” currentColor */


@media (prefers-reduced-motion: no-preference) {
  .vacancy-description-ai-modal:not([hidden]) .vacancy-description-ai-modal__backdrop {
    animation: vacancy-ai-backdrop-in 160ms ease-out both;
  }

  .vacancy-description-ai-modal:not([hidden]) .vacancy-description-ai-modal__card {
    animation: vacancy-ai-card-in 190ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .vacancy-description-ai-modal.is-closing {
    pointer-events: none;
  }

  .vacancy-description-ai-modal.is-closing .vacancy-description-ai-modal__backdrop {
    animation: vacancy-ai-backdrop-out 160ms ease-in both;
  }

  .vacancy-description-ai-modal.is-closing .vacancy-description-ai-modal__card {
    animation: vacancy-ai-card-out 190ms ease-in both;
  }
}

@keyframes vacancy-ai-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes vacancy-ai-card-in {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes vacancy-ai-backdrop-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes vacancy-ai-card-out {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(10px) scale(0.985); }
}

/* Published Help Center guides shown below the new-vacancy input. */
.workspace-empty-guides {
  width: 100%;
  margin-top: 18px;
  text-align: left;
}

.workspace-empty-guides-title {
  margin: 0 0 8px;
  color: #111111;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 800;
}

.workspace-empty-guides-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.workspace-empty-guide {
  min-width: 0;
  min-height: 74px;
  padding: 12px 13px;
  border: 2px solid #111111;
  background: #ffffff;
  color: #111111;
  display: block;
  text-decoration: none;
  box-shadow: 3px 3px 0 #111111;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
  will-change: transform;
}

.workspace-empty-guide-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.workspace-empty-guide-title-row {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.workspace-empty-guide-title,
.workspace-empty-guide-summary {
  display: block;
  overflow-wrap: anywhere;
}

.workspace-empty-guide-title {
  color: #0066d6;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 800;
}

.workspace-empty-guide-summary {
  color: #5b6677;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 600;
}

.workspace-empty-guide-title-row > svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  stroke-width: 2.4;
}

.workspace-empty-guide:hover,
.workspace-empty-guide:focus-visible {
  outline: 0;
  transform: translateY(-2px);
}

@media (max-width: 760px) {
  .workspace-empty-guides-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .workspace-empty-text {
    max-width: 760px;
  }

  .workspace-empty-guides {
    margin-top: 16px;
  }

  .workspace-empty-guides-list {
    gap: 8px;
  }
}
