.cv-block-desktop { display: block; }
.cv-block-mobile { display: none; }
@media (max-width: 1279px) {
  .cv-block-desktop { display: none; }
  .cv-block-mobile { display: block; }
}


.profile-tabs-chips .filter-chips a.filter-chip { text-decoration: none; }
.profile-tabs-chips .filter-chip { background: var(--surface-primary); }
html.dark-theme .profile-tabs-chips .filter-chip { background: var(--surface-primary); }
.profile-tabs-chips .filter-chip.active { background: var(--accent-color); color: var(--surface-primary); }
html.dark-theme .profile-tabs-chips .filter-chip.active { background: var(--accent-color); color: var(--surface-primary); }

.profile-mobile-title { display: none; }
@media (max-width: 1279px) {
  .profile-mobile-title {
    display: block;
    margin: 24px auto 16px;
    max-width: 600px;
    width: 100%;
    font-size: var(--fs-24);
    line-height: var(--lh-24);
    letter-spacing: var(--ls-24);
    font-weight: var(--fw-semibold);
    color: var(--text-color);
  }
}

.resume-mobile-actions {
  display: none;
}
.resume-analytics-btn-mobile {
  gap: 6px;
  white-space: nowrap;
}
.resume-create-btn-mobile {
  display: none;
}
@media (max-width: 1279px) {
  .resume-create-link,
  .resume-analytics-link {
    display: none;
  }
  .resume-mobile-actions {
    display: flex;
    width: 100%;
    gap: 8px;
  }
  .resume-mobile-actions .btn {
    flex: 1 1 0;
  }
  .resume-create-btn-mobile {
    display: block;
    width: 100%;
  }
}

.resume-card-primary {
  display: flex;
  align-items: center;
  gap: 8px;
}

.resume-card-primary-desktop {
  display: none;
}
.resume-card-primary-mobile {
  display: flex;
}
.resume-card-avatar-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
}

@media (min-width: 1280px) {
  .resume-card-primary-desktop {
    display: flex;
  }
  .resume-card-primary-mobile {
    display: none;
  }
  .resume-card-avatar-header {
    display: flex;
    gap: 16px;
    width: auto;
    justify-content: flex-start;
    align-items: flex-start;
  }
}
.resume-card-primary-label {
  color: var(--text-color);
  font-size: 14px;
  font-weight: var(--fw-regular, 400);
}

.resume-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 20px 12px;
  gap: 16px;
  width: 420px;
  max-width: 100%;
  margin: 0 auto;
}
.resume-empty-illustration {
  color: var(--text-color);
}
.resume-empty-text {
  color: var(--text-color);
  text-align: center;
  font-size: 16px;
  line-height: var(--lh-16);
  margin: 0;
}
.resume-empty-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.resume-empty-actions .btn {
  width: 100%;
}
.resume-empty-create-row {
  display: flex;
  flex-direction: row;
  gap: 12px;
  width: 100%;
}
.resume-empty-create-row .btn {
  flex: 1;
}
.resume-empty-actions .btn:disabled,
.resume-create-btn-mobile:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
.resume-empty-hint {
  color: var(--text-muted);
  font-size: 13px;
  margin: 0;
}

.profile-card.no-resumes .resume-create-link,
.profile-card.no-resumes .resume-create-btn-mobile {
  display: none;
}
.profile-card.no-resumes + .resume-linkedin-cta {
  display: none;
}
.profile-card.no-resumes .resume-mobile-actions {
  display: none;
}
.resume-linkedin-cta {
  margin-top: 16px;
}
.resume-linkedin-cta .article-product-cta {
  margin: 0 !important;
}
@media (max-width: 1279px) {
  .resume-empty-state {
    padding: 0 12px 16px;
    width: 100%;
    margin: 0;
  }
  .profile-card.no-resumes {
    gap: 0;
  }
}

html:not(.dark-theme) .toast {
  box-shadow: 0px 4px 12px 6px #0000000F;
}
@media (min-width: 1280px) {
  .resume-create-btn-mobile {
    display: none !important;
  }
}

.profile-card-2 {
  background: var(--surface-primary);
  border-radius: 24px;
  padding: 20px;
  margin-top: 16px;
}

.recruiter-profile-sections {
  display: grid;
  grid-template-columns: 240px 1fr;
  column-gap: 24px;
  row-gap: 18px;
  align-items: start;
}
@media (min-width: 1280px) {

  .recruiter-profile-sections {
    grid-template-columns: 240px 1fr;
  }
  .recruiter-profile-section-fields {
    width: 100%;
    max-width: 540px;
    margin-left: auto;
  }
}
.recruiter-profile-title { margin: 0; }
.recruiter-profile-subtitle {
  font-size: var(--fs-14);
  line-height: var(--lh-14);
  letter-spacing: var(--ls-14);
  font-weight: var(--fw-regular);
  color: var(--text-muted);
}
.recruiter-profile-section-fields {
  min-width: 0;
}
.recruiter-profile-section-fields .input {
  max-width: 100%;
  margin-bottom: 0;
}
.recruiter-profile-section-fields .resume-select {
  width: 100%;
}
.recruiter-profile-section-fields .resume-select.inline-input {
  cursor: text;
}
.recruiter-profile-section-fields .resume-select.inline-input .resume-select-input {
  position: absolute;
  left: 16px;
  right: 40px;
  top: 9px;
  bottom: 0;
  height: 44px;
  padding: 12px 0;
  border: none;
  background: transparent;
  font: inherit;
  font-size: var(--fs-16);
  line-height: var(--lh-16);
  letter-spacing: var(--ls-16);
  color: var(--text-color);
  outline: none;
  margin: 0;
  max-width: none;
  border-radius: 0;
  box-shadow: none;
}
.recruiter-profile-section-fields .resume-select.inline-input.placeholder .resume-select-input {
  color: var(--placeholder-color);
}
.recruiter-profile-section-fields .resume-select.drop-up .resume-select-dropdown {
  top: auto;
  bottom: calc(100% + 4px);
}
.recruiter-profile-two-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.recruiter-profile-one-col {
  display: block;
}
@media (max-width: 1279px) {
  .recruiter-profile-sections {
    grid-template-columns: 1fr;



    row-gap: 8px;
  }
  .recruiter-profile-section-fields + .recruiter-profile-section-label {
    margin-top: 8px;
  }
  .recruiter-profile-two-cols {
    grid-template-columns: 1fr;
  }

  .recruiter-profile-name-two-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .recruiter-profile-contacts-two-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.theme-settings-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.theme-options {
  display: flex;
  gap: 12px;
}
.theme-option {
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: var(--cursor-pointer);
  user-select: none;
  align-items: flex-start;
  flex: 1 1 0;
  min-width: 0;
}
.theme-option-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.theme-option-preview {
  display: block;
  width: 100%;
  height: 104px;
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
  border: none;
  box-shadow: none;
  transition: box-shadow 0.2s ease;
  box-sizing: border-box;
}
.theme-option-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  background: var(--surface-secondary);
}
.theme-option-input:checked + .theme-option-preview {
  box-shadow: 0 0 0 2px var(--accent-color);
}
.theme-option-name {
  font-family: var(--font-primary);
  font-size: var(--fs-14);
  letter-spacing: var(--ls-14);
  line-height: var(--lh-14);
  font-weight: var(--fw-regular);
  color: var(--text-color);
  text-align: left;
  width: 100%;
}
@media (max-width: 1279px) {
  .theme-settings-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  #themeSection .profile-card-title {
    margin-bottom: 0;
  }
  .theme-option-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: 2772 / 1680;
    object-fit: contain;
    border-radius: 0;
    background: var(--surface-secondary);
  }
  .theme-options {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .theme-option {
    width: 100%;
  }
  .theme-option-preview {
    width: 100%;
    height: auto;
    max-height: none;
  }
}
@media (min-width: 1280px) {

  .theme-options {
    width: 540px;
  }
}
.referral-benefits {
  margin-bottom: 16px;
}
.referral-link-section {
  width: 100%;
}
.referral-input-wrap {
  position: relative;
}
.referral-link-input {
  padding-right: 44px;
  pointer-events: none;
  user-select: none;
  margin-bottom: 4px;
}
@media (min-width: 1280px) {
  .referral-link-input {
    max-width: none;
  }
}
.referral-copy-btn {
  position: absolute;
  right: 12px;
  top: 10px;
  transform: none;
  background: transparent;
  border: none;
  cursor: var(--cursor-pointer);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}
.referral-copy-btn:hover {
  color: var(--accent-color);
}
.referral-copy-btn:focus {
  outline: none;
}
.referral-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-bottom: 16px;
}
.referral-stat-item {
  background: var(--surface-secondary);
  border-radius: 16px;
  padding: 12px;
  text-align: center;
}
.referral-stat-value {
  display: block;
  font-size: var(--fs-20);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-20);
  color: var(--text-color);
}
