

.candidate-detail-tabs-surface .mid-feed__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.candidate-detail-tabs-surface
  .candidate-activity-identity {
  display: grid;
  min-width: 0;
  grid-template-columns: var(--candidate-activity-avatar-size) minmax(0, 1fr);
  align-items: center;
  gap: var(--candidate-activity-identity-gap);
}

.candidate-detail-tabs-surface
  .candidate-activity-identity__avatar {
  width: var(--candidate-activity-avatar-size);
  height: var(--candidate-activity-avatar-size);
  display: grid;
  flex: 0 0 var(--candidate-activity-avatar-size);
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius-pill);
  object-fit: cover;
}

.candidate-detail-tabs-surface
  .candidate-activity-identity__avatar
  svg {
  width: 17px;
  height: 17px;
}

.candidate-detail-tabs-surface
  .candidate-activity-identity__copy {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.candidate-detail-tabs-surface
  .candidate-activity-identity__title {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  color: var(--hh-color-text-primary);
  font-size: var(--candidate-activity-title-size);
  font-weight: var(--hh-weight-regular);
  line-height: var(--candidate-activity-title-line-height);
}

.candidate-detail-tabs-surface
  .candidate-activity-identity__title
  strong {
  font-weight: var(--candidate-activity-name-weight);
}

.candidate-detail-tabs-surface
  .candidate-activity-timestamp {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 5px;
  margin-top: 0;
  color: var(--hh-color-text-secondary);
  font-size: var(--candidate-activity-meta-size);
  font-variant-numeric: tabular-nums;
  line-height: var(--candidate-activity-meta-line-height);
}

.candidate-detail-tabs-surface
  .candidate-activity-timestamp.is-exact
  :is(.mid-act-time__separator, .mid-act-time__exact) {
  display: inline;
}

.candidate-detail-tabs-surface .mid-act-body {
  color: var(--hh-color-text-primary);
  font-size: var(--hh-font-body);
  line-height: 21px;
}
.candidate-detail-tabs-surface .mid-feed--timeline {
  --timeline-avatar-size: 36px;
  --timeline-identity-gap: 10px;
  --timeline-body-inset: calc(var(--timeline-avatar-size) + var(--timeline-identity-gap));
  --timeline-action-space: 80px;
}

.candidate-detail-tabs-surface .mid-feed--timeline .mid-feed__list > .mid-feed__item {
  padding-block: 24px;
}

.candidate-detail-tabs-surface .mid-feed--timeline .mid-feed__item > :is(.candidate-review-assessment-results, .mid-video-results),
.candidate-detail-tabs-surface .mid-feed--timeline .mid-feed__item :is(.mid-act, .mid-video-result) {
  position: relative;
  min-width: 0;
  margin-block: 0;
  padding: 0;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.candidate-detail-tabs-surface .mid-feed--timeline .mid-feed__item .mid-act-head {
  display: grid;
  grid-template-columns: var(--timeline-avatar-size) minmax(0, 1fr);
  gap: var(--timeline-identity-gap);
  align-items: start;
  width: 100%;
}

.candidate-detail-tabs-surface .mid-feed--timeline .mid-feed__item .mid-act-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 4px 16px;
  }

.candidate-detail-tabs-surface .mid-feed--timeline .mid-feed__item .mid-act-meta > .mid-act-time {
  display: grid;
  grid-template-columns: auto 12px;
  align-items: center;
  gap: 4px;
  grid-column: 2;
  grid-row: 1;
  justify-content: end;
  margin: 0;
  text-align: end;
}

.candidate-detail-tabs-surface .mid-feed--timeline .mid-feed__item .mid-act__actions:not(.mid-act__actions--event) {
  position: absolute;
  inset-block-start: 0;
  inset-inline-end: 0;
  align-items: center;
  gap: 8px;
  padding: 0;
}

.candidate-detail-tabs-surface .mid-feed--timeline .mid-feed__item .mid-act__main > :is(.mid-act-body, .mid-act-note, .mid-event-kv, .mid-act-artifacts, .mid-act-attachments, .mid-act-visible, .mid-act-original-message, .mid-act-controls, .agent-chat-link, .agent-candidate-panel, .mid-kit-scorecard) {
  margin-inline-start: var(--timeline-body-inset);
}

.candidate-detail-tabs-surface .mid-feed--timeline .mid-feed__item :is(.assessment-completion__tests, .mid-assessment-pending__summary, .mid-video-result__review-frame, .mid-video-result__activity) {
  margin-inline-start: var(--timeline-body-inset);
}

.candidate-detail-tabs-surface .mid-feed--timeline .mid-feed__item .mid-video-result > .mid-video-result__head {
  margin-block-end: 16px;
}

.candidate-detail-tabs-surface .mid-feed--timeline .mid-feed__item .candidate-feedback-date {
  margin: 0 0 24px;
}

.candidate-detail-tabs-surface .mid-feed--timeline .mid-feed__item .candidate-feedback-stage {
  margin-block: 0 16px;
}

@media (max-width: 760px) {
  .candidate-detail-tabs-surface .mid-feed--timeline .mid-feed__list > .mid-feed__item {
    padding-block: 20px;
  }
}

@media (max-width: 760px) {

  .candidate-detail-tabs-surface .mid-feed--timeline .mid-feed__item .mid-act-meta {
    grid-template-columns: minmax(0, 1fr);
      }
}

@media (max-width: 760px) {

  .candidate-detail-tabs-surface .mid-feed--timeline .mid-feed__item .mid-act-meta > .mid-act-time {
    grid-column: 1;
    grid-row: auto;
    justify-content: start;
    text-align: start;
  }
}

@media (max-width: 760px) {

  .candidate-detail-tabs-surface .mid-feed--timeline .mid-feed__item .mid-act__actions:not(.mid-act__actions--event) {
    position: static;
    grid-column: 1;
    justify-self: end;
    margin-block-start: 8px;
  }
}

:is(:where(#candidate-profile-reference),:where( #main-content)) .mid-feed[aria-label="Review"] .mid-review-item > .mid-act-head {
  grid-template-columns: var(--candidate-activity-avatar-size, 36px) minmax(0, 1fr)
}


.candidate-detail-tabs-surface .mid-feed--timeline .mid-act-meta > .mid-act-time > .candidate-activity-timestamp__clock {
  grid-column: 1;
  grid-row: 1;
}

.candidate-detail-tabs-surface .mid-feed--timeline .mid-act-meta > .mid-act-time > .mid-time-info {
  grid-column: 2;
  grid-row: 1;
}

.candidate-detail-tabs-surface .mid-feed--timeline .mid-act-meta > .mid-act-time > .mid-delivery-status {
  grid-column: 1 / -1;
  grid-row: 2;
}
.candidate-detail-tabs-surface .candidate-team-entry__type {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  box-sizing: border-box;
  max-width: 100%;
  min-height: 24px;
  padding: 2px 8px;
  border: 1px solid color-mix(in srgb, var(--activity-type-ink, var(--hh-color-text-secondary)) 14%, transparent);
  border-radius: var(--radius-pill);
  background: var(--activity-type-surface, var(--hh-ui-control));
  color: var(--activity-type-ink, var(--hh-color-text-secondary));
  font-size: var(--hh-font-caption);
  font-weight: var(--hh-weight-label);
  line-height: 18px;
}

.candidate-team-entry__type[data-activity-type="comment"] {
  --activity-type-surface: var(--hh-avatar-tone-2-bg);
  --activity-type-ink: var(--hh-avatar-tone-2-fg);
}

.candidate-team-entry__type[data-activity-type="email"] {
  --activity-type-surface: var(--hh-avatar-tone-0-bg);
  --activity-type-ink: var(--hh-avatar-tone-0-fg);
}

.candidate-team-entry__type[data-activity-type="text-message"] {
  --activity-type-surface: var(--hh-avatar-tone-5-bg);
  --activity-type-ink: var(--hh-avatar-tone-5-fg);
}

.candidate-team-entry__type[data-activity-type="whatsapp"] {
  --activity-type-surface: var(--hh-avatar-tone-1-bg);
  --activity-type-ink: var(--hh-avatar-tone-1-fg);
}

.candidate-team-entry__type[data-activity-type="evaluation"] {
  --activity-type-surface: var(--hh-avatar-tone-4-bg);
  --activity-type-ink: var(--hh-avatar-tone-4-fg);
}

.candidate-team-entry__type[data-activity-type="event"] {
  --activity-type-surface: color-mix(in srgb, var(--hh-avatar-tone-3-bg) 70%, var(--hh-avatar-tone-1-bg));
  --activity-type-ink: var(--hh-avatar-tone-3-fg);
}

.candidate-team-entry__type[data-activity-type="interview-kit"] {
  --activity-type-surface: color-mix(in srgb, var(--hh-avatar-tone-4-bg) 65%, var(--hh-avatar-tone-3-bg));
  --activity-type-ink: var(--hh-avatar-tone-4-fg);
}

.candidate-team-entry__type[data-activity-type="assessment"] {
  --activity-type-surface: color-mix(in srgb, var(--hh-avatar-tone-5-bg) 55%, var(--hh-avatar-tone-4-bg));
  --activity-type-ink: var(--hh-avatar-tone-5-fg);
}

.candidate-team-entry__type[data-activity-type="video"] {
  --activity-type-surface: color-mix(in srgb, var(--hh-avatar-tone-1-bg) 65%, var(--hh-avatar-tone-0-bg));
  --activity-type-ink: var(--hh-avatar-tone-1-fg);
}

.candidate-team-entry__type[data-activity-type="e-signature"] {
  --activity-type-surface: color-mix(in srgb, var(--hh-avatar-tone-0-bg) 55%, var(--hh-workspace-canvas));
  --activity-type-ink: var(--hh-avatar-tone-0-fg);
}

.candidate-team-entry__type[data-activity-type="offer"] {
  --activity-type-surface: var(--hh-avatar-tone-3-bg);
  --activity-type-ink: var(--hh-avatar-tone-3-fg);
}

.candidate-team-entry__type[data-activity-type="profile-update"] {
  --activity-type-surface: var(--surface-muted);
  --activity-type-ink: var(--hh-color-text-primary);
}

.candidate-team-entry__type[data-activity-type="handover"] {
  --activity-type-surface: color-mix(in srgb, var(--hh-avatar-tone-4-bg) 40%, var(--hh-workspace-canvas));
  --activity-type-ink: var(--hh-avatar-tone-4-fg);
}

.candidate-team-entry__type[data-activity-type="referral"] {
  --activity-type-surface: color-mix(in srgb, var(--hh-avatar-tone-3-bg) 55%, var(--hh-avatar-tone-2-bg));
  --activity-type-ink: var(--hh-avatar-tone-3-fg);
}

.candidate-team-entry__type[data-activity-type="reference"] {
  --activity-type-surface: var(--note-attention-surface);
  --activity-type-ink: var(--note-attention-text);
}

.candidate-team-entry__type[data-activity-type="background"] {
  --activity-type-surface: var(--note-warning-surface);
  --activity-type-ink: var(--note-warning-text);
}

.candidate-team-entry__type[data-activity-type="external-feedback"] {
  --activity-type-surface: color-mix(in srgb, var(--hh-avatar-tone-3-bg) 35%, var(--hh-workspace-canvas));
  --activity-type-ink: var(--hh-avatar-tone-3-fg);
}

.candidate-team-entry__type[data-activity-type="tag"] {
  --activity-type-surface: color-mix(in srgb, var(--hh-avatar-tone-5-bg) 35%, var(--hh-workspace-canvas));
  --activity-type-ink: var(--hh-avatar-tone-5-fg);
}

.candidate-team-entry__type[data-activity-type="follower"] {
  --activity-type-surface: color-mix(in srgb, var(--hh-avatar-tone-2-bg) 55%, var(--hh-workspace-canvas));
  --activity-type-ink: var(--hh-avatar-tone-2-fg);
}

.candidate-team-entry__type[data-activity-type="survey"] {
  --activity-type-surface: color-mix(in srgb, var(--hh-avatar-tone-5-bg) 65%, var(--hh-avatar-tone-3-bg));
  --activity-type-ink: var(--hh-avatar-tone-5-fg);
}

.candidate-team-entry__type[data-activity-type="saved"] {
  --activity-type-surface: color-mix(in srgb, var(--hh-avatar-tone-0-bg) 25%, var(--surface-muted));
  --activity-type-ink: var(--hh-avatar-tone-0-fg);
}

.candidate-team-entry__type[data-activity-type="candidate-added"] {
  --activity-type-surface: var(--hh-ui-control);
  --activity-type-ink: var(--hh-color-text-primary);
}

.candidate-team-entry__type[data-activity-type="stage-change"] {
  --activity-type-surface: color-mix(in srgb, var(--hh-avatar-tone-1-bg) 35%, var(--hh-workspace-canvas));
  --activity-type-ink: var(--hh-avatar-tone-1-fg);
}

.candidate-team-entry__type[data-activity-type="source"] {
  --activity-type-surface: color-mix(in srgb, var(--hh-avatar-tone-1-bg) 20%, var(--surface-muted));
  --activity-type-ink: var(--hh-avatar-tone-1-fg);
}

.candidate-team-entry__type[data-activity-type="transcript"] {
  --activity-type-surface: color-mix(in srgb, var(--hh-avatar-tone-0-bg) 50%, var(--hh-avatar-tone-2-bg));
  --activity-type-ink: var(--hh-avatar-tone-2-fg);
}

.candidate-team-entry__type[data-activity-type="interview-notes"] {
  --activity-type-surface: color-mix(in srgb, var(--hh-avatar-tone-4-bg) 60%, var(--surface-muted));
  --activity-type-ink: var(--hh-avatar-tone-4-fg);
}

.candidate-team-entry__type[data-activity-type="ai-activity"] {
  --activity-type-surface: color-mix(in srgb, var(--hh-avatar-tone-2-bg) 75%, var(--hh-avatar-tone-0-bg));
  --activity-type-ink: var(--hh-avatar-tone-2-fg);
}

:is(:where(#candidate-profile-reference),:where( #main-content)) .mid-feed[aria-label="Review"] .mid-review-item > .mid-act-head {
  grid-column: 1;
  display: grid;
  align-items: start;
  gap: 10px;
  min-width: 0;
  margin: 0;
}

.candidate-detail-tabs-surface .candidate-team-entry__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 12px 0 0 46px;
}

.candidate-detail-tabs-surface .candidate-team-entry__footer .mid-act-visible {
  min-width: 0;
  margin: 0;
}

.candidate-detail-tabs-surface .candidate-team-entry__reply {
  margin-inline-start: auto;
}

.candidate-detail-tabs-surface .mid-feed--timeline .mid-act-meta > .candidate-activity-timestamp :is(.mid-act-time__separator, .mid-act-time__exact) {
  display: none;
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-video-results {
  padding: 0 24px 20px;
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-video-result {
  display: grid;
  gap: 20px;
  padding: 20px 0 0;
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-video-result + .mid-video-result {
  margin-top: 24px;
  border-top: var(--app-surface-border);
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-video-result__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-video-result .mid-video-result__stage {
  margin: 0;
  padding: 18px 0 2px;
  color: var(--hh-color-text-primary);
  font-size: var(--hh-font-section-title);
  font-weight: var(--hh-weight-title);
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-video-result .mid-video-result__primary {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-video-result .mid-video-result__question-heading {
  display: grid;
  justify-items: start;
  gap: 4px;
  padding: 2px 2px 0;
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-video-result .mid-video-result__question-heading h5 {
  margin: 0;
  color: var(--hh-color-text-primary);
  font-size: var(--hh-font-body-large);
  font-weight: var(--hh-weight-title);
  line-height: 1.4;
  letter-spacing: 0;
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-video-result .mid-video-result__question-trigger {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--semantic-blue-accent);
  cursor: pointer;
  font: inherit;
  font-size: var(--hh-font-label);
  font-weight: var(--hh-weight-label);
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-video-result .mid-video-result__question-trigger:hover,
:is(.page-workflow,.candidate-detail-tabs-surface) .mid-video-result .mid-video-result__question-trigger:focus-visible {
  color: color-mix(in srgb, var(--semantic-blue-accent) 78%, var(--hh-paint-text));
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-video-result .mid-video-result__question-trigger svg {
  width: 15px;
  height: 15px;
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-video-result .mid-video-result__media {
  position: relative;
  min-width: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: var(--color-black);
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-video-result .mid-video-result__player {
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  object-fit: cover;
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-video-result .mid-video-result__empty {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: 16 / 9;
  box-sizing: border-box;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(
      circle at 78% 22%,
      color-mix(in srgb, var(--semantic-blue-accent) 10%, transparent) 0 16%,
      transparent 16.5%
    ),
    var(--wf-workable-tab);
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-video-result .mid-video-result__media-navigation {
  position: absolute;
  z-index: var(--hh-stack-local-controls);
  top: 50%;
  right: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  transform: translateY(-50%);
  pointer-events: none;
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-video-result .mid-video-result__media-navigation button {
  appearance: none;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgb(15 23 42 / 12%);
  border-radius: var(--radius-pill);
  background: rgb(255 255 255 / 94%);
  color: var(--hh-color-text-primary);
  cursor: pointer;
  font: inherit;
  pointer-events: auto;
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-video-result .mid-video-result__media-navigation button[aria-label="Next video question"],
:is(.page-workflow,.candidate-detail-tabs-surface) .mid-video-result .mid-video-result__media-navigation button[aria-label="Finish video answers"] {
  margin-left: auto;
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-video-result .mid-video-result__media-navigation button svg {
  width: 18px;
  height: 18px;
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-video-result .mid-video-result__activity {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  justify-content: initial;
  gap: 10px;
  padding: 16px 0 0;
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-video-result .mid-video-result__invitation-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-pill);
  background: var(--hh-surface-subtle);
  color: var(--hh-color-text-secondary);
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-video-result .mid-video-result__invitation-icon svg {
  width: 15px;
  height: 15px;
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-video-result .mid-video-result__activity > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-video-result .mid-video-result__activity p {
  margin: 0;
  color: var(--hh-color-text-primary);
  font-size: var(--hh-font-caption);
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-video-result .mid-video-result__activity span,
:is(.page-workflow,.candidate-detail-tabs-surface) .mid-video-result .mid-video-result__activity small {
  color: var(--hh-color-text-secondary);
  font-size: var(--hh-font-caption);
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-video-result .mid-video-result__activity span b {
  margin-right: 3px;
  color: var(--hh-color-text-primary);
  font-weight: var(--hh-weight-label);
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-video-result .mid-video-result__review-frame {
  min-width: 0;
  display: block;
  padding: 8px;
  border: 1px solid color-mix(
    in srgb,
    var(--semantic-blue-accent) 14%,
    var(--wf-workable-border)
  );
  border-radius: 8px;
  background: var(--candidate-tab-muted, var(--hh-palette-fafafa));
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-video-result .mid-video-result__answer-review {
  position: relative;
  display: block;
  min-width: 0;
  height: 84px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid color-mix(
    in srgb,
    var(--semantic-blue-accent) 10%,
    var(--wf-workable-border)
  );
  border-radius: 8px;
  background: var(--color-white);
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-video-result .mid-video-result__answer-review textarea {
  width: 100%;
  height: 82px;
  box-sizing: border-box;
  padding: 10px 10px 56px;
  resize: none;
  border: 0;
  border-radius: 8px;
  outline: none;
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-video-result .mid-video-result__answer-review > .video-evaluation-rating {
  position: absolute;
  right: 12px;
  bottom: 10px;
  gap: 0;
  border: 1px solid var(--wf-workable-border);
  border-radius: 4px;
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-video-result .mid-video-result__answer-review > .video-evaluation-rating button {
  width: 40px;
  height: 32px;
  border: 0;
  border-radius: 0;
}

.mid-video-result .mid-video-result__answer-review > .video-evaluation-rating button + button {
  margin-left: 0;
  border-left: 1px solid var(--wf-workable-border);
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-video-result .mid-video-result__answer-review > .video-evaluation-rating button:first-child {
  border-radius: 3px 0 0 3px;
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-video-result .mid-video-result__answer-review > .video-evaluation-rating button:last-child {
  border-radius: 0 3px 3px 0;
}


:is(.page-workflow,.candidate-detail-tabs-surface) .mid-video-result .mid-video-result__answer-review > .video-evaluation-rating button.is-active {
  z-index: var(--hh-stack-local-raised);
  border-color: var(--semantic-blue-accent);
  background: color-mix(
    in srgb,
    var(--semantic-blue-accent) 10%,
    var(--color-white)
  );
  color: var(--semantic-blue-accent);
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-video-result .mid-video-result__answer-review > .video-evaluation-rating button:hover {
  z-index: var(--hh-stack-local-raised);
  border-color: var(--semantic-blue-accent);
  background: var(--hh-hover-bg);
  color: var(--semantic-blue-accent);
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-video-result .mid-video-result__completion {
  min-height: 360px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  padding: 32px;
  box-sizing: border-box;
  border-radius: 7px;
  background: var(--color-white);
  text-align: center;
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-video-result .mid-video-result__completion-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-pill);
  background: var(--hh-surface-subtle);
  color: var(--hh-color-text-primary);
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-video-result .mid-video-result__completion-icon svg {
  width: 22px;
  height: 22px;
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-video-result .mid-video-result__completion h5,
:is(.page-workflow,.candidate-detail-tabs-surface) .mid-video-result .mid-video-result__completion p {
  margin: 0;
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-video-result .mid-video-result__completion h5 {
  color: var(--hh-color-text-primary);
  font-size: var(--hh-font-section-title);
  font-weight: var(--hh-weight-title);
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-video-result .mid-video-result__completion p {
  margin-top: 6px;
  color: var(--hh-color-text-secondary);
  font-size: var(--hh-font-label);
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-video-result .mid-video-result__completion-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-video-result .mid-video-result__completion-actions button {
  appearance: none;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--wf-workable-border);
  border-radius: var(--radius-pill);
  background: var(--color-white);
  color: var(--hh-color-text-primary);
  cursor: pointer;
  font: inherit;
  font-size: var(--hh-font-label);
  font-weight: var(--hh-weight-label);
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-video-result .mid-video-result__completion-actions button.is-primary {
  border-color: var(--color-black);
  background: var(--color-black);
  color: var(--color-white);
}

@media (max-width: 820px) {
  :is(.page-workflow,.candidate-detail-tabs-surface) .mid-video-results {
    padding: 0 var(--hh-mobile-card-padding) var(--hh-mobile-card-padding);
  }
}

@media (max-width: 820px) {

  :is(.page-workflow,.candidate-detail-tabs-surface) .mid-video-result .mid-video-result__primary {
    width: 100%;
    flex: 0 0 auto;
  }
}

@media (max-width: 820px) {

  :is(.page-workflow,.candidate-detail-tabs-surface) .mid-video-result .mid-video-result__review-frame {
    padding: 8px;
  }
}

@media (max-width: 820px) {

  :is(.page-workflow,.candidate-detail-tabs-surface) .mid-video-result .mid-video-result__media-navigation {
    position: static;
    justify-self: stretch;
    gap: 8px;
    padding: 8px 12px;
    transform: none;
    background: var(--wf-workable-tab);
  }
}

@media (max-width: 820px) {

  :is(.page-workflow,.candidate-detail-tabs-surface) .mid-video-result .mid-video-result__media-navigation button:last-child {
    margin-inline-start: auto;
  }
}

@media (max-width: 820px) {

  :is(.page-workflow,.candidate-detail-tabs-surface) .mid-video-result .mid-video-result__answer-review {
    height: 90px;
  }
}

@media (max-width: 820px) {

  :is(.page-workflow,.candidate-detail-tabs-surface) .mid-video-result .mid-video-result__completion {
    min-height: 300px;
    padding: 24px 16px;
  }
}:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-panel {
  display: grid;
  gap: var(--space-16);
  margin: var(--space-16) 0;
  padding: var(--space-20);
  border: var(--app-surface-border);
  border-radius: var(--radius-12);
  background: var(--color-card-background);
}

:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-panel__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-16);
}

:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-panel__header h3,
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-panel__header p,
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-criterion p,
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-override p {
  margin: 0;
}

:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-panel__eyebrow,
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-criterion__state {
  color: var(--accent-blue-strong);
  font-size: var(--hh-font-micro);
  font-weight: var(--hh-weight-label);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-score {
  display: inline-flex;
  flex: 0 0 auto;
  justify-content: center;
}



:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-score {
  font-variant-numeric: tabular-nums;
}

:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-score {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: var(--radius-lg);
  background: var(--success-surface);
  color: var(--text-success);
  align-items: center;
}

:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-score svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke-width: 6; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-score__track { stroke: var(--success-border); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-score__value { stroke: currentColor; stroke-linecap: round; transform: rotate(-90deg); transform-origin: center; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-score strong { position: relative; font-size: var(--hh-font-section-title); font-weight: var(--hh-weight-title); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-score.is-provisional { color: var(--hh-color-text-secondary); background: var(--surface-muted); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-score.is-provisional .agent-candidate-score__track { stroke: var(--border-surface); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-panel__header > div:first-child { min-width: 0; flex: 1; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-highlights { display: grid; grid-column: 1 / -1; gap: var(--space-12); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-highlights h4 { display: flex; align-items: center; gap: var(--space-8); margin: 0 0 var(--space-8); font-size: var(--hh-font-caption); font-weight: var(--hh-weight-title); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-highlights__positive h4 svg { color: var(--text-success); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-highlights__review h4 svg { color: var(--hh-color-text-primary); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-highlights ul { display: grid; gap: var(--space-8); list-style: none; padding: 0; margin: 0; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-highlights li { overflow-wrap: anywhere; font-size: var(--hh-font-caption); line-height: 1.5; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-highlights li strong { font-weight: var(--hh-weight-label); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-highlights li p,
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-coverage { grid-column: 1 / -1; color: var(--hh-color-text-secondary); font-size: var(--hh-font-caption); line-height: 1.5; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-prior-disqualifications { grid-column: 1 / -1; display: grid; gap: var(--space-8); list-style: none; padding: 0; margin: 0; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-prior-disqualifications li { display: flex; align-items: start; gap: var(--space-8); font-size: var(--hh-font-caption); line-height: 1.5; overflow-wrap: anywhere; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-prior-disqualifications svg { flex-shrink: 0; margin-top: 2px; color: var(--hh-color-text-secondary); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-prior-disqualifications a { color: var(--hh-paint-text-primary); text-decoration: underline; text-underline-offset: 3px; }

:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-panel__meta,
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8) var(--space-12);
}

:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-panel__meta {
  color: var(--hh-color-text-secondary);
  font-size: var(--hh-font-caption);
}

:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-panel__outdated,
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-panel__message.is-error {
  color: var(--danger-700);
}

:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-panel__message {
  margin: 0;
  padding: var(--space-8) var(--space-12);
  border-radius: var(--radius-8);
  background: var(--surface-sunken);
}

:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-criteria,
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-history ol {
  display: grid;
  gap: var(--space-8);
  margin: 0;
  padding: 0;
  list-style: none;
}

:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-criterion {
  display: block;
  padding: 0;
  border-bottom: 1px solid var(--hh-ui-separator);
}

:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-criterion > div { display: grid; gap: var(--space-4); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-criterion small,
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-criterion__evidence { color: var(--hh-color-text-secondary); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-criterion__evidence { grid-column: 2; font-size: var(--hh-font-caption); }

:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-override {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-12);
  padding: var(--space-16);
  border-radius: var(--radius-8);
  background: var(--surface-sunken);
}

:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-override h4,
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-override p,
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-override label:last-of-type,
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-override > div:not(.agent-candidate-override__field) { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: var(--space-8); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-override label,
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-override__field { display: grid; gap: var(--space-8); min-width: 0; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-override input,
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-override select,
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-override textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 40px;
  border: var(--app-surface-border);
  border-radius: var(--radius-8);
  background: var(--color-card-background);
  color: var(--hh-color-text-primary);
  padding: var(--space-8) var(--space-12);
  font: inherit;
}

:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-history summary { cursor: pointer; font-weight: var(--hh-weight-label); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-history li { padding: var(--space-8) 0; border-bottom: var(--app-surface-border); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-history time { color: var(--hh-color-text-secondary); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-history article { margin-top: var(--space-12); padding: var(--space-12); border: var(--app-surface-border); border-radius: var(--radius-8); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-history article h4,
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-history article p { margin: 0 0 var(--space-8); }



:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-panel :where(button, input, select, textarea, summary):focus-visible {
  outline: 0;
  box-shadow: var(--shadow-focus);
}



@media (max-width: 760px) {
  :is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-panel { padding: var(--space-16); }
}



@media (max-width: 760px) {
  :is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-panel__header { align-items: center; }
}



@media (max-width: 760px) {
  :is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-criterion { grid-template-columns: 1fr; }
}



@media (max-width: 760px) {
  :is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-criterion__evidence { grid-column: 1; }
}



@media (max-width: 760px) {
  :is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-override { grid-template-columns: 1fr; }
}



@media (max-width: 760px) {
  :is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-override > * { grid-column: 1 / -1; }
}



@media (prefers-reduced-motion: reduce) {
  :is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-panel * { scroll-behavior: auto; }
}

:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-fit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-24); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-fit-grid--single { grid-template-columns: minmax(0, 1fr); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-sample-label { margin-inline-start: var(--space-8); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-sample-editor { display: grid; gap: var(--space-12); min-width: 0; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-sample-editor textarea {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  resize: vertical;
  padding: var(--space-8) var(--space-12);
  border: var(--app-control-border);
  border-radius: var(--app-nested-radius);
  background: var(--color-card-background);
  color: var(--hh-color-text-primary);
  font: inherit;
}

:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-fit-grid h4 { margin: 0 0 var(--space-12); font-size: var(--hh-type-caption-size); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-criterion summary { display: flex; min-height: 52px; align-items: center; gap: var(--space-8); padding-block: var(--space-8); cursor: pointer; color: var(--hh-color-text-primary); font-size: var(--hh-font-caption); line-height: 1.5; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-criterion summary > span:first-of-type { flex: 1; min-width: 0; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-criterion__result { flex: 0 0 auto; border-radius: var(--radius-pill); background: var(--hh-ui-panel); padding: 3px 8px; font-size: var(--hh-font-compact, 11px); font-weight: var(--hh-weight-label); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-criterion.is-met .agent-candidate-criterion__result { color: var(--hh-ui-success); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-criterion:is(.is-not-met, .is-disqualifying) .agent-candidate-criterion__result { color: var(--text-danger); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-criterion summary svg { flex-shrink: 0; margin-top: 2px; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-criterion.is-met summary svg { color: var(--hh-ui-success); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-criterion.is-not-met summary svg,
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-criterion.is-disqualifying summary svg { color: var(--text-danger); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-criterion details > p { padding: var(--space-8) 0 0 var(--space-24); font-size: var(--hh-type-caption-size); color: var(--hh-color-text-secondary); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-criterion > .agent-candidate-criterion__row { display: grid; grid-template-columns: minmax(0, 1fr) 32px; align-items: start; gap: var(--space-8); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-criterion__row > details { min-width: 0; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-criterion__info { position: relative; align-self: start; margin-top: 10px; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-criterion__info > button { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--hh-color-text-secondary); cursor: pointer; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-criterion__info > button:hover,
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-criterion__info > button[aria-expanded="true"] { background: var(--surface-sunken); color: var(--hh-color-text-primary); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-criterion__tooltip { position: absolute; z-index: var(--hh-stack-floating-footer); inset-inline-end: 0; bottom: calc(100% + var(--space-8)); display: grid; gap: var(--space-8); width: min(340px, calc(100vw - 64px)); max-height: min(300px, 55vh); overflow: auto; padding: var(--space-12); border: 1px solid var(--hh-ui-border); border-radius: var(--radius-md); background: var(--hh-paint-text-primary); color: var(--surface-raised); box-shadow: var(--shadow-md); font-size: var(--hh-font-caption); line-height: 1.5; overflow-wrap: anywhere; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-criterion__tooltip strong { font-weight: var(--hh-weight-title); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-panel--sample .agent-candidate-sample-label { margin-inline-start: 0; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-panel--sample .agent-candidate-sample-notice,
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-sample-provenance,
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-sample-feedback { margin: 0; color: var(--hh-color-text-secondary); font-size: var(--hh-font-caption); line-height: 1.5; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-sample-feedback:empty { display: none; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-panel--sample .agent-candidate-sample-reset { color: var(--hh-color-text-secondary); font-size: var(--hh-font-caption); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-panel__status { display: flex; align-items: center; justify-content: space-between; gap: var(--space-8) var(--space-12); padding: 0; background: transparent; border-radius: var(--app-nested-radius); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-panel__status p { margin: 0; font-size: var(--hh-type-caption-size); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-manage { border-top: var(--app-row-border); padding-top: var(--space-12); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-manage > summary { color: var(--hh-color-text-secondary); font-size: var(--hh-type-caption-size); cursor: pointer; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-manage > div,
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-manage > form,
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-manage > details { margin-top: var(--space-16); }
@media (max-width: 760px) {
  :is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-fit-grid { grid-template-columns: minmax(0, 1fr); }
}
:is(.page-workflow,.candidate-detail-tabs-surface) :is(.agent-candidate-panel--live, .agent-candidate-panel--sample) {
  container-type: inline-size;
  font-size: var(--hh-font-caption);
  line-height: 1.6;
  gap: var(--space-12);
  background: color-mix(in srgb, var(--purple-surface) 10%, var(--surface-raised));
}
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-panel--live .agent-candidate-panel__status { flex-wrap: wrap; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-panel--live .agent-candidate-panel__status > p { flex: 1 1 200px; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-panel--live .agent-candidate-panel__status > svg { color: var(--hh-paint-text-secondary); flex-shrink: 0; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-panel--live .agent-candidate-manage > summary {
  padding-block: var(--space-8);
  color: var(--hh-color-text-primary);
  font-size: var(--hh-font-caption);
}
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-panel--live .agent-candidate-manage > summary {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
}
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-manage > summary::-webkit-details-marker { display: none; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-manage > summary svg:last-child { margin-inline-start: auto; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-candidate-manage[open] > summary svg:last-child { transform: rotate(180deg); }
:is(.page-workflow,.candidate-detail-tabs-surface) .mid-act--agent .mid-act-note { margin-top: var(--space-8); font-size: var(--hh-font-caption); line-height: 1.65; }
:is(.page-workflow,.candidate-detail-tabs-surface) .mid-act--agent .mid-act-note > strong { display: block; font-weight: var(--hh-weight-title); }
:is(.page-workflow,.candidate-detail-tabs-surface) .mid-act--agent .mid-act-note p { margin: var(--space-8) 0 0; color: var(--hh-color-text-secondary); overflow-wrap: anywhere; }
:is(.page-workflow,.candidate-detail-tabs-surface) .mid-act--agent .mid-agent-preview {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--hh-color-text-secondary);
}
:is(.page-workflow,.candidate-detail-tabs-surface) .mid-act--agent .mid-agent-details { margin-block: var(--space-12); }
:is(.page-workflow,.candidate-detail-tabs-surface) .mid-act--agent .mid-agent-details > summary { display: grid; gap: var(--space-8); cursor: pointer; color: var(--hh-color-text-primary); font-weight: var(--hh-weight-label); list-style: none; }
:is(.page-workflow,.candidate-detail-tabs-surface) .mid-act--agent .mid-agent-details > summary::-webkit-details-marker { display: none; }
:is(.page-workflow,.candidate-detail-tabs-surface) .mid-act--agent .mid-agent-details > summary > span:last-child { font-size: var(--hh-font-caption); text-decoration: underline; text-underline-offset: 3px; }
:is(.page-workflow,.candidate-detail-tabs-surface) .mid-act--agent .mid-agent-details[open] .mid-agent-preview { display: none; }
:is(.page-workflow,.candidate-detail-tabs-surface) .mid-act--agent .mid-agent-details .mid-agent-preview { margin: 0; font-weight: var(--hh-weight-body); }
:is(.page-workflow,.candidate-detail-tabs-surface) .mid-act--agent .mid-agent-details > div { padding: var(--space-12) var(--space-16); margin-top: var(--space-12); border: var(--app-row-border); border-radius: var(--app-nested-radius); }
:is(.page-workflow,.candidate-detail-tabs-surface) .candidate-review-assessment-results {
  min-width: 0;
  display: grid;
}

:is(.page-workflow,.candidate-detail-tabs-surface) .candidate-review-assessment-results__stage {
  min-height: 56px;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 16px 24px;
  background: var(--surface-sunken);
  color: var(--hh-color-text-primary);
  font-size: var(--hh-font-section-title);
  font-weight: var(--hh-weight-title);
}

:is(.page-workflow,.candidate-detail-tabs-surface)
  .candidate-review-assessment-results
  > .candidate-review-assessment-results__list {
  display: grid;
  gap: 20px;
  padding: 20px 24px;
}

:is(.page-workflow,.candidate-detail-tabs-surface) .candidate-review-assessment-history {
  border-top: var(--app-surface-border);
}

:is(.page-workflow,.candidate-detail-tabs-surface) .candidate-review-assessment-history > summary {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 24px;
  color: var(--hh-color-text-secondary);
  cursor: pointer;
  font-size: var(--hh-font-caption);
  font-weight: var(--hh-weight-title);
  list-style: none;
}

:is(.page-workflow,.candidate-detail-tabs-surface)
  .candidate-review-assessment-history
  > summary::-webkit-details-marker {
  display: none;
}

:is(.page-workflow,.candidate-detail-tabs-surface) .candidate-review-assessment-history > summary b {
  min-width: 22px;
  min-height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: var(--radius-pill);
  background: var(--surface-sunken);
  color: var(--hh-color-text-secondary);
  font-size: var(--hh-font-micro);
}

:is(.page-workflow,.candidate-detail-tabs-surface)
  .candidate-review-assessment-history[open]
  > summary {
  border-bottom: var(--app-surface-border);
}

:is(.page-workflow,.candidate-detail-tabs-surface)
  .candidate-review-assessment-history
  > .candidate-review-assessment-history__list {
  padding-top: 24px;
}

:is(.page-workflow,.candidate-detail-tabs-surface)
  .candidate-review-assessment-results
  .mid-review-result--assessment {
  min-width: 0;
  padding: 0 0 24px;
  border-bottom: var(--app-surface-border);
}

:is(.page-workflow,.candidate-detail-tabs-surface)
  .candidate-review-assessment-results
  .mid-review-result--assessment:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

:is(.page-workflow,.candidate-detail-tabs-surface) .candidate-review-assessment-action {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}

:is(.page-workflow,.candidate-detail-tabs-surface) .candidate-review-assessment-action__revoke {
  min-height: 36px;
  color: var(--semantic-danger-strong);
}

:is(.page-workflow,.candidate-detail-tabs-surface) .candidate-review-assessment-action__revoke:hover {
  background: var(--semantic-surface-danger-soft);
  color: var(--semantic-danger-strong);
}

:is(.page-workflow,.candidate-detail-tabs-surface)
  .candidate-review-assessment-results
  .mid-assessment-result {
  min-width: 0;
  display: grid;
}

:is(.page-workflow,.candidate-detail-tabs-surface)
  .candidate-review-assessment-results
  .mid-assessment-result {
  gap: 20px;
  padding: 0;
}

:is(.page-workflow,.candidate-detail-tabs-surface)
  .candidate-review-assessment-results
  .mid-assessment-result--pending {
  gap: 12px;
  padding: 0;
}

:is(.page-workflow,.candidate-detail-tabs-surface)
  .candidate-review-assessment-results
  .mid-assessment-result--pending
  .mid-assessment-result__activity {
  align-items: flex-start;
}

:is(.page-workflow,.candidate-detail-tabs-surface)
  .candidate-review-assessment-results
  .mid-assessment-pending__icon {
  width: 32px;
  height: 32px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--surface-sunken);
  color: var(--hh-color-text-secondary);
}

:is(.page-workflow,.candidate-detail-tabs-surface)
  .candidate-review-assessment-results
  .mid-assessment-pending__icon
  svg {
  width: 17px;
  height: 17px;
}

:is(.page-workflow,.candidate-detail-tabs-surface)
  .candidate-review-assessment-results
  .mid-assessment-pending__summary {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-left: 42px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--surface-sunken);
}

:is(.page-workflow,.candidate-detail-tabs-surface)
  .candidate-review-assessment-results
  .mid-assessment-pending__summary
  strong {
  color: var(--hh-color-text-primary);
  font-size: var(--hh-font-caption);
  font-weight: var(--hh-weight-title);
}

:is(.page-workflow,.candidate-detail-tabs-surface)
  .candidate-review-assessment-results
  .mid-assessment-pending__summary
  time {
  flex: 0 0 auto;
  color: var(--hh-color-text-secondary);
  font-size: var(--hh-font-micro);
}

:is(.page-workflow,.candidate-detail-tabs-surface)
  .candidate-review-assessment-results
  .mid-assessment-module
  > b {
  min-width: 52px;
  min-height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
}

:is(.page-workflow,.candidate-detail-tabs-surface)
  .candidate-review-assessment-results
  .mid-assessment-module
  details
  summary,
:is(.page-workflow,.candidate-detail-tabs-surface)
  .candidate-review-assessment-results
  .mid-assessment-trait__details
  summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

:is(.page-workflow,.candidate-detail-tabs-surface)
  .candidate-review-assessment-results
  .mid-assessment-module
  details
  summary::after,
:is(.page-workflow,.candidate-detail-tabs-surface)
  .candidate-review-assessment-results
  .mid-assessment-trait__details
  summary::after {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: '';
  transform: translateY(-2px) rotate(45deg);
}

:is(.page-workflow,.candidate-detail-tabs-surface)
  .candidate-review-assessment-results
  .mid-assessment-module
  details[open]
  summary::after,
:is(.page-workflow,.candidate-detail-tabs-surface)
  .candidate-review-assessment-results
  .mid-assessment-trait__details[open]
  summary::after {
  transform: translateY(2px) rotate(225deg);
}

:is(.page-workflow,.candidate-detail-tabs-surface)
  .candidate-review-assessment-results
  .mid-assessment-traits {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  margin: 0;
  padding: 0;
  justify-self: stretch;
  list-style: none;
}

:is(.page-workflow,.candidate-detail-tabs-surface)
  .candidate-review-assessment-results
  .mid-assessment-traits
  > li {
  display: grid;
  justify-items: stretch;
  gap: 10px;
  padding: 18px 0;
  border: 0;
  border-bottom: var(--app-surface-border);
  border-radius: 0;
  background: transparent;
}

:is(.page-workflow,.candidate-detail-tabs-surface)
  .candidate-review-assessment-results
  .mid-assessment-traits
  > li:nth-last-child(-n + 2) {
  border-bottom: 0;
}

:is(.page-workflow,.candidate-detail-tabs-surface)
  .candidate-review-assessment-results
  .mid-assessment-trait__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

:is(.page-workflow,.candidate-detail-tabs-surface)
  .candidate-review-assessment-results
  .mid-assessment-trait__head
  > strong {
  color: var(--hh-color-text-primary);
  font-size: var(--hh-font-caption);
  font-weight: var(--hh-weight-title);
}

:is(.page-workflow,.candidate-detail-tabs-surface)
  .candidate-review-assessment-results
  .mid-assessment-trait__head
  > span {
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  padding: 0 7px;
  border-radius: 4px;
  background: var(--surface-sunken);
  color: var(--hh-color-text-secondary);
  font-size: var(--hh-font-micro);
  font-weight: var(--hh-weight-label);
  text-transform: uppercase;
}

:is(.page-workflow,.candidate-detail-tabs-surface)
  .candidate-review-assessment-results
  .mid-assessment-trait__track {
  position: relative;
  height: 6px;
  margin: 0;
  background: var(--surface-sunken);
}

:is(.page-workflow,.candidate-detail-tabs-surface)
  .candidate-review-assessment-results
  .mid-assessment-trait__track
  i {
  background: var(--semantic-blue-accent);
  opacity: 0.16;
}

:is(.page-workflow,.candidate-detail-tabs-surface)
  .candidate-review-assessment-results
  .mid-assessment-trait__track
  b {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  border: 1px solid var(--hh-ui-border);
  border-radius: var(--radius-pill);
  background: var(--semantic-blue-accent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--semantic-blue-accent) 24%, transparent);
  transform: translate(-50%, -50%);
}

:is(.page-workflow,.candidate-detail-tabs-surface)
  .candidate-review-assessment-results
  .mid-assessment-trait__details {
  justify-self: start;
  text-align: left;
}

:is(.page-workflow,.candidate-detail-tabs-surface)
  .candidate-review-assessment-results
  .mid-assessment-trait__details
  summary {
  color: var(--link-blue);
  cursor: pointer;
  font-size: var(--hh-font-caption);
  list-style: none;
}

:is(.page-workflow,.candidate-detail-tabs-surface)
  .candidate-review-assessment-results
  .mid-assessment-trait__details
  summary::-webkit-details-marker {
  display: none;
}

:is(.page-workflow,.candidate-detail-tabs-surface)
  .candidate-review-assessment-results
  .mid-assessment-trait__details
  p {
  max-width: 520px;
  margin: 12px 0 0;
  color: var(--hh-color-text-secondary);
  font-size: var(--hh-font-caption);
  line-height: 1.45;
}

:is(.page-workflow,.candidate-detail-tabs-surface)
  .candidate-review-assessment-results
  .mid-assessment-behavioral-modules {
  display: grid;
  gap: 8px;
}

:is(.page-workflow,.candidate-detail-tabs-surface)
  .candidate-review-assessment-results
  .mid-assessment-behavioral-modules
  > div {
  min-height: 52px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--surface-sunken);
}

:is(.page-workflow,.candidate-detail-tabs-surface)
  .candidate-review-assessment-results
  .mid-assessment-behavioral-modules
  span {
  min-width: 0;
  display: grid;
  gap: 2px;
}

:is(.page-workflow,.candidate-detail-tabs-surface)
  .candidate-review-assessment-results
  .mid-assessment-behavioral-modules
  strong {
  color: var(--hh-color-text-primary);
  font-size: var(--hh-font-caption);
  font-weight: var(--hh-weight-title);
}

:is(.page-workflow,.candidate-detail-tabs-surface)
  .candidate-review-assessment-results
  .mid-assessment-behavioral-modules
  small {
  color: var(--hh-color-text-secondary);
  font-size: var(--hh-font-micro);
}

:is(.page-workflow,.candidate-detail-tabs-surface)
  .candidate-review-assessment-results
  .mid-assessment-behavioral-modules
  b {
  color: var(--hh-color-text-primary);
  font-size: var(--hh-font-label);
  font-weight: var(--hh-weight-title);
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-assessment-help-link,
:is(.page-workflow,.candidate-detail-tabs-surface) .mid-assessment-module__guidance-links button {
  width: max-content;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--link-blue);
  cursor: pointer;
  font: inherit;
  font-size: var(--hh-font-caption);
  font-weight: var(--hh-weight-title);
  line-height: 1.4;
  text-align: left;
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-assessment-help-link:hover,
:is(.page-workflow,.candidate-detail-tabs-surface) .mid-assessment-module__guidance-links button:hover {
  text-decoration: underline;
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-assessment-module__distribution {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--surface-sunken);
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-assessment-module__distribution-track {
  position: relative;
  height: 14px;
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-assessment-module__distribution-track i {
  position: absolute;
  inset: 4px 0;
  border-radius: var(--radius-pill);
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--semantic-blue-accent) 8%, var(--color-white)),
    color-mix(in srgb, var(--semantic-blue-accent) 24%, var(--color-white)),
    color-mix(in srgb, var(--semantic-blue-accent) 8%, var(--color-white))
  );
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-assessment-module__distribution-track b,
:is(.page-workflow,.candidate-detail-tabs-surface) .mid-assessment-module__distribution-track em {
  position: absolute;
  top: 0;
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-assessment-module__distribution-track b {
  width: 3px;
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-assessment-module__distribution-track b,
:is(.page-workflow,.candidate-detail-tabs-surface) .mid-assessment-module__distribution-track em {
  height: 14px;
  border-radius: var(--radius-pill);
  transform: translateX(-50%);
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-assessment-module__distribution-track b {
  background: var(--semantic-blue-accent);
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-assessment-module__distribution-track em {
  width: 1px;
  background: var(--hh-paint-text-secondary);
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-assessment-module__distribution > div:nth-child(2) {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  color: var(--hh-color-text-secondary);
  font-size: var(--hh-font-micro);
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-assessment-module__distribution > div:nth-child(2) strong {
  color: var(--hh-color-text-primary);
  font-weight: var(--hh-weight-title);
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-assessment-module__distribution > div:nth-child(2) span:last-child {
  text-align: right;
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-assessment-module__distribution p {
  margin: 0;
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-assessment-module__guidance-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-assessment-trait__head > strong {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-assessment-trait__information {
  position: relative;
  display: inline-flex;
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-assessment-trait__information > button {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--hh-color-text-secondary);
  cursor: pointer;
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-assessment-trait__information > button:hover,
:is(.page-workflow,.candidate-detail-tabs-surface) .mid-assessment-trait__information > button[aria-expanded='true'] {
  background: var(--hh-hover-bg);
  color: var(--hh-color-text-primary);
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-assessment-trait__information svg {
  width: 15px;
  height: 15px;
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-assessment-trait__popover {
  position: absolute;
  z-index: var(--hh-stack-local-floating-controls);
  top: 28px;
  left: 50%;
  width: min(420px, calc(100vw - 48px));
  display: grid;
  gap: 12px;
  padding: 16px;
  border: var(--app-surface-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-menu);
  color: var(--hh-color-text-secondary);
  font-size: var(--hh-font-caption);
  font-weight: var(--hh-weight-body);
  line-height: 1.45;
  text-align: left;
  transform: translateX(-50%);
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-assessment-trait__popover > strong {
  color: var(--hh-color-text-primary);
  font-weight: var(--hh-weight-title);
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-assessment-trait__popover > span {
  display: grid;
  gap: 3px;
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-assessment-trait__popover b {
  color: var(--hh-color-text-primary);
  font-size: var(--hh-font-micro);
  font-weight: var(--hh-weight-strong);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-assessment-trait__scale {
  display: grid;
  gap: 6px;
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-assessment-trait__scale > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--hh-color-text-secondary);
  font-size: var(--hh-font-micro);
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-assessment-trait__subtraits {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  text-align: left;
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-assessment-trait__subtraits > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  color: var(--hh-color-text-secondary);
  font-size: var(--hh-font-caption);
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-assessment-trait__subtraits strong {
  color: var(--hh-color-text-primary);
  font-weight: var(--hh-weight-label);
  text-align: right;
}

:is(.page-workflow,.candidate-detail-tabs-surface) .mid-assessment-trait__subtraits i {
  height: 4px;
  border-radius: var(--radius-pill);
  background: linear-gradient(
    90deg,
    var(--color-border),
    var(--semantic-blue-accent),
    var(--color-border)
  );
}

@media (max-width: 760px) {
  :is(.page-workflow,.candidate-detail-tabs-surface) .candidate-review-assessment-action__revoke {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 760px) {

  :is(.page-workflow,.candidate-detail-tabs-surface)
    .candidate-review-assessment-results
    > .candidate-review-assessment-results__list {
    gap: 20px;
    padding: 16px;
  }
}

@media (max-width: 760px) {

  :is(.page-workflow,.candidate-detail-tabs-surface) .candidate-review-assessment-results__stage {
    padding-inline: 16px;
  }
}

@media (max-width: 760px) {

  :is(.page-workflow,.candidate-detail-tabs-surface)
    .candidate-review-assessment-results
    .mid-assessment-module
    > b {
    min-width: 50px;
  }
}

@media (max-width: 760px) {

  :is(.page-workflow,.candidate-detail-tabs-surface)
    .candidate-review-assessment-results
    .mid-assessment-traits {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 760px) {

  :is(.page-workflow,.candidate-detail-tabs-surface)
    .candidate-review-assessment-results
    .mid-assessment-traits
    > li:nth-last-child(2) {
    border-bottom: var(--app-surface-border);
  }
}

@media (max-width: 760px) {

  :is(.page-workflow,.candidate-detail-tabs-surface)
    .candidate-review-assessment-results
    .mid-assessment-pending__summary {
    display: grid;
    gap: 3px;
    margin-left: 0;
  }
}

@media (max-width: 760px) {

  :is(.page-workflow,.candidate-detail-tabs-surface) .mid-assessment-trait__popover {
    left: 0;
    transform: none;
  }
}

:is(.page-workflow,.candidate-detail-tabs-surface)
  .candidate-review-assessment-results
  .mid-assessment-module
  > b {
  background: var(--surface-sunken);
}

:is(.page-workflow,.candidate-detail-tabs-surface)
  .candidate-review-assessment-results
  .mid-assessment-module
  details
  summary {
  cursor: pointer;
  list-style: none;
}

.candidate-detail-tabs-surface .mid-feed--timeline .candidate-review-assessment-results > .candidate-review-assessment-results__list {
  margin: 0;
  padding: 0;
}
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-overview { display: grid; gap: var(--space-8); min-width: 0; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-overview__heading { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-20); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-overview__copy { position: relative; min-width: 0; flex: 1; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-overview__brand { display: inline-flex; align-items: center; gap: var(--space-8); font-size: var(--hh-font-compact); color: var(--accent); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-overview__heading h3 { margin: calc(var(--space-8) / 2) 0; font-size: var(--hh-type-card-title-size); font-weight: var(--hh-weight-title); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-overview__heading p { margin: calc(var(--space-8) / 2) 0 0; font-size: var(--hh-font-caption); line-height: 1.6; color: var(--hh-color-text-primary); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-gauge { position: relative; display: grid; place-items: center; width: 80px; height: 80px; flex: 0 0 80px; color: var(--hh-color-text-primary); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-gauge svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke-width: 5; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-gauge__track { stroke: var(--border-surface); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-gauge__value { stroke: var(--accent); stroke-linecap: round; transform: rotate(-90deg); transform-origin: center; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-gauge strong { font-size: var(--hh-type-card-title-size); font-weight: var(--hh-weight-title); font-variant-numeric: tabular-nums; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-method { min-width: 0; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-method > summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-12); padding-block: var(--space-8); cursor: pointer; font-size: var(--hh-font-caption); list-style: none; color: var(--hh-color-text-secondary); }
:is(.page-workflow,.candidate-detail-tabs-surface) :is(.agent-fit-method, .agent-fit-history) > summary::-webkit-details-marker { display: none; }
:is(.page-workflow,.candidate-detail-tabs-surface) :is(.agent-fit-method, .agent-fit-history)[open] > summary > svg:last-child { transform: rotate(180deg); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-method p { margin: var(--space-12) 0; color: var(--hh-color-text-secondary); font-size: var(--hh-font-caption); line-height: 1.65; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-overview__summary { overflow-wrap: anywhere; white-space: pre-wrap; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-overview__summary .agent-fit-overview__summary-toggle { display: inline; min-height: 0; margin: 0; padding: 0; font: inherit; color: var(--hh-color-text-primary); white-space: nowrap; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-overview__summary-measure { position: absolute; visibility: hidden; pointer-events: none; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-method__formula { padding: var(--space-12); border-radius: var(--app-nested-radius); background: var(--surface-sunken); font-variant-numeric: tabular-nums; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-method dl { display: grid; gap: var(--space-12); margin: var(--space-16) 0; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-method dl > div { display: grid; grid-template-columns: 144px minmax(0, 1fr); gap: var(--space-12); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-method dd { margin: 0; font-size: var(--hh-font-caption); color: var(--hh-color-text-secondary); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-state { display: inline-flex; align-items: center; gap: var(--space-8); color: var(--hh-color-text-secondary); font-size: var(--hh-font-caption); white-space: nowrap; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-state__icon { display: inline-grid; width: 16px; height: 16px; flex-shrink: 0; place-items: center; border: 1px solid var(--hh-paint-text-tertiary); border-radius: var(--radius-pill); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-state__icon svg { display: block; width: 11px; height: 11px; stroke-width: 2.5; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-state.is-met .agent-fit-state__icon { border-color: var(--text-success); background: var(--text-success); color: var(--color-white); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-state.is-partially-met .agent-fit-state__icon { border-color: var(--warning-border); background: var(--warning-surface); color: var(--semantic-warning-strong); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-state:is(.is-not-met, .is-disqualifying) .agent-fit-state__icon { border-color: var(--danger-border); background: var(--danger-surface); color: var(--text-danger); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-state--pill { padding: 2px var(--space-8); border-radius: var(--radius-pill); background: var(--hh-ui-control); font-weight: var(--hh-weight-label); line-height: 1.5; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-state--pill.is-met { background: var(--success-surface); color: var(--text-success); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-state--pill:is(.is-not-met, .is-disqualifying) { background: var(--danger-surface); color: var(--text-danger); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-state--pill.is-partially-met { background: var(--warning-surface); color: var(--semantic-warning-strong); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-state-icon { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; color: var(--hh-color-text-secondary); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-state-icon svg { display: block; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-state-icon.is-met { color: var(--text-success); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-state-icon:is(.is-not-met, .is-disqualifying) { color: var(--text-danger); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-state-icon.is-partially-met { color: var(--semantic-warning-strong); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-requirements { min-width: 0; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-requirements__heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--space-8); margin-bottom: var(--space-4); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-requirements__heading h4 { margin: 0; font-size: var(--hh-font-label); font-weight: var(--hh-weight-title); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-requirements__heading > span { color: var(--hh-color-text-primary); font-size: var(--hh-font-compact); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-requirements__groups { display: grid; gap: var(--space-20); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-requirements__group { min-width: 0; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-requirements__group-heading { display: flex; align-items: center; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-requirements__group-heading h5 { margin: 0; padding: 0 calc(var(--space-8) / 2); background: var(--color-card-background); border-radius: var(--app-nested-radius); font-size: var(--hh-font-caption); font-weight: var(--hh-weight-label); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-requirements__group-heading span { color: var(--hh-color-text-primary); font-size: var(--hh-font-compact); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-requirements ul { list-style: none; padding: 0; margin: 0; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-requirements li { border-bottom: var(--app-row-border); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-requirements summary { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto 14px; align-items: center; gap: var(--space-8); min-height: 44px; box-sizing: border-box; padding: var(--space-8) 0; cursor: pointer; list-style: none; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-requirements summary::-webkit-details-marker { display: none; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-requirements summary > svg { color: var(--hh-color-text-secondary); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-requirements details[open] summary > svg { transform: rotate(180deg); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-requirements__description { min-width: 0; font-size: var(--hh-font-caption); line-height: 1.5; overflow-wrap: anywhere; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-requirements__evidence { padding: 0 0 var(--space-12) 28px; font-size: var(--hh-font-caption); line-height: 1.65; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-requirements__evidence strong { font-weight: var(--hh-weight-label); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-requirements__evidence p { margin: var(--space-8) 0 0; color: var(--hh-color-text-secondary); overflow-wrap: anywhere; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-history { padding-top: var(--space-8); border-top: var(--app-row-border); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-history > summary { display: flex; align-items: center; gap: var(--space-8); padding-block: var(--space-8); cursor: pointer; list-style: none; font-size: var(--hh-font-caption); font-weight: var(--hh-weight-label); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-history > summary > svg:last-child { margin-inline-start: auto; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-history > p { margin: var(--space-8) 0; color: var(--hh-color-text-secondary); font-size: var(--hh-font-compact); line-height: 1.6; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-history ol { list-style: none; padding: 0; margin: 0; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-history > ol > li { display: grid; grid-template-columns: minmax(120px, 1fr) minmax(0, 1.2fr) auto; align-items: center; gap: var(--space-12); padding-block: var(--space-12); border-bottom: var(--app-row-border); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-history__score, :is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-history__date { display: grid; gap: calc(var(--space-8) / 2); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-history__score strong { font-size: var(--hh-font-caption); font-weight: var(--hh-weight-label); font-variant-numeric: tabular-nums; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-history__score span, :is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-history__date { font-size: var(--hh-font-compact); line-height: 1.6; color: var(--hh-color-text-secondary); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-history__label { display: grid; gap: calc(var(--space-8) / 2); font-size: var(--hh-font-compact); color: var(--hh-color-text-secondary); }
:is(.page-workflow,.candidate-detail-tabs-surface) :is(.agent-fit-overview, .agent-fit-requirements, .agent-fit-history) summary:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 2px; border-radius: var(--radius-8); }
@container (min-width: 840px) {
  :is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-requirements__groups { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-24); }
}
@container (max-width: 600px) {
  :is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-overview__heading { align-items: start; gap: var(--space-12); }
}
@container (max-width: 600px) {
  :is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-gauge { width: 68px; height: 68px; flex-basis: 68px; }
}
@container (max-width: 600px) {
  :is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-requirements summary { grid-template-columns: 20px minmax(0, 1fr) 14px; gap: calc(var(--space-8) / 2) var(--space-8); }
}
@container (max-width: 600px) {
  :is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-requirements summary > .agent-fit-state-icon { grid-column: 1; grid-row: 1; }
}
@container (max-width: 600px) {
  :is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-requirements summary > .agent-fit-state { grid-column: 2; grid-row: 2; justify-self: start; }
}
@container (max-width: 600px) {
  :is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-requirements summary > svg { grid-column: 3; grid-row: 1 / span 2; }
}
@container (max-width: 600px) {
  :is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-history > ol > li { grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-8); }
}
@container (max-width: 600px) {
  :is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-history__date { grid-column: 1 / -1; grid-row: 2; }
}
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-source-switch { display: flex; flex-wrap: wrap; gap: var(--space-8); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-source-switch button { padding: var(--space-8) var(--space-12); border: var(--app-row-border); border-radius: var(--radius-pill); background: var(--surface); color: var(--hh-color-text-secondary); font: inherit; font-size: var(--hh-font-caption); cursor: pointer; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-source-switch button[aria-pressed="true"] { border-color: var(--hh-paint-text-primary); color: var(--hh-color-text-primary); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-requirement-edit { min-width: 0; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-requirement-edit > p { color: var(--hh-color-text-secondary); font-size: var(--hh-font-caption); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-requirement-editor { display: grid; gap: var(--space-16); margin-top: var(--space-12); min-width: 0; scroll-margin-top: 280px; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-requirement-editor__heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: var(--space-8); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-requirement-editor__heading > span:first-child { font-weight: var(--hh-weight-label); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-requirement-editor__heading > span { color: var(--hh-color-text-primary); font-size: var(--hh-font-caption); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-requirement-editor > p { margin: 0; color: var(--hh-color-text-secondary); font-size: var(--hh-font-caption); line-height: 1.6; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-requirement-editor label { display: grid; gap: var(--space-8); min-width: 0; color: var(--hh-color-text-secondary); font-size: var(--hh-font-caption); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-requirement-editor textarea { box-sizing: border-box; width: 100%; min-width: 0; padding: var(--space-12); border: var(--app-row-border); border-radius: var(--app-nested-radius); background: var(--surface); color: var(--hh-color-text-primary); font: inherit; line-height: 1.5; resize: vertical; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-requirement-editor__actions { display: flex; flex-wrap: wrap; gap: var(--space-8); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-requirements__editable-row { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto 24px; align-items: center; gap: var(--space-8); min-height: 44px; padding: var(--space-8) 0; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-requirements__editable-row > button { border: 0; padding: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; text-align: start; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-requirements__editable-row > .agent-fit-requirements__description { font-size: var(--hh-font-caption); line-height: 1.5; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-requirements__expand { display: grid; place-items: center; color: var(--hh-color-text-secondary); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-requirements__expand[aria-expanded="true"] svg { color: var(--accent); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-requirements__result-editor { min-width: 0; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-requirements__result-editor .workflow-select__control { width: 100%; min-height: 32px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; font: inherit; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-requirements__result-editor .workflow-select__value { display: flex; align-items: center; min-width: 0; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-requirements__result-editor .workflow-select__control > svg { width: 12px; height: 12px; color: var(--hh-color-text-secondary); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-requirements__result-editor .workflow-select__menu { z-index: var(--z-popover); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-handover { min-width: 0; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-handover h4 { margin: 0 0 var(--space-8); font-size: var(--hh-font-caption); font-weight: var(--hh-weight-label); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-handover p { margin: 0; color: var(--hh-color-text-secondary); font-size: var(--hh-font-caption); line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-history__review { grid-column: 1 / -1; min-width: 0; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-history__review > p { margin: 0 0 var(--space-8); color: var(--hh-color-text-secondary); font-size: var(--hh-font-caption); line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-history__changes > summary { display: flex; align-items: center; gap: var(--space-8); cursor: pointer; font-size: var(--hh-font-compact); list-style: none; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-history__changes dl { display: grid; gap: var(--space-12); margin: var(--space-12) 0 0; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-history__changes dt { font-size: var(--hh-font-caption); font-weight: var(--hh-weight-label); line-height: 1.6; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-history__changes dd { margin: var(--space-8) 0 0; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-history__transition { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-8); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-history__explanation p { margin: var(--space-8) 0 0; font-size: var(--hh-font-compact); line-height: 1.65; color: var(--hh-color-text-secondary); overflow-wrap: anywhere; white-space: pre-wrap; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-history__explanation p > span { font-weight: var(--hh-weight-label); }
@container (max-width: 600px) {
  :is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-requirements__editable-row { grid-template-columns: 20px minmax(0, 1fr) 24px; gap: calc(var(--space-8) / 2) var(--space-8); }
}
@container (max-width: 600px) {
  :is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-requirements__editable-row > .agent-fit-state-icon { grid-column: 1; grid-row: 1; }
}
@container (max-width: 600px) {
  :is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-requirements__result-editor { grid-column: 2; grid-row: 2; justify-self: start; }
}
@container (max-width: 600px) {
  :is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-requirements__expand { grid-column: 3; grid-row: 1 / span 2; }
}
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-details { min-width: 0; border-top: var(--app-row-border); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-details > summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-12); min-height: 36px; cursor: pointer; list-style: none; color: var(--hh-color-text-secondary); font-size: var(--hh-font-caption); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-details > summary::-webkit-details-marker { display: none; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-details:not([open]) > :not(summary) { display: none; }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-details[open] > summary > svg { transform: rotate(180deg); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-details > summary:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 2px; border-radius: var(--radius-8); }
:is(.page-workflow,.candidate-detail-tabs-surface) .agent-fit-details > :not(summary) { margin-top: var(--space-12); }
.mid-act-artifacts a,
.mid-act-artifacts span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border: 1px solid var(--hh-ui-border);
  border-radius: var(--radius-pill);
  background: var(--surface-75);
}
.esign-review__details {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(0, 3fr);
  gap: 12px 24px;
  margin: 0;
}
.esign-review__details dt,
.esign-review__step-label,
.esign-email__recipient > span {
  color: var(--hh-color-text-secondary);
}
.esign-review__details dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.esign-review__heading,
.esign-email__recipient {
  display: flex;
  align-items: center;
  gap: 16px;
}
.esign-review__heading {
  justify-content: space-between;
}
.esign-review__heading h3,
.esign-review__heading h4,
.esign-review h3,
.esign-review h4 {
  margin: 0;
  font-size: var(--hh-font-body);
  font-weight: var(--hh-weight-title);
}
.esign-review__workflow,
.esign-review__documents {
  display: grid;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--hh-ui-border);
}
.esign-review__workflow ol,
.esign-review__documents ul {
  display: grid;
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.esign-review__workflow li,
.esign-review__documents li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.esign-review__workflow li > div,
.esign-review__people {
  display: grid;
  gap: 8px;
}
.esign-review__step {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  height: 28px;
  border-radius: var(--radius-pill);
  background: var(--surface-sunken);
  color: var(--hh-color-text-secondary);
}
.esign-review__documents li > svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  color: var(--hh-color-text-secondary);
}
.esign-review__documents li > span,
.esign-email__recipient strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-weight: var(--hh-weight-label);
}
.esign-email__recipient {
  justify-content: flex-start;
  border-bottom: 1px solid var(--hh-ui-border);
  padding-bottom: 12px;
}
.esign-email__message {
  white-space: pre-wrap;
}
.esign-email__link {
  display: grid;
  justify-items: start;
  gap: 10px;
}
.esign-email__link > span {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--hh-color-text-primary);
  color: var(--color-white);
  font-weight: var(--hh-weight-label);
}
.esign-email__editor {
  min-height: 180px;
  resize: vertical;
}
.esign-delivery {
  display: grid;
  gap: 12px;
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.esign-delivery legend {
  margin-bottom: 16px;
  font-size: var(--hh-font-body);
  font-weight: var(--hh-weight-title);
}
.esign-delivery__choice {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--hh-ui-border);
  border-radius: var(--radius-10);
  cursor: pointer;
}
.esign-delivery__choice[data-selected="true"] {
  background: var(--surface-sunken);
  border-color: var(--border-strong);
}
.esign-delivery__choice > span {
  display: grid;
  gap: 6px;
}
.esign-delivery__choice input {
  accent-color: var(--hh-color-text-primary);
}
.esign-delivery__choice strong {
  font-weight: var(--hh-weight-label);
}
.esign-drawer .wf-filter-input {
  width: 100%;
  box-sizing: border-box;
  min-height: 30px;
  padding: 8px 10px;
}
.esign-drawer textarea.wf-filter-input {
  min-height: 70px;
  padding: 8px 10px;
  resize: vertical;
}

.document-wizard[data-hh-document-wizard] > [data-hh-drawer-part='body'] {
  flex: 1 1 auto;
  min-height: 0;
  padding: var(--space-24) max(var(--space-24), calc((100vw - 1040px) / 2));
  overflow-y: auto;
  overscroll-behavior: contain;
  display: grid;
  align-content: start;
  gap: 16px;
  background: var(--hh-workspace-canvas);
}

.document-wizard[data-hh-document-wizard] > [data-hh-drawer-part='footer'] {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-12);
}

.document-wizard[data-hh-document-wizard] > [data-hh-drawer-part='body'] > .wf-filter-drawer__section {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  margin: 0;
  padding: 20px;
  border: var(--app-surface-border);
  border-radius: var(--radius-12);
  background: var(--color-white);
}

.document-wizard[data-hh-document-wizard] .wf-filter-drawer__section > :is(p, ol) {
  margin: 0;
  font-size: var(--hh-font-body);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.document-wizard[data-hh-document-wizard] .wf-action-grid,
.document-wizard[data-hh-document-wizard] .esign-variable-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
}

.document-wizard[data-hh-document-wizard] :is(.wf-action-field, .esign-variable-grid > label) {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  margin: 0;
}

.document-wizard[data-hh-document-wizard] :is(.wf-filter-label, .esign-variable-grid > label > span) {
  color: var(--hh-color-text-primary);
  font-size: var(--hh-font-label);
  font-weight: var(--hh-weight-label);
  line-height: 20px;
}

.document-wizard[data-hh-document-wizard] :is(.wf-filter-input, .settings-template-document-toolbar .input) {
  min-height: 38px;
  border: 1px solid var(--hh-ui-border);
  border-radius: var(--radius-8);
  font: inherit;
  font-size: var(--hh-font-body);
}

.document-wizard[data-hh-document-wizard] .wf-filter-drawer__section > .btn {
  justify-self: start;
  width: auto;
  min-height: 36px;
  padding: 8px 14px;
}

.document-wizard[data-hh-document-wizard] .wf-muted-inline {
  color: var(--hh-color-text-secondary);
  font-size: var(--hh-font-caption);
}

.document-wizard[data-hh-document-wizard] .esign-variable-grid {
  min-width: 0;
}

.document-wizard[data-hh-document-wizard] .settings-template-document-viewer {
  min-width: 0;
  padding: 0;
  border-radius: var(--radius-8);
}

.document-wizard[data-hh-document-wizard] .settings-template-document-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.document-wizard[data-hh-document-wizard] .settings-template-document-toolbar :is(.btn, .input, .settings-btn) {
  flex: 0 0 auto;
  width: auto;
  max-width: 100%;
}

@media (max-width: 760px) {
  .document-wizard[data-hh-document-wizard] .wf-action-grid,
  .document-wizard[data-hh-document-wizard] .esign-variable-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {

  .document-wizard[data-hh-document-wizard] > [data-hh-drawer-part='body'] > .wf-filter-drawer__section {
    padding: 16px;
  }
}

.document-wizard__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  border-bottom: 1px solid var(--hh-ui-border);
}
.document-wizard__title {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.document-wizard__title > span {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--surface-sunken);
}
.document-wizard__title svg {
  width: 20px;
  height: 20px;
}
.document-wizard__title h2 {
  margin: 0;
  font-size: var(--hh-font-subtitle);
  font-weight: var(--hh-weight-title);
}.bulk-email-modal__panel {
  width: min(780px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  background: var(--color-white);
}
.bulk-email-modal__body,
.bulk-email-composer {
  display: grid;
  gap: 20px;
  min-width: 0;
}
.bulk-email-composer {
  color: var(--hh-color-text-primary);
  font-size: var(--hh-font-body);
  line-height: var(--hh-line-body);
}
.bulk-email-composer__field,
.bulk-email-composer__delivery {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.bulk-email-composer__field > span,
.bulk-email-composer__recipients > strong {
  font-size: var(--hh-font-caption);
  font-weight: var(--hh-weight-label);
}
.bulk-email-composer__recipients,
.bulk-email-composer__recipients > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bulk-email-composer__recipients {
  flex-direction: column;
}
.bulk-email-composer__recipients > div > span {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--surface-sunken);
  font-size: var(--hh-font-caption);
}
.bulk-email-composer__note {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--hh-ui-border);
  border-radius: var(--radius-sm);
  background: var(--surface-sunken);
  color: var(--hh-color-text-secondary);
  font-size: var(--hh-font-caption);
}
.bulk-email-composer__editor {
  border: 1px solid var(--hh-ui-border);
  border-radius: var(--radius-sm);
}
.bulk-email-composer__toolbar,
.bulk-email-composer__attachments {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  padding: 6px;
}
.bulk-email-composer__toolbar {
  border-bottom: 1px solid var(--hh-ui-border);
}
.bulk-email-composer__toolbar button,
.bulk-email-composer__attachments button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 30px;
  border: 0;
  border-radius: var(--radius-xs);
  padding: 6px 8px;
  background: transparent;
  color: var(--hh-color-text-secondary);
  font: inherit;
  font-size: var(--hh-font-caption);
  cursor: pointer;
}
.bulk-email-composer__toolbar button:hover,
.bulk-email-composer__attachments button:hover {
  background: var(--surface-sunken);
}
.bulk-email-composer__toolbar svg,
.bulk-email-composer__attachments svg {
  width: 16px;
  height: 16px;
}
.bulk-email-composer__editor .message-token-editor {
  min-height: 180px;
  padding: 14px;
  outline: none;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.bulk-email-composer__insert {
  position: relative;
}
.bulk-email-composer__tokens {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-start: 0;
  display: grid;
  min-width: 180px;
  padding: 6px;
  border: 1px solid var(--hh-ui-border);
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
  box-shadow: var(--shadow-menu);
}
.bulk-email-composer__tokens button {
  justify-content: flex-start;
}
.bulk-email-composer__attachments > span {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-sm);
  background: var(--surface-sunken);
  padding-inline-start: 8px;
  font-size: var(--hh-font-caption);
}
.bulk-email-modal__status {
  flex: 1;
  color: var(--hh-color-text-secondary);
  font-size: var(--hh-font-caption);
}

.bulk-email-composer__input {
  width: 100%;
  min-height: 38px;
  box-sizing: border-box;
  padding: 8px 12px;
  border: 1px solid var(--hh-ui-border);
  border-radius: var(--radius-8);
  background: var(--color-white);
  color: var(--hh-color-text-primary);
  font: inherit;
}
.bulk-email-composer__self-schedule {
  justify-self: start;
  width: auto;
  min-height: 32px;
  border: 1px solid var(--hh-ui-border);
  border-radius: var(--radius-pill);
  background: var(--color-white);
  color: var(--hh-color-text-secondary);
  padding: 6px 12px;
  font: inherit;
  font-size: var(--hh-font-caption);
  cursor: pointer;
}