/* Candidate details on phones (768px and below): page, drawers and sheets */

/* While this screen shows, desktop's own phone bar stays hidden and desktop
   pop-ups and viewers open above the screen's sheets. */
body[data-phone-screen="candidate"] .cd-mobile-overlay {
  display: none !important;
}

body[data-phone-screen="candidate"] .v-modal-overlay {
  z-index: 1300;
}

body[data-phone-screen="candidate"] .cd-resume-overlay {
  z-index: 1300;
}

/* Toasts sit 80px above the bottom edge, as in the design's feedback layer (just
   over the Move to bar); tablets keep that place rather than cover the bar. */
body[data-phone-screen="candidate"] .ccp-toast-host {
  bottom: calc(80px + var(--ccp-safe-b));
}

.ccp-cand .ccp-cand-sr,
.ccp-cand-sheet .ccp-cand-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.ccp-cand button {
  -webkit-appearance: none;
  appearance: none;
  font-family: inherit;
}

.ccp-cand .ccp-cand-name:focus {
  outline: none;
}

/* Top bar */

.ccp-cand .ccp-cand-top {
  min-height: 68px;
  padding: 12px var(--ccp-gutter);
  gap: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.ccp-cand .ccp-cand-top.is-scrolled {
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

.ccp-cand .ccp-cand-back {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 6px;
  height: 44px;
  padding: 0 18px 0 12px;
  border: 1px solid rgba(39, 176, 121, 0.35);
  border-radius: 999px;
  background: rgba(99, 234, 113, 0.16);
  color: var(--ccp-deep);
  font-size: 1.24rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 0.15s ease, background 0.15s ease;
}

.ccp-cand .ccp-cand-back:active {
  transform: scale(0.97);
  background: rgba(99, 234, 113, 0.28);
}

.ccp-cand .ccp-cand-back svg {
  flex-shrink: 0;
}

.ccp-cand .ccp-cand-top-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-align: center;
  font-size: 1.045rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-overflow: ellipsis;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.ccp-cand .ccp-cand-top.is-scrolled .ccp-cand-top-name {
  opacity: 1;
}

/* Header: photo, name, favourite and messages (the design's look 1: initials on the
   candidate colour) */

.ccp-cand .ccp-cand-page {
  padding: 8px var(--ccp-gutter) 28px;
}

.ccp-cand .ccp-cand-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 10px;
}

.ccp-cand .ccp-cand-photo {
  position: relative;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 57.2px;
  height: 57.2px;
  padding: 0;
  overflow: hidden;
  border: none;
  border-radius: 50%;
  color: #fff;
  font-family: "JetBrains Mono", monospace;
  font-size: 1.045rem;
  font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
}

.ccp-cand .ccp-cand-photo[aria-disabled="true"] {
  cursor: default;
}

/* The candidate's photo over the initials (incognito for a private profile). */
.ccp-cand .ccp-cand-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ccp-cand .ccp-cand-photo:focus-visible {
  outline-offset: 3px;
}

.ccp-cand .ccp-cand-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  font-size: 1.265rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--ccp-text);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ccp-cand .ccp-cand-star,
.ccp-cand .ccp-cand-chat {
  position: relative;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  color: #000;
  cursor: pointer;
  touch-action: manipulation;
}

.ccp-cand .ccp-cand-star.is-closed {
  color: #1a1a2e;
}

/* A permission lock dims the action; a rejected application keeps the design's
   plain star; a closed job or a withdrawal fades it to half, as in the design. */
.ccp-cand .ccp-cand-star.is-off:not(.is-closed):not(.is-locked) {
  opacity: 0.55;
}

.ccp-cand .ccp-cand-star.is-locked {
  opacity: 0.5;
}

.ccp-cand .ccp-cand-chat-count {
  position: absolute;
  top: 1px;
  right: -2px;
  box-sizing: border-box;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border: 2px solid #f9f9f9;
  border-radius: 999px;
  background: #1a1a2e;
  color: #fff;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.638rem;
  font-weight: 700;
  line-height: 14px;
  text-align: center;
}

.ccp-cand .ccp-cand-star.is-pop svg {
  animation: ccpCandPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes ccpCandPop {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.35) rotate(-14deg);
  }
  100% {
    transform: scale(1) rotate(0);
  }
}

/* Lock banners (desktop's copy) */

.ccp-cand .ccp-cand-banner .cc-closed-banner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 16px 0 0;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(220, 38, 38, 0.28);
  border-radius: 0.85rem;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.12), rgba(245, 158, 11, 0.08));
  box-shadow: none;
}

.ccp-cand .ccp-cand-banner .cc-closed-banner-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid rgba(220, 38, 38, 0.32);
  border-radius: 0.6rem;
  background: rgba(220, 38, 38, 0.18);
  color: #dc2626;
}

.ccp-cand .ccp-cand-banner .cc-closed-banner-icon svg {
  width: 21px;
  height: 21px;
}

.ccp-cand .ccp-cand-banner .cc-closed-banner-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  font-size: 1.201rem;
  line-height: 1.35;
  color: #111827;
}

.ccp-cand .ccp-cand-banner .cc-closed-banner-text strong {
  font-weight: 600;
  color: #111827;
}

.ccp-cand .ccp-cand-banner .cc-closed-banner-sub {
  font-size: 1.115rem;
  font-weight: 400;
  color: #4b5563;
  text-wrap: pretty;
}

/* A withdrawal or a closed job: the design's slate banner. */
.ccp-cand .ccp-cand-banner--slate .cc-closed-banner {
  border-color: rgba(100, 116, 139, 0.3);
  background: linear-gradient(135deg, rgba(100, 116, 139, 0.13), rgba(148, 163, 184, 0.07));
}

.ccp-cand .ccp-cand-banner--slate .cc-closed-banner-icon {
  border-color: rgba(100, 116, 139, 0.3);
  background: rgba(100, 116, 139, 0.16);
  color: #475569;
}

/* Hub: application, AI assessment, team notes */

.ccp-cand .ccp-cand-hub {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.ccp-cand .ccp-cand-app {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 84px;
  padding: 16px;
  border: none;
  border-radius: 18px;
  background: #e6f7ea;
  color: #1a1a2e;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 0.15s ease;
}

.ccp-cand .ccp-cand-app:active {
  transform: scale(0.99);
}

.ccp-cand .ccp-cand-app-label {
  flex: 1;
  min-width: 0;
  font-size: 1.155rem;
  font-weight: 700;
}

.ccp-cand .ccp-cand-app svg {
  flex-shrink: 0;
  color: #15803d;
}

.ccp-cand .ccp-cand-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ccp-cand .ccp-cand-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  min-height: 140px;
  padding: 14px;
  border: none;
  border-radius: 18px;
  color: #1a1a2e;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 0.15s ease;
}

.ccp-cand .ccp-cand-card:active {
  transform: scale(0.98);
}

.ccp-cand .ccp-cand-card--ai {
  background: #f0eaff;
  --ccp-cand-tone: #7c3aed;
}

.ccp-cand .ccp-cand-card--notes {
  background: #e8f0ff;
  --ccp-cand-tone: #2563eb;
}

.ccp-cand .ccp-cand-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.ccp-cand .ccp-cand-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--ccp-cand-tone);
}

.ccp-cand .ccp-cand-card-value {
  margin-left: auto;
  font-family: "JetBrains Mono", monospace;
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1;
  color: var(--ccp-cand-tone);
  white-space: nowrap;
}

.ccp-cand .ccp-cand-card-value.is-long {
  font-size: 1.155rem;
}

.ccp-cand .ccp-cand-card-lock {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(71, 85, 105, 0.12);
  color: #475569;
}

.ccp-cand .ccp-cand-card-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: auto;
}

.ccp-cand .ccp-cand-card-title {
  font-size: 1.1rem;
  font-weight: 700;
}

.ccp-cand .ccp-cand-card-sub {
  font-size: 0.858rem;
  line-height: 1.35;
  color: #4b5563;
}

/* Bottom bar: Move to */

.ccp-cand .ccp-cand-bar {
  gap: 8px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.ccp-cand .ccp-cand-move {
  position: relative;
  display: flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.75rem;
  background: rgba(0, 0, 0, 0.04);
  box-shadow: none;
  color: #1a1a2e;
  font-size: 1.24rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  outline: 0 solid transparent;
  outline-offset: 2px;
  transition: transform 0.25s ease, outline-color 0.3s ease, background 0.15s ease;
}

.ccp-cand .ccp-cand-move.is-locked {
  color: #6b7280;
}

.ccp-cand .ccp-cand-move.is-pulse {
  outline: 3px solid rgba(99, 234, 113, 0.75);
  transform: scale(1.05);
}

.ccp-cand .ccp-cand-move:active {
  transform: scale(0.98);
}

/* The page ends 28px above the bar (10 + 48 + 10 and its border) */
.ccp-cand .ccp-actionbar-spacer {
  height: calc(69px + var(--ccp-safe-b));
}

/* ---------- Sheets: shared chrome ---------- */

/* Pop-up sheets (Move to, public profile, conversation): the design's sheet,
   600px at most, 8px 16px 20px inside, content height up to 92%. */
.ccp-cand-sheet .v-bs-sheet {
  max-width: 600px;
  max-height: 92dvh;
  box-shadow: 0 -12px 40px rgba(15, 23, 42, 0.2);
}

.ccp-cand-sheet .v-bs-handle-wrap {
  padding: 10px 0;
}

.ccp-cand-sheet .v-bs-body {
  padding: 0 0 calc(20px + var(--ccp-safe-b));
}

/* The design's close: a plain 20px X in the title row (no ring, no fill). */
.ccp-cand-sheet .v-bs-close.v-action-btn {
  top: 24px;
  right: 6px;
  z-index: 6;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  color: #374151;
}

.ccp-cand-sheet .v-bs-close.v-action-btn:hover,
.ccp-cand-sheet .v-bs-close.v-action-btn:active {
  background: transparent;
  box-shadow: none;
}

.ccp-cand-sheet .v-bs-close.v-action-btn .v-action-btn-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

/* Move to and the public profile have no close button in the design (the
   backdrop, the handle, Escape and Back close them). */
.ccp-cand-sheet--move .v-bs-close,
.ccp-cand-sheet--profile .v-bs-close {
  display: none;
}

/* Long content must not shrink to the sheet height, or the pinned footer
   would ride up with it while scrolling. */
.ccp-cand-sheet:not(.ccp-cand-thread) .v-bs-body > .ccp-sheet-content {
  flex: 1 0 auto;
}

.ccp-cand-sheet .v-bs-body > .ccp-sheet-head {
  padding: 0 60px 14px 16px;
}

.ccp-cand-sheet .ccp-sheet-title {
  font-size: 1.43rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: normal;
  color: #1a1a2e;
}

.ccp-cand-sheet .ccp-sheet-sub {
  margin-top: 1px;
  overflow: hidden;
  font-size: 0.88rem;
  line-height: normal;
  color: #4b5563;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ccp-cand-sheet--move .v-bs-sheet,
.ccp-cand-sheet--profile .v-bs-sheet,
.ccp-cand-sheet--chat .v-bs-sheet {
  background: linear-gradient(180deg, rgba(99, 234, 113, 0.1), rgba(99, 234, 113, 0) 150px), #ffffff;
}

/* The conversation is 86% tall in the design. */
.ccp-cand-sheet--chat .v-bs-sheet {
  height: 86dvh;
  max-height: 92dvh;
}

.ccp-cand-slot {
  min-width: 0;
}

/* Desktop fades list items in from opacity 0; sheets show them straight away. */
.ccp-cand-sheet :is(.cd-proj-item, .cd-cert-item, .cd-screen-item, .cd-proto-pill, .cd-token-pill) {
  opacity: 1;
  animation: none;
}

/* 44px hit area around small controls without changing their look */
.ccp-cand-sheet--app :is(.cd-proj-action, .cd-cert-verify, .cd-gh-profile-link, .cd-debank-badge, .cd-overview-skill--more, .cd-overview-score-chip--locked)::after,
.ccp-cand-sheet--profile .ccp-pf-chip--more::after,
.ccp-cand-sheet :is(.cd-msg-reaction)::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: max(100%, 44px);
  height: max(100%, 44px);
  transform: translate(-50%, -50%);
}

.ccp-cand-sheet--app :is(.cd-proj-action, .cd-cert-verify, .cd-gh-profile-link, .cd-debank-badge, .cd-overview-skill--more, .cd-overview-score-chip--locked),
.ccp-cand-sheet--profile .ccp-pf-chip--more,
.ccp-cand-sheet .cd-msg-reaction {
  position: relative;
}

/* Drawers (application, AI assessment, team notes): the design's drawer, full
   width at every size below desktop, white header, grey body, up to 90% tall. */

.ccp-cand-drawer .v-bs-sheet {
  max-width: none;
  height: auto;
  max-height: 90dvh;
  background: #f6f7f9;
  box-shadow: 0 -12px 40px rgba(15, 23, 42, 0.22);
}

.ccp-cand-drawer .v-bs-handle-wrap {
  padding: 8px 0 10px;
  background: #fff;
}

.ccp-cand-drawer .v-bs-close.v-action-btn {
  top: 22px;
}

.ccp-cand-drawer .v-bs-body {
  padding: 0;
}

/* Title row: 44px tall like the close button beside it. */
.ccp-cand-drawer .v-bs-body > .ccp-sheet-head {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 56px;
  padding: 0 60px 12px 16px;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.ccp-cand-drawer .v-bs-body > .ccp-sheet-content {
  padding: 16px 12px 20px;
}

@media (min-width: 640px) {
  .ccp-cand-drawer .v-bs-body > .ccp-sheet-content {
    padding: 16px 20px 24px;
  }
}

/* ---------- Application drawer ---------- */

.ccp-cand-sheet--app .cd-tab-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: auto;
  min-height: 0;
  overflow: visible;
  font-family: "Outfit", sans-serif;
  color: #1a1a2e;
}

.ccp-cand-sheet--app .cd-identity-card {
  display: none;
}

/* The design spaces letters only in the section titles and the wallet age
   (both set again below); every other text keeps the font's own spacing. */
.ccp-cand-sheet--app .cd-tab-content * {
  letter-spacing: normal;
}

.ccp-cand-sheet--app .cd-tab-content > :is(.cd-section, .cd-onchain-viewer, .cd-resume-viewer, .cd-socials-card) {
  min-width: 0;
  margin: 0;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
  box-shadow: none;
  animation: none;
  transition: none;
}

.ccp-cand-sheet--app .cd-tab-content > :is(.cd-onchain-viewer, .cd-resume-viewer):hover {
  border-color: #e5e7eb;
  box-shadow: none;
}

.ccp-cand-sheet--app .cd-section,
.ccp-cand-sheet--app .cd-socials-card {
  padding: 16px;
}

.ccp-cand-sheet--app .cd-section-header,
.ccp-cand-sheet--app .cd-socials-card-header {
  margin: 0 0 10px;
  padding: 0;
  border: none;
  background: none;
}

.ccp-cand-sheet--app :is(.cd-section-title, .cd-socials-card-title, .cd-onchain-toolbar-title, .cd-resume-toolbar-title) {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: 1.045rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #111827;
}

.ccp-cand-sheet--app :is(.cd-onchain-toolbar, .cd-resume-toolbar) {
  min-height: 0;
  padding: 16px 16px 0;
  border: none;
  background: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.ccp-cand-sheet--app .cd-onchain-toolbar-title-icon {
  display: none;
}

.ccp-cand-sheet--app .cd-onchain-body {
  padding: 12px 16px 16px;
}

.ccp-cand-sheet--app :is(.cd-onchain-count, .cd-gh-count) {
  padding: 0;
  border: none;
  background: none;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.814rem;
  font-weight: 600;
  color: #4b5563;
  white-space: nowrap;
}

/* Overview */

.ccp-cand-sheet--app .cd-overview-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ccp-cand-sheet--app .cd-overview-kv {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 0;
  padding: 10px 0;
  border: none;
  border-bottom: 1px solid #f1f2f4;
  border-radius: 0;
  background: none;
}

.ccp-cand-sheet--app .cd-overview-kv:first-child {
  padding-top: 2px;
}

.ccp-cand-sheet--app .cd-overview-kv--skills {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding-bottom: 0;
  border-bottom: none;
}

.ccp-cand-sheet--app .cd-overview-kv-label {
  min-width: 0;
  font-size: 0.924rem;
  font-weight: 400;
  color: #6b7280;
}

.ccp-cand-sheet--app .cd-overview-kv-value {
  font-size: 0.99rem;
  font-weight: 600;
  text-align: right;
  color: #1a1a2e;
}

.ccp-cand-sheet--app .cd-overview-kv--skills .cd-overview-kv-value {
  text-align: left;
}

.ccp-cand-sheet--app .cd-overview-score-chip {
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.902rem;
  font-weight: 700;
}

/* The design's locked score: a 34x28 pill with the lock alone; its name stays
   for screen readers. */
.ccp-cand-sheet--app .cd-overview-score-chip.cd-overview-score-chip--locked,
.ccp-cand-sheet--app .cd-overview-score-chip.cd-overview-score-chip--locked:hover {
  justify-content: center;
  gap: 0;
  width: 34px;
  min-width: 34px;
  height: 28px;
  min-height: 28px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(148, 163, 184, 0.55);
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.1);
  box-shadow: none;
  font-family: "Outfit", sans-serif;
  color: #475569;
}

/* The lock sits in the row like the score does (no taller line around it). */
.ccp-cand-sheet--app .cd-overview-kv-value:has(.cd-overview-score-chip--locked) {
  display: flex;
  align-items: center;
}

.ccp-cand-sheet--app .cd-overview-score-chip--locked .v-action-btn-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.ccp-cand-sheet--app .cd-overview-score-chip.cd-overview-score-chip--locked .v-action-btn-icon svg {
  width: 14px;
  height: 14px;
  stroke-width: 2;
  color: #475569;
}

.ccp-cand-sheet--app .cd-overview-skill-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 6px;
}

.ccp-cand-sheet--app .cd-overview-skill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.6rem;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #f3f4f6;
  font-family: "Outfit", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1a1a2e;
  white-space: nowrap;
}

.ccp-cand-sheet--app .cd-overview-skill--more {
  border-style: dashed;
  background: transparent;
  cursor: pointer;
}

/* Cover letter */

.ccp-cand-sheet--app .cd-cover-letter {
  padding: 0;
  border: none;
  background: none;
  font-size: 1.012rem;
  line-height: 1.6;
  color: #374151;
}

/* Relevant links */

/* The list starts 12px under the title (the cover letter's text, 10px). */
.ccp-cand-sheet--app .cd-socials-card-header {
  margin-bottom: 12px;
}

.ccp-cand-sheet--app .cd-socials-card-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ccp-cand-sheet--app .cd-social-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 8px 12px;
  border: 1px solid #eef0f2;
  border-radius: 12px;
  background: #fafafa;
  color: #1a1a2e;
  text-decoration: none;
  box-shadow: none;
  transform: none;
}

.ccp-cand-sheet--app .cd-social-pill-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  color: #1a1a2e;
}

.ccp-cand-sheet--app .cd-social-pill-icon svg {
  width: 17px;
  height: 17px;
}

.ccp-cand-sheet--app .cd-social-pill-meta {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.ccp-cand-sheet--app .cd-social-pill-label {
  font-size: 0.99rem;
  font-weight: 650;
  color: #1a1a2e;
}

.ccp-cand-sheet--app .cd-social-pill-sub {
  overflow: hidden;
  font-family: "Outfit", sans-serif;
  font-size: 0.858rem;
  color: #4b5563;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ccp-cand-sheet--app .cd-social-pill-arrow {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  color: #6b7280;
}

/* Empty states inside sections: the design's dashed box under the title, with a
   plain 28px icon (candidate.js draws the design's icons). */

.ccp-cand-sheet--app .cd-onchain-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 12px 0 0;
  padding: 22px 16px;
  border: 1px dashed #e5e7eb;
  border-radius: 12px;
  background: #fafafa;
  text-align: center;
}

/* The add-on sections already leave 12px under their title. */
.ccp-cand-sheet--app .cd-onchain-body > .cd-onchain-empty {
  margin-top: 0;
}

.ccp-cand-sheet--app .cd-resume-body--empty {
  align-items: stretch;
}

/* An empty OnChain Profile is its title alone, as in the design. */
.ccp-cand-sheet--app .cd-onchain-viewer:has(> .cd-onchain-body > .cd-onchain-empty) .cd-debank-badge {
  display: none;
}

.ccp-cand-sheet--app .cd-onchain-empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0;
  border: none;
  border-radius: 0;
  background: none;
  color: #9ca3af;
}

.ccp-cand-sheet--app .cd-onchain-empty-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.6;
}

.ccp-cand-sheet--app .cd-onchain-empty-title {
  margin-top: 2px;
  font-size: 1.02rem;
  font-weight: 700;
  color: #111827;
}

.ccp-cand-sheet--app .cd-onchain-empty-sub {
  max-width: none;
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.5;
  color: #6b7280;
  text-wrap: pretty;
}

/* Projects */

.ccp-cand-sheet--app .cd-proj-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* A plain card: its rows sit 8px apart by their own margins, with no gap added. */
.ccp-cand-sheet--app .cd-proj-item {
  display: block;
  padding: 12px;
  border: 1px solid #eef0f2;
  border-radius: 12px;
  background: #fafafa;
  box-shadow: none;
  animation: none;
}

.ccp-cand-sheet--app .cd-proj-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ccp-cand-sheet--app .cd-proj-role {
  padding: 0.15rem 0.55rem;
  border: none;
  border-radius: 999px;
  background: rgba(99, 234, 113, 0.12);
  font-size: 0.792rem;
  font-weight: 650;
  color: #08493c;
}

.ccp-cand-sheet--app .cd-proj-actions {
  display: flex;
  gap: 6px;
}

.ccp-cand-sheet--app .cd-proj-action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #e5e7eb;
  border-radius: 9px;
  background: #fff;
  color: #374151;
}

.ccp-cand-sheet--app .cd-proj-action svg {
  width: 15px;
  height: 15px;
}

.ccp-cand-sheet--app .cd-proj-name {
  margin: 8px 0 0;
  font-size: 1.045rem;
  font-weight: 700;
  line-height: 1.35;
  color: #1a1a2e;
}

.ccp-cand-sheet--app .cd-proj-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.ccp-cand-sheet--app .cd-proj-chip {
  padding: 0.12rem 0.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #fff;
  font-size: 0.792rem;
  font-weight: 600;
  color: #374151;
}

.ccp-cand-sheet--app .cd-proj-desc {
  margin: 8px 0 0;
  font-size: 0.935rem;
  line-height: 1.5;
  color: #374151;
}

/* The design's media strip: 120 by 68 thumbnails in a row that scrolls sideways,
   a video marked with a play button. */
.ccp-cand-sheet--app .cd-proj-media {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  padding-bottom: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

.ccp-cand-sheet--app .cd-proj-media::-webkit-scrollbar {
  display: none;
}

.ccp-cand-sheet--app .cd-proj-thumb {
  position: relative;
  flex-shrink: 0;
  width: 120px;
  height: 68px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #f3f4f6;
  box-shadow: none;
  aspect-ratio: auto;
  cursor: pointer;
  touch-action: manipulation;
  transform: none;
  transition: transform 0.15s ease;
}

.ccp-cand-sheet--app .cd-proj-thumb:active {
  transform: scale(0.97);
}

.ccp-cand-sheet--app .cd-proj-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none;
}

.ccp-cand-sheet--app .cd-proj-thumb-play {
  background: rgba(0, 0, 0, 0.28);
}

.ccp-cand-sheet--app .cd-proj-thumb-play svg {
  box-sizing: border-box;
  width: 30px;
  height: 30px;
  padding: 8.5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  fill: #111827;
  stroke: none;
}

/* Education and work experience timelines */

.ccp-cand-sheet--app .cd-tl-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ccp-cand-sheet--app .cd-tl-list .fpp-timeline-item {
  position: relative;
  display: block;
  margin: 0;
  padding: 0 0 16px 22px;
}

.ccp-cand-sheet--app .cd-tl-list .fpp-timeline-item--last {
  padding-bottom: 0;
}

.ccp-cand-sheet--app .cd-tl-list .fpp-timeline-dot {
  position: absolute;
  left: 0;
  top: 5px;
  width: 10px;
  height: 10px;
  margin: 0;
  border: 2px solid #27b079;
  border-radius: 50%;
  background: #fff;
  box-shadow: none;
}

.ccp-cand-sheet--app .cd-tl-list .fpp-timeline-item::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 18px;
  bottom: 2px;
  width: 2px;
  background: #e5e7eb;
}

.ccp-cand-sheet--app .cd-tl-list .fpp-timeline-item--last::before,
.ccp-cand-sheet--app .cd-tl-list .fpp-timeline-item::after {
  display: none;
}

/* Title, place and text sit 3px and 6px apart, by their margins alone. */
.ccp-cand-sheet--app .cd-tl-list .fpp-timeline-body {
  display: block;
}

.ccp-cand-sheet--app .cd-tl-list .fpp-timeline-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.ccp-cand-sheet--app .cd-tl-list .fpp-timeline-title {
  min-width: 0;
  font-size: 1.012rem;
  font-weight: 650;
  line-height: 1.3;
  color: #1a1a2e;
}

.ccp-cand-sheet--app .cd-tl-list .fpp-timeline-period {
  flex-shrink: 0;
  font-family: "Outfit", sans-serif;
  font-size: 0.814rem;
  font-weight: 400;
  color: #6b7280;
  white-space: nowrap;
}

/* One line, "school · location" in one style, as in the design */
.ccp-cand-sheet--app .cd-tl-list .fpp-timeline-sub {
  display: block;
  margin-top: 3px;
  font-size: 0.902rem;
  color: #4b5563;
}

.ccp-cand-sheet--app .cd-tl-list :is(.fpp-timeline-org, .fpp-timeline-sub-item) {
  display: inline;
  font-family: "Outfit", sans-serif;
  font-size: 0.902rem;
  font-weight: 400;
  color: #4b5563;
}

.ccp-cand-sheet--app .cd-tl-list .fpp-timeline-dotsep {
  display: inline;
  width: auto;
  height: auto;
  margin: 0;
  border-radius: 0;
  background: none;
}

.ccp-cand-sheet--app .cd-tl-list .fpp-timeline-dotsep::before {
  content: " · ";
  white-space: pre;
}

.ccp-cand-sheet--app .cd-tl-list .fpp-timeline-desc {
  margin: 6px 0 0;
  font-size: 0.935rem;
  line-height: 1.5;
  color: #374151;
}

/* Certifications */

.ccp-cand-sheet--app .cd-cert-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ccp-cand-sheet--app .cd-cert-item {
  padding: 10px 12px;
  border: 1px solid #eef0f2;
  border-radius: 12px;
  background: #fafafa;
  animation: none;
}

.ccp-cand-sheet--app .cd-cert-main {
  display: block;
}

.ccp-cand-sheet--app .cd-cert-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.ccp-cand-sheet--app .cd-cert-name {
  font-size: 0.99rem;
  font-weight: 650;
  line-height: 1.3;
  color: #1a1a2e;
}

.ccp-cand-sheet--app .cd-cert-date {
  flex-shrink: 0;
  font-family: "Outfit", sans-serif;
  font-size: 0.814rem;
  font-weight: 400;
  color: #6b7280;
  white-space: nowrap;
}

.ccp-cand-sheet--app .cd-cert-issuer {
  margin-top: 3px;
  font-size: 0.902rem;
  font-weight: 400;
  color: #4b5563;
}

.ccp-cand-sheet--app .cd-cert-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
}

.ccp-cand-sheet--app .cd-cert-id {
  min-width: 0;
  overflow-wrap: anywhere;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.792rem;
  color: #6b7280;
}

.ccp-cand-sheet--app .cd-cert-verify {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 3px;
  min-height: 32px;
  font-size: 0.88rem;
  font-weight: 650;
  color: #08493c;
  text-decoration: none;
}

.ccp-cand-sheet--app .cd-cert-verify svg {
  width: 13px;
  height: 13px;
}

/* OnChain profile */

.ccp-cand-sheet--app .cd-debank-badge {
  gap: 5px;
  padding: 0.2rem 0.55rem;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fafafa;
  box-shadow: none;
  font-size: 0.792rem;
  color: #4b5563;
  transform: none;
}

.ccp-cand-sheet--app .cd-debank-badge-prefix {
  font-size: 0.792rem;
  font-weight: 400;
  color: #4b5563;
}

.ccp-cand-sheet--app .cd-debank-badge-logo {
  width: 14px;
  height: 14px;
  border-radius: 3px;
}

.ccp-cand-sheet--app .cd-debank-badge-name {
  font-size: 0.792rem;
  font-weight: 650;
  color: #111827;
}

.ccp-cand-sheet--app .cd-oc-age-row {
  gap: 6px;
}

.ccp-cand-sheet--app .cd-oc-age-val {
  font-size: 1.87rem;
  letter-spacing: -0.03em;
  line-height: normal;
  color: #1a1a2e;
}

.ccp-cand-sheet--app .cd-oc-age-unit {
  font-size: 0.924rem;
  font-weight: 400;
  color: #4b5563;
}

.ccp-cand-sheet--app .cd-oc-rule {
  margin: 12px 0;
  background: #f1f2f4;
}

.ccp-cand-sheet--app .cd-onchain-protocols-header {
  gap: 10px;
  margin-bottom: 10px;
}

.ccp-cand-sheet--app .cd-onchain-tokens-header {
  margin-top: 16px;
}

.ccp-cand-sheet--app :is(.cd-onchain-protocols-title, .cd-gh-langs-head, .cd-gh-repos-head) {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.858rem;
  font-weight: 650;
  letter-spacing: 0;
  color: #374151;
}

.ccp-cand-sheet--app .cd-onchain-net-select {
  height: 32px;
  min-height: 32px;
  max-width: 55%;
  padding: 0 8px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background-color: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 0.88rem;
  color: #1a1a2e;
}

.ccp-cand-sheet--app :is(.cd-proto-pills, .cd-token-pills) {
  gap: 6px;
}

.ccp-cand-sheet--app :is(.cd-proto-pill, .cd-token-pill) {
  gap: 6px;
  padding: 0.25rem 0.6rem;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  box-shadow: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1a1a2e;
  white-space: nowrap;
  transform: none;
  animation: none;
}

.ccp-cand-sheet--app .cd-token-pill {
  padding-left: 0.3rem;
}

.ccp-cand-sheet--app .cd-proto-pill-icon {
  width: 14px;
  height: 14px;
}

.ccp-cand-sheet--app .cd-proto-pill-name {
  font-weight: 600;
  color: #1a1a2e;
}

.ccp-cand-sheet--app .cd-token-icon {
  width: 20px;
  height: 20px;
}

/* GitHub */

.ccp-cand-sheet--app .cd-gh-profile-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0.2rem 0.6rem;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fafafa;
  font-size: 0.858rem;
  font-weight: 600;
  color: #1a1a2e;
  text-decoration: none;
}

.ccp-cand-sheet--app .cd-gh-profile-link svg {
  width: 12px;
  height: 12px;
}

.ccp-cand-sheet--app .cd-gh-profile-link,
.ccp-cand-sheet--app .cd-gh-profile-link:hover {
  line-height: normal;
  box-shadow: none;
  transform: none;
}

.ccp-cand-sheet--app .cd-gh-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 0;
}

/* Label, then the value 3px under it (no gap added); no lift on touch. */
.ccp-cand-sheet--app .cd-gh-stat,
.ccp-cand-sheet--app .cd-gh-stat:hover {
  display: block;
  min-width: 0;
  padding: 10px;
  border: 1px solid #eef0f2;
  border-radius: 12px;
  background: #fafafa;
  box-shadow: none;
  transform: none;
}

.ccp-cand-sheet--app .cd-gh-stat-head,
.ccp-cand-sheet--app .cd-gh-stat-head span {
  font-family: "Outfit", sans-serif;
  font-size: 0.814rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: #6b7280;
}

.ccp-cand-sheet--app .cd-gh-stat-value {
  margin-top: 3px;
  font-family: "JetBrains Mono", monospace;
  font-size: 1.265rem;
  font-weight: 700;
  line-height: normal;
  color: #1a1a2e;
}

/* Each block sits 14px under the one above, its list 8px under its title. */
.ccp-cand-sheet--app :is(.cd-gh-langs, .cd-gh-repos) {
  display: block;
  margin-top: 14px;
  margin-bottom: 0;
}

/* A row of its own; the count follows its label, 6px after it. */
.ccp-cand-sheet--app :is(.cd-gh-langs-head, .cd-gh-repos-head) {
  display: flex;
}

.ccp-cand-sheet--app :is(.cd-gh-langs-head, .cd-gh-repos-head) .cd-gh-count {
  margin-left: 0;
}

.ccp-cand-sheet--app :is(.cd-gh-langs-list) {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.ccp-cand-sheet--app .cd-gh-lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.25rem 0.6rem;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1a1a2e;
}

.ccp-cand-sheet--app .cd-gh-lang:hover {
  border-color: #e5e7eb;
  box-shadow: none;
  transform: none;
}

.ccp-cand-sheet--app .cd-gh-lang-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lang, #6b7280);
}

/* The chip's own text: 0.88rem, 600, dark, as on the other chips. */
.ccp-cand-sheet--app .cd-gh-lang-name {
  font-size: inherit;
  font-weight: 600;
  color: #1a1a2e;
}

.ccp-cand-sheet--app .cd-gh-repo-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

/* Name, text and language 3px and 6px apart, by their margins alone. */
.ccp-cand-sheet--app .cd-gh-repo,
.ccp-cand-sheet--app .cd-gh-repo:hover {
  display: block;
  padding: 10px 12px;
  border: 1px solid #eef0f2;
  border-radius: 12px;
  background: #fafafa;
  box-shadow: none;
}

.ccp-cand-sheet--app .cd-gh-repo-name {
  font-size: 0.968rem;
  font-weight: 650;
  color: #111827;
}

.ccp-cand-sheet--app .cd-gh-repo-desc {
  margin-top: 3px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #4b5563;
}

.ccp-cand-sheet--app .cd-gh-repo-meta {
  margin-top: 6px;
  font-size: 0.814rem;
  color: #4b5563;
}

.ccp-cand-sheet--app .cd-gh-repo-meta .m {
  gap: 5px;
}

.ccp-cand-sheet--app .cd-gh-repo-lang-dot {
  width: 8px;
  height: 8px;
}

/* Resume */

.ccp-cand-sheet--app .cd-resume-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ccp-cand-sheet--app .cd-resume-toolbar-actions {
  display: flex;
  gap: 6px;
}

/* The design's two 36px buttons: Download and Open in New Tab (no full screen). */
.ccp-cand-sheet--app .cd-resume-toolbar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  padding: 0;
  border: 1px solid #e5e7eb;
  border-radius: 9px;
  background: #fff;
  color: #374151;
}

.ccp-cand-sheet--app .cd-resume-toolbar-btn--expand {
  display: none;
}

.ccp-cand-sheet--app .cd-resume-toolbar-btn--text .v-action-btn-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.ccp-cand-sheet--app .cd-resume-toolbar-btn--text::before {
  content: "";
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23374151' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6'/%3E%3Cpath d='M10 14 21 3'/%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
}

.ccp-cand-sheet--app .cd-resume-toolbar-btn svg {
  width: 16px;
  height: 16px;
}

/* The design's preview: a page-shaped box holding a sketch of the resume's first
   page (name and headline over grey lines) and "Tap to view" (candidate.js adds
   them; the rendered pages are not shown). */
.ccp-cand-sheet--app .cd-resume-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  aspect-ratio: 8.5 / 11;
  max-height: 420px;
  margin: 12px 16px 16px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f6f7f9;
  cursor: pointer;
}

.ccp-cand-sheet--app .cd-resume-body .cd-resume-pages {
  display: none;
}

.ccp-cand-resume-ph {
  display: contents;
}

.ccp-cand-resume-page {
  display: flex;
  flex-direction: column;
  gap: 7px;
  box-sizing: border-box;
  width: 70%;
  max-width: 250px;
  aspect-ratio: 8.5 / 11;
  padding: 16px 14px;
  overflow: hidden;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 12px 26px -14px rgba(15, 23, 42, 0.4);
  font-family: "Outfit", sans-serif;
  text-align: left;
}

.ccp-cand-resume-name,
.ccp-cand-resume-headline {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ccp-cand-resume-name {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111827;
}

.ccp-cand-resume-headline {
  margin-top: -5px;
  font-size: 0.66rem;
  font-weight: 600;
  color: #08493c;
}

.ccp-cand-resume-rule {
  display: block;
  flex-shrink: 0;
  height: 1px;
  margin: 2px 0;
  background: #e5e7eb;
}

.ccp-cand-resume-line {
  display: block;
  flex-shrink: 0;
  height: 5px;
  border-radius: 3px;
  background: #eef0f3;
}

.ccp-cand-resume-line.is-head {
  background: #bfe8c9;
}

.ccp-cand-resume-gap {
  flex-shrink: 0;
  height: 4px;
}

.ccp-cand-resume-view {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 7px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 0.95rem;
  font-weight: 650;
  color: #374151;
}

.ccp-cand-sheet--app .cd-resume-body--empty {
  aspect-ratio: auto;
  max-height: none;
  margin-top: 0;
  border: none;
  background: none;
  cursor: default;
}

.ccp-cand-sheet--app .cd-resume-pages {
  padding: 10px;
  gap: 10px;
}

.ccp-cand-sheet--app .cd-resume-pdf-canvas {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

/* Optional questions */

.ccp-cand-sheet--app .cd-screen-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* The answer sits 6px under its question, with no gap added. */
.ccp-cand-sheet--app .cd-screen-item {
  display: block;
  padding: 0;
  border: none;
  background: none;
  animation: none;
}

.ccp-cand-sheet--app .cd-screen-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.ccp-cand-sheet--app .cd-screen-num {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 22px;
  min-width: 0;
  height: 22px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(99, 234, 113, 0.16);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.792rem;
  font-weight: 700;
  color: #08493c;
}

.ccp-cand-sheet--app .cd-screen-num.is-empty {
  background: #f3f4f6;
  color: #9ca3af;
}

.ccp-cand-sheet--app .cd-screen-q {
  margin: 0;
  font-size: 0.968rem;
  font-weight: 650;
  line-height: 1.4;
  color: #1a1a2e;
}

.ccp-cand-sheet--app .cd-screen-a {
  margin: 6px 0 0 32px;
  padding: 0;
  border: none;
  background: none;
}

.ccp-cand-sheet--app :is(.cd-screen-a-text, .cd-screen-a-empty) {
  margin: 0;
  font-size: 0.968rem;
  line-height: 1.5;
  color: #374151;
}

.ccp-cand-sheet--app .cd-screen-a-empty {
  font-style: italic;
  color: #9ca3af;
}

/* ---------- AI assessment drawer ---------- */

.ccp-cand-sheet--ai .cd-assess-card {
  display: block;
  flex: none;
  height: auto;
  min-height: 0;
  overflow: visible;
  border: none;
  background: transparent;
  box-shadow: none;
  perspective: none;
  animation: none;
  font-family: "Outfit", sans-serif;
}

.ccp-cand-sheet--ai .cd-assess-card * {
  font-family: "Outfit", sans-serif;
}

/* Desktop flips a 3D card while it loads; here the steps replace the content.
   A 1ms transform change keeps desktop's transitionend bookkeeping working. */
.ccp-cand-sheet--ai .cd-flip-inner {
  height: auto;
  transform: none;
  transform-style: flat;
  transition: transform 1ms linear;
}

.ccp-cand-sheet--ai .cd-flip-inner.cd-flipped {
  transform: translateX(0.01px);
}

.ccp-cand-sheet--ai :is(.cd-flip-front, .cd-flip-back) {
  position: relative;
  inset: auto;
  height: auto;
  overflow: visible;
  border: none;
  border-radius: 0;
  background: none;
  box-shadow: none;
  transform: none;
  -webkit-backface-visibility: visible;
  backface-visibility: visible;
}

.ccp-cand-sheet--ai .cd-flip-back,
.ccp-cand-sheet--ai .cd-flip-inner.cd-flipped .cd-flip-front {
  display: none;
}

.ccp-cand-sheet--ai .cd-flip-inner.cd-flipped .cd-flip-back {
  display: flex;
}

/* The steps fill the drawer's width, 20px in, as in the design. */
.ccp-cand-sheet--ai .cd-flip-back {
  padding: 0;
}

.ccp-cand-sheet--ai #cd-ai-header {
  display: none !important;
}

.ccp-cand-sheet--ai :is(.cd-accordion, .cd-accordion-inner) {
  display: block;
  height: auto;
  max-height: none;
  overflow: visible;
}

.ccp-cand-sheet--ai .cd-ai-idle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 36px 20px;
  border: none;
  background: none;
  text-align: center;
}

.ccp-cand-sheet--ai .cd-ai-idle-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0;
  border: 1px solid rgba(99, 234, 113, 0.3);
  border-radius: 22px;
  background: linear-gradient(135deg, #ecfdf3, #f0fdf4);
  box-shadow: 0 8px 26px -8px rgba(99, 234, 113, 0.4);
  color: #4fd85f;
}

.ccp-cand-sheet--ai .cd-ai-idle-ico svg {
  width: 30px;
  height: 30px;
}

.ccp-cand-sheet--ai .cd-ai-idle-title {
  font-size: 1.455rem;
  font-weight: 700;
  color: #1a1a2e;
}

.ccp-cand-sheet--ai .cd-ai-idle-sub {
  max-width: 300px;
  margin-top: 0;
  font-size: 1.088rem;
  line-height: 1.55;
  color: #4b5563;
}

.ccp-cand-sheet--ai .cd-ai-idle .v-action-btn {
  min-height: 48px;
  margin-top: 0;
  padding: 0 24px;
  border: 1px solid rgba(99, 234, 113, 0.6);
  border-radius: 0.7rem;
  background: linear-gradient(135deg, #63ea71, #4fd85f);
  box-shadow: 0 4px 14px -4px rgba(99, 234, 113, 0.5);
  font-size: 1.426rem;
  font-weight: 700;
  color: #0a2e12;
}

.ccp-cand-sheet--ai .cd-loading-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 44px 20px;
  text-align: center;
}

.ccp-cand-sheet--ai .cd-loading-ico {
  width: auto;
  height: auto;
  border: none;
  background: none;
  box-shadow: none;
}

.ccp-cand-sheet--ai .cd-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(99, 234, 113, 0.2);
  border-top-color: #27b079;
  border-radius: 50%;
}

.ccp-cand-sheet--ai .cd-loading-title {
  font-size: 1.24rem;
  font-weight: 650;
  color: #1a1a2e;
}

/* Title and steps 12px apart, as in the design (no progress bar there) */
.ccp-cand-sheet--ai .cd-loading-sub {
  margin-top: 10px;
  font-size: 1.037rem;
  color: #6b7280;
}

.ccp-cand-sheet--ai .cd-loading-bar {
  display: none;
}

.ccp-cand-sheet--ai .cd-ai-results {
  position: relative;
  flex-direction: column;
  gap: 14px;
  height: auto;
  overflow: visible;
}

/* The design's result: 16px in, headline and summary, strengths, gaps, 14px
   apart. The match pill and "Generated" line are not in it. */
.ccp-cand-sheet--ai .cd-ai-results-scroll {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: none;
  padding: 16px;
  overflow: visible;
}

.ccp-cand-sheet--ai .cd-ai-row {
  display: none;
}

.ccp-cand-sheet--ai .cd-ai-headline {
  margin: 0;
  font-size: 1.21rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1a1a2e;
}

.ccp-cand-sheet--ai .cd-ai-summary {
  margin: 0;
  font-size: 0.99rem;
  line-height: 1.55;
  color: #374151;
}

/* The list starts 8px under its title, with no gap added. */
.ccp-cand-sheet--ai .cd-ai-group {
  display: block;
  margin: 0;
  padding: 0;
  border: none;
}

.ccp-cand-sheet--ai .cd-ai-group-title {
  margin: 0;
  font-size: 0.858rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
}

.ccp-cand-sheet--ai .cd-ai-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.ccp-cand-sheet--ai .cd-ai-item {
  display: flex;
  gap: 8px;
  padding: 0;
  border: none;
  background: none;
  font-size: 0.968rem;
  line-height: 1.45;
  color: #374151;
}

.ccp-cand-sheet--ai .cd-ai-item svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
}

.ccp-cand-sheet--ai .cd-ai-item--ok svg {
  color: #16a34a;
}

.ccp-cand-sheet--ai .cd-ai-item--warn svg {
  color: #d97706;
}

/* Re-assess stays pinned to the bottom of the drawer */
.ccp-cand-sheet--ai .cd-ai-footer {
  position: sticky;
  bottom: 0;
  z-index: 3;
  margin: 6px -12px -20px;
  padding: 12px 16px calc(16px + var(--ccp-safe-b));
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
}

@media (min-width: 640px) {
  .ccp-cand-sheet--ai .cd-ai-footer {
    margin: 2px -20px -24px;
    padding-left: 20px;
    padding-right: 20px;
  }
}

.ccp-cand-sheet--ai .cd-ai-footer .v-action-btn {
  width: 100%;
  min-height: 50px;
  gap: 8px;
  border: none;
  border-radius: 0.8rem;
  background: #171717;
  box-shadow: none;
  font-size: 1.24rem;
  font-weight: 600;
  color: #fff;
}

.ccp-cand-sheet--ai .cd-ai-footer .v-action-btn svg {
  width: 16px;
  height: 16px;
  color: #fff;
}

/* Pro gate over a blurred result */
.ccp-cand-sheet--ai .cd-ai-locked-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  align-items: flex-start;
  justify-content: center;
  padding: 12px 0 0;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(246, 247, 249, 0.35), rgba(246, 247, 249, 0.92) 60%);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.ccp-cand-sheet--ai .cd-ai-locked-overlay-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 360px;
  padding: 24px 20px 18px;
  border: none;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(99, 234, 113, 0.16), rgba(99, 234, 113, 0) 140px), #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 12px 32px -18px rgba(15, 23, 42, 0.35);
  text-align: center;
}

.ccp-cand-sheet--ai .cd-ai-locked-overlay-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 16px;
  background: linear-gradient(135deg, #63ea71, #4fd85f);
  box-shadow: 0 10px 24px -10px rgba(39, 176, 121, 0.7);
  color: #000;
}

.ccp-cand-sheet--ai .cd-ai-locked-overlay-ico svg {
  width: 26px;
  height: 26px;
}

.ccp-cand-sheet--ai .cd-ai-locked-overlay-title {
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111827;
}

.ccp-cand-sheet--ai .cd-ai-locked-overlay-sub {
  font-size: 1rem;
  line-height: 1.5;
  color: #4b5563;
}

.ccp-cand-sheet--ai .cd-ai-locked-overlay .v-action-btn {
  width: 100%;
  min-height: 50px;
  margin-top: 6px;
  border: none;
  border-radius: 0.85rem;
  background: #0a0f1a;
  font-size: 1.24rem;
  font-weight: 700;
  color: #fff;
}

/* A locked candidate: the Pro gate alone, without Assess, Re-assess or a
   blurred result (desktop sets these displays inline). */
.ccp-cand-sheet--locked :is(#cd-ai-idle, .cd-ai-results-scroll, .cd-ai-footer, .cd-flip-back) {
  display: none !important;
}

.ccp-cand-sheet--locked :is(.cd-flip-front, #cd-ai-results) {
  display: block !important;
}

/* Locked: the design's Pro card (candidate.js) stands in for desktop's gate. */
.ccp-cand-sheet--locked .cd-ai-locked-overlay {
  display: none !important;
}

.ccp-cand-sheet--ai .ccp-cand-pro {
  display: none;
}

.ccp-cand-sheet--locked .ccp-cand-pro {
  display: block;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.ccp-cand-sheet--locked .ccp-cand-slot {
  display: none;
}

.ccp-cand-pro-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 20px 18px;
  background: linear-gradient(180deg, rgba(99, 234, 113, 0.16), rgba(99, 234, 113, 0));
  text-align: center;
}

.ccp-cand-pro-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #63ea71, #4fd85f);
  box-shadow: 0 10px 24px -10px rgba(39, 176, 121, 0.7);
}

.ccp-cand-pro-pill {
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: #0a0f1a;
  color: #63ea71;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.886rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.ccp-cand-pro-title {
  font-size: 1.455rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111827;
}

.ccp-cand-pro-sub {
  font-size: 1.113rem;
  line-height: 1.5;
  color: #4b5563;
}

.ccp-cand-pro-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 4px 20px 18px;
}

.ccp-cand-pro-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.138rem;
  color: #1a1a2e;
}

.ccp-cand-pro-line svg {
  flex-shrink: 0;
}

.ccp-cand-pro-btn {
  width: 100%;
  min-height: 50px;
  margin-top: 8px;
  border: none;
  border-radius: 0.85rem;
  background: #0a0f1a;
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 1.426rem;
  font-weight: 700;
  cursor: pointer;
}

/* ---------- Team notes and chat (threads) ---------- */

.ccp-cand-thread .v-bs-body {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.ccp-cand-thread .v-bs-body > .ccp-sheet-head {
  flex: 0 0 auto;
  position: static;
}

.ccp-cand-thread .v-bs-body > .ccp-sheet-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  padding: 0;
}

.ccp-cand-slot--thread {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
}

.ccp-cand-slot--thread > .cd-sb-face {
  position: relative;
  inset: auto;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
  -webkit-backface-visibility: visible;
  backface-visibility: visible;
  pointer-events: auto;
  font-family: "Outfit", sans-serif;
}

.ccp-cand-slot--thread .cd-chat-header {
  display: none;
}

.ccp-cand-slot--thread .cd-chat-body {
  flex: 1 1 auto;
  min-height: 0;
  gap: 16px;
  padding: 16px 12px 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: transparent;
}

@media (min-width: 640px) {
  .ccp-cand-slot--thread .cd-chat-body {
    padding: 16px 20px 24px;
  }
}

/* Team notes: the list starts 24px under the header (16 + 4 + 4 in the design)
   and keeps its 4px under the last item, above the drawer's own 20px (24px). */
.ccp-cand-sheet--notes .cd-chat-body {
  padding-top: 24px;
  padding-bottom: 24px;
}

@media (min-width: 640px) {
  .ccp-cand-sheet--notes .cd-chat-body {
    padding-bottom: 28px;
  }
}

.ccp-cand-slot--thread :is(.cd-chat-composer-wrap, #cd-chat-composer-host, .msg-archived-lock) {
  flex: 0 0 auto;
}

/* Composer shared by notes and chat */
.ccp-cand-slot--thread .cd-chat-composer-wrap {
  padding: 10px 12px calc(14px + var(--ccp-safe-b));
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
}

.ccp-cand-slot--thread .cd-composer {
  gap: 0.25rem;
  padding: 0.25rem 0.375rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  background: rgba(250, 250, 250, 0.5);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.ccp-cand-slot--thread .cd-composer:focus-within {
  border-color: rgba(39, 176, 121, 0.55);
  box-shadow: 0 0 0 3px rgba(99, 234, 113, 0.16);
}

.ccp-cand-slot--thread .cd-composer-row {
  align-items: flex-end;
  gap: 0.25rem;
}

.ccp-cand-slot--thread .cd-composer-input {
  min-height: 40px;
  max-height: 140px;
  padding: 0.6rem 0.25rem;
  font-family: "Outfit", sans-serif;
  font-size: 17.6px;
  line-height: 1.4;
  color: #27272a;
}

.ccp-cand-slot--thread .cd-composer-input::placeholder {
  font-size: 1rem;
  color: #9ca3af;
}

/* The composer box already shows focus */
.ccp-cand-slot--thread .cd-composer-input:focus-visible {
  outline: none;
}

.ccp-cand-slot--thread :is(.cd-composer-attach, .cd-composer-send) {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  padding: 0;
  border-radius: 0.6rem;
}

/* The design dims Post and Send until there is something to send. */
.ccp-cand-sheet--notes .cd-composer:has(.cd-composer-input:placeholder-shown) .cd-composer-send {
  opacity: 0.5;
}

.ccp-cand-sheet--chat .cd-composer:has(.cd-composer-input:placeholder-shown):not(:has(.cd-composer-chips > *)) .cd-composer-send:not(.cd-composer-send--save) {
  opacity: 0.55;
}

.ccp-cand-slot--thread .cd-composer-attach {
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #374151;
}

.ccp-cand-slot--thread :is(.cd-composer-attach, .cd-composer-send) svg {
  width: 17px;
  height: 17px;
}

/* The clip (notes) is 17px and the plus (chat) 18px, over the small button's own size. */
.ccp-cand-slot--thread .cd-composer .cd-composer-attach .v-action-btn-icon svg {
  width: 17px;
  height: 17px;
}

.ccp-cand-sheet--chat .cd-composer .cd-composer-attach .v-action-btn-icon svg {
  width: 18px;
  height: 18px;
}

/* With no files picked, the box holds the row alone (no gap above it). */
.ccp-cand-slot--thread .cd-composer-chips:empty {
  display: none;
}

.ccp-cand-slot--thread .cd-composer-reply.is-active {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 2px 0 4px;
  padding: 6px 4px 6px 12px;
  border: none;
  border-left: 3px solid #27b079;
  border-radius: 0.75rem;
  background: rgba(99, 234, 113, 0.08);
}

.ccp-cand-slot--thread .cd-composer-reply-bar {
  display: none;
}

.ccp-cand-slot--thread .cd-composer-reply-meta {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.ccp-cand-slot--thread .cd-composer-reply-label {
  font-size: 0.814rem;
  font-weight: 650;
  color: #08493c;
}

.ccp-cand-slot--thread .cd-composer-reply-snippet {
  overflow: hidden;
  font-size: 0.88rem;
  color: #374151;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ccp-cand-slot--thread :is(.cd-composer-reply-close, .msg-edit-banner-close) {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: none;
  border-radius: 0.5rem;
  background: transparent;
  color: #374151;
}

.ccp-cand-slot--thread .cd-composer-chips:not(:empty) {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px 2px 2px;
}

.ccp-cand-slot--thread .cd-composer-chip {
  position: relative;
}

/* Team note files are names only: a pill with its remove button inside */
.ccp-cand-slot--thread .cd-composer-chip:not(.cd-composer-chip--media):not(.cd-composer-chip--file) {
  gap: 6px;
  min-height: 32px;
  padding: 0 4px 0 10px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  font-size: 0.88rem;
  color: #374151;
}

.ccp-cand-slot--thread .cd-composer-chip:not(.cd-composer-chip--media):not(.cd-composer-chip--file) > svg {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

.ccp-cand-slot--thread .cd-composer-chip:not(.cd-composer-chip--media):not(.cd-composer-chip--file) .cd-composer-chip-remove {
  position: relative;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: transparent !important;
  color: #6b7280 !important;
}

.ccp-cand-slot--thread .cd-composer-chip-remove::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
}

.ccp-cand-slot--thread .cd-composer-chip--file .cd-composer-chip-remove {
  position: relative;
}

/* A photo or video chip rounds its thumbnail instead of clipping its content,
   so the remove button's 44px hit area isn't cut at the chip's edge; at 24px
   (as in Messages) the hit area stops at the next chip, 8px on. */
.ccp-cand-slot--thread .cd-composer-chip--media {
  overflow: visible;
}

.ccp-cand-slot--thread .cd-composer-chip--media .cd-composer-chip-thumb {
  border-radius: inherit;
}

.ccp-cand-slot--thread .cd-composer-chip--media .cd-composer-chip-remove {
  width: 24px;
  height: 24px;
}

/* Team notes */

.ccp-cand-sheet--notes .v-bs-sheet {
  background: #f6f7f9;
}

.ccp-cand-sheet--notes .v-bs-handle-wrap,
.ccp-cand-sheet--notes .v-bs-body > .ccp-sheet-head {
  background: #fff;
}

/* With the filter tabs, the header's 12px bottom space and rule move below them
   (the design: title row, 10px, tabs, 12px). */
.ccp-cand-sheet--notes:has(.cd-notes-toolbar) .v-bs-body > .ccp-sheet-head {
  min-height: 54px;
  padding-bottom: 10px;
  border-bottom: none;
}

.ccp-cand-sheet--notes .cd-chat-notice--internal {
  display: none;
}

.ccp-cand-sheet--notes .cd-notes-toolbar {
  flex: 0 0 auto;
  margin: 0;
  padding: 0 16px 12px;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
}

.ccp-cand-sheet--notes .cd-notes-filter {
  display: flex !important;
  width: 100%;
  gap: 0;
  padding: 3px;
  border: none;
  border-radius: 0.8rem;
  background: #e9eaee;
}

.ccp-cand-sheet--notes .cd-notes-filter-label {
  display: inline !important;
}

.ccp-cand-sheet--notes .cd-notes-filter-select {
  display: none !important;
}

.ccp-cand-sheet--notes .cd-notes-filter-opt {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  min-height: 38px;
  padding: 0 6px;
  border: none;
  border-radius: 0.6rem;
  background: transparent;
  box-shadow: none;
  font-family: "Outfit", sans-serif;
  font-size: 0.946rem;
  font-weight: 500;
  color: #4b5563;
}

.ccp-cand-sheet--notes .cd-notes-filter-opt.is-active {
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  font-weight: 700;
  color: #111827;
}

.ccp-cand-sheet--notes .cd-notes-filter-count,
.ccp-cand-sheet--notes .cd-notes-filter-opt.is-active .cd-notes-filter-count {
  min-width: 0;
  padding: 0;
  border: none;
  background: none;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.792rem;
  font-weight: 500;
  color: #6b7280;
}

.ccp-cand-sheet--notes .cd-sys-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0;
  border: none;
  background: none;
  animation: none;
}

.ccp-cand-sheet--notes .cd-sys-note-dot {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0;
  border: none;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.16);
  color: #64748b;
}

.ccp-cand-sheet--notes .cd-sys-note-dot svg {
  width: 14px;
  height: 14px;
}

.ccp-cand-sheet--notes .cd-sys-note--green .cd-sys-note-dot {
  background: rgba(34, 197, 94, 0.14);
  color: #16a34a;
}

.ccp-cand-sheet--notes .cd-sys-note--red .cd-sys-note-dot {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
}

.ccp-cand-sheet--notes .cd-sys-note--blue .cd-sys-note-dot {
  background: rgba(37, 99, 235, 0.12);
  color: #2563eb;
}

.ccp-cand-sheet--notes .cd-sys-note-body {
  flex: 1;
  min-width: 0;
  padding-top: 4px;
}

/* The date stays on the right of the line; the text wraps beside it. */
.ccp-cand-sheet--notes .cd-sys-note-line {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.ccp-cand-sheet--notes .cd-sys-note-text {
  flex: 0 1 auto;
  min-width: 0;
  font-size: 1.113rem;
  line-height: 1.4;
  color: #374151;
}

.ccp-cand-sheet--notes .cd-sys-note-text strong {
  font-weight: 650;
  color: #111827;
}

.ccp-cand-sheet--notes .cd-sys-note-date {
  flex-shrink: 0;
  font-family: "Outfit", sans-serif;
  font-size: 0.911rem;
  color: #6b7280;
  white-space: nowrap;
}

.ccp-cand-sheet--notes .cd-sys-note-extras {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
}

.ccp-cand-sheet--notes .cd-sys-note-meta {
  font-size: 1.012rem;
  line-height: 1.45;
  color: #4b5563;
}

.ccp-cand-sheet--notes .cd-sys-note-meta--quote {
  margin-top: 2px;
  padding: 8px 10px;
  border: none;
  border-radius: 10px;
  background: #f6f7f9;
  font-size: 1.063rem;
  font-style: italic;
  color: #374151;
}

.ccp-cand-sheet--notes .cd-sys-note-meta--muted {
  font-size: 0.987rem;
  color: #9ca3af;
}

.ccp-cand-sheet--notes .cd-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0;
  animation: none;
}

.ccp-cand-sheet--notes .cd-note-avatar {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: #eef0f3;
  font-family: "Outfit", sans-serif;
  font-size: 0.911rem;
  font-weight: 700;
  color: #374151;
}

/* Rows sit apart by their own margins (bubble 4px, reactions 6px, actions 4px). */
.ccp-cand-sheet--notes .cd-note-body {
  display: block;
  flex: 1;
  min-width: 0;
}

/* Author, then the date right after it */
.ccp-cand-sheet--notes .cd-note-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-start;
  gap: 2px 8px;
}

.ccp-cand-sheet--notes .cd-note-author {
  font-size: 1.139rem;
  font-weight: 650;
  color: #111827;
}

.ccp-cand-sheet--notes .cd-note-date {
  margin-left: 0;
  font-family: "Outfit", sans-serif;
  font-size: 0.911rem;
  color: #6b7280;
}

.ccp-cand-sheet--notes .cd-note-bubble {
  margin-top: 4px;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 0.25rem 0.9rem 0.9rem 0.9rem;
  background: #fff;
  box-shadow: none;
  cursor: pointer;
}

.ccp-cand-sheet--notes .cd-note-text {
  font-size: 1.164rem;
  line-height: 1.55;
  color: #374151;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.ccp-cand-sheet--notes .cd-reply-quote {
  margin: 0 0 6px;
  padding: 6px 8px;
  border-left: 3px solid #27b079;
  border-radius: 6px;
  background: #f6f7f9;
}

.ccp-cand-sheet--notes .cd-reply-quote-bar {
  display: none;
}

/* One line, as in the design: the author in bold, then the text, cut with an ellipsis. */
.ccp-cand-sheet--notes .cd-reply-quote-body {
  display: block;
  overflow: hidden;
  font-size: 0.987rem;
  line-height: normal;
  color: #4b5563;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ccp-cand-sheet--notes .cd-reply-quote-author {
  display: inline;
  font-size: inherit;
  font-weight: 700;
  color: #111827;
}

.ccp-cand-sheet--notes .cd-reply-quote-author::after {
  content: " ";
  font-weight: 400;
  white-space: pre;
}

.ccp-cand-sheet--notes .cd-reply-quote-text {
  display: inline;
  overflow: visible;
  font-size: inherit;
  color: inherit;
  white-space: inherit;
}

/* The React row under a note (candidate.js): the design's six emoji in a white pill. */
.ccp-cand-pick {
  display: flex;
  gap: 2px;
  width: max-content;
  max-width: 100%;
  margin-top: 6px;
  padding: 4px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
}

.ccp-cand-pick-btn {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  font-family: inherit;
  font-size: 1.454rem;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
}

.ccp-cand-pick-btn:focus-visible {
  outline: 2px solid #27b079;
  outline-offset: 0;
}

/* Replying: the design's chip sits above the composer box, not inside it:
   "Replying to <name>" in green, the note on one line, a plain grey X. */
.ccp-cand-sheet--notes .cd-composer,
.ccp-cand-sheet--notes .cd-composer:focus-within {
  gap: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.ccp-cand-sheet--notes .cd-composer-row {
  padding: 0.25rem 0.375rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  background: rgba(250, 250, 250, 0.5);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.ccp-cand-sheet--notes .cd-composer:focus-within .cd-composer-row {
  border-color: rgba(39, 176, 121, 0.55);
  box-shadow: 0 0 0 3px rgba(99, 234, 113, 0.16);
}

.ccp-cand-sheet--notes .cd-composer-chips:not(:empty) {
  padding: 0 2px 8px;
}

.ccp-cand-sheet--notes .cd-composer-reply.is-active {
  margin: 0 0 8px;
  padding: 4px 4px 4px 12px;
}

.ccp-cand-sheet--notes .cd-composer-reply-label {
  display: block;
}

.ccp-cand-sheet--notes .cd-composer-reply-label::before {
  display: none;
}

.ccp-cand-sheet--notes .cd-composer-reply-label strong {
  font-weight: inherit;
  color: inherit;
}

.ccp-cand-sheet--notes .cd-composer-reply-snippet {
  opacity: 1;
}

.ccp-cand-sheet--notes .cd-composer-reply-close .v-action-btn-icon svg {
  display: none;
}

.ccp-cand-sheet--notes .cd-composer-reply-close .v-action-btn-icon::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  background: #374151;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M18 6 6 18'/><path d='m6 6 12 12'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M18 6 6 18'/><path d='m6 6 12 12'/></svg>") center / contain no-repeat;
}

.ccp-cand-sheet--notes .cd-note-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.ccp-cand-sheet--notes .cd-note-attachment {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0.25rem 0.6rem;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  font-size: 0.88rem;
  color: #374151;
}

.ccp-cand-sheet--notes .cd-note-attachment svg {
  width: 13px;
  height: 13px;
}

.ccp-cand-sheet--notes .cd-note-actions {
  display: flex;
  gap: 14px;
  margin-top: 4px;
  opacity: 1;
}

/* Reactions as the design draws them: white pills (green when yours) with
   dark counts; notes 28px tall with 1.037rem emoji, chat smaller. */
.ccp-cand-sheet--notes .cd-note .cd-msg-reactions {
  gap: 4px;
  margin-top: 6px;
}

.ccp-cand-sheet--notes .cd-msg-reaction {
  gap: 4px;
  height: auto;
  min-height: 28px;
  padding: 0 8px;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-size: 1.037rem;
  color: #374151;
}

.ccp-cand-sheet--notes .cd-msg-reaction--mine {
  border-color: rgba(99, 234, 113, 0.5);
  background: rgba(99, 234, 113, 0.14);
}

.ccp-cand-sheet--notes .cd-msg-reaction-count {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.911rem;
  font-weight: 600;
  line-height: normal;
  color: #374151;
}

.ccp-cand-sheet--chat .cd-msg-reactions {
  gap: 4px;
  margin-top: 0;
}

.ccp-cand-sheet--chat .cd-msg-reaction {
  gap: 3px;
  height: auto;
  padding: 0.1rem 0.45rem;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-size: 0.792rem;
  color: #374151;
}

.ccp-cand-sheet--chat .cd-msg-reaction--mine {
  border-color: rgba(99, 234, 113, 0.45);
  background: rgba(99, 234, 113, 0.12);
}

.ccp-cand-sheet--chat .cd-msg-reaction-count {
  font-size: 0.748rem;
  font-weight: 600;
  line-height: normal;
  color: #374151;
}

.ccp-cand-sheet :is(.cd-msg-reaction-emoji) {
  font-size: inherit;
  line-height: normal;
}

/* 32px as in the design, with a 44px hit area around it */
.ccp-cand-sheet--notes .cd-note-action {
  position: relative;
  gap: 5px;
  min-height: 32px;
  padding: 0;
  border: none;
  background: transparent;
  font-family: "Outfit", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #6b7280;
}

.ccp-cand-sheet--notes .cd-note-action svg {
  width: 15px;
  height: 15px;
}

.ccp-cand-sheet--notes .cd-note-action::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: max(100%, 44px);
  height: 44px;
  transform: translate(-50%, -50%);
}

.ccp-cand-sheet--notes .cd-notes-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: auto 0;
  padding: 2rem 1rem;
  border: none;
  background: none;
  text-align: center;
}

.ccp-cand-sheet--notes .cd-notes-empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 16px;
  background: #f3f4f6;
  color: #9ca3af;
}

/* The design's info icon (22px) in every empty state */
.ccp-cand-sheet--notes .cd-notes-empty-icon svg {
  display: none;
}

.ccp-cand-sheet--notes .cd-notes-empty-icon::before {
  content: "";
  width: 22px;
  height: 22px;
  background: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4'/%3E%3Cpath d='M12 8h.01'/%3E%3C/svg%3E") center / 22px 22px no-repeat;
}

.ccp-cand-sheet--notes .cd-notes-empty-title {
  margin-top: 4px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #374151;
}

.ccp-cand-sheet--notes .cd-notes-empty-sub {
  max-width: 300px;
  font-size: 0.946rem;
  line-height: 1.5;
  color: #6b7280;
}

.ccp-cand-sheet--notes .cd-composer-send {
  border: none;
  background: linear-gradient(135deg, #63ea71, #4fd85f);
  color: #000;
}

.ccp-cand-sheet--notes .cd-mention-popover.is-open {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + 6px);
  z-index: 8;
  max-height: 46dvh;
  overflow-y: auto;
  padding: 4px;
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.ccp-cand-sheet--notes .cd-mention-opt {
  min-height: 48px;
}

/* Chat */

/* The design's header: "Conversation" and the X in a 44px row, a rule under
   it inside the sheet's 16px sides. */
.ccp-cand-sheet--chat .v-bs-body > .ccp-sheet-head {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 56px;
  margin: 0 16px;
  padding: 0 44px 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.ccp-cand-sheet--chat .ccp-sheet-title {
  font-size: 1.595rem;
  letter-spacing: -0.03em;
  color: #111827;
}

/* The conversation's X is the design's lighter one: 22px, grey, thin. */
.ccp-cand-sheet--chat .v-bs-close.v-action-btn {
  color: #6b7280;
}

.ccp-cand-sheet--chat .v-bs-close.v-action-btn .v-action-btn-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.5;
}

/* Not in the design */
.ccp-cand-sheet--chat .cd-chat-notice {
  display: none;
}

.ccp-cand-sheet--chat .cd-chat-body {
  gap: 12px;
  padding: 14px 18px;
}

.ccp-cand-sheet--chat .cd-chat-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: auto 0;
  padding: 2rem 1rem;
  text-align: center;
}

.ccp-cand-sheet--chat .cd-chat-empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 16px;
  background: #f3f4f6;
  color: #9ca3af;
}

.ccp-cand-sheet--chat .cd-chat-empty-title {
  margin-top: 4px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #374151;
}

.ccp-cand-sheet--chat .cd-chat-empty-sub {
  max-width: 300px;
  font-size: 0.946rem;
  line-height: 1.5;
  color: #6b7280;
}

.ccp-cand-sheet--chat .cd-msg {
  max-width: 85%;
  gap: 0.25rem;
  animation: none;
}

.ccp-cand-sheet--chat .cd-msg-meta {
  gap: 0.5rem;
  padding: 0 0.25rem;
}

.ccp-cand-sheet--chat .cd-msg-author {
  font-size: 0.946rem;
  font-weight: 650;
  color: #374151;
}

.ccp-cand-sheet--chat .cd-msg-date {
  font-size: 0.858rem;
  color: #6b7280;
}

.ccp-cand-sheet--chat .cd-msg-bubble {
  padding: 0.75rem 0.95rem;
  font-size: 1.1rem;
  line-height: 1.5;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  cursor: pointer;
}

.ccp-cand-sheet--chat .cd-msg--in .cd-msg-bubble {
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 0.25rem 0.8rem 0.8rem 0.8rem;
  background: #fff;
  color: #374151;
}

.ccp-cand-sheet--chat .cd-msg--out .cd-msg-bubble {
  border: 1px solid rgba(99, 234, 113, 0.5);
  border-radius: 0.8rem 0.25rem 0.8rem 0.8rem;
  background: linear-gradient(135deg, #63ea71, #4fd85f);
  font-weight: 500;
  color: #000;
}

.ccp-cand-sheet--chat .cd-msg--out .cd-msg-bubble--deleted,
.ccp-cand-sheet--chat .cd-msg--in .cd-msg-bubble--deleted {
  border: 1px dashed #d1d5db;
  background: #f9fafb;
  font-weight: 400;
  color: #6b7280;
  cursor: default;
}

.ccp-cand-sheet--chat .cd-msg-react-btn {
  display: none;
}

.ccp-cand-sheet--chat .cd-msg-attachment {
  font-size: 0.95rem;
}

.ccp-cand-sheet--chat .msg-system-pill {
  max-width: 90%;
  padding: 0.4rem 0.85rem;
  border: none;
  border-radius: 14px;
  background: #f3f4f6;
  font-size: 0.924rem;
  font-weight: 500;
  color: #4b5563;
}

.ccp-cand-sheet--chat .msg-system-date {
  padding-left: 0;
  border-left: none;
  font-family: "Outfit", sans-serif;
  font-size: 0.8rem;
  color: #6b7280;
}

.ccp-cand-sheet--chat .cd-chat-composer-wrap {
  margin: 0 16px;
  padding: 0.75rem 0 calc(20px + var(--ccp-safe-b));
  border-top: 1px solid rgba(229, 231, 235, 0.8);
  background: transparent;
}

.ccp-cand-sheet--chat .cd-composer-send {
  border: none;
  background: #171717;
  color: #fff;
}

.ccp-cand-sheet--chat .cd-attach-menu {
  min-width: 190px;
  padding: 4px;
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 0.6rem;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.ccp-cand-sheet--chat .cd-attach-menu-item {
  min-height: 44px;
  font-family: "Outfit", sans-serif;
  font-size: 1.1rem;
}

.ccp-cand-sheet--chat .msg-edit-banner {
  margin: 2px 0 4px;
}

/* The design's closed conversation: under the composer's line, a grey card with
   the icon, title and line centred, and the request as a soft green button
   (white and inactive once sent). */
.ccp-cand-sheet--chat .msg-archived-lock {
  position: relative;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  margin: 0.75rem 16px calc(16px + var(--ccp-safe-b));
  padding: 18px 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  background: #f6f7f9;
  font-family: "Outfit", sans-serif;
  text-align: center;
}

.ccp-cand-sheet--chat .msg-archived-lock::before {
  content: "";
  position: absolute;
  top: calc(-0.75rem - 1px);
  left: -17px;
  right: -17px;
  height: 1px;
  background: rgba(229, 231, 235, 0.8);
}

.ccp-cand-sheet--chat .msg-archived-lock-icon {
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: #475569;
}

.ccp-cand-sheet--chat .msg-archived-lock-icon :is(svg, svg.lucide) {
  width: 28px;
  height: 28px;
  stroke-width: 1.8;
}

.ccp-cand-sheet--chat .msg-archived-lock-body {
  display: flex;
  flex: none;
  flex-direction: column;
  gap: 8px;
}

.ccp-cand-sheet--chat .msg-archived-lock-title {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: normal;
  line-height: 1.3;
  color: #111827;
}

.ccp-cand-sheet--chat .msg-archived-lock-sub {
  margin: 0;
  font-size: 0.99rem;
  line-height: 1.5;
  color: #4b5563;
}

.ccp-cand-sheet--chat .msg-archived-lock :is(.msg-archived-lock-btn, .msg-archived-lock-sent) {
  flex: none;
  width: auto;
  min-height: 48px;
  margin: 4px 0 0;
  padding: 0 20px;
  border: 1px solid rgba(99, 234, 113, 0.35);
  border-radius: 12px;
  background: rgba(99, 234, 113, 0.15);
  box-shadow: none;
  color: #1a1a2e;
  font-family: "Outfit", sans-serif;
  font-size: 1.08rem;
  font-weight: 650;
  transform: none;
}

.ccp-cand-sheet--chat .msg-archived-lock .msg-archived-lock-sent {
  border-color: rgba(0, 0, 0, 0.12);
  background: #fff;
  color: #6b7280;
}

.ccp-cand-sheet--chat .msg-archived-lock :is(.msg-archived-lock-btn, .msg-archived-lock-sent) :is(svg, i[data-lucide], .v-action-btn-icon) {
  display: none;
}

/* ---------- Move to ---------- */

.ccp-cand-sheet--move .v-bs-body > .ccp-sheet-head {
  padding-bottom: 14px;
}

/* The sheet's own 20px (and the safe area) end it under the last stage. */
.ccp-cand-sheet--move .ccp-sheet-content {
  padding-bottom: 0;
}

.ccp-cand-stages {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ccp-cand-stage {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 60px;
  padding: 8px 16px;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  background: #fff;
  color: #1a1a2e;
  font-family: "Outfit", sans-serif;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 0.15s ease;
}

.ccp-cand-stage:active {
  transform: scale(0.99);
}

.ccp-cand-stage.is-current {
  border-color: rgba(39, 176, 121, 0.45);
  background: rgba(99, 234, 113, 0.1);
  color: #08493c;
}

.ccp-cand-stage-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
}

.ccp-cand-stage-label {
  flex: 1;
  min-width: 0;
  font-size: 1.16rem;
  font-weight: 650;
}

/* A closed job or a withdrawal: every stage greyed (the current one keeps its frame). */
.ccp-cand-stage.is-locked,
.ccp-cand-stage.is-locked.is-current {
  color: #9ca3af;
}

.ccp-cand-stage svg:last-child {
  flex-shrink: 0;
}

/* ---------- Lock notice (the design's info sheet) ---------- */

.ccp-cand-sheet--info .v-bs-sheet {
  max-width: 640px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-bottom: none;
  border-radius: 1rem 1rem 0 0;
  box-shadow: 0 -25px 60px -12px rgba(0, 0, 0, 0.18);
}

.ccp-cand-sheet--info .v-bs-handle-wrap,
.ccp-cand-sheet--info .v-bs-close {
  display: none !important;
}

.ccp-cand-sheet--info .v-bs-body {
  padding: 0;
}

.ccp-cand-sheet--info .v-bs-body > .ccp-sheet-content {
  padding: 0;
}

.ccp-cand-sheet--info .ccp-sheet-foot {
  padding: 0.875rem 1.5rem calc(1.1rem + var(--ccp-safe-b));
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.6);
}

.ccp-cand-info {
  padding: 1.85rem 1.5rem 1.5rem;
  font-family: "Outfit", sans-serif;
  text-align: center;
}

.ccp-cand-info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.1rem;
  border: 1px solid rgba(96, 165, 250, 0.32);
  border-radius: 1.1rem;
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.18), rgba(255, 255, 255, 0));
  animation:
    ccpReviewPop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 0.05s both,
    ccpReviewFade 0.3s ease 0.05s both;
}

.ccp-cand-info-title {
  margin: 0 0 0.55rem;
  font-size: 1.54rem;
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.25;
  color: #1a1a2e;
  text-wrap: pretty;
  overflow-wrap: anywhere;
}

.ccp-cand-info-sub {
  max-width: 32rem;
  margin: 0 auto;
  font-size: 1.045rem;
  line-height: 1.6;
  color: #6b7280;
  text-wrap: pretty;
}

.ccp-cand-info-btns {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.ccp-cand-info-btn {
  flex: 1;
  min-height: 50px;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0.6rem;
  background: #fff;
  color: #1a1a2e;
  font-family: "Outfit", sans-serif;
  font-size: 1.24rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
}

.ccp-cand-info-btn.is-primary {
  border-color: rgba(99, 234, 113, 0.35);
  background: rgba(99, 234, 113, 0.15);
}

/* ---------- Reject (the shared reject sheet, as the design draws it here) ---------- */

/* White sheet, grabber, no close button, no title row. */
.ccp-cand-reject .v-bs-sheet {
  max-width: 600px;
  max-height: 92dvh;
  background: #fff;
  box-shadow: 0 -12px 40px rgba(15, 23, 42, 0.2);
}

.ccp-cand-reject .v-bs-handle-wrap {
  padding: 10px 0;
}

.ccp-cand-reject .v-bs-close {
  display: none;
}

.ccp-cand-reject .v-bs-body {
  padding: 0;
}

.ccp-cand-reject .v-bs-body > .ccp-sheet-content {
  padding: 0;
}

.ccp-cand-reject .ccp-confirm {
  gap: 0;
  padding: calc(1.85rem - 6px) 1.5rem 0;
  font-family: "Outfit", sans-serif;
}

.ccp-cand-reject .ccp-confirm-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.1rem;
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: 1.1rem;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.18), rgba(239, 68, 68, 0.08));
  color: #ef4444;
}

.ccp-cand-reject .ccp-confirm-icon svg {
  width: 28px !important;
  height: 28px !important;
  stroke-width: 1.75;
}

.ccp-cand-reject:has(.ccp-reject-silent[aria-checked="true"]) .ccp-confirm-icon {
  border-color: rgba(107, 114, 128, 0.28);
  background: linear-gradient(135deg, rgba(107, 114, 128, 0.12), rgba(107, 114, 128, 0.12));
  color: #6b7280;
}

.ccp-cand-reject .ccp-confirm-title {
  margin: 0 0 0.55rem;
  font-size: 1.54rem;
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.25;
  color: #1a1a2e;
  overflow-wrap: anywhere;
}

/* The line under the title shows only for a silent reject. */
.ccp-cand-reject .ccp-confirm-body {
  max-width: 32rem;
  margin: 0 auto;
  font-size: 1.045rem;
  line-height: 1.6;
  color: #6b7280;
  overflow-wrap: anywhere;
}

.ccp-cand-reject:has(.ccp-reject-silent[aria-checked="false"]) .ccp-confirm-body {
  display: none;
}

.ccp-cand-reject .ccp-reject {
  width: calc(100% + 3rem);
  margin: 1.5rem -1.5rem 0;
  padding: 1.35rem 1.5rem;
}

.ccp-cand-reject :is(.ccp-reject-silent-title, .ccp-reject-reason) {
  color: #1a1a2e;
}

.ccp-cand-reject .ccp-reject-silent-sub {
  color: #6b7280;
}

.ccp-cand-reject .ccp-reject-label {
  color: #374151;
}

.ccp-cand-reject .ccp-reject-note {
  color: #1a1a2e;
}

.ccp-cand-reject .ccp-sheet-foot {
  padding: 0.875rem 1.5rem calc(1.1rem + 2px + var(--ccp-safe-b));
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
}

.ccp-cand-reject .ccp-btn-row {
  gap: 0.75rem;
}

.ccp-cand-reject .ccp-btn-row > .ccp-btn {
  flex: 1 1 0;
  min-height: 48px;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.6rem;
  background: rgba(0, 0, 0, 0.04);
  box-shadow: none;
  font-family: "Outfit", sans-serif;
  font-size: 1.24rem;
  font-weight: 600;
  line-height: normal;
  color: #1a1a2e;
}

.ccp-cand-reject .ccp-btn-row > [data-ccp-confirm] {
  border-color: rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.08);
  white-space: nowrap;
}

/* ---------- Public profile ---------- */

/* The design's profile sheet: photo, name and links, then white cards. */
.ccp-cand-sheet--profile .v-bs-body {
  padding-bottom: 0;
}

.ccp-cand-sheet--profile .v-bs-body > .ccp-sheet-content {
  padding: 0 16px 12px;
}

.ccp-pf {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: "Outfit", sans-serif;
  color: #111827;
}

.ccp-pf p {
  margin: 0;
}

.ccp-pf-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
  text-align: center;
}

.ccp-pf-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  overflow: hidden;
  border-radius: 26px;
  box-shadow: 0 14px 28px -14px rgba(15, 23, 42, 0.5);
  font-family: "JetBrains Mono", monospace;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
}

.ccp-pf .ccp-pf-name {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111827;
}

.ccp-pf-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.ccp-pf-social {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 999px;
  background: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a2e;
  text-decoration: none;
}

.ccp-pf-social svg {
  flex: none;
}

.ccp-pf-card {
  padding: 16px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.ccp-pf .ccp-pf-title {
  font-size: 1.12rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: #111827;
}

.ccp-pf .ccp-pf-about {
  margin-top: 8px;
  font-size: 1rem;
  line-height: 1.6;
  color: #374151;
  white-space: pre-wrap;
}

.ccp-pf .ccp-pf-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
}

.ccp-pf .ccp-pf-label--gap {
  margin-top: 16px;
}

.ccp-pf-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.ccp-pf-chips--gap12 {
  margin-top: 12px;
}

.ccp-pf-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.3rem 0.7rem;
  border: none;
  border-radius: 999px;
  background: #f3f4f6;
  font-family: "Outfit", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: normal;
  color: #374151;
}

.ccp-pf-chip--more {
  position: relative;
  background: rgba(99, 234, 113, 0.16);
  color: #08493c;
  cursor: pointer;
  touch-action: manipulation;
}

.ccp-pf-chip--line {
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
}

.ccp-pf-token-dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
}

.ccp-pf .ccp-pf-loc {
  margin-top: 6px;
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
}

.ccp-pf-projects {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.ccp-pf-project {
  padding: 12px 14px;
  border-radius: 14px;
  background: #f6f7f9;
}

.ccp-pf .ccp-pf-project-name {
  font-size: 1.04rem;
  font-weight: 700;
  color: #111827;
}

.ccp-pf .ccp-pf-project-sub {
  margin-top: 2px;
  font-size: 0.9rem;
  color: #4b5563;
}

.ccp-pf .ccp-pf-project-desc {
  display: -webkit-box;
  margin-top: 6px;
  overflow: hidden;
  font-size: 0.93rem;
  line-height: 1.5;
  color: #374151;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.ccp-pf .ccp-pf-mono {
  margin-top: 4px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.88rem;
  color: #4b5563;
}

.ccp-pf .ccp-pf-mono--flat {
  margin-top: 0;
}

.ccp-pf-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.ccp-pf-stats {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.ccp-pf-stat {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f6f7f9;
}

.ccp-pf .ccp-pf-stat-value {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
}

.ccp-pf .ccp-pf-stat-label {
  margin-top: 2px;
  font-size: 0.8rem;
  color: #6b7280;
}

.ccp-pf-tl {
  display: flex;
  flex-direction: column;
  margin-top: 14px;
}

.ccp-pf-tl-item {
  position: relative;
  padding: 0 0 18px 24px;
}

.ccp-pf-tl-line {
  position: absolute;
  left: 4px;
  top: 18px;
  bottom: 0;
  width: 2px;
  background: #eef0f3;
}

.ccp-pf-tl-item.is-last .ccp-pf-tl-line {
  opacity: 0;
}

.ccp-pf-tl-dot {
  position: absolute;
  left: 0;
  top: 5px;
  box-sizing: border-box;
  width: 10px;
  height: 10px;
  border: 2.5px solid #27b079;
  border-radius: 50%;
  background: #fff;
}

.ccp-pf-tl-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.ccp-pf .ccp-pf-tl-title {
  min-width: 0;
  font-size: 1.04rem;
  font-weight: 700;
  color: #111827;
}

.ccp-pf .ccp-pf-tl-period {
  flex-shrink: 0;
  font-size: 0.82rem;
  color: #6b7280;
  white-space: nowrap;
}

.ccp-pf .ccp-pf-tl-sub {
  margin-top: 2px;
  font-size: 0.92rem;
  color: #4b5563;
}

.ccp-pf .ccp-pf-tl-desc {
  margin-top: 6px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #374151;
}

.ccp-pf-certs {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
}

.ccp-pf-cert {
  padding: 10px 0;
  border-bottom: 1px solid #f1f2f4;
}

.ccp-pf .ccp-pf-cert-name {
  font-size: 1rem;
  font-weight: 650;
  color: #111827;
}

.ccp-pf .ccp-pf-cert-sub {
  margin-top: 2px;
  font-size: 0.9rem;
  color: #4b5563;
}

.ccp-pf-resume {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f6f7f9;
}

.ccp-pf-resume svg {
  flex-shrink: 0;
}

.ccp-pf-resume-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  font-size: 0.98rem;
  font-weight: 600;
  color: #111827;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ccp-pf-resume-btn {
  flex-shrink: 0;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  background: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 0.95rem;
  font-weight: 650;
  color: #111827;
  cursor: pointer;
  touch-action: manipulation;
}

.ccp-pf :is(.ccp-pf-social, .ccp-pf-chip--more, .ccp-pf-resume-btn, .ccp-pf-chips[tabindex]):focus-visible {
  outline: 2px solid var(--ccp-active);
  outline-offset: 2px;
}

.ccp-pf .ccp-pf-chips[tabindex]:focus:not(:focus-visible) {
  outline: none;
}

/* Message stays pinned at the bottom of the profile, above the sections'
   empty states (desktop raises those to z-index 2). */
.ccp-cand-sheet--profile .ccp-sheet-foot {
  z-index: 3;
  padding: 16px 16px calc(20px + var(--ccp-safe-b));
  border-top: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 22px);
}

.ccp-cand-sheet--profile .ccp-cand-profile-msg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 54px;
  border: none;
  border-radius: 16px;
  background: linear-gradient(135deg, #63ea71, #4fd85f);
  box-shadow: 0 10px 22px -12px rgba(39, 176, 121, 0.8);
  font-family: "Outfit", sans-serif;
  font-size: 1.127rem;
  font-weight: 700;
  color: #000;
  cursor: pointer;
  touch-action: manipulation;
}

.ccp-cand-sheet--profile .ccp-cand-profile-msg:active {
  transform: scale(0.98);
}

/* Desktop's message menus (reply, edit, copy, delete, reactions) at touch size */
body[data-phone-screen="candidate"] :is(#msg-ctx-menu, #msg-reactors-menu) .msg-ctx-item {
  min-height: 44px;
  font-size: 0.95rem;
}

body[data-phone-screen="candidate"] :is(#msg-react-bar, #msg-react-pop) .msg-react-emoji {
  width: 44px;
  height: 44px;
  font-size: 1.3rem;
}

body[data-phone-screen="candidate"] :is(#msg-ctx-menu, #msg-reactors-menu) .msg-ctx-item:focus-visible,
body[data-phone-screen="candidate"] :is(#msg-react-bar, #msg-react-pop) .msg-react-emoji:focus-visible {
  outline: 2px solid var(--ccp-active);
  outline-offset: 1px;
}

/* The star that flies to Move to after favouriting */

.ccp-cand-fly {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1250;
  width: 36px;
  height: 36px;
  pointer-events: none;
  filter: drop-shadow(0 6px 10px rgba(22, 163, 74, 0.45));
}

.ccp-cand-fly svg {
  display: block;
}

/* ---------- Viewers: the design's resume viewer and media viewer ---------- */

/* candidate.js adds .ccp-viewer (and the bars) while this screen shows a viewer. */
body[data-phone-screen="candidate"] .cd-resume-overlay.ccp-rs {
  background: #1c1f24;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

body[data-phone-screen="candidate"] .cd-resume-overlay.ccp-rs.is-open {
  animation: ccpCandViewerIn 0.34s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes ccpCandViewerIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.ccp-rs-head,
.ccp-md-head {
  position: relative;
  z-index: 2;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  min-height: calc(64px + env(safe-area-inset-top, 0px));
  padding: calc(8px + env(safe-area-inset-top, 0px)) 12px 8px 56px;
  color: #fff;
  font-family: "Outfit", sans-serif;
}

.ccp-rs-head {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ccp-rs-title {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.ccp-rs-file,
.ccp-md-title {
  overflow: hidden;
  font-size: 1.08rem;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ccp-md-title {
  flex: 1;
  min-width: 0;
}

.ccp-rs-meta {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.62);
}

.ccp-rs-btn {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: none;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  touch-action: manipulation;
}

.ccp-rs-btn:active {
  background: rgba(255, 255, 255, 0.2);
}

.ccp-md-count {
  flex-shrink: 0;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.9rem;
  font-weight: 700;
}

/* Desktop's close, as the design's X at the start of the bar. */
body[data-phone-screen="candidate"] .cd-resume-overlay.ccp-rs .cd-resume-overlay-close {
  top: calc(8px + env(safe-area-inset-top, 0px));
  right: auto;
  left: 4px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

body[data-phone-screen="candidate"] .cd-resume-overlay.ccp-rs .cd-resume-overlay-close::before,
body[data-phone-screen="candidate"] .cd-resume-overlay.ccp-rs .cd-resume-overlay-close::after {
  width: 18px;
  height: 2.4px;
}

body[data-phone-screen="candidate"] .cd-resume-overlay.ccp-rs .cd-resume-overlay-body {
  padding: 18px 12px calc(40px + env(safe-area-inset-bottom, 0px));
}

body[data-phone-screen="candidate"] .cd-resume-overlay.ccp-rs .cd-resume-overlay-pages {
  max-width: 620px;
  gap: 12px;
  margin: 0 auto;
}

body[data-phone-screen="candidate"] .cd-resume-overlay.ccp-rs :is(.cd-resume-overlay-canvas, .cd-resume-overlay-frame) {
  border-radius: 4px;
  box-shadow: 0 24px 50px -16px rgba(0, 0, 0, 0.65);
}

/* Media: bar, the item on near-black, thumbnails under it. */
body[data-phone-screen="candidate"] .fpp-lightbox.ccp-md {
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  font-family: "Outfit", sans-serif;
}

body[data-phone-screen="candidate"] .fpp-lightbox.ccp-md .fpp-lightbox-backdrop {
  background: #0b0d10;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

body[data-phone-screen="candidate"] .fpp-lightbox.ccp-md .fpp-lightbox-stage {
  flex: 1 1 auto;
  min-height: 0;
  max-width: none;
  max-height: none;
  padding: 8px;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}

body[data-phone-screen="candidate"] .fpp-lightbox.ccp-md :is(.fpp-lightbox-image, .fpp-lightbox-video) {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: none;
}

body[data-phone-screen="candidate"] .fpp-lightbox.ccp-md .fpp-lightbox-video {
  background: #000;
}

body[data-phone-screen="candidate"] .fpp-lightbox.ccp-md .v-action-btn.fpp-lightbox-close {
  top: calc(8px + env(safe-area-inset-top, 0px));
  right: auto;
  left: 4px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 14px;
  background: transparent;
  transform: none;
}

body[data-phone-screen="candidate"] .fpp-lightbox.ccp-md .v-action-btn.fpp-lightbox-close :is(svg.lucide, i[data-lucide]) {
  width: 26px;
  height: 26px;
  stroke-width: 2.2;
}

/* Previous and Next sit on the item's middle (the bar is 64px, the thumbnails 76px). */
body[data-phone-screen="candidate"] .fpp-lightbox.ccp-md .v-action-btn.fpp-lightbox-nav {
  top: calc(50% - 6px);
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255, 255, 255, 0.14);
}

body[data-phone-screen="candidate"] .fpp-lightbox.ccp-md .v-action-btn.fpp-lightbox-nav:active {
  background: rgba(255, 255, 255, 0.24);
}

body[data-phone-screen="candidate"] .fpp-lightbox.ccp-md .fpp-lightbox-nav--prev {
  left: 10px;
}

body[data-phone-screen="candidate"] .fpp-lightbox.ccp-md .fpp-lightbox-nav--next {
  right: 10px;
}

body[data-phone-screen="candidate"] .fpp-lightbox.ccp-md .v-action-btn.fpp-lightbox-nav :is(svg.lucide, i[data-lucide]) {
  width: 24px;
  height: 24px;
  stroke-width: 2.2;
}

body[data-phone-screen="candidate"] .fpp-lightbox.ccp-md .v-action-btn.fpp-lightbox-nav[data-ccp-hid],
body[data-phone-screen="candidate"] .fpp-lightbox.ccp-md .fpp-lightbox-counter {
  display: none;
}

.ccp-md-thumbs {
  position: relative;
  z-index: 2;
  display: flex;
  flex-shrink: 0;
  gap: 8px;
  padding: 12px 14px calc(18px + env(safe-area-inset-bottom, 0px));
  overflow-x: auto;
  scrollbar-width: none;
}

.ccp-md-thumbs::-webkit-scrollbar {
  display: none;
}

.ccp-md-thumb {
  position: relative;
  flex-shrink: 0;
  width: 72px;
  height: 46px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 9px;
  background: #1f2328;
  opacity: 0.6;
  cursor: pointer;
  touch-action: manipulation;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.ccp-md-thumb.is-current {
  border-color: #63ea71;
  opacity: 1;
}

.ccp-md-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ccp-md-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  .ccp-cand .ccp-cand-back,
  .ccp-cand .ccp-cand-app,
  .ccp-cand .ccp-cand-card,
  .ccp-cand .ccp-cand-move,
  .ccp-cand .ccp-cand-top-name {
    transition: none;
  }

  .ccp-cand .ccp-cand-back:active,
  .ccp-cand .ccp-cand-app:active,
  .ccp-cand .ccp-cand-card:active,
  .ccp-cand .ccp-cand-move:active,
  .ccp-cand .ccp-cand-move.is-pulse {
    transform: none;
  }

  .ccp-cand .ccp-cand-star.is-pop svg,
  .ccp-cand-info-icon,
  body[data-phone-screen="candidate"] .cd-resume-overlay.ccp-rs.is-open {
    animation: none;
  }

  .ccp-md-thumb,
  .ccp-cand-sheet--app .cd-proj-thumb {
    transition: none;
  }

  .ccp-cand-sheet .v-bs-sheet,
  .ccp-cand-sheet .ccp-cand-stage {
    transition: none;
  }

  .ccp-cand-sheet .ccp-cand-stage:active,
  .ccp-cand-sheet--profile .ccp-cand-profile-msg:active {
    transform: none;
  }

  .ccp-cand-sheet :is(.cd-sys-note, .cd-note, .cd-msg, .cd-proj-item, .cd-cert-item) {
    animation: none;
  }
}
