/* My Profile on phones (768px and below): Preview of the public page and the in-place editor */

.ccp-profile {
  --ccp-prof-pad: 12px;
  --ccp-prof-card-pad: 16px;
  --ccp-prof-name: 1.595rem;
  --ccp-prof-cover: 120px;
  --ccp-prof-ants: rgba(22, 163, 74, 0.6);
  position: relative;
  color: var(--ccp-text);
}

@media (min-width: 640px) {
  .ccp-profile {
    --ccp-prof-pad: 24px;
    --ccp-prof-card-pad: 18px;
    --ccp-prof-name: 1.98rem;
    --ccp-prof-cover: 170px;
  }
}

.ccp-profile [hidden],
.ccp-prof-sheet [hidden] {
  display: none !important;
}

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

.ccp-profile button,
.ccp-prof-sheet button {
  -webkit-appearance: none;
  appearance: none;
  font-family: inherit;
  touch-action: manipulation;
}

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

/* Title */

.ccp-profile .ccp-prof-head {
  padding: 0;
}

.ccp-profile .ccp-prof-title:focus {
  outline: none;
}

/* Pinned bar: Preview / Edit and the profile address */

.ccp-profile .ccp-prof-bar {
  padding: 10px var(--ccp-gutter);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.ccp-profile .ccp-prof-tabs,
.ccp-profile .ccp-prof-url {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.ccp-profile .ccp-prof-tabs {
  display: flex;
  margin-bottom: 10px;
  padding: 4px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.06);
}

.ccp-profile .ccp-prof-tab {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  border: none;
  border-radius: 11px;
  background: transparent;
  color: #4b5563;
  font-size: 1.06rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease;
}

.ccp-profile .ccp-prof-tab[aria-selected="true"] {
  background: #fff;
  color: #111827;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.ccp-profile .ccp-prof-url {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 46px;
  padding: 0 4px 0 14px;
  border-radius: 999px;
  background: #f1f2f4;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.ccp-profile .ccp-prof-url.is-edit::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 999px;
  border: 2px dashed var(--ccp-prof-ants);
  background: rgba(99, 234, 113, 0.07);
  pointer-events: none;
}

.ccp-profile .ccp-prof-url-lock {
  display: inline-flex;
  flex-shrink: 0;
  color: #6b7280;
}

.ccp-profile .ccp-prof-url-btn {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0;
  border: none;
  border-radius: 0 999px 999px 0;
  background: transparent;
  font-size: 1.012rem;
  white-space: nowrap;
  text-align: left;
  cursor: pointer;
}

.ccp-profile .ccp-prof-url-text {
  cursor: default;
}

/* The whole pill shows the focus ring of its address button. */
.ccp-profile .ccp-prof-url-btn:focus-visible {
  outline: none;
}

.ccp-profile .ccp-prof-url:has(.ccp-prof-url-btn:focus-visible) {
  outline: 2px solid var(--ccp-active);
  outline-offset: 2px;
}

/* One line that ends in an ellipsis when it runs out of room, as designed. */
.ccp-profile .ccp-prof-url-in {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ccp-profile .ccp-prof-url-pre {
  color: #9ca3af;
}

.ccp-profile .ccp-prof-url-slug {
  color: #111827;
  font-weight: 650;
}

.ccp-profile .ccp-prof-eye {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.ccp-profile .ccp-prof-eye-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  color: #6b7280;
  transition: background 0.2s ease;
}

.ccp-profile .ccp-prof-eye.is-on .ccp-prof-eye-dot {
  background: rgba(99, 234, 113, 0.16);
  color: #16a34a;
}

.ccp-profile .ccp-prof-eye.is-locked {
  opacity: 0.5;
}

/* Banners: hidden profile, company under review */

.ccp-profile .ccp-prof-banners {
  padding: 12px var(--ccp-prof-pad) 0;
}

.ccp-profile .ccp-prof-banners:empty {
  display: none;
}

.ccp-profile .ccp-prof-banner-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(245, 158, 11, 0.18);
  color: var(--ccp-amber);
}

.ccp-profile .ccp-prof-banner-text {
  min-width: 0;
  flex: 1 1 auto;
}

.ccp-profile .ccp-prof-banner-title {
  font-size: 1.045rem;
  font-weight: 700;
  line-height: 1.35;
  color: #111827;
}

.ccp-profile .ccp-prof-banner-sub {
  margin-top: 2px;
  font-size: 0.946rem;
  line-height: 1.45;
  color: #4b5563;
}

/* Under review: the design's amber card, the page's top padding above it (14px,
   18px from 640px) and 12px under it (the cards below start 14px or 18px down). */
.ccp-profile .ccp-prof-banners:has(> .ccp-prof-rv) {
  padding-top: 14px;
  margin-bottom: -2px;
}

@media (min-width: 640px) {
  .ccp-profile .ccp-prof-banners:has(> .ccp-prof-rv) {
    padding-top: 18px;
    margin-bottom: -6px;
  }
}

.ccp-profile .ccp-prof-rv {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(245, 158, 11, 0.38);
  background: rgba(245, 158, 11, 0.1);
  font-family: "Outfit", sans-serif;
  text-align: left;
}

.ccp-profile .ccp-prof-rv svg {
  flex-shrink: 0;
}

.ccp-profile .ccp-prof-rv-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  line-height: 1.4;
}

.ccp-profile .ccp-prof-rv-title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #111827;
}

.ccp-profile .ccp-prof-rv-sub {
  font-size: 0.97rem;
  font-weight: 450;
  color: #4b5563;
  text-wrap: pretty;
}

/* The public page's own "not discoverable" strip is not part of the designed Preview. */
.ccp-profile .ccp-prof-preview .cs-private-banner {
  display: none;
}

/* Edit: card stack */

.ccp-profile .ccp-prof-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px var(--ccp-prof-pad) 26px;
}

.ccp-profile .ccp-prof-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.ccp-profile .ccp-prof-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

@media (min-width: 900px) {
  .ccp-profile .ccp-prof-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 12px;
    align-items: start;
  }
}

@media (min-width: 640px) {
  .ccp-profile .ccp-prof-stack {
    padding-top: 18px;
  }
}

.ccp-profile .ccp-prof-card {
  position: relative;
  min-width: 0;
  padding: var(--ccp-prof-card-pad);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

/* The Appearance row at the top of Edit */

.ccp-profile .ccp-prof-ap-entry {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 68px;
  padding: 0 16px;
  border: none;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  text-align: left;
  color: #111827;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.ccp-profile .ccp-prof-ap-entry:active {
  transform: scale(0.99);
}

.ccp-profile .ccp-prof-ap-entry > svg {
  flex-shrink: 0;
}

.ccp-profile .ccp-prof-ap-entry-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ccp-profile .ccp-prof-ap-entry-title {
  font-size: 1.12rem;
  font-weight: 750;
}

.ccp-profile .ccp-prof-ap-entry-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.ccp-profile .ccp-prof-ap-dot {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14);
}

.ccp-profile .ccp-prof-ap-entry-font {
  min-width: 0;
  margin-left: 6px;
  font-size: 0.92rem;
  color: #4b5563;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Details and gallery are edited in place, so the whole card carries the edit outline. */
.ccp-profile .ccp-prof-card--zone::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: 18px;
  border: 2px dashed var(--ccp-prof-ants);
  background: rgba(99, 234, 113, 0.07);
  pointer-events: none;
}

/* Company Details and Gallery are flat cards in the design (their press ring replaces the shadow). */
.ccp-profile .ccp-prof-details,
.ccp-profile .ccp-prof-gal,
.ccp-profile .ccp-prof-preview .card[data-cs-section="details"],
.ccp-profile .ccp-prof-preview .card[data-cs-section="gallery"] {
  box-shadow: none;
}

.ccp-profile .ccp-prof-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ccp-profile .ccp-prof-h2 {
  font-size: 1.155rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: normal;
  color: #111827;
}

.ccp-profile .ccp-prof-h2-count {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.836rem;
  font-weight: inherit;
  letter-spacing: inherit;
  color: #6b7280;
}

/* Edit outlines: green dashes on everything that can be tapped to edit */

.ccp-profile .ccp-prof-zone {
  position: relative;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.ccp-profile .ccp-prof-zone::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  border: 2px dashed var(--ccp-prof-ants);
  background: rgba(99, 234, 113, 0.07);
  pointer-events: none;
}

.ccp-profile .ccp-prof-zone:active {
  transform: scale(0.98);
  box-shadow: 0 0 0 3px rgba(99, 234, 113, 0.5);
}

/* Header card */

.ccp-profile .ccp-prof-hero {
  padding: 0;
  overflow: hidden;
}

.ccp-profile .ccp-prof-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: var(--ccp-prof-cover);
  padding: 0;
  border: none;
  border-radius: 0;
  background-color: #e5e7eb;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  cursor: pointer;
}

.ccp-profile .ccp-prof-cover:active {
  transform: none;
  box-shadow: inset 0 0 0 3px rgba(99, 234, 113, 0.75);
}

.ccp-profile .ccp-prof-hero-body {
  padding: 0 var(--ccp-prof-card-pad) var(--ccp-prof-card-pad);
}

.ccp-profile .ccp-prof-logo {
  position: relative;
  z-index: 1;
  display: flex;
  width: 78px;
  height: 78px;
  margin-top: -39px;
  padding: 0;
  border: 4px solid #fff;
  border-radius: 20px;
  background: #fff;
  cursor: pointer;
}

.ccp-profile .ccp-prof-logo::after {
  inset: -8px;
  border-radius: 24px;
}

.ccp-profile .ccp-prof-logo-in {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 16px;
}

.ccp-profile .ccp-prof-logo-in img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ccp-profile .ccp-prof-logo-in .logo-placeholder {
  gap: 0.3rem;
}

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

/* -10px / -8px from the logo's outer edge, as designed (the logo has a 4px border). */
.ccp-profile .ccp-prof-logo-plus {
  position: absolute;
  right: -14px;
  bottom: -12px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: #16a34a;
  color: #fff;
  box-shadow: 0 4px 10px -4px rgba(22, 163, 74, 0.8);
}

.ccp-profile .ccp-prof-fields {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

/* In-place fields: name, tagline and About */

.ccp-profile .ccp-prof-ie {
  position: relative;
  margin: 0 -10px;
  padding: 6px 10px;
  border: 2px solid transparent;
  border-radius: 12px;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.ccp-profile .ccp-prof-ie::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  border: 2px dashed var(--ccp-prof-ants);
  background: rgba(99, 234, 113, 0.07);
  pointer-events: none;
}

.ccp-profile .ccp-prof-ie.is-editing {
  border-color: #16a34a;
  background: #fff;
}

.ccp-profile .ccp-prof-ie.is-editing::after {
  display: none;
}

.ccp-profile .ccp-prof-ie:focus {
  outline: none;
}

.ccp-profile .ccp-prof-ie:focus-visible {
  outline: 2px solid var(--ccp-active);
  outline-offset: 2px;
}

.ccp-profile .ccp-prof-ie textarea {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  resize: none;
  overflow: hidden;
  background: transparent;
  font-family: inherit;
  color: #111827;
  cursor: text;
}

.ccp-profile .ccp-prof-ie textarea:focus-visible {
  outline: none;
}

.ccp-profile .ccp-prof-ie textarea::placeholder {
  color: #9ca3af;
  opacity: 1;
}

/* Beats the shared 16px phone rule for fields inside #main-container. */
#main-container #ccp-root .ccp-profile .ccp-prof-name-input {
  font-size: var(--ccp-prof-name);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #1a1a2e;
}

#main-container #ccp-root .ccp-profile .ccp-prof-ie.is-editing .ccp-prof-name-input {
  color: #111827;
}

#main-container #ccp-root .ccp-profile .ccp-prof-tagline-input {
  font-size: 1.045rem;
  line-height: 1.45;
  color: #4b5563;
}

.ccp-profile .ccp-prof-ie.is-editing .ccp-prof-tagline-input {
  color: #111827;
}

.ccp-profile .ccp-prof-ie--about {
  margin-top: 8px;
}

#main-container #ccp-root .ccp-profile .ccp-prof-about-input {
  min-height: 4.8em;
  font-size: 1.034rem;
  line-height: 1.6;
  color: #374151;
}

#main-container #ccp-root .ccp-profile .ccp-prof-ie.is-editing .ccp-prof-about-input {
  color: #111827;
}

/* An empty About reads like the design's: its line in the text's own colour, gone
   while it is being written. */
#main-container #ccp-root .ccp-profile .ccp-prof-about-input::placeholder {
  color: #374151;
}

#main-container #ccp-root .ccp-profile .ccp-prof-about-input:focus::placeholder {
  color: transparent;
}

.ccp-profile .ccp-prof-count {
  display: none;
  margin-top: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.858rem;
  color: #6b7280;
}

.ccp-profile .ccp-prof-ie--about.is-editing .ccp-prof-count {
  display: block;
}

.ccp-profile .ccp-prof-count.is-over {
  color: var(--ccp-amber);
}

/* Social links row */

.ccp-profile .ccp-prof-socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  max-width: calc(100% + 8px);
  margin: 6px 0 0 -8px;
  padding: 6px 8px;
  border: none;
  border-radius: 12px;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.ccp-profile .ccp-prof-socials::after {
  inset: -6px;
  border-radius: 12px;
}

.ccp-profile .ccp-prof-soc {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  color: #374151;
}

.ccp-profile .ccp-prof-soc-svg {
  width: 16px;
  height: 16px;
}

.ccp-profile .ccp-prof-soc--add {
  border: 1.5px dashed rgba(22, 163, 74, 0.55);
  background: rgba(99, 234, 113, 0.06);
  color: #16a34a;
}

.ccp-profile .ccp-prof-soc-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 11px;
  border: 1.5px dashed rgba(0, 0, 0, 0.2);
  font-size: 0.924rem;
  font-weight: 600;
  color: #4b5563;
}

/* Open positions: the public page's cards */

.ccp-profile .ccp-prof-op-list,
.ccp-profile .ccp-prof-preview #cs-open-positions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 14px;
}

.ccp-profile .op-card {
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--ccp-pt-border, rgba(0, 0, 0, 0.08));
  background: var(--ccp-pt-card, #fff);
  color: var(--ccp-pt-text, #1a1a2e);
}

.ccp-profile .op-tags {
  gap: 7px;
  margin-bottom: 14px;
}

.ccp-profile .op-tag {
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--ccp-pt-border, rgba(0, 0, 0, 0.08));
  background: var(--ccp-pt-card, #fff);
  color: var(--ccp-pt-text, #1a1a2e);
  font-size: 0.83rem;
}

.ccp-profile .op-card-row {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.ccp-profile .op-job-title {
  font-size: 1.17rem;
  color: var(--ccp-pt-text, #1a1a2e);
}

.ccp-profile .op-salary {
  padding: 5px 10px;
  border-color: var(--ccp-pt-accent, #27b079);
  color: var(--ccp-pt-accent, #27b079);
  font-size: 0.96rem;
}

.ccp-profile .op-salary-suffix {
  font-size: 0.76rem;
}

.ccp-profile .op-about {
  margin-top: 10px;
  font-size: 0.96rem;
  color: var(--ccp-pt-text, #1a1a2e);
}

.ccp-profile .op-skills {
  gap: 6px;
  margin-top: 16px;
}

.ccp-profile .op-skill {
  padding: 4px 9px;
  border-color: var(--ccp-pt-border, rgba(0, 0, 0, 0.14));
  color: var(--ccp-pt-text, #1a1a2e);
  font-size: 0.79rem;
}

.ccp-profile .op-foot {
  margin-top: 20px;
  padding-top: 16px;
  border-top-color: var(--ccp-pt-border, rgba(0, 0, 0, 0.08));
}

.ccp-profile .op-foot-meta,
.ccp-profile .op-foot-date {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ccp-pt-text, #1a1a2e);
}

.ccp-profile .op-cta {
  padding: 7px 14px;
  border-color: var(--ccp-pt-accent, #27b079);
  color: var(--ccp-pt-accent, #27b079);
  font-size: 0.9rem;
}

.ccp-profile .op-card:active {
  transform: scale(0.99);
  border-color: var(--ccp-pt-accent, #27b079);
}

@media (hover: none) {
  .ccp-profile .op-card:hover {
    transform: none;
    border-color: var(--ccp-pt-border, rgba(0, 0, 0, 0.08));
    box-shadow: none;
  }

  .ccp-profile .op-card:hover::before {
    opacity: 0;
  }
}

.ccp-profile .op-empty {
  margin-top: 14px;
  padding: 40px 16px;
  border-radius: 16px;
  border: 1px dashed var(--ccp-pt-border, rgba(0, 0, 0, 0.12));
  background: var(--ccp-pt-card, #fff);
  color: var(--ccp-pt-text, #1a1a2e);
  font-size: 1rem;
}

.ccp-profile .ccp-prof-more {
  width: 100%;
  min-height: 44px;
  margin-top: 8px;
  border-radius: 0.75rem;
  border: 1px solid var(--ccp-pt-border, rgba(0, 0, 0, 0.1));
  background: var(--ccp-pt-chip, #fafafa);
  color: var(--ccp-pt-text, #1a1a2e);
  font-size: 1.24rem;
  font-weight: 650;
  cursor: pointer;
}

/* Company details */

.ccp-profile .ccp-prof-groups {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 16px;
}

.ccp-profile .ccp-prof-group:not(:last-child) {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.ccp-profile .ccp-prof-label {
  font-size: 0.858rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
}

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

.ccp-profile .ccp-prof-chip {
  min-height: 40px;
  max-width: 100%;
  padding: 0 14px;
  border-radius: 999px;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  color: #374151;
  font-size: 1.24rem;
  font-weight: 650;
  line-height: 1.2;
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.ccp-profile .ccp-prof-chip[aria-checked="true"] {
  background: rgba(99, 234, 113, 0.14);
  border-color: rgba(99, 234, 113, 0.55);
  color: #08493c;
}

.ccp-profile .ccp-prof-loc {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  margin-top: 8px;
  padding: 0 12px 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #f8f9fa;
  text-align: left;
  cursor: pointer;
}

.ccp-profile .ccp-prof-loc-pin {
  display: inline-flex;
  flex-shrink: 0;
  color: #16a34a;
}

.ccp-profile .ccp-prof-loc-v {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #111827;
  font-size: 1.05rem;
  font-weight: 600;
}

.ccp-profile .ccp-prof-loc-v.is-empty {
  color: #9ca3af;
}

.ccp-profile .ccp-prof-loc-chev {
  display: inline-flex;
  flex-shrink: 0;
  color: #9ca3af;
}

/* Gallery */

.ccp-profile .ccp-prof-gal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.ccp-profile .ccp-prof-gal-cell {
  position: relative;
  aspect-ratio: 4 / 3;
  min-width: 0;
}

.ccp-profile .ccp-prof-gal-tile {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f3f4f6;
  cursor: pointer;
}

.ccp-profile .ccp-prof-gal-tile img,
.ccp-profile .ccp-prof-gal-tile video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ccp-profile .ccp-prof-gal-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 8px 6px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0), rgba(15, 23, 42, 0.55));
  color: #fff;
  font-size: 0.836rem;
  font-weight: 650;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ccp-profile .ccp-prof-gal-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.65);
  color: #fff;
  transform: translate(-50%, -50%);
}

.ccp-profile .ccp-prof-gal-rm {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.ccp-profile .ccp-prof-gal-rm-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.6);
  color: #fff;
}

.ccp-profile .ccp-prof-gal-add {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  border: 2px dashed rgba(22, 163, 74, 0.45);
  background: rgba(99, 234, 113, 0.06);
  color: #08493c;
  font-size: 0.946rem;
  font-weight: 700;
  cursor: pointer;
}

/* Preview: the public company page, laid out like the phone design */

.ccp-profile .ccp-prof-preview #cs-open-positions[data-ccp-jobs="some"] > .op-card:nth-child(n + 4) {
  display: none;
}

.ccp-profile .ccp-prof-preview #company-page {
  display: block;
}

/* Preview in the saved appearance, as the design themes the profile outside Edit
   (profile.js paintTheme sets the --ccp-pt-* roles; the rules above fall back to
   the designed colours). */
body[data-ccp-pt][data-phone-screen="profile"] #main-container {
  background: var(--ccp-pt-page);
}

.ccp-profile[data-pt] .ccp-prof-panel {
  font-family: var(--ccp-pt-font);
  color: var(--ccp-pt-text);
}

/* Required skills sit on the cards' colour; preferred ones stay see-through.
   Gallery tiles show the cards' colour until their image loads. */
.ccp-profile[data-pt] .op-skill:not(.op-skill--desired),
.ccp-profile[data-pt] .ccp-prof-preview .gallery-item {
  background-color: var(--ccp-pt-card);
}

.ccp-profile .ccp-prof-preview-missing {
  padding: 40px var(--ccp-prof-pad);
  text-align: center;
  color: #6b7280;
}

.ccp-profile .ccp-prof-preview .page-wrap {
  max-width: none;
  padding: 14px var(--ccp-prof-pad) 26px;
}

@media (min-width: 640px) {
  .ccp-profile .ccp-prof-preview .page-wrap {
    padding-top: 18px;
  }
}

.ccp-profile .ccp-prof-preview .page-main,
.ccp-profile .ccp-prof-preview .main-grid,
.ccp-profile .ccp-prof-preview .main-col,
.ccp-profile .ccp-prof-preview .side-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.ccp-profile .ccp-prof-preview .side-col {
  position: static;
}

.ccp-profile .ccp-prof-preview .card {
  border: none;
  border-radius: 18px;
  background: var(--ccp-pt-card, #fff);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.ccp-profile .ccp-prof-preview .card-pad {
  padding: var(--ccp-prof-card-pad);
}

.ccp-profile .ccp-prof-preview .cover {
  height: var(--ccp-prof-cover);
  aspect-ratio: auto;
}

.ccp-profile .ccp-prof-preview .card-hero-body {
  padding: 0 var(--ccp-prof-card-pad) var(--ccp-prof-card-pad);
}

.ccp-profile .ccp-prof-preview .company-logo-box {
  position: relative;
  top: auto;
  left: auto;
  z-index: 1;
  width: 78px;
  height: 78px;
  margin-top: -39px;
  border: 4px solid var(--ccp-pt-card, #fff);
  border-radius: 20px;
  background: var(--ccp-pt-card, #fff);
  overflow: hidden;
}

.ccp-profile .ccp-prof-preview .company-logo-box .logo-placeholder {
  gap: 0.3rem;
  border-radius: 16px;
  overflow: hidden;
}

.ccp-profile .ccp-prof-preview .company-logo-box.has-custom-logo img {
  border-radius: 16px;
}

.ccp-profile .ccp-prof-preview .hero-meta-row {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  margin-top: 12px;
}

.ccp-profile .ccp-prof-preview .company-name {
  padding: 8px 2px;
  font-size: var(--ccp-prof-name);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ccp-pt-text, #1a1a2e);
}

.ccp-profile .ccp-prof-preview .company-tagline {
  margin-top: 8px;
  padding: 8px 2px;
  font-size: 1.045rem;
  line-height: 1.45;
  color: var(--ccp-pt-body, #4b5563);
}

.ccp-profile .ccp-prof-preview .company-social-row {
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
  padding: 6px 0;
}

.ccp-profile .ccp-prof-preview .social-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid var(--ccp-pt-border, rgba(0, 0, 0, 0.08));
  background: var(--ccp-pt-card, #fff);
  color: var(--ccp-pt-text, #374151);
}

.ccp-profile .ccp-prof-preview .section-title {
  font-size: 1.155rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: normal;
  color: var(--ccp-pt-text, #111827);
}

.ccp-profile .ccp-prof-preview .section-title--mb-4 {
  margin-bottom: 8px;
}

.ccp-profile .ccp-prof-preview .section-title--mb-5 {
  margin-bottom: 12px;
}

.ccp-profile .ccp-prof-preview .body-text {
  font-size: 1.034rem;
  line-height: 1.6;
  color: var(--ccp-pt-body, #374151);
}

.ccp-profile .ccp-prof-preview [data-cs-section="about"] .body-text {
  padding: 8px 2px;
}

.ccp-profile .ccp-prof-preview .card-section-header {
  gap: 8px;
  margin-bottom: 0;
}

.ccp-profile .ccp-prof-preview [data-cs-section="details"] .section-title + div {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ccp-profile .ccp-prof-preview .info-row {
  align-items: center;
  gap: 10px;
  padding: 0;
  border: none;
}

.ccp-profile .ccp-prof-preview .info-icon {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: var(--ccp-pt-chip, rgba(0, 0, 0, 0.04));
  color: var(--ccp-pt-body, #4b5563);
}

.ccp-profile .ccp-prof-preview .info-label {
  font-size: 0.814rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ccp-pt-muted, #6b7280);
}

.ccp-profile .ccp-prof-preview .info-value {
  margin-top: 0;
  font-family: inherit;
  font-size: 1.012rem;
  font-weight: 600;
  color: var(--ccp-pt-text, #1a1a2e);
}

.ccp-profile .ccp-prof-preview .gallery-count {
  border-color: rgba(99, 234, 113, 0.3);
  background: var(--ccp-pt-tint, rgba(99, 234, 113, 0.1));
  color: var(--ccp-pt-accent, #08493c);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.748rem;
}

.ccp-profile .ccp-prof-preview .gallery-more-text {
  font-size: 0.935rem;
}

.ccp-profile .ccp-prof-preview #seeAllBtn {
  gap: 4px;
  min-height: 32px;
  height: auto;
  padding: 0 10px;
  border-radius: 0.6rem;
  border: 1px solid var(--ccp-pt-border, rgba(0, 0, 0, 0.12));
  background: var(--ccp-pt-card, #fff);
  box-shadow: none;
  color: var(--ccp-pt-text, #1a1a2e);
  font-size: 0.88rem;
  font-weight: 600;
}

.ccp-profile .ccp-prof-preview #seeAllBtn .v-action-btn-label {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

.ccp-profile .ccp-prof-preview #seeAllBtn .v-action-btn-icon,
.ccp-profile .ccp-prof-preview #seeAllBtn .v-action-btn-icon svg {
  width: 13px;
  height: 13px;
  color: var(--ccp-pt-text, #1a1a2e);
}

.ccp-profile .ccp-prof-preview .gallery-grid {
  margin-top: 12px;
}

.ccp-profile .ccp-prof-preview .gallery-item--feature {
  border-radius: 14px;
}

.ccp-profile .ccp-prof-preview .gallery-strip .gallery-item {
  border-radius: 10px;
}

.ccp-profile .ccp-prof-preview .gallery-title {
  padding: 22px 12px 10px;
  font-size: 0.924rem;
  font-weight: 650;
}

/* No photos yet: the title and the design's line, without the count or See all. */
.ccp-profile .ccp-prof-preview #galleryCard[data-ccp-empty] .gallery-count,
.ccp-profile .ccp-prof-preview #galleryCard[data-ccp-empty] #seeAllBtn,
.ccp-profile .ccp-prof-preview #galleryCard[data-ccp-empty] #galleryGrid {
  display: none;
}

.ccp-profile .ccp-prof-preview .ccp-prof-gal-none {
  margin-top: 8px;
  font-size: 0.946rem;
  color: var(--ccp-pt-muted, #6b7280);
}

@media (hover: none) {
  .ccp-profile .ccp-prof-preview .gallery-item:hover {
    transform: none;
    box-shadow: none;
  }
}

.ccp-profile .ccp-prof-preview .lightbox {
  z-index: 1300;
}

.ccp-profile .ccp-prof-preview .lb-btn {
  width: 44px;
  height: 44px;
}

/* Wide tablets (900px and up): the header card spans the page, then About and Open
   Positions sit in the first column and Company Details and Gallery in the second. */
@media (min-width: 900px) {
  .ccp-profile .ccp-prof-preview .main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 12px;
    align-items: start;
  }

  .ccp-profile .ccp-prof-preview .main-col,
  .ccp-profile .ccp-prof-preview .side-col {
    width: auto;
    max-width: none;
  }
}

/* Tablets have no bottom bar: the page ends 44px under the last card (32px spacer and
   the 12px gap), where phones keep the room for the bar. */
@media (min-width: 769px) and (max-width: 1023px) {
  .ccp-profile .ccp-prof-stack,
  .ccp-profile .ccp-prof-preview .page-wrap {
    padding-bottom: 44px;
  }
}

/* Sheets */

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

.ccp-prof-sheet .v-bs-body {
  padding-top: 0;
}

.ccp-prof-sheet .v-bs-body > .ccp-sheet-head {
  display: flex;
  align-items: center;
  min-height: 50px;
  padding: 0 64px 6px 16px;
}

/* The Location sheet has no gap under its title row: the field sits 14px below it. */
.ccp-prof-sheet.ccp-prof-sheet--location .v-bs-body > .ccp-sheet-head {
  min-height: 44px;
  padding-bottom: 0;
}

.ccp-prof-sheet.ccp-prof-sheet--location .v-bs-body > .ccp-sheet-content {
  padding-top: 0;
}

.ccp-prof-sheet .v-bs-close.v-action-btn {
  top: 22px;
  right: 6px;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  box-shadow: none;
  color: #374151;
}

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

.ccp-prof-sheet.ccp-prof-sheet--location .v-bs-close.v-action-btn svg {
  width: 22px;
  height: 22px;
}

.ccp-prof-sheet .ccp-sheet-title {
  font-size: 1.43rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: normal;
}

.ccp-prof-sheet .ccp-sheet-content,
.ccp-prof-sheet .v-bs-body > .ccp-sheet-content {
  padding: 6px 16px 16px;
}

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

.ccp-prof-sheet .ccp-prof-foot > .ccp-btn {
  min-width: 0;
  min-height: 50px;
  padding: 0 6px;
  font-size: 1.24rem;
}

.ccp-prof-sheet .ccp-prof-foot > .ccp-btn:first-child {
  flex: 1 1 0;
}

.ccp-prof-sheet .ccp-prof-foot > .ccp-btn:last-child {
  flex: 1.4 1 0;
}

.ccp-prof-sheet .ccp-btn[aria-disabled="true"] {
  background: #e5e7eb;
  border-color: transparent;
  color: #9ca3af;
  box-shadow: none;
  opacity: 1;
}

/* Appearance sheet: the live preview, colours, fonts and themes, and its steps
   (colour picker, all fonts, restore) */

.ccp-prof-sheet--appearance .v-bs-sheet {
  max-height: 90dvh;
}

/* The title row stays put while a step scrolls. */
.ccp-prof-sheet--appearance .v-bs-body > .ccp-sheet-head {
  position: sticky;
  top: 0;
  z-index: 2;
  gap: 6px;
  background: #fff;
}

.ccp-prof-sheet--appearance .ccp-sheet-title {
  flex: 1;
  min-width: 0;
}

.ccp-prof-sheet--appearance .v-bs-close.v-action-btn {
  z-index: 3;
}

.ccp-prof-sheet .ccp-prof-ap-back {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: -10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

/* The confirmation step has no title row, so no close button either. */
.ccp-prof-sheet--appearance[data-ap-view="restore"] .v-bs-close.v-action-btn {
  display: none;
}

.ccp-prof-sheet--appearance .ccp-sheet-content,
.ccp-prof-sheet--appearance .v-bs-body > .ccp-sheet-content {
  padding: 6px 16px 18px;
}

.ccp-prof-sheet--appearance .ccp-prof-foot > .ccp-btn {
  min-height: 52px;
  border-radius: 0.85rem;
  font-size: 1.127rem;
}

.ccp-prof-sheet--appearance .ccp-prof-foot > .ccp-btn--ghost {
  font-weight: 650;
}

.ccp-prof-sheet--appearance .ccp-prof-foot > .ccp-btn--danger {
  background: #e11d48;
  color: #fff;
}

.ccp-prof-sheet .ccp-prof-ap-spec {
  position: relative;
  padding: 20px 18px;
  border-radius: 24px;
  border: 1px solid transparent;
  box-shadow: 0 20px 40px -28px rgba(15, 23, 42, 0.55);
  overflow: hidden;
  transition: background 0.4s ease;
}

.ccp-prof-sheet .ccp-prof-ap-spec-name {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.ccp-prof-sheet .ccp-prof-ap-spec-tag {
  margin-top: 8px;
  font-size: 1rem;
  line-height: 1.45;
}

.ccp-prof-sheet .ccp-prof-ap-spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
}

.ccp-prof-sheet .ccp-prof-ap-spec-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.86rem;
  font-weight: 650;
}

.ccp-prof-sheet .ccp-prof-ap-spec-dots {
  display: flex;
  flex-shrink: 0;
  gap: 5px;
}

.ccp-prof-sheet .ccp-prof-ap-spec-dots > span {
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.ccp-prof-sheet .ccp-prof-ap-label {
  margin: 24px 0 10px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b7280;
}

.ccp-prof-sheet .ccp-prof-ap-list {
  border-radius: 18px;
  border: 1px solid #eef0f3;
  background: #fff;
  overflow: hidden;
}

.ccp-prof-sheet .ccp-prof-ap-row {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 62px;
  padding: 0 14px;
  border: none;
  border-top: 1px solid #f1f2f4;
  background: transparent;
  text-align: left;
  color: #111827;
  cursor: pointer;
}

.ccp-prof-sheet .ccp-prof-ap-row:first-child {
  border-top: none;
}

.ccp-prof-sheet .ccp-prof-ap-row:active {
  background: #f6f7f9;
}

.ccp-prof-sheet .ccp-prof-ap-row:focus-visible {
  outline-offset: -2px;
}

.ccp-prof-sheet .ccp-prof-ap-row > svg {
  flex-shrink: 0;
}

.ccp-prof-sheet .ccp-prof-ap-swatch {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
  transition: background 0.3s ease;
}

.ccp-prof-sheet .ccp-prof-ap-row-label {
  flex: 1;
  min-width: 0;
  font-size: 1.06rem;
  font-weight: 650;
}

.ccp-prof-sheet .ccp-prof-ap-row-hex {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.9rem;
  color: #4b5563;
}

.ccp-prof-sheet .ccp-prof-ap-rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  margin: 0 -16px;
  padding: 6px 16px 10px;
  scroll-padding-inline: 16px;
}

.ccp-prof-sheet .ccp-prof-ap-type {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  width: 100px;
  height: 88px;
  padding: 12px;
  border: none;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
  text-align: left;
  cursor: pointer;
  transition: background 0.25s ease;
}

.ccp-prof-sheet .ccp-prof-ap-type.is-on {
  background: #111827;
  box-shadow: 0 14px 26px -14px rgba(17, 24, 39, 0.85);
}

.ccp-prof-sheet .ccp-prof-ap-type-aa {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  color: #111827;
}

.ccp-prof-sheet .ccp-prof-ap-type-name {
  max-width: 100%;
  font-family: "Outfit", sans-serif;
  font-size: 0.8rem;
  font-weight: 650;
  color: #6b7280;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ccp-prof-sheet .ccp-prof-ap-type.is-on .ccp-prof-ap-type-aa {
  color: #fff;
}

.ccp-prof-sheet .ccp-prof-ap-type.is-on .ccp-prof-ap-type-name {
  color: rgba(255, 255, 255, 0.65);
}

.ccp-prof-sheet .ccp-prof-ap-more {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100px;
  height: 88px;
  border-radius: 18px;
  border: 1.5px dashed rgba(22, 163, 74, 0.45);
  background: rgba(99, 234, 113, 0.06);
  font-size: 0.86rem;
  font-weight: 700;
  color: #08493c;
  cursor: pointer;
}

.ccp-prof-sheet .ccp-prof-ap-theme {
  flex-shrink: 0;
  position: relative;
  width: 122px;
  height: 84px;
  padding: 0;
  border: none;
  border-radius: 18px;
  overflow: hidden;
  text-align: left;
  cursor: pointer;
}

.ccp-prof-sheet .ccp-prof-ap-theme-aa {
  position: absolute;
  left: 12px;
  top: 8px;
  font-size: 1.55rem;
  font-weight: 700;
}

.ccp-prof-sheet .ccp-prof-ap-theme-dot {
  position: absolute;
  right: 12px;
  top: 14px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
}

.ccp-prof-sheet .ccp-prof-ap-theme-name {
  position: absolute;
  left: 12px;
  bottom: 9px;
  font-size: 0.86rem;
  font-weight: 700;
}

.ccp-prof-sheet .ccp-prof-ap-restore {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  margin-top: 14px;
  border: none;
  background: transparent;
  font-size: 1.06rem;
  font-weight: 700;
  color: #e11d48;
  cursor: pointer;
}

/* Colour step */

.ccp-prof-sheet .ccp-prof-ap-sv {
  position: relative;
  height: 190px;
  border-radius: 16px;
  overflow: hidden;
  touch-action: none;
  cursor: crosshair;
}

.ccp-prof-sheet .ccp-prof-ap-sv-w,
.ccp-prof-sheet .ccp-prof-ap-sv-b {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ccp-prof-sheet .ccp-prof-ap-sv-w {
  background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0));
}

.ccp-prof-sheet .ccp-prof-ap-sv-b {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), #000000);
}

.ccp-prof-sheet .ccp-prof-ap-sv-cur {
  position: absolute;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25), 0 2px 8px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.ccp-prof-sheet .ccp-prof-ap-hue {
  position: relative;
  height: 18px;
  margin: 18px 4px 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff, #ff0000);
  touch-action: none;
  cursor: pointer;
}

.ccp-prof-sheet .ccp-prof-ap-hue-thumb {
  position: absolute;
  top: 50%;
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.ccp-prof-sheet .ccp-prof-ap-ins {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.ccp-prof-sheet .ccp-prof-ap-in {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ccp-prof-sheet .ccp-prof-ap-in--hex {
  flex: 1.7;
}

.ccp-prof-sheet .ccp-prof-ap-in-label {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
}

.ccp-prof-sheet .ccp-prof-ap-hexbox {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 48px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #f8f9fa;
}

.ccp-prof-sheet .ccp-prof-ap-hash {
  font-family: "JetBrains Mono", monospace;
  font-size: 16px;
  color: #9ca3af;
}

.ccp-prof-sheet .ccp-prof-ap-hexbox input {
  flex: 1;
  min-width: 0;
  padding: 0;
  border: none;
  outline: none;
  background: transparent;
  font-family: "JetBrains Mono", monospace;
  font-size: 16px;
  color: #111827;
  text-transform: uppercase;
}

.ccp-prof-sheet .ccp-prof-ap-in input[type="number"] {
  width: 100%;
  height: 48px;
  padding: 0 6px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #f8f9fa;
  font-family: "JetBrains Mono", monospace;
  font-size: 16px;
  color: #111827;
  text-align: center;
  outline: none;
  -moz-appearance: textfield;
  appearance: textfield;
}

.ccp-prof-sheet .ccp-prof-ap-in input[type="number"]::-webkit-inner-spin-button,
.ccp-prof-sheet .ccp-prof-ap-in input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.ccp-prof-sheet .ccp-prof-ap-in input[type="number"]:focus,
.ccp-prof-sheet .ccp-prof-ap-hexbox:focus-within,
.ccp-prof-sheet .ccp-prof-ap-search:focus-within {
  border-color: #63ea71;
  background: #fff;
}

.ccp-prof-sheet .ccp-prof-ap-pv {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 18px;
}

.ccp-prof-sheet .ccp-prof-ap-pv-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.ccp-prof-sheet .ccp-prof-ap-pv-sw {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14);
}

.ccp-prof-sheet .ccp-prof-ap-recent {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ccp-prof-sheet .ccp-prof-ap-recent-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ccp-prof-sheet .ccp-prof-ap-recent-sw {
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14);
  cursor: pointer;
}

/* All fonts step */

.ccp-prof-sheet .ccp-prof-ap-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 50px;
  padding: 0 8px 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #f8f9fa;
}

.ccp-prof-sheet .ccp-prof-ap-search > svg {
  flex-shrink: 0;
}

.ccp-prof-sheet .ccp-prof-ap-search input {
  flex: 1;
  min-width: 0;
  padding: 0;
  border: none;
  outline: none;
  background: transparent;
  font-family: "Outfit", sans-serif;
  font-size: 16px;
  color: #111827;
}

.ccp-prof-sheet .ccp-prof-ap-clear {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.ccp-prof-sheet .ccp-prof-ap-fonts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.ccp-prof-sheet .ccp-prof-ap-fontrow {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 64px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  text-align: left;
  color: #111827;
  cursor: pointer;
}

.ccp-prof-sheet .ccp-prof-ap-fontrow.is-on {
  border-color: #27b079;
  background: rgba(99, 234, 113, 0.08);
}

.ccp-prof-sheet .ccp-prof-ap-fontrow-aa {
  flex-shrink: 0;
  width: 40px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.ccp-prof-sheet .ccp-prof-ap-fontrow-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ccp-prof-sheet .ccp-prof-ap-fontrow-name {
  font-size: 1.06rem;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.ccp-prof-sheet .ccp-prof-ap-fontrow-hint {
  font-size: 0.86rem;
  color: #6b7280;
}

.ccp-prof-sheet .ccp-prof-ap-fontrow-on {
  flex-shrink: 0;
  display: none;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #16a34a;
}

.ccp-prof-sheet .ccp-prof-ap-fontrow.is-on .ccp-prof-ap-fontrow-on {
  display: flex;
}

.ccp-prof-sheet .ccp-prof-ap-none {
  padding: 24px 0;
  text-align: center;
  font-size: 1rem;
  color: #6b7280;
}

.ccp-prof-sheet .ccp-prof-ap-upload {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 66px;
  margin-top: 12px;
  padding: 0 16px;
  border-radius: 14px;
  border: 2px dashed rgba(22, 163, 74, 0.4);
  background: rgba(99, 234, 113, 0.05);
  cursor: pointer;
}

.ccp-prof-sheet .ccp-prof-ap-upload:has(input:focus-visible) {
  outline: 2px solid var(--ccp-active);
  outline-offset: 2px;
}

.ccp-prof-sheet .ccp-prof-ap-upload > svg {
  flex-shrink: 0;
}

.ccp-prof-sheet .ccp-prof-ap-upload-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ccp-prof-sheet .ccp-prof-ap-upload-title {
  font-size: 1.04rem;
  font-weight: 700;
  color: #08493c;
}

.ccp-prof-sheet .ccp-prof-ap-upload-hint {
  font-size: 0.86rem;
  color: #6b7280;
}

/* Restore step */

.ccp-prof-sheet .ccp-prof-ap-rs {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 22px 6px 8px;
}

.ccp-prof-sheet .ccp-prof-ap-rs-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  border: 1px solid rgba(244, 63, 94, 0.28);
  background: rgba(244, 63, 94, 0.1);
}

.ccp-prof-sheet .ccp-prof-ap-rs-title {
  margin-top: 16px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: #111827;
}

.ccp-prof-sheet .ccp-prof-ap-rs-title:focus {
  outline: none;
}

.ccp-prof-sheet .ccp-prof-ap-rs-sub {
  margin-top: 8px;
  max-width: 340px;
  font-size: 1.02rem;
  line-height: 1.55;
  color: #6b7280;
}

/* Logo and cover sheets */

.ccp-prof-sheet .ccp-prof-media {
  display: flex;
  flex-direction: column;
}

.ccp-prof-sheet .ccp-prof-media--logo {
  padding: 4px 0;
}

.ccp-prof-sheet .ccp-prof-media--logo .ccp-prof-rm {
  margin: 16px 0 -4px;
}

.ccp-prof-sheet .ccp-prof-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 170px;
  padding: 16px;
  border-radius: 16px;
  border: 1.5px dashed rgba(39, 176, 121, 0.5);
  background: rgba(99, 234, 113, 0.05);
  cursor: pointer;
}

.ccp-prof-sheet .ccp-prof-upload--cover {
  min-height: 130px;
}

.ccp-prof-sheet .ccp-prof-upload-ic {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(99, 234, 113, 0.15);
  color: #16a34a;
}

.ccp-prof-sheet .ccp-prof-upload-t {
  font-size: 1.078rem;
  font-weight: 700;
  color: #111827;
}

.ccp-prof-sheet .ccp-prof-upload-h {
  font-size: 0.88rem;
  color: #6b7280;
}

.ccp-prof-sheet .ccp-prof-logo-lg {
  display: block;
  width: 120px;
  height: 120px;
  margin: 0 auto 12px;
  padding: 0;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  cursor: pointer;
}

.ccp-prof-sheet .ccp-prof-logo-lg-in {
  display: flex;
  width: 100%;
  height: 100%;
}

.ccp-prof-sheet .ccp-prof-logo-lg-in img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ccp-prof-sheet .ccp-prof-logo-lg-in .logo-placeholder {
  gap: 0.45rem;
}

.ccp-prof-sheet .ccp-prof-cover-lg {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 6;
  padding: 0;
  border: none;
  border-radius: 14px;
  background-color: #f3f4f6;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  cursor: pointer;
}

.ccp-prof-sheet .ccp-prof-media-note {
  margin-top: 6px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #6b7280;
}

.ccp-prof-sheet .ccp-prof-media-row {
  gap: 8px;
  margin-top: 8px;
}

.ccp-prof-sheet .ccp-prof-media--logo .ccp-prof-media-row {
  margin-top: 0;
}

.ccp-prof-sheet .ccp-prof-media .ccp-btn,
.ccp-prof-sheet .ccp-prof-rm .ccp-btn {
  min-height: 46px;
  border-radius: 0.8rem;
  font-size: 1.24rem;
  font-weight: 650;
}

.ccp-prof-sheet .ccp-prof-rm .ccp-btn--danger {
  font-weight: 700;
}

.ccp-prof-sheet .ccp-btn--danger-soft {
  border-color: rgba(220, 38, 38, 0.3);
  background: rgba(220, 38, 38, 0.05);
}

.ccp-prof-sheet .ccp-prof-rm {
  margin-top: 12px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(220, 38, 38, 0.2);
  background: rgba(220, 38, 38, 0.06);
}

.ccp-prof-sheet .ccp-prof-rm-t {
  font-size: 1.045rem;
  font-weight: 700;
  color: #111827;
}

.ccp-prof-sheet .ccp-prof-rm-s {
  margin-top: 2px;
  font-size: 0.924rem;
  color: #4b5563;
}

.ccp-prof-sheet .ccp-prof-rm .ccp-btn-row {
  gap: 8px;
  margin-top: 10px;
}

/* Profile URL and visibility sheet */

.ccp-prof-sheet .ccp-prof-slug {
  display: flex;
  align-items: center;
  height: 50px;
  margin-top: 4px;
  overflow: hidden;
  border-radius: 0.8rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #f8f9fa;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.ccp-prof-sheet .ccp-prof-slug:focus-within {
  border-color: rgba(99, 234, 113, 0.6);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(99, 234, 113, 0.18);
}

.ccp-prof-sheet .ccp-prof-slug.is-invalid {
  border-color: #fca5a5;
  box-shadow: none;
}

.ccp-prof-sheet .ccp-prof-slug.is-locked {
  background: #f3f4f6;
  box-shadow: none;
  border-color: rgba(0, 0, 0, 0.08);
}

/* The prefix keeps its full width, as designed; the field takes what is left. */
.ccp-prof-sheet .ccp-prof-slug-pre {
  flex: 0 0 auto;
  min-width: 0;
  padding: 0 4px 0 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1.012rem;
  color: #9ca3af;
}

.ccp-prof-sheet .ccp-prof-slug-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  padding: 0 12px 0 0;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 17.6px;
  font-weight: 600;
  color: #111827;
}

.ccp-prof-sheet .ccp-prof-slug-input:focus-visible {
  outline: none;
}

.ccp-prof-sheet .ccp-prof-slug.is-locked .ccp-prof-slug-input {
  color: #6b7280;
}

.ccp-prof-sheet .ccp-prof-slug-msg {
  margin-top: 6px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #b91c1c;
}

.ccp-prof-sheet .ccp-prof-slug-msg:empty {
  display: none;
}

.ccp-prof-sheet .ccp-prof-switch {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 60px;
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  color: var(--ccp-text);
  text-align: left;
  cursor: pointer;
}

.ccp-prof-sheet .ccp-prof-switch.is-locked {
  cursor: default;
  opacity: 0.6;
}

.ccp-prof-sheet .ccp-prof-switch-text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ccp-prof-sheet .ccp-prof-switch-title {
  font-size: 1.045rem;
  font-weight: 650;
}

.ccp-prof-sheet .ccp-prof-track {
  position: relative;
  flex-shrink: 0;
  width: 48px;
  height: 28px;
  border-radius: 999px;
  background: #d1d5db;
  transition: background 0.2s ease;
}

.ccp-prof-sheet .ccp-prof-track span {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}

.ccp-prof-sheet .ccp-prof-switch[aria-checked="true"] .ccp-prof-track {
  background: #27b079;
}

.ccp-prof-sheet .ccp-prof-switch[aria-checked="true"] .ccp-prof-track span {
  transform: translateX(20px);
}

/* Location sheet */

.ccp-prof-sheet .ccp-prof-locfield {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  margin-top: 14px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  background: #f8f9fa;
  color: #16a34a;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.ccp-prof-sheet .ccp-prof-locfield:focus-within {
  border-color: #63ea71;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(99, 234, 113, 0.14);
}

.ccp-prof-sheet .ccp-prof-locfield input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 17.6px;
  color: #111827;
}

.ccp-prof-sheet .ccp-prof-locfield input:focus-visible {
  outline: none;
}

.ccp-prof-sheet .ccp-prof-loc-save {
  min-height: 54px;
  margin-top: 16px;
  border-radius: 16px;
  font-size: 1.127rem;
  font-weight: 700;
}

.ccp-prof-sheet.ccp-prof-sheet--location .v-bs-body > .ccp-sheet-content {
  padding-bottom: calc(18px + var(--ccp-safe-b));
}

/* Social links sheet: desktop's links form, laid out like the design */

.ccp-prof-sheet .ccp-prof-sl-body {
  display: block;
  max-height: none;
  padding: 0;
  overflow: visible;
}

.ccp-prof-sheet .ccp-prof-sl-body .sl-manage-list {
  gap: 10px;
}

.ccp-prof-sheet .ccp-prof-sl-body .sl-manage-row {
  position: relative;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
}

.ccp-prof-sheet .ccp-prof-sl-body .sl-manage-label {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.ccp-prof-sheet .ccp-prof-sl-body .sl-manage-row--custom .sl-manage-subfield:has(.sl-manage-input--label) {
  display: none;
}

.ccp-prof-sheet .ccp-prof-sl-body .sl-manage-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.04);
  color: #374151;
}

.ccp-prof-sheet .ccp-prof-sl-body .sl-manage-field {
  gap: 6px;
}

.ccp-prof-sheet .ccp-prof-sl-body .sl-manage-field--custom {
  gap: 10px;
}

.ccp-prof-sheet .ccp-prof-sl-body .sl-manage-subfield {
  gap: 6px;
}

.ccp-prof-sheet .ccp-prof-sl-body .sl-manage-label {
  font-family: inherit;
  font-size: 0.858rem;
  font-weight: 650;
  letter-spacing: 0;
  color: #4b5563;
}

.ccp-prof-sheet .ccp-prof-sl-body .sl-manage-input {
  height: 48px;
  padding: 0 14px;
  border-radius: 0.8rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #f8f9fa;
  font-family: inherit;
  font-size: 17.6px;
  color: #1a1a2e;
}

.ccp-prof-sheet .ccp-prof-sl-body .sl-manage-input:focus-visible {
  outline: none;
}

.ccp-prof-sheet .ccp-prof-sl-body .sl-manage-input:focus {
  border-color: #63ea71;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(99, 234, 113, 0.12);
}

.ccp-prof-sheet .ccp-prof-sl-body .sl-manage-input.is-invalid:not(:focus) {
  border-color: #fca5a5;
  box-shadow: none;
}

.ccp-prof-sheet .ccp-prof-sl-body .sl-manage-remove {
  position: absolute;
  top: -22px;
  right: -12px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #374151;
}

.ccp-prof-sheet .ccp-prof-sl-body .ccp-prof-sl-x {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15);
}

.ccp-prof-sheet .ccp-prof-sl-body .sl-manage-actions {
  display: none;
}

.ccp-prof-sheet .ccp-prof-add-link svg {
  color: #1a1a2e;
  stroke-width: 2;
}

.ccp-prof-sheet .ccp-prof-add-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 52px;
  margin-top: 14px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1.5px dashed rgba(39, 176, 121, 0.5);
  background: rgba(99, 234, 113, 0.06);
  color: #08493c;
  font-size: 1.24rem;
  font-weight: 700;
  cursor: pointer;
}

/* Desktop's crop and gallery pop-ups, shown as phone sheets on this screen */

@media (max-width: 1023px) {
  body[data-phone-screen="profile"] .bn-crop-overlay {
    z-index: 1300;
    align-items: flex-end;
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* Full width: desktop sizes the crop area from the window (its width less 80px). */
  body[data-phone-screen="profile"] .bn-crop-box {
    width: 100%;
    max-width: none;
    max-height: 92dvh;
    margin: 0 auto;
    border: none;
    border-radius: 20px 20px 0 0;
    padding-bottom: var(--ccp-safe-b);
    animation: ccpSheetUp 0.32s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  body[data-phone-screen="profile"] .bn-crop-box::before {
    content: "";
    display: block;
    flex-shrink: 0;
    width: 36px;
    height: 4px;
    margin: 8px auto 2px;
    border-radius: 999px;
    background: #d1d5db;
  }

  body[data-phone-screen="profile"] .bn-crop-box .v-modal-close {
    width: 44px;
    height: 44px;
  }

  body[data-phone-screen="profile"] .bn-crop-subtitle {
    font-size: 0.82rem;
    color: #6b7280;
  }

  /* The crop area keeps the size the picture was laid out for, which Apply maps
     onto the saved image; a short screen scrolls the area instead of squashing it. */
  body[data-phone-screen="profile"] .bn-crop-stage-wrap {
    justify-content: flex-start;
    padding: 14px 16px;
    overflow-y: auto;
  }

  body[data-phone-screen="profile"] .bn-crop-container,
  body[data-phone-screen="profile"] .bn-crop-controls-wrap {
    flex-shrink: 0;
  }

  body[data-phone-screen="profile"] .bn-snap-row {
    flex-wrap: wrap;
    gap: 6px;
  }

  body[data-phone-screen="profile"] .bn-snap-label {
    font-size: 0.72rem;
    color: #6b7280;
  }

  body[data-phone-screen="profile"] .bn-snap-btn,
  body[data-phone-screen="profile"] .bn-zoom-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    color: #374151;
  }

  body[data-phone-screen="profile"] .bn-zoom-row {
    gap: 8px;
    padding: 6px 8px;
  }

  body[data-phone-screen="profile"] .bn-zoom-slider {
    height: 6px;
  }

  body[data-phone-screen="profile"] .bn-crop-box .v-modal-footer {
    gap: 10px;
    padding: 12px 16px calc(14px + var(--ccp-safe-b));
  }

  body[data-phone-screen="profile"] .bn-crop-box .v-modal-footer .v-action-btn {
    flex: 1 1 0;
    min-height: 48px;
  }

  body[data-phone-screen="profile"] #gu-modal .gu-input {
    min-height: 48px;
  }

  body[data-phone-screen="profile"] #gu-modal .gu-textarea {
    min-height: 96px;
  }

  body[data-phone-screen="profile"] #gu-modal .gu-preview-remove {
    min-height: 44px;
  }
}

/* Phones turned sideways: snap and zoom share one row so the crop area fits */

@media (max-height: 500px) and (max-width: 1023px) and (orientation: landscape) and (pointer: coarse) {
  body[data-phone-screen="profile"] .bn-crop-stage-wrap {
    padding: 10px 16px;
  }

  body[data-phone-screen="profile"] .bn-crop-controls-wrap {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 12px;
    max-width: none;
    margin-top: 10px;
  }

  body[data-phone-screen="profile"] .bn-zoom-row {
    flex: 1 1 240px;
  }

  body[data-phone-screen="profile"] .bn-zoom-slider {
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ccp-profile *,
  .ccp-prof-sheet * {
    transition: none !important;
    animation: none !important;
  }

  .ccp-profile .ccp-prof-zone:active,
  .ccp-profile .op-card:active {
    transform: none;
  }

  body[data-phone-screen="profile"] .bn-crop-box {
    animation: none;
  }
}
