/* FacilityJobs candidate intake — extends the Reels tracker styles. */
.ci-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 0.8rem;
  padding: 1rem 1.1rem 1.15rem;
}
.ci-form .field { margin-bottom: 0.75rem; }
.ci-form .field--wide { grid-column: 1 / -1; }
.field .ci-phone {
  display: flex;
  align-items: stretch;
  font-size: 1rem;
  font-weight: 400;
}
.ci-phone b {
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  border: 1px solid var(--line);
  border-right: 0;
  border-radius: 12px 0 0 12px;
  background: var(--paper-2);
  font-weight: 700;
  white-space: nowrap;
}
.ci-phone input { border-radius: 0 12px 12px 0; min-width: 0; flex: 1; }
.ci-hint {
  margin: 0.95rem 1.1rem 0;
  color: var(--muted);
  font-size: 0.85rem;
}
.ci-note {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}
.ci-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}
.ci-form .rt-err { grid-column: 1 / -1; }
.ci-list-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 0.6rem;
}
.ci-list-head h2 { font-size: 1.05rem; margin: 0; }
.ci-count { color: var(--muted); font-size: 0.85rem; font-weight: 600; }
.ci-empty { text-align: center; color: var(--muted); padding: 1.2rem 0.5rem; }
.ci-comments {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-width: 18rem;
}

@media (max-width: 720px) {
  .ci-form { grid-template-columns: 1fr; padding: 0.85rem; }
  .ci-hint { margin-left: 0.85rem; margin-right: 0.85rem; }
  .ci-comments { max-width: none; }
}

@media (max-width: 760px) {
  .rt-table td.ci-comments {
    display: block;
    text-align: left;
  }
  .rt-table td.ci-comments::before {
    display: block;
    margin-bottom: 0.15rem;
  }
}
