/* Explore Talents below 1024px (ExploreTalents design): phones and touch layouts up
   to 768px over the bottom bar, tablets (769px to 1023px) under the desktop navbar.
   Search, results, Saved Talents and their sheets. */

.ccp-talents .ccp-tal-sr,
.ccp-tal-sheet .ccp-tal-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-talents button,
.ccp-tal-sheet button {
  -webkit-appearance: none;
  appearance: none;
  font-family: inherit;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.ccp-talents :focus-visible,
.ccp-tal-sheet :focus-visible {
  outline: 2px solid var(--ccp-active);
  outline-offset: 2px;
}

.ccp-talents [tabindex="-1"]:focus,
.ccp-tal-sheet [tabindex="-1"]:focus {
  outline: none;
}

/* The design's page: 14px 16px on phones, 20px 24px from 640px, max 1100px wide;
   it ends 88px above the bottom of the page with the bottom bar (with the main
   container's own room for the bar) and 32px above it without one. */
.ccp-talents .ccp-tal-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px var(--ccp-gutter) 12px;
}

@media (min-width: 640px) {
  .ccp-talents .ccp-tal-page {
    padding-top: 20px;
  }
}

@media (min-width: 769px) and (max-width: 1023px) {
  .ccp-talents .ccp-tal-page {
    padding-bottom: 32px;
  }
}

/* Header */

.ccp-talents .ccp-tal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ccp-talents .ccp-tal-h1 {
  min-width: 0;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.2;
  color: var(--ccp-text);
}

.ccp-talents .ccp-tal-savedbtn {
  position: relative;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  color: #1a1a2e;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.ccp-talents .ccp-tal-savedbadge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  border: 2px solid var(--ccp-bg);
  background: var(--ccp-accent);
  color: #fff;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.682rem;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}

/* Search box (before the first search) */

.ccp-talents .ccp-tal-ask {
  min-height: max(
    380px,
    calc(100dvh - var(--ccp-nav-h) - var(--ccp-top, 0px) - 120px - var(--cc-demo-banner-h, 0px) - var(--ccp-safe-b))
  );
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 24px 0 40px;
  text-align: center;
}

.ccp-talents .ccp-tal-ask-mark {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--ccp-brand), var(--ccp-brand-2));
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px -12px rgba(39, 176, 121, 0.7);
}

.ccp-talents .ccp-tal-ask-title {
  font-size: 1.595rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.2;
  color: #111827;
}

.ccp-talents .ccp-tal-ask-sub {
  margin-top: 6px;
  font-size: 1.012rem;
  line-height: 1.45;
  color: #4b5563;
}

.ccp-talents .ccp-tal-box {
  width: 100%;
  max-width: 640px;
  text-align: left;
  padding: 10px 10px 10px 16px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 30px -12px rgba(15, 23, 42, 0.22);
}

.ccp-talents .ccp-tal-prompt {
  display: block;
  width: 100%;
  min-height: 76px;
  padding: 6px 0 0;
  border: none;
  outline: none;
  resize: none;
  background: transparent;
  font-family: "Outfit", sans-serif;
  font-size: 17.6px;
  line-height: 1.5;
  color: #1a1a2e;
}

/* The design's 17.6px for the prompt and both search fields: beats the shared
   16px phone rule for fields inside #main-container (css/company-mobile.css). */
#main-container #ccp-root .ccp-talents .ccp-tal-prompt,
#main-container #ccp-root .ccp-talents .ccp-tal-q {
  font-size: 17.6px;
}

.ccp-talents .ccp-tal-prompt::placeholder {
  color: var(--ccp-faint);
  opacity: 1;
}

.ccp-talents .ccp-tal-prompt:focus-visible {
  outline: none;
}

.ccp-talents .ccp-tal-prompt--ph {
  color: var(--ccp-faint);
}

.ccp-talents .ccp-tal-box-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.ccp-talents .ccp-tal-box-foot > span[data-fbtn] {
  display: inline-flex;
}

/* Filters button: round in the search box, square in the results bar */

.ccp-talents .ccp-tal-fbtn {
  position: relative;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  color: #1a1a2e;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.ccp-talents .ccp-tal-fbtn.is-on {
  border-color: rgba(99, 234, 113, 0.55);
  background: rgba(99, 234, 113, 0.12);
}

.ccp-talents .ccp-tal-fbtn[aria-disabled="true"] {
  opacity: 0.5;
}

.ccp-talents .ccp-tal-fbadge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  border: 2px solid #fff;
  background: var(--ccp-accent);
  color: #fff;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.638rem;
  font-weight: 700;
  line-height: 14px;
  text-align: center;
}

.ccp-talents .ccp-tal-fbtn--sq {
  width: 44px;
  height: 44px;
  border-radius: 0.85rem;
}

.ccp-talents .ccp-tal-fbtn--sq .ccp-tal-fbadge {
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  border-color: var(--ccp-bg);
  font-size: 0.682rem;
  line-height: 16px;
}

/* Search with AI, with its loading state */

.ccp-talents .ccp-tal-run {
  position: relative;
  margin-left: auto;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  width: 150px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: #0a0f1a;
  color: #fff;
  font-size: 1.054rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  transition: width 0.38s cubic-bezier(0.2, 0.9, 0.2, 1), box-shadow 0.3s ease;
}

.ccp-talents .ccp-tal-run-txt {
  transition: opacity 0.16s ease, transform 0.2s ease;
}

.ccp-talents .ccp-tal-run-load {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.22s ease 0.16s;
}

.ccp-talents .ccp-tal-run-ring {
  position: absolute;
  inset: 0;
}

.ccp-talents .ccp-tal-run-logo {
  display: block;
  width: 20px;
  height: 20px;
  transform: scale(0.4);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ccp-talents .ccp-tal-run.is-loading {
  width: 42px;
  box-shadow: 0 0 0 6px rgba(99, 234, 113, 0.14), 0 8px 22px -8px rgba(39, 176, 121, 0.7);
  cursor: progress;
}

.ccp-talents .ccp-tal-run.is-loading .ccp-tal-run-txt {
  opacity: 0;
  transform: scale(0.9);
}

.ccp-talents .ccp-tal-run.is-loading .ccp-tal-run-load {
  opacity: 1;
}

.ccp-talents .ccp-tal-run.is-loading .ccp-tal-run-ring {
  animation: ccpTalSpin 0.9s linear infinite;
}

.ccp-talents .ccp-tal-run.is-loading .ccp-tal-run-logo {
  transform: scale(1);
}

@keyframes ccpTalSpin {
  to {
    transform: rotate(360deg);
  }
}

/* Search summary */

.ccp-talents .ccp-tal-sum {
  position: relative;
  margin-top: 14px;
  padding: 14px 14px 14px 18px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  transform-origin: top center;
  transition: opacity 0.35s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.ccp-talents .is-entering .ccp-tal-sum {
  opacity: 0;
  transform: translateY(-12px) scale(0.97);
  transition: none;
}

.ccp-talents .ccp-tal-sum-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--ccp-brand), var(--ccp-accent));
}

.ccp-talents .ccp-tal-sum-label {
  font-size: 0.792rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ccp-muted);
}

.ccp-talents .ccp-tal-quote {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 6px;
}

.ccp-talents .ccp-tal-quote-mark {
  flex-shrink: 0;
  margin-top: -6px;
  font-size: 2.64rem;
  font-weight: 800;
  line-height: 1;
  color: var(--ccp-brand);
}

.ccp-talents .ccp-tal-quote-text {
  flex: 1;
  min-width: 0;
  font-size: 1.1rem;
  font-weight: 600;
  font-style: italic;
  line-height: 1.5;
  color: #111827;
  overflow-wrap: anywhere;
}

.ccp-talents .ccp-tal-sum-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.ccp-talents .ccp-tal-sum-gap {
  flex: 1;
}

.ccp-talents .ccp-tal-tool {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  color: #1a1a2e;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* New search: the design's grey reset arrow (Edit search keeps the dark pen). */
.ccp-talents .ccp-tal-tool[data-act="reset"] {
  color: #374151;
}

/* Sticky search inside the results */

.ccp-talents .ccp-tal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px calc(-1 * var(--ccp-gutter)) 0;
  padding: 10px var(--ccp-gutter);
  background: rgba(249, 249, 249, 0.98);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.ccp-talents .ccp-tal-bar > span[data-fbtn] {
  display: inline-flex;
}

.ccp-talents .ccp-tal-search input {
  border: 1px solid #e5e7eb;
  box-shadow: none;
}

.ccp-talents .ccp-tal-search input:focus,
.ccp-talents .ccp-tal-search input:focus-visible {
  outline: none;
  border-color: var(--ccp-brand);
  box-shadow: 0 0 0 3px rgba(99, 234, 113, 0.12);
}

.ccp-talents .ccp-tal-search input::-webkit-search-cancel-button,
.ccp-talents .ccp-tal-search input::-webkit-search-decoration {
  -webkit-appearance: none;
  display: none;
}

.ccp-talents .ccp-tal-search .ccp-search-icon {
  display: inline-flex;
  color: var(--ccp-muted);
}

.ccp-talents .ccp-tal-search .ccp-search-clear[hidden] {
  display: none;
}

.ccp-talents .ccp-tal-search .ccp-search-clear {
  color: #374151;
}

/* Talent rows */

.ccp-talents .ccp-tal-grid {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

@media (min-width: 640px) {
  .ccp-talents .ccp-tal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) and (max-width: 1023px) {
  .ccp-talents .ccp-tal-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.ccp-talents .ccp-tal-item {
  min-width: 0;
  transition: opacity 0.42s ease var(--d, 0ms), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0ms);
}

.ccp-talents .is-entering .ccp-tal-item {
  opacity: 0;
  transform: translateY(22px) scale(0.98);
  transition: none;
}

.ccp-talents .ccp-tal-item.is-leaving {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.ccp-talents .ccp-tal-card {
  height: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  cursor: pointer;
}

.ccp-talents .ccp-tal-open {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 0;
  border: none;
  border-radius: 14px;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

/* The design presses the whole card. */
.ccp-talents .ccp-tal-card:active {
  transform: scale(0.985);
}

.ccp-talents .ccp-tal-pfp {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  overflow: hidden;
  background: #e5e7eb;
  display: flex;
  transition: transform 0.15s ease;
}

.ccp-talents .ccp-tal-pfp .pfp-img,
.ccp-tal-sheet .pfp-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ccp-talents .avatar-initials,
.ccp-tal-sheet .avatar-initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
}

.ccp-talents .ccp-tal-initials {
  font-size: 1rem;
}

.ccp-talents .ccp-tal-txt {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.ccp-talents .ccp-tal-name {
  display: block;
  font-size: 1.155rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: #1a1a2e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ccp-talents .ccp-tal-role {
  display: block;
  margin-top: 3px;
  font-size: 0.968rem;
  line-height: 1.35;
  color: #4b5563;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Save matches Message beside it: 44px with a 20px icon. */
.ccp-talents .ccp-tal-save {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  color: var(--ccp-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ccp-talents .ccp-tal-save.is-on {
  border-color: rgba(99, 234, 113, 0.5);
  background: rgba(99, 234, 113, 0.14);
  color: var(--ccp-accent);
}

.ccp-talents .ccp-tal-msg,
.ccp-talents .ccp-tal-remove {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  color: #1a1a2e;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.ccp-talents .ccp-tal-msg.is-sent,
.ccp-talents .ccp-tal-remove {
  border-color: rgba(99, 234, 113, 0.5);
  background: rgba(99, 234, 113, 0.14);
  color: var(--ccp-active);
}

.ccp-talents .ccp-tal-remove {
  color: var(--ccp-accent);
}

.ccp-talents .ccp-tal-msg.is-has {
  border-color: rgba(39, 176, 121, 0.45);
  color: var(--ccp-deep);
}

.ccp-talents .ccp-tal-msg.is-closed {
  background: #f9fafb;
  color: var(--ccp-faint);
}

/* Start a conversation without the messaging team permission: drawn locked */
.ccp-talents .ccp-tal-msg[aria-disabled="true"] {
  border-color: rgba(0, 0, 0, 0.08);
  background: #f3f4f6;
  color: var(--ccp-faint);
  cursor: default;
}

/* No results */

.ccp-talents .ccp-tal-none {
  margin-top: 14px;
  padding: 2.5rem 1rem;
  text-align: center;
  border-radius: 18px;
  background: #fff;
}

.ccp-talents .ccp-tal-none-title {
  font-size: 1.155rem;
  font-weight: 700;
  color: #374151;
}

.ccp-talents .ccp-tal-none-sub {
  margin-top: 4px;
  font-size: 0.968rem;
  color: var(--ccp-muted);
}

.ccp-talents .ccp-tal-none-btn {
  margin-top: 12px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  color: var(--ccp-text);
  font-size: 1.24rem;
  font-weight: 650;
  cursor: pointer;
}

/* Saved Talents page */

.ccp-talents .ccp-tal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  padding: 0 18px 0 12px;
  margin: 12px 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(39, 176, 121, 0.35);
  background: rgba(99, 234, 113, 0.16);
  color: var(--ccp-deep);
  font-size: 1.24rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

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

.ccp-talents .ccp-tal-saved-h1 {
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ccp-talents .ccp-tal-total {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--ccp-brand);
  color: #000;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.836rem;
  font-weight: 700;
  letter-spacing: 0;
}

/* The design's search inputs: room for the clear X in the results, none on Saved. */
.ccp-talents .ccp-tal-search input {
  padding: 0 40px 0 42px;
}

.ccp-talents .ccp-tal-ssearch {
  margin-top: 12px;
}

.ccp-talents .ccp-tal-ssearch input {
  padding-right: 14px;
}

.ccp-talents .ccp-tal-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 14px;
  padding: 48px 20px 40px;
  text-align: center;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.ccp-talents .ccp-tal-empty-art {
  position: relative;
  width: 150px;
  height: 112px;
}

.ccp-talents .ccp-tal-empty-card {
  position: absolute;
  top: 22px;
  width: 64px;
  height: 80px;
  border-radius: 16px;
  background: #f3f4f6;
  box-shadow: 0 8px 18px -12px rgba(15, 23, 42, 0.35);
}

.ccp-talents .ccp-tal-empty-card--l {
  left: 6px;
  transform: rotate(-9deg);
}

.ccp-talents .ccp-tal-empty-card--r {
  right: 6px;
  transform: rotate(9deg);
}

.ccp-talents .ccp-tal-empty-card--c {
  left: 39px;
  top: 6px;
  width: 72px;
  height: 92px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 18px 32px -16px rgba(39, 176, 121, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ccp-talents .ccp-tal-empty-title {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #111827;
}

.ccp-talents .ccp-tal-empty-sub {
  margin-top: -10px;
  max-width: 22rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #4b5563;
}

.ccp-talents .ccp-tal-empty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 300px;
  min-height: 52px;
  margin-top: 4px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--ccp-brand), var(--ccp-brand-2));
  color: #000;
  font-size: 1.127rem;
  font-weight: 700;
  cursor: pointer;
}

.ccp-talents .ccp-tal-empty-btn:active {
  transform: scale(0.98);
}

/* Locked while the company is under review (desktop's banner and dimmed card) */

.ccp-talents .ccp-tal-review {
  margin: 0 0 16px;
}

.ccp-talents .ccp-tal-locked-dim {
  pointer-events: none;
  opacity: 0.5;
  filter: grayscale(0.35);
  cursor: not-allowed;
  user-select: none;
}

.ccp-talents .ccp-tal-ask--locked {
  min-height: 0;
  padding-top: 32px;
}

.ccp-talents .ccp-tal-locked .ccp-tal-run {
  display: inline-flex;
}

/* ---------- Sheets ---------- */

/* Keep long content at its natural height so the sticky footer stays at the bottom. */
.ccp-tal-sheet .v-bs-body > .ccp-sheet-content {
  flex: 0 0 auto;
}

/* The design's sheet head: under the grabber, a 44px row 20px from the top with the
   title and a plain close button (20px X) 6px from the edge; content starts at 74px.
   Sheets without a head in the design (request sent, weekly limit) have no X. */
.ccp-tal-sheet .ccp-tal-shead {
  display: flex;
  align-items: center;
  min-height: 44px;
  margin: -2px 0 10px;
  padding-right: 44px;
}

.ccp-tal-sheet .v-bs-close.v-action-btn {
  top: 20px;
  right: 6px;
  border: none;
  background: transparent;
  box-shadow: none;
  color: #374151;
}

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

.ccp-tal-tsheet.is-sent .v-bs-close.v-action-btn,
.ccp-tal-tsheet.is-limit .v-bs-close.v-action-btn {
  display: none;
}

.ccp-tal-sheet .ccp-tal-stitle {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 1.43rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--ccp-text);
}

.ccp-tal-sheet .ccp-tal-ssub {
  margin-top: 4px;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--ccp-muted);
}

.ccp-tal-sheet .ccp-sheet-foot {
  padding: 10px 16px calc(16px + var(--ccp-safe-b));
}

.ccp-tal-sheet .ccp-tal-foot {
  display: flex;
  gap: 10px;
}

/* As in the design, the main button never cuts its label: it takes the room its one
   line needs ("Start a Conversation", "Message Request Sent") and the other button,
   whose label may wrap, takes what is left. */
.ccp-tal-sheet .ccp-tal-fsec,
.ccp-tal-sheet .ccp-tal-fpri {
  min-height: 50px;
  padding: 0 6px;
  border-radius: 0.85rem;
  font-size: 1.24rem;
  cursor: pointer;
}

.ccp-tal-sheet .ccp-tal-fsec {
  flex: 1 1 0;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  color: #1a1a2e;
  font-weight: 650;
}

.ccp-tal-sheet .ccp-tal-fpri {
  flex: 1.4 1 0;
  border: none;
  background: linear-gradient(135deg, var(--ccp-brand), var(--ccp-brand-2));
  color: #000;
  font-weight: 700;
  white-space: nowrap;
}

/* Request to Reopen (closed conversations): the secondary button takes only the room it needs */
.ccp-tal-sheet .ccp-tal-foot--wide .ccp-tal-fsec {
  flex: 0 0 auto;
  min-width: 96px;
  padding: 0 18px;
}

/* The app's own closed-conversation footer (no design for it) still cuts a long
   "Request to Reopen" with "..." on the narrowest phones rather than overflow. */
.ccp-tal-sheet .ccp-tal-foot--wide .ccp-tal-fpri {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ccp-tal-sheet .ccp-tal-fpri[aria-disabled="true"] {
  background: #e5e7eb;
  color: var(--ccp-faint);
  cursor: default;
}

.ccp-tal-sheet .ccp-tal-fpri--soft {
  background: rgba(99, 234, 113, 0.15);
  color: #1a1a2e;
}

.ccp-tal-sheet .ccp-tal-fpri.is-sent {
  background: #e5e7eb;
  color: #6b7280;
}

.ccp-tal-sheet .ccp-tal-fpri.is-closed {
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #f3f4f6;
  color: #4b5563;
  font-weight: 650;
}

.ccp-tal-sheet .ccp-tal-fbm {
  flex-shrink: 0;
  width: 54px;
  min-height: 50px;
  padding: 0;
  border-radius: 0.85rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  color: #1a1a2e;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.ccp-tal-sheet .ccp-tal-fbm.is-on {
  border-color: rgba(39, 176, 121, 0.45);
  background: rgba(99, 234, 113, 0.14);
  color: var(--ccp-active);
}

.ccp-tal-sheet .ccp-tal-fbm:active {
  transform: scale(0.95);
}

/* Profile */

.ccp-tal-sheet .ccp-tal-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 4px 0 14px;
}

.ccp-tal-sheet .ccp-tal-hero-pfp {
  width: 88px;
  height: 88px;
  border-radius: 24px;
  overflow: hidden;
  background: #e5e7eb;
  display: flex;
  font-size: 1.6rem;
}

.ccp-tal-sheet .ccp-tal-hero-name {
  margin-top: 4px;
  font-size: 1.485rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.ccp-tal-sheet .ccp-tal-hero-role {
  font-size: 1.045rem;
  line-height: 1.4;
  color: #374151;
}

.ccp-tal-sheet .ccp-tal-hero-meta {
  font-size: 0.924rem;
  color: var(--ccp-muted);
}

.ccp-tal-sheet .ccp-tal-bio {
  font-size: 1.045rem;
  line-height: 1.6;
  color: #374151;
  text-wrap: pretty;
}

.ccp-tal-sheet .ccp-tal-slabel {
  margin: 16px 0 0;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ccp-muted);
}

.ccp-tal-sheet .ccp-tal-skills {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ccp-tal-sheet .ccp-tal-skill {
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151;
  font-size: 0.902rem;
  font-weight: 600;
}

.ccp-tal-sheet .ccp-tal-hist {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.ccp-tal-sheet .ccp-tal-hist-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f2f4;
}

.ccp-tal-sheet .ccp-tal-hist-main {
  min-width: 0;
}

.ccp-tal-sheet .ccp-tal-hist-title {
  display: block;
  font-size: 1.045rem;
  font-weight: 650;
  line-height: 1.35;
}

.ccp-tal-sheet .ccp-tal-hist-co {
  display: block;
  font-size: 0.924rem;
  color: #4b5563;
}

.ccp-tal-sheet .ccp-tal-hist-period {
  flex-shrink: 0;
  max-width: 42%;
  font-size: 0.858rem;
  line-height: 1.35;
  color: var(--ccp-muted);
  text-align: right;
}

.ccp-tal-sheet .ccp-tal-edu {
  margin-top: 6px;
  font-size: 0.99rem;
  color: #374151;
}

/* The profile shows the education without a label. */
.ccp-tal-tsheet.is-profile .ccp-tal-edu {
  margin-top: 12px;
  font-size: 0.968rem;
}

.ccp-tal-sheet .ccp-tal-snone {
  margin-top: 6px;
  font-size: 0.968rem;
  color: var(--ccp-muted);
}

/* Message request wizard */

.ccp-tal-sheet .ccp-tal-steps {
  display: flex;
  gap: 6px;
}

.ccp-tal-sheet .ccp-tal-steps span {
  flex: 1 1 0;
  height: 5px;
  border-radius: 999px;
  background: #e5e7eb;
  transition: background 0.3s ease;
}

.ccp-tal-sheet .ccp-tal-steps span.is-done {
  background: var(--ccp-accent);
}

.ccp-tal-sheet .ccp-tal-stepbody {
  margin-top: 28px;
}

.ccp-tal-sheet .ccp-tal-radios {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ccp-tal-sheet .ccp-tal-radios--jobs {
  gap: 8px;
}

.ccp-tal-sheet .ccp-tal-radio {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 14px;
  border-radius: 14px;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  color: #111827;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.ccp-tal-sheet .ccp-tal-radio.is-on {
  border-color: rgba(39, 176, 121, 0.6);
  background: rgba(99, 234, 113, 0.08);
}

.ccp-tal-sheet .ccp-tal-radios--jobs .ccp-tal-radio {
  flex-direction: row-reverse;
  min-height: 58px;
  padding: 10px 14px;
}

.ccp-tal-sheet .ccp-tal-radio-dot {
  position: relative;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #d1d5db;
}

.ccp-tal-sheet .ccp-tal-radio.is-on .ccp-tal-radio-dot {
  border-color: var(--ccp-accent);
}

.ccp-tal-sheet .ccp-tal-radio.is-on .ccp-tal-radio-dot::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ccp-accent);
}

.ccp-tal-sheet .ccp-tal-radio-text {
  flex: 1;
  min-width: 0;
}

.ccp-tal-sheet .ccp-tal-radio-title {
  display: block;
  font-size: 1.078rem;
  font-weight: 700;
  line-height: 1.3;
}

.ccp-tal-sheet .ccp-tal-radios--jobs .ccp-tal-radio-title {
  font-size: 1.045rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ccp-tal-sheet .ccp-tal-nojobs {
  padding: 20px 14px;
  border-radius: 14px;
  border: 1.5px dashed rgba(0, 0, 0, 0.12);
  text-align: center;
  font-size: 1rem;
  color: var(--ccp-muted);
}

.ccp-tal-sheet .ccp-tal-note {
  display: block;
  width: 100%;
  margin-top: 0;
  padding: 12px 14px;
  border-radius: 0.85rem;
  border: 1px solid #e5e7eb;
  background: #fafafa;
  font-family: "Outfit", sans-serif;
  font-size: 17.6px;
  line-height: 1.5;
  color: #1a1a2e;
  outline: none;
  resize: none;
}

.ccp-tal-sheet .ccp-tal-note:focus {
  border-color: var(--ccp-brand);
  background: #fff;
}

/* Weekly requests left, on the success sheet */

.ccp-tal-sheet .ccp-tal-meter,
.ccp-tal-oksheet .ccp-tal-meter {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 14px;
  background: #f8f9fa;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.ccp-tal-sheet .ccp-tal-meter-dots,
.ccp-tal-oksheet .ccp-tal-meter-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.ccp-tal-sheet .ccp-tal-meter-dots span,
.ccp-tal-oksheet .ccp-tal-meter-dots span {
  width: 26px;
  height: 8px;
  border-radius: 999px;
  background: #e5e7eb;
}

.ccp-tal-sheet .ccp-tal-meter-dots span.is-left,
.ccp-tal-oksheet .ccp-tal-meter-dots span.is-left {
  background: var(--ccp-brand);
}

.ccp-tal-sheet .ccp-tal-meter-text,
.ccp-tal-oksheet .ccp-tal-meter-text {
  font-size: 0.968rem;
  line-height: 1.4;
  color: #374151;
}

.ccp-tal-sheet .ccp-tal-meter-text strong,
.ccp-tal-oksheet .ccp-tal-meter-text strong {
  font-family: "JetBrains Mono", monospace;
  color: #111827;
}

/* Request already sent and weekly limit: hero sheets */

.ccp-tal-tsheet.is-sent .v-bs-sheet {
  background: radial-gradient(120% 360px at 50% 0%, rgba(96, 165, 250, 0.18), rgba(96, 165, 250, 0) 70%) no-repeat, #fff;
}

.ccp-tal-tsheet.is-limit .v-bs-sheet {
  background: radial-gradient(120% 360px at 50% 0%, rgba(99, 234, 113, 0.22), rgba(99, 234, 113, 0) 70%) no-repeat, #fff;
}

.ccp-tal-tsheet.is-sent .ccp-sheet-content,
.ccp-tal-tsheet.is-limit .ccp-sheet-content {
  padding-bottom: 0;
}

/* Their grabber sits 12px from the top, as in the design's hero. */
.ccp-tal-tsheet.is-sent .v-bs-handle-wrap,
.ccp-tal-tsheet.is-limit .v-bs-handle-wrap {
  padding-top: 12px;
}

.ccp-tal-sheet .ccp-tal-x {
  margin: -4px -16px 0;
  text-align: center;
}

.ccp-tal-sheet .ccp-tal-xhero {
  padding: 14px 22px 20px;
}

.ccp-tal-sheet .ccp-tal-x--limit .ccp-tal-xhero {
  padding-bottom: 22px;
}

.ccp-tal-sheet .ccp-tal-xpfp-wrap {
  position: relative;
  width: 84px;
  height: 84px;
  margin: 0 auto;
}

.ccp-tal-sheet .ccp-tal-xpfp {
  display: flex;
  width: 84px;
  height: 84px;
  border-radius: 24px;
  overflow: hidden;
  background: #e5e7eb;
  box-shadow: 0 14px 30px -14px rgba(15, 23, 42, 0.5);
  font-size: 1.5rem;
}

.ccp-tal-sheet .ccp-tal-xbadge {
  position: absolute;
  right: -8px;
  bottom: -8px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #3b82f6;
  border: 3px solid #fff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ccp-tal-sheet .ccp-tal-xpill {
  display: flex;
  width: max-content;
  max-width: 100%;
  margin: 18px auto 0;
  align-items: center;
  gap: 6px;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.858rem;
  font-weight: 700;
}

.ccp-tal-sheet .ccp-tal-xpill--blue {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #1d4ed8;
}

.ccp-tal-sheet .ccp-tal-xpill--amber {
  margin-top: 16px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: var(--ccp-amber);
}

.ccp-tal-sheet .ccp-tal-xdot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3b82f6;
}

.ccp-tal-sheet .ccp-tal-xtitle {
  margin: 12px 0 0;
  font-size: 1.595rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #111827;
  text-wrap: balance;
}

.ccp-tal-sheet .ccp-tal-xtitle--lg {
  font-size: 1.65rem;
}

.ccp-tal-sheet .ccp-tal-xdesc {
  margin: 8px auto 0;
  max-width: 30rem;
  font-size: 1.045rem;
  line-height: 1.6;
  color: #4b5563;
  text-wrap: pretty;
}

.ccp-tal-sheet .ccp-tal-xsep {
  width: 100%;
  height: 1px;
  margin: 18px 0 0;
  background: rgba(0, 0, 0, 0.08);
}

.ccp-tal-sheet .ccp-tal-xname {
  margin-top: 16px;
  font-size: 1.21rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #111827;
}

.ccp-tal-sheet .ccp-tal-xrole {
  margin-top: 2px;
  font-size: 1.045rem;
  color: #374151;
}

.ccp-tal-sheet .ccp-tal-xmeta {
  margin-top: 2px;
  font-size: 0.924rem;
  color: var(--ccp-muted);
}

.ccp-tal-sheet .ccp-tal-xbody {
  padding: 4px 22px 18px;
  text-align: left;
}

.ccp-tal-sheet .ccp-tal-x--sent .ccp-tal-slabel {
  margin-top: 18px;
}

.ccp-tal-sheet .ccp-tal-crown {
  display: flex;
  margin: 0 auto;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: linear-gradient(145deg, #0a0f1a, #14532d);
  color: var(--ccp-brand);
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 32px -14px rgba(10, 15, 26, 0.7), inset 0 0 0 1px rgba(99, 234, 113, 0.35);
}

.ccp-tal-sheet .ccp-tal-perks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #f8f9fa;
  border: 1px solid rgba(0, 0, 0, 0.06);
  text-align: left;
}

.ccp-tal-sheet .ccp-tal-perk {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.012rem;
  font-weight: 600;
  color: #1a1a2e;
}

.ccp-tal-sheet .ccp-tal-perk svg {
  flex-shrink: 0;
  color: var(--ccp-active);
}

.ccp-tal-sheet .ccp-tal-plan {
  margin-top: 14px;
  text-align: center;
  font-size: 0.924rem;
  color: var(--ccp-muted);
}

.ccp-tal-sheet .ccp-tal-plan strong {
  font-family: "JetBrains Mono", monospace;
  color: #111827;
}

/* Conversation closed */

.ccp-tal-sheet .ccp-tal-closed {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 18px 4px 8px;
}

.ccp-tal-sheet .ccp-tal-closed-icon {
  width: 56px;
  height: 56px;
  border-radius: 1rem;
  background: #f3f4f6;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #4b5563;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ccp-tal-sheet .ccp-tal-closed-live {
  margin: 0;
}

.ccp-tal-sheet .ccp-tal-closed-sent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(99, 234, 113, 0.14);
  color: var(--ccp-deep);
  font-size: 0.99rem;
  font-weight: 650;
}

/* Choose a conversation (desktop's chooser for talents you already talk to) */

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

.ccp-tal-sheet .ccp-tal-chat {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 58px;
  padding: 10px 12px 10px 14px;
  border-radius: 14px;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  color: #111827;
  text-align: left;
  cursor: pointer;
}

.ccp-tal-sheet .ccp-tal-chat:active {
  transform: scale(0.99);
  background: #f9fafb;
}

.ccp-tal-sheet .ccp-tal-chat-text {
  flex: 1;
  min-width: 0;
}

.ccp-tal-sheet .ccp-tal-chat-title {
  display: block;
  font-size: 1.045rem;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ccp-tal-sheet .ccp-tal-chat-meta {
  display: block;
  margin-top: 2px;
  font-size: 0.924rem;
  line-height: 1.35;
  color: var(--ccp-muted);
}

.ccp-tal-sheet .ccp-tal-chat-tag {
  flex-shrink: 0;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: #f3f4f6;
  color: #4b5563;
  font-size: 0.8rem;
  font-weight: 700;
}

.ccp-tal-sheet .ccp-tal-chat svg {
  flex-shrink: 0;
  color: var(--ccp-faint);
}

.ccp-tal-sheet .ccp-tal-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 12px;
  color: var(--ccp-faint);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ccp-tal-sheet .ccp-tal-or::before,
.ccp-tal-sheet .ccp-tal-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
}

.ccp-tal-sheet .ccp-tal-new {
  padding: 14px;
  border-radius: 14px;
  background: #f8f9fa;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.ccp-tal-sheet .ccp-tal-new-title {
  font-size: 1.045rem;
  font-weight: 700;
  line-height: 1.3;
  color: #111827;
}

.ccp-tal-sheet .ccp-tal-new-sub {
  margin-top: 4px;
  font-size: 0.968rem;
  line-height: 1.5;
  color: #4b5563;
}

.ccp-tal-sheet .ccp-tal-new-btn {
  margin-top: 12px;
  min-height: 44px;
  padding: 0 18px;
  border: none;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, var(--ccp-brand), var(--ccp-brand-2));
  color: #000;
  font-size: 1.054rem;
  font-weight: 700;
  cursor: pointer;
}

.ccp-tal-sheet .ccp-tal-new-btn:active {
  transform: scale(0.98);
}

/* Request to Reopen, New Chat and Start a Conversation without the messaging
   team permission: drawn locked */
.ccp-tal-sheet .ccp-tal-new-btn[aria-disabled="true"] {
  background: #e5e7eb;
  color: var(--ccp-faint);
  cursor: default;
}

.ccp-tal-sheet :is([data-s="reopen"], [data-s="new"], [data-s="msg"])[aria-disabled="true"] svg {
  margin-right: 6px;
  vertical-align: -3px;
}

.ccp-tal-sheet .ccp-tal-new > .ccp-tal-closed-sent {
  margin-top: 0;
}

.ccp-tal-sheet .ccp-tal-new .ccp-tal-closed-live .ccp-tal-closed-sent {
  margin-top: 10px;
}

/* Filters */

.ccp-tal-fsheet .ccp-tal-fgroup {
  margin-bottom: 16px;
}

.ccp-tal-fsheet .ccp-tal-flabel {
  display: block;
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ccp-muted);
}

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

.ccp-tal-fsheet .ccp-tal-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  color: #374151;
  font-size: 1.24rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.ccp-tal-fsheet .ccp-tal-chip.is-on {
  border-color: rgba(99, 234, 113, 0.55);
  background: rgba(99, 234, 113, 0.14);
  color: var(--ccp-deep);
}

@media (prefers-reduced-motion: reduce) {
  .ccp-talents .ccp-tal-run,
  .ccp-talents .ccp-tal-run-txt,
  .ccp-talents .ccp-tal-run-load,
  .ccp-talents .ccp-tal-run-logo,
  .ccp-talents .ccp-tal-sum,
  .ccp-talents .ccp-tal-item,
  .ccp-talents .ccp-tal-save,
  .ccp-talents .ccp-tal-pfp,
  .ccp-tal-sheet .ccp-tal-radio,
  .ccp-tal-sheet .ccp-tal-steps span,
  .ccp-tal-sheet .ccp-tal-fbm {
    transition: none;
  }

  .ccp-talents .ccp-tal-run.is-loading .ccp-tal-run-ring {
    animation: none;
  }
}

/* An existing conversation in a bottom sheet: desktop's Explore Talents chat,
   laid flat (no card flip), filling the sheet with the messages scrolling
   between its header and the box to write in. */
.ccp-tal-chatsheet .v-bs-sheet {
  height: 86dvh;
  max-height: 86dvh;
  display: flex;
  flex-direction: column;
}

.ccp-tal-chatsheet .v-bs-body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

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

.ccp-tal-chatsheet .sc-cand-flip--phone,
.ccp-tal-chatsheet .sc-cand-flip--phone .sc-cand-flip-inner {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  height: 100%;
  transform: none;
  transform-style: flat;
  transition: none;
}

.ccp-tal-chatsheet .sc-cand-flip--phone .sc-cand-card.sc-cand-face--back {
  position: relative;
  inset: auto;
  transform: none;
  height: 100%;
  border: none;
  border-radius: 0;
  box-shadow: none;
  pointer-events: auto;
}

/* The sheet's own X closes it, so the chat's back arrow would repeat it. */
.ccp-tal-chatsheet .sc-cand-flip--phone .sc-cand-chat-back {
  display: none;
}
