/* Only the standalone shared-profile page: no change to other Core/Match screens. */
body.cedge-profile-page {
  --cedge-theme-primary: #0b57b7;
  --cedge-theme-secondary: #123b70;
  --cedge-theme-primary-rgb: 11, 87, 183;
  --cedge-theme-secondary-rgb: 18, 59, 112;
  --cedge-bg: #edf3fa;
  --cedge-bg-soft: #edf3fa;
  --cedge-surface: #fff;
  --cedge-surface-strong: #fff;
  --cedge-border: #ccdced;
  --cedge-border-strong: #a9c4e3;
  --cedge-text: #16263c;
  --cedge-text-soft: #465a73;
  --cedge-heading: #102238;
  --cedge-accent: #0b57b7;
  --cedge-accent-strong: #07458f;
  --cedge-accent-soft: #e7f1ff;
  --cedge-link: #0b57b7;
  --cedge-link-hover: #07458f;
  --cedge-shadow: 0 8px 24px rgb(18 59 112 / 7%);
  --cedge-shadow-soft: 0 3px 14px rgb(18 59 112 / 5%);
  --cedge-font-heading: "Segoe UI", Arial, sans-serif;
  --cedge-font-body: "Segoe UI", Arial, sans-serif;
  background: #edf3fa;
  color: #16263c;
  font-family: var(--cedge-font-body);
}
body.cedge-profile-page .cedge-shell:not(.is-accessible-mode) {
  background: #edf3fa;
  border: 0;
  box-shadow: none;
  border-radius: 16px;
  font-size: 17px;
  line-height: 1.6;
}
body.cedge-profile-page .cedge-shell:not(.is-accessible-mode)::before,
body.cedge-profile-page .cedge-shell:not(.is-accessible-mode)::after {
  background: none;
}
body.cedge-profile-page .cedge-shell-greeting,
body.cedge-profile-page .cedge-shell:not(.is-accessible-mode) :is(h1,h2,h3,h4,button,input,select,textarea) {
  font-family: var(--cedge-font-body);
}
body.cedge-profile-page .cedge-shell:not(.is-accessible-mode) :is(.cedge-card,.cedge-form,.cedge-consent-item,.cedge-profile-intro) {
  background: #fff;
  border: 1px solid #ccdced;
  border-radius: 16px;
  box-shadow: 0 3px 14px rgb(18 59 112 / 5%);
  padding: clamp(18px, 3vw, 30px);
}
body.cedge-profile-page .cedge-profile-intro { margin-bottom: 20px; }
body.cedge-profile-page .cedge-profile-intro h1 {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
  margin: 8px 0 14px;
}
body.cedge-profile-page .cedge-profile-intro p { margin: 0 0 12px; }
body.cedge-profile-page .cedge-profile-intro a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-right: 20px;
  color: #0b57b7;
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.cedge-profile-page .cedge-profile-extras summary {
  cursor: pointer;
  padding: 12px 0;
  min-height: 44px;
  font-weight: 600;
  color: #0b57b7;
}
body.cedge-profile-page .cedge-shell:not(.is-accessible-mode) .cedge-form-grid {
  gap: 22px;
  align-items: start;
}
body.cedge-profile-page .cedge-shell:not(.is-accessible-mode) :is(.cedge-input,.cedge-select,.cedge-textarea) {
  background-color: #fff;
  color: #16263c;
  border: 1px solid #90accd;
  border-radius: 8px;
  font-size: 17px;
  min-height: 46px;
  box-shadow: none;
}
body.cedge-profile-page .cedge-shell:not(.is-accessible-mode) textarea { min-height: 110px; }
body.cedge-profile-page .cedge-shell:not(.is-accessible-mode) .cedge-label {
  color: #16263c;
  font-size: 16px;
  font-weight: 650;
}
body.cedge-profile-page .cedge-shell:not(.is-accessible-mode) :is(.cedge-meta,.cedge-support-copy) {
  color: #465a73;
  font-size: 15px;
}
body.cedge-profile-page .cedge-shell:not(.is-accessible-mode) .cedge-button {
  border-radius: 9px;
  min-height: 44px;
  font-size: 16px;
}
body.cedge-profile-page .cedge-shell:not(.is-accessible-mode) .cedge-button--primary {
  background: #0b57b7;
  color: #fff;
  border-color: #0b57b7;
  box-shadow: none;
}
body.cedge-profile-page :is(a,button,input,select,textarea,summary):focus-visible {
  outline: 3px solid #005fcc;
  outline-offset: 3px;
}
body.cedge-profile-page :is(#cedge-profile-details,#cedge-account-security,#cedge-consent-settings) {
  scroll-margin-top: 90px;
}
body.cedge-profile-page .cedge-profile-extras a { overflow-wrap: anywhere; }
body.cedge-profile-page .cedge-shell:not(.is-accessible-mode) .cedge-progress { background: #dfebf8; }
body.cedge-profile-page .cedge-shell:not(.is-accessible-mode) .cedge-progress__bar { background: #0b57b7; }
body.cedge-profile-page .cedge-shell:not(.is-accessible-mode) .cedge-profile-photo-preview__placeholder { background: #edf3fa; }
body.cedge-profile-page .cedge-button--file { box-sizing: border-box; max-width: 100%; }
@media (max-width: 680px) {
  body.cedge-profile-page .cedge-shell:not(.is-accessible-mode) .cedge-form-grid { grid-template-columns: minmax(0, 1fr); }
  body.cedge-profile-page .cedge-profile-intro a { margin-right: 14px; }
}
