/* Production-only integration for the approved Personal Profile fixture. */
body.personal-mode #profilePage {
  --surface: #0c0f0e;
  --surface-2: #111414;
  --line: #2a2f2d;
  --text: #f4f6ef;
  --muted: #aab5ae;
  --accent: #22c55e;
  font-family:var(--atsrs-font-sans);
}

html[data-theme="light"] body.personal-mode #profilePage {
  --surface: #fff;
  --surface-2: #f4f7fb;
  --line: #c8d4de;
  --text: #172b3d;
  --muted: #617386;
  --accent: #2563eb;
}

body.personal-mode #app#app.app:not(.hidden) #profilePage > .panel {
  width: 100% !important;
  max-width: 1440px !important;
  margin-inline: auto !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

body.personal-mode[data-atsrs-account-route="profile"] #app#app.app:not(.hidden) > .main > #pageTitle {
  display: none !important;
}

body.personal-mode #app#app.app:not(.hidden) #profilePage > .panel > #accountTitle {
  display: block !important;
  margin: 0 !important;
  color: var(--text) !important;
  font-size: 32px !important;
  line-height: normal !important;
}

html[data-theme="dark"] body.personal-mode #app#app.app:not(.hidden) #profilePage > .panel > #accountTitle {
  color: #f4f6ef !important;
  -webkit-text-fill-color: #f4f6ef !important;
}

body.personal-mode #profilePage .profile-rebuild-subtitle {
  margin: 16px 0 !important;
  line-height: normal !important;
}

body.personal-mode #profilePage .profile-summary-stage,
body.personal-mode #profilePage .profile-summary-stage *,
body.personal-mode #profilePage .profile-summary-stage *::before,
body.personal-mode #profilePage .profile-summary-stage *::after {
  box-sizing: content-box;
}

body.personal-mode #profilePage .profile-summary-stage :is(button, progress) {
  box-sizing: border-box;
}

body.personal-mode #profilePage .profile-summary-stage :is(p, dt, dd, h4, strong, span, em, small) {
  line-height: normal;
}

body.personal-mode #profilePage .profile-summary-title-row h4 {
  line-height: 1.2;
}

body.personal-mode #profilePage :is(.profile-summary-role, .profile-summary-verified) {
  flex: 0 0 auto;
  line-height: 1;
  white-space: nowrap;
}

body.personal-mode #profilePage .profile-availability-heading h4 {
  white-space: nowrap;
}

body.personal-mode #profilePage .profile-availability-actions {
  display:flex; align-items:center; justify-content:flex-end; gap:6px;
  width:auto; height:30px; margin:0; padding:0;
}
body.personal-mode #profilePage .profile-availability-actions > .profile-inline-actions {
  display:flex; align-items:center; gap:6px; width:auto; height:30px;
  margin:0; padding:0; background:transparent;
}
body.personal-mode #profilePage .profile-availability-actions > .profile-inline-actions[hidden] { display:none !important; }
html[data-theme] body.personal-mode #app#app.app:not(.hidden) #profilePage#profilePage .profile-availability-actions .profile-information-action {
  display:grid !important; place-items:center !important; flex:0 0 30px !important;
  width:30px !important; min-width:30px !important; max-width:30px !important;
  height:30px !important; min-height:30px !important; max-height:30px !important;
  margin:0 !important; padding:0 !important; border:0 !important; border-radius:50% !important;
  background:transparent !important; background-image:none !important; box-shadow:none !important;
  line-height:1 !important;
}
body.personal-mode #profilePage .profile-availability-actions .profile-information-action > i { font-size:22px !important; line-height:1 !important; }
body.personal-mode #profilePage .profile-availability-actions .profile-information-action > svg {
  width:22px !important; height:22px !important; fill:none !important; stroke:currentColor !important;
  stroke-width:1.8 !important; stroke-linecap:round !important; stroke-linejoin:round !important;
}
body.personal-mode #profilePage .profile-availability-actions .profile-information-action:is(:hover,:focus-visible) {
  background:color-mix(in srgb,currentColor 8%,transparent) !important;
  outline:0 !important; box-shadow:none !important;
}
html[data-theme="light"] body.personal-mode #profilePage .profile-availability-actions .profile-information-action { color:#111 !important; }

body.personal-mode #app#app.app:not(.hidden) #profilePage#profilePage :is(
  .profile-information-card > h4,
  .profile-calendar-heading h4,
  .profile-account-status strong,
  .profile-account-status small,
  .profile-account-status dt,
  .profile-account-status dd
) {
  line-height: normal !important;
}

body.personal-mode #profilePage :is(
  .profile-summary-card,
  .profile-availability-card,
  .profile-information-tabs,
  .profile-information-card,
  .profile-calendar-card,
  .profile-account-status
) {
  border-color: var(--line) !important;
  border-style: solid !important;
  border-width: 1px !important;
  background: var(--surface) !important;
  background-image: none !important;
}

body.personal-mode #profilePage :is(
  .profile-summary-card,
  .profile-availability-card,
  .profile-information-card,
  .profile-calendar-card,
  .profile-account-status
) {
  box-shadow: none !important;
}

body.personal-mode #profilePage .profile-summary-identity {
  border-right: 1px solid var(--line) !important;
}

body.personal-mode #profilePage .profile-summary-avatar-wrap {
  position: relative !important;
  overflow: visible !important;
  border: 2px solid color-mix(in srgb, var(--accent) 28%, var(--line)) !important;
  background: var(--surface-2) !important;
  background-image: none !important;
}

body.personal-mode #profilePage .profile-summary-avatar,
body.personal-mode #profilePage .profile-summary-initials {
  border-radius: 50%;
}

body.personal-mode #profilePage .profile-summary-avatar-camera {
  position: absolute;
  left: auto;
  right: -8px;
  top: auto;
  bottom: 10px;
  z-index: 4;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(3,10,16,.58);
  color: #fff;
  cursor: pointer;
  transform: none;
}

body.personal-mode #profilePage .profile-summary-avatar-camera i {
  font-size: 32px;
  -webkit-text-stroke: 1px rgba(0,0,0,.88);
  paint-order: stroke fill;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.72));
}

body.personal-mode #profilePage .profile-summary-avatar-camera:hover {
  transform: none !important;
}

body.personal-mode #profilePage .profile-summary-avatar-camera:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

body.personal-mode #profilePage .profile-availability-fields dd,
body.personal-mode #profilePage .profile-information-field,
body.personal-mode #profilePage .profile-information-contact {
  border: 1px solid var(--line) !important;
  background: var(--surface-2) !important;
  background-image: none !important;
  box-shadow: none !important;
}

body.personal-mode #profilePage .profile-information-field > span,
body.personal-mode #profilePage .profile-information-contact span {
  background: var(--surface-2) !important;
}

body.personal-mode #app#app.app:not(.hidden) #profilePage#profilePage .profile-availability-edit {
  width: 100% !important;
  height: auto !important;
  min-height: 36px !important;
  margin: auto 0 0 !important;
  padding: 0 !important;
  border: 1px solid var(--accent) !important;
  border-radius: 8px !important;
  background: transparent !important;
  background-image: none !important;
  color: var(--accent) !important;
  box-shadow: none !important;
  font: 700 13.3333px/normal var(--atsrs-font-sans) !important;
}

body.personal-mode #profilePage .profile-availability-edit:is(:hover, :focus-visible) {
  background: color-mix(in srgb, var(--accent) 9%, transparent) !important;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 20%, transparent) !important;
}

body.personal-mode #app#app.app:not(.hidden) #profilePage#profilePage .profile-information-tabs button {
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 8px 12px !important;
  border: 0 !important;
  border-right: 1px solid var(--line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  color: var(--muted) !important;
  box-shadow: none !important;
  font: inherit !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}

body.personal-mode #profilePage .profile-information-tabs button:last-child {
  border-right: 0 !important;
}

body.personal-mode #profilePage .profile-information-tabs button.is-active {
  background: color-mix(in srgb, var(--accent) 9%, var(--surface)) !important;
  color: var(--text) !important;
}

body.personal-mode #app#app.app:not(.hidden) #profilePage#profilePage .profile-calendar-nav button,
body.personal-mode #app#app.app:not(.hidden) #profilePage#profilePage .profile-information-contact button {
  margin: 0 !important;
  padding: 0 !important;
  background-image: none !important;
  box-shadow: none !important;
}

body.personal-mode #app#app.app:not(.hidden) #profilePage#profilePage .profile-calendar-nav button {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  background: var(--surface-2) !important;
  color: var(--muted) !important;
}

html[data-theme] body.personal-mode #app#app.app:not(.hidden) #profilePage#profilePage .profile-information-contact button.profile-contact-verify {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 24px !important;
  min-height: 24px !important;
  padding: 0 2px !important;
  border-radius: 5px !important;
  color: var(--accent) !important;
  font: 500 12px/24px var(--atsrs-font-sans) !important;
  white-space: nowrap !important;
}

body.personal-mode #profilePage .profile-information-contact button.profile-contact-verify > i {
  flex: 0 0 auto !important;
  font-size: 14px !important;
  line-height: 1 !important;
}

body.personal-mode #profilePage .profile-information-contact button.profile-contact-verify:is(:hover,:focus-visible) {
  background: color-mix(in srgb,var(--accent) 9%,transparent) !important;
  color: var(--accent) !important;
  outline: 0 !important;
  box-shadow: 0 0 0 2px color-mix(in srgb,var(--accent) 18%,transparent) !important;
}

body.personal-mode #app#app.app:not(.hidden) #profilePage#profilePage .profile-information-contact button {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  border: 0 !important;
  border-radius: 7px !important;
  background: transparent !important;
  color: var(--muted) !important;
}

body.personal-mode #profilePage .profile-account-status-list > div {
  border-left: 1px solid var(--line) !important;
}

html[data-theme="light"] body.personal-mode #profilePage :is(
  .profile-information-field,
  .profile-information-contact,
  .profile-information-field > span,
  .profile-information-contact span,
  .profile-availability-fields dd
) {
  background: #fff !important;
}

/* The approved workspace remains visible while only its inner panels change. */
body.personal-mode #profilePage .profile-settings-viewport {
  height: 294px;
  min-height: 294px;
  max-height: 294px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

body.personal-mode #profilePage .profile-settings-panel {
  height: 100%;
  min-height: 0;
  padding: 18px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-gutter: stable;
  background: var(--surface);
}

body.personal-mode #profilePage .profile-settings-panel[hidden] { display: none !important; }
body.personal-mode #profilePage,
body.personal-mode #profilePage #profileTabPersonalPanel,
body.personal-mode #profilePage #profileTabPersonalPanel .profile-information-card,
body.personal-mode #profilePage #profileTabPersonalPanel .profile-information-grid,
body.personal-mode #profilePage #profileTabPersonalPanel .profile-inline-grid {
  overflow-anchor:none !important;
}
body.personal-mode #profilePage .profile-settings-panel > h4 { margin: 0 0 14px; color: var(--accent); }
body.personal-mode #profilePage .profile-settings-viewport .profile-information-card { border: 0 !important; border-radius: 0 !important; }
body.personal-mode #profilePage .profile-inline-editor.hidden,
body.personal-mode #profilePage .work-availability-card.hidden { display: none !important; }
body.personal-mode #profilePage #profilePersonalReadView .profile-inline-control { display:none !important; }
body.personal-mode #profilePage.profile-inline-editing #profilePersonalReadView .profile-inline-input-controlled > strong { display:none !important; }
body.personal-mode #profilePage.profile-inline-editing #profilePersonalReadView .profile-inline-input-controlled > .profile-inline-control { display:block !important; }
html[data-theme] body.personal-mode #app#app.app:not(.hidden) #profilePage#profilePage.profile-inline-editing #profileTabPersonalPanel#profileTabPersonalPanel #profilePersonalReadView .profile-inline-input-controlled > .profile-inline-control:is(:focus,:focus-visible) {
  outline:0 !important; outline-offset:0 !important;
}
body.personal-mode #profilePage:not(.profile-inline-editing) #profilePersonalReadView .profile-inline-select-controlled > :is(.atsrs-disclosure-shell,.atsrs-custom-select) { display:none !important; }
body.personal-mode #profilePage.profile-inline-editing #profilePersonalReadView .profile-inline-select-controlled > :is(.atsrs-disclosure-shell,.atsrs-custom-select) { display:block !important; }
@media (hover:hover) {
  html[data-theme="dark"] body.personal-mode #profilePage #profilePersonalReadView .profile-information-field:hover:not(:focus-within),
  html[data-theme="dark"] body.personal-mode #profilePage .profile-availability-fields dd:hover:not(:focus-within) {
    border-right-color:var(--atsrs-field-hover-inline-line,var(--atsrs-control-hover-border,#4b5d52)) !important;
    border-left-color:var(--atsrs-field-hover-inline-line,var(--atsrs-control-hover-border,#4b5d52)) !important;
  }
  html[data-theme="light"] body.personal-mode #profilePage #profilePersonalReadView .profile-information-field:hover:not(:focus-within),
  html[data-theme="light"] body.personal-mode #profilePage .profile-availability-fields dd:hover:not(:focus-within) {
    border-color:var(--atsrs-control-hover-border,#93b4ee) !important;
  }
}
body.personal-mode #profilePage .profile-inline-editor { height: 208px; min-height: 208px; max-height: 208px; overflow: visible; }
@media (min-width:981px) {
  body.personal-mode #profilePage .profile-inline-editor .profile-inline-grid,
  body.personal-mode #profilePage #profilePersonalReadView.profile-information-grid {
    height:208px; min-height:208px; max-height:208px; align-content:space-between;
    grid-auto-rows:34px;
  }
}
@media (max-width:980px) {
  body.personal-mode #profilePage .profile-inline-editor,
  body.personal-mode #profilePage .profile-inline-editor .profile-inline-grid,
  body.personal-mode #profilePage #profilePersonalReadView.profile-information-grid {
    height:auto; min-height:0; max-height:none; align-content:start; grid-auto-rows:34px;
  }
}
body.personal-mode #profilePage .profile-inline-editor .profile-editor-source { display: none !important; }
body.personal-mode #profilePage .profile-inline-grid { gap: 9px; }
body.personal-mode #profilePage .profile-inline-grid select { appearance: none !important; -webkit-appearance: none !important; }
body.personal-mode #profilePage .profile-inline-grid .profile-information-field:has(select) > i { display: none !important; }
body.personal-mode #profilePage #profileTabPersonalPanel .profile-information-field > i,
body.personal-mode #profilePage #profileTabPersonalPanel .profile-nationality-caret,
body.personal-mode #profilePage #profileTabPersonalPanel .profile-birth-trigger {
  display:none !important;
}
body.personal-mode #profilePage #profileTabPersonalPanel .profile-information-field.has-icon {
  padding-right:12px !important;
}
body.personal-mode #profilePage .profile-inline-grid .profile-nationality-select { position: relative; }
html[data-theme] body.personal-mode #app#app #profilePage#profilePage .profile-nationality-select .atsrs-field-shell {
  position: static !important; display: contents !important;
}
html[data-theme] body.personal-mode #app#app #profilePage#profilePage .profile-nationality-select .atsrs-field-shell > .atsrs-field-label {
  display: none !important;
}
html[data-theme] body.personal-mode #app#app #profilePage#profilePage .profile-nationality-select > :is(#profileInlineNationality,#profileInlineBirthCountry,#profileInlineCity,#profileInlineCountryResidence,#profileInlineCompany,#profileInlineTimezone) {
  display: block !important; width: 100% !important; min-width: 0 !important; height: 20px !important; min-height: 20px !important;
  margin: 0 !important; padding: 0 20px 0 0 !important; border: 0 !important; outline: 0 !important; border-radius: 0 !important;
  background: transparent !important; box-shadow: none !important; color: var(--text) !important; font: 500 12px/20px var(--atsrs-font-sans) !important;
}
html[data-theme] body.personal-mode #app#app #profilePage#profilePage .profile-nationality-select .atsrs-disclosure-shell {
  position: absolute !important; inset: 0 !important;
  display: block !important; width: 100% !important; height: 100% !important; min-height: 100% !important;
  margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important;
  background: transparent !important; box-shadow: none !important;
}
html[data-theme] body.personal-mode #app#app #profilePage#profilePage .profile-nationality-select .atsrs-custom-select > :is(#profileInlineNationality,#profileInlineBirthCountry,#profileInlineCity,#profileInlineCountryResidence,#profileInlineCompany,#profileInlineTimezone).atsrs-select-source {
  position: static !important; display: block !important; width: 100% !important; height: 20px !important; min-height: 20px !important;
  margin: 0 !important; padding: 0 20px 0 0 !important; border: 0 !important; outline: 0 !important; border-radius: 0 !important;
  background: transparent !important; box-shadow: none !important; color: transparent !important; -webkit-text-fill-color: transparent !important; opacity: 0 !important;
  font: 500 12px/20px var(--atsrs-font-sans) !important;
}
html[data-theme] body.personal-mode #app#app #profilePage#profilePage .profile-nationality-select > :is(#profileInlineNationalityValue,#profileInlineBirthCountryValue,#profileInlineCityValue,#inlineCountryValue,#profileInlineCompanyValue,#profileInlineTimezoneValue) {
  display: block !important; width: calc(100% - 20px) !important; height: 20px !important; margin: 0 !important; padding: 0 !important;
  color: var(--text) !important; font: 500 12px/20px var(--atsrs-font-sans) !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important;
}
html[data-theme] body.personal-mode #app#app #profilePage#profilePage .profile-nationality-select .atsrs-select-trigger {
  width: 100% !important; height: 100% !important; min-height: 100% !important; margin: 0 !important; padding: 0 !important;
  border: 0 !important; outline: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important;
  color: var(--text) !important; font: 500 12px/20px var(--atsrs-font-sans) !important; text-align: left !important;
}
html[data-theme] body.personal-mode #app#app #profilePage#profilePage .profile-nationality-select .atsrs-disclosure-indicator {
  display: none !important;
}
html[data-theme] body.personal-mode #app#app #profilePage#profilePage .profile-nationality-select > .profile-nationality-caret {
  position: absolute !important; z-index: 8 !important; right: 12px !important; top: 50% !important; bottom: auto !important; transform: translateY(-50%) !important;
  display: block !important; width: 14px !important; height: 14px !important; margin: 0 !important;
  color: var(--muted) !important; font-size: 14px !important; line-height: 14px !important; pointer-events: none !important;
}
html[data-theme] body.personal-mode #app#app #profilePage#profilePage #profileTabPersonalPanel .profile-information-field > i,
html[data-theme] body.personal-mode #app#app #profilePage#profilePage #profileTabPersonalPanel .profile-nationality-caret,
html[data-theme] body.personal-mode #app#app #profilePage#profilePage #profileTabPersonalPanel .profile-birth-trigger {
  display:none !important;
}
html[data-theme] body.personal-mode #app#app #profilePage#profilePage .profile-nationality-select .atsrs-custom-select:has(>.atsrs-select-trigger:focus-visible) > :is(#profileInlineNationality,#profileInlineBirthCountry,#profileInlineCity,#profileInlineCountryResidence,#profileInlineCompany,#profileInlineTimezone) {
  border: 0 !important; outline: 0 !important; background: transparent !important; box-shadow: none !important;
}
body.personal-mode .atsrs-select-menu .atsrs-select-option[aria-selected="true"] { background: transparent !important; box-shadow: none !important; }
body.personal-mode .atsrs-select-menu .atsrs-select-option[aria-selected="true"] .atsrs-select-option-check {
  color: var(--atsrs-menu-text) !important; -webkit-text-fill-color: var(--atsrs-menu-text) !important;
}
body.personal-mode #profilePage [data-profile-stage-edit] { display: none !important; }
body.personal-mode #profilePage .profile-information-address strong > i { display: none !important; }
body.personal-mode #profilePage .profile-inline-grid .profile-information-field { min-height: 34px; height: 34px; padding: 7px 12px 3px; }
body.personal-mode #profilePage .profile-inline-grid .profile-information-field > :is(input,select) {
  width: 100% !important; min-width: 0 !important; min-height: 20px !important; height: 20px !important; margin: 0 !important; padding: 0 !important;
  border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; color: var(--text) !important; font: 500 12px/20px var(--atsrs-font-sans) !important;
}
html[data-theme] body.personal-mode #app#app.app:not(.hidden) #profilePage#profilePage.profile-inline-editing .profile-inline-grid .profile-information-field > input,
html[data-theme] body.personal-mode #app#app.app:not(.hidden) #profilePage#profilePage.profile-inline-editing .profile-inline-grid .profile-information-field .atsrs-field-shell > input {
  min-height:20px !important; height:20px !important; padding:0 !important; border:0 !important; border-radius:0 !important;
  background:transparent !important; background-color:transparent !important; background-image:none !important; box-shadow:none !important;
  color:var(--text) !important; -webkit-text-fill-color:var(--text) !important; caret-color:var(--accent) !important;
}
html[data-theme] body.personal-mode #app#app.app:not(.hidden) #profilePage#profilePage.profile-inline-editing .profile-inline-grid .profile-information-field > input:-webkit-autofill,
html[data-theme] body.personal-mode #app#app.app:not(.hidden) #profilePage#profilePage.profile-inline-editing .profile-inline-grid .profile-information-field .atsrs-field-shell > input:-webkit-autofill {
  -webkit-box-shadow:0 0 0 1000px var(--surface-2) inset !important; box-shadow:0 0 0 1000px var(--surface-2) inset !important;
  -webkit-text-fill-color:var(--text) !important;
}
body.personal-mode #profilePage .profile-inline-grid .atsrs-field-shell { width: 100% !important; min-width: 0 !important; min-height: 20px !important; height: 20px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
body.personal-mode #profilePage .profile-inline-grid .atsrs-field-shell > .atsrs-field-label { display: none !important; }
body.personal-mode #profilePage .profile-inline-grid .atsrs-field-shell > :is(input,select) { width: 100% !important; min-width: 0 !important; min-height: 20px !important; height: 20px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; color: var(--text) !important; font: 500 12px/20px var(--atsrs-font-sans) !important; }
html[data-theme] body.personal-mode #app#app.app:not(.hidden) #profilePage#profilePage #profileTabPersonalPanel#profileTabPersonalPanel .profile-inline-grid .atsrs-field-shell {
  width: 100% !important; min-width: 0 !important; min-height: 20px !important; height: 20px !important; margin: 0 !important; padding: 0 !important;
  border: 0 !important; border-radius: 0 !important; background: transparent !important; background-image: none !important; box-shadow: none !important;
}
html[data-theme] body.personal-mode #app#app.app:not(.hidden) #profilePage#profilePage #profileTabPersonalPanel#profileTabPersonalPanel .profile-inline-grid .atsrs-field-shell > :is(input,select) {
  width: 100% !important; min-width: 0 !important; min-height: 20px !important; height: 20px !important; margin: 0 !important; padding: 0 !important;
  border: 0 !important; border-radius: 0 !important; background: transparent !important; background-color: transparent !important; background-image: none !important; box-shadow: none !important;
}
html[data-theme] body.personal-mode #app#app.app:not(.hidden) #profilePage#profilePage #profileTabPersonalPanel#profileTabPersonalPanel .profile-inline-grid :is(.atsrs-disclosure-shell,.atsrs-select-trigger) {
  min-height: 20px !important; height: 20px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important;
  background: transparent !important; background-color: transparent !important; background-image: none !important; box-shadow: none !important;
}
html[data-theme] body.personal-mode #app#app.app:not(.hidden) #profilePage#profilePage #profileTabPersonalPanel#profileTabPersonalPanel .profile-inline-grid .profile-nationality-select > .atsrs-disclosure-shell,
html[data-theme] body.personal-mode #app#app.app:not(.hidden) #profilePage#profilePage #profileTabPersonalPanel#profileTabPersonalPanel .profile-inline-grid .profile-nationality-select > .atsrs-disclosure-shell > .atsrs-select-trigger {
  position:absolute !important; inset:0 !important; z-index:3 !important;
  display:block !important; width:100% !important; height:100% !important; min-width:0 !important; min-height:0 !important;
  margin:0 !important; padding:0 !important; border:0 !important; border-radius:inherit !important;
  background:transparent !important; box-shadow:none !important; cursor:pointer !important;
}
body.personal-mode #profilePage .profile-inline-contact { min-height: 34px; height: 34px; padding: 7px 10px 3px; grid-template-columns: auto minmax(0,1fr); }
body.personal-mode #profilePage .profile-inline-contact > div { display: grid; min-width: 0; }
body.personal-mode #profilePage .profile-inline-contact > div > span { top: -7px; left: 10px; font-size: 10px; }
body.personal-mode #profilePage .profile-inline-contact input {
  min-width: 0 !important; width: 100% !important; min-height: 22px !important; height: 22px !important; margin: 0 !important; padding: 0 !important;
  border: 0 !important; background: transparent !important; box-shadow: none !important; font: 500 12px/22px var(--atsrs-font-sans) !important;
}
html[data-theme] body.personal-mode #app#app.app:not(.hidden) #profilePage#profilePage #profileTabPersonalPanel#profileTabPersonalPanel .profile-inline-grid .profile-inline-contact input {
  min-width: 0 !important; width: 100% !important; min-height: 20px !important; height: 20px !important; margin: 0 !important; padding: 0 !important;
  border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; color: var(--text) !important; font: 500 12px/20px var(--atsrs-font-sans) !important;
}
html[data-theme] body.personal-mode #app#app.app:not(.hidden) #profilePage#profilePage #profileTabPersonalPanel#profileTabPersonalPanel .profile-inline-grid .profile-inline-contact [contenteditable="true"] {
  min-width: 0 !important; width: 100% !important; min-height: 20px !important; height: 20px !important; margin: 0 !important; padding: 0 !important; outline: 0 !important;
  border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; color: var(--text) !important; font: 500 12px/20px var(--atsrs-font-sans) !important; white-space: nowrap; overflow: hidden;
}
html[data-theme] body.personal-mode #app#app#app.app:not(.hidden) #profilePage#profilePage#profilePage #profileTabPersonalPanel#profileTabPersonalPanel .profile-inline-grid :is(input,select,[contenteditable="true"]) {
  color: var(--text) !important; font-family: var(--atsrs-font-sans) !important; font-size: 12px !important; font-weight: 500 !important; line-height: normal !important;
}
html[data-theme] body.personal-mode #app#app#app.app:not(.hidden) #profilePage#profilePage#profilePage #profileTabPersonalPanel#profileTabPersonalPanel .profile-inline-grid #inlineCountryValue {
  color: var(--text) !important; font-family: var(--atsrs-font-sans) !important; font-size: 12px !important; font-weight: 500 !important; line-height: normal !important;
}
body.personal-mode #profilePage #profileTabPersonalPanel :is(
  .profile-information-field > span,
  .profile-information-contact > div > span
) {
  position:absolute !important; top:-7px !important; left:10px !important; z-index:2 !important;
  margin:0 !important; padding:0 6px !important; background:var(--surface-2) !important; color:var(--muted) !important;
  font-family:var(--atsrs-font-sans) !important; font-size:10px !important; font-weight:400 !important; line-height:14px !important;
  letter-spacing:normal !important; white-space:nowrap !important; transition:color .15s ease !important;
}
html[data-theme="light"] body.personal-mode #profilePage #profileTabPersonalPanel :is(
  .profile-information-field > span,
  .profile-information-contact > div > span
) { background:#fff !important; }
html[data-theme] body.personal-mode #app#app#app.app:not(.hidden) #profilePage#profilePage#profilePage.profile-inline-editing #profileTabPersonalPanel#profileTabPersonalPanel .profile-inline-grid .profile-information-field:focus-within > span,
html[data-theme] body.personal-mode #app#app#app.app:not(.hidden) #profilePage#profilePage#profilePage.profile-inline-editing #profileTabPersonalPanel#profileTabPersonalPanel .profile-inline-grid .profile-information-field:has([aria-expanded="true"]) > span,
html[data-theme] body.personal-mode #app#app#app.app:not(.hidden) #profilePage#profilePage#profilePage.profile-inline-editing #profileTabPersonalPanel#profileTabPersonalPanel .profile-inline-grid .profile-information-contact:focus-within > div > span { color: var(--atsrs-field-accent) !important; }
html[data-theme] body.personal-mode #app#app.app:not(.hidden) #profilePage#profilePage.profile-inline-editing .profile-inline-grid :is(.profile-information-field,.profile-information-contact):focus-within,
html[data-theme] body.personal-mode #app#app.app:not(.hidden) #profilePage#profilePage.profile-inline-editing .profile-inline-grid .profile-information-field:has([aria-expanded="true"]) {
  border-color:var(--atsrs-field-focus-block-line) var(--atsrs-field-focus-inline-line) !important;
  box-shadow:var(--atsrs-field-focus-shadow) !important;
}
html[data-theme="dark"] body.personal-mode #profilePage #profileInlineEditor .profile-inline-grid input:is(
  :-webkit-autofill,
  :-webkit-autofill:hover,
  :-webkit-autofill:focus,
  :-webkit-autofill:active
) {
  -webkit-text-fill-color:var(--text) !important; caret-color:var(--text) !important;
  -webkit-box-shadow:0 0 0 1000px color-mix(in srgb,var(--accent) 9%,var(--surface-2)) inset !important;
  box-shadow:0 0 0 1000px color-mix(in srgb,var(--accent) 9%,var(--surface-2)) inset !important;
  transition:background-color 9999s ease-out 0s !important;
}
html[data-theme="light"] body.personal-mode #profilePage #profileInlineEditor .profile-inline-grid input:is(
  :-webkit-autofill,
  :-webkit-autofill:hover,
  :-webkit-autofill:focus,
  :-webkit-autofill:active
) {
  -webkit-text-fill-color:var(--text) !important; caret-color:var(--text) !important;
  -webkit-box-shadow:0 0 0 1000px color-mix(in srgb,var(--accent) 6%,#fff) inset !important;
  box-shadow:0 0 0 1000px color-mix(in srgb,var(--accent) 6%,#fff) inset !important;
  transition:background-color 9999s ease-out 0s !important;
}
html[data-theme] body.personal-mode #app#app.app:not(.hidden) #profilePage#profilePage#profilePage #profileTabPersonalPanel#profileTabPersonalPanel .profile-inline-grid [contenteditable="true"] { width:100% !important; min-width:0 !important; height:16px !important; min-height:16px !important; margin:0 !important; padding:0 !important; border:0 !important; border-radius:0 !important; outline:0 !important; background:transparent !important; box-shadow:none !important; caret-color:var(--text) !important; }
.profile-birth-picker-host { position: fixed !important; left: -10000px !important; top: 0 !important; width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0 !important; pointer-events: none !important; }
body.personal-mode #profilePage .profile-inline-grid .profile-birth-trigger { position: absolute !important; inset: 0 !important; z-index: 3 !important; display: block !important; width: 100% !important; height: 100% !important; min-width: 0 !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: inherit !important; background: transparent !important; box-shadow: none !important; cursor: pointer !important; }
body:not(.atsrs-date-picker-open) > .atsrs-date-picker { display:none !important; }
body.personal-mode #profilePage #profileTabPersonalPanel { position: relative; }
body.personal-mode #profilePage.profile-inline-editing #profileTabPersonalPanel { overflow-y: hidden; }
body.personal-mode #profilePage #profileTabPersonalPanel > .profile-information-actions {
  position:absolute !important; top:12px !important; right:18px !important; z-index:8 !important;
  display:flex !important; align-items:center !important; justify-content:flex-end !important;
  width:auto !important; height:30px !important; margin:0 !important; padding:0 !important;
}
body.personal-mode #profilePage #profileTabPersonalPanel > .profile-information-actions > .profile-inline-actions {
  display:flex !important; align-items:center !important; gap:6px !important;
  width:auto !important; height:30px !important; margin:0 !important; padding:0 !important; background:transparent !important;
}
body.personal-mode #profilePage #profileTabPersonalPanel > .profile-information-actions > .profile-inline-actions[hidden],
body.personal-mode #profilePage #profileSummaryEditBtn[hidden] { display:none !important; }
html[data-theme] body.personal-mode #app#app.app:not(.hidden) #profilePage#profilePage #profileTabPersonalPanel#profileTabPersonalPanel .profile-information-action {
  display:grid !important; place-items:center !important; flex:0 0 30px !important;
  width:30px !important; min-width:30px !important; max-width:30px !important;
  height:30px !important; min-height:30px !important; max-height:30px !important;
  margin:0 !important; padding:0 !important; border:0 !important; border-radius:50% !important;
  background-image:none !important; box-shadow:none !important;
  line-height:1 !important;
}
body.personal-mode #profilePage #profileTabPersonalPanel .profile-information-action > i { font-size:22px !important; line-height:1 !important; }
body.personal-mode #profilePage #profileTabPersonalPanel .profile-information-action > svg {
  width:22px !important; height:22px !important; fill:none !important; stroke:currentColor !important;
  stroke-width:1.8 !important; stroke-linecap:round !important; stroke-linejoin:round !important;
}
body.personal-mode #profilePage #profileTabPersonalPanel .profile-information-action-edit {
  background:transparent !important; box-shadow:none !important;
}
body.personal-mode #profilePage #profileTabPersonalPanel .profile-information-action-edit:is(:hover,:focus-visible) {
  background:color-mix(in srgb,currentColor 8%,transparent) !important;
  outline:0 !important; box-shadow:none !important;
}
html[data-theme] body.personal-mode #app#app.app:not(.hidden) #profilePage#profilePage #profileTabPersonalPanel#profileTabPersonalPanel .profile-information-action-save,
html[data-theme] body.personal-mode #app#app.app:not(.hidden) #profilePage#profilePage #profileTabPersonalPanel#profileTabPersonalPanel .profile-information-action-cancel {
  background:transparent !important; box-shadow:none !important;
}
body.personal-mode #profilePage #profileTabPersonalPanel .profile-information-action-save:is(:hover,:focus-visible) {
  background:color-mix(in srgb,#fff 8%,transparent) !important; outline:0 !important; box-shadow:none !important;
}
body.personal-mode #profilePage #profileTabPersonalPanel .profile-information-action-cancel:is(:hover,:focus-visible) {
  background:color-mix(in srgb,#fff 8%,transparent) !important; outline:0 !important; box-shadow:none !important;
}
html[data-theme="light"] body.personal-mode #profilePage #profileTabPersonalPanel .profile-information-action { color:#111 !important; }
html[data-theme="light"] body.personal-mode #profilePage #profileTabPersonalPanel :is(.profile-information-action-save,.profile-information-action-cancel) {
  background:transparent !important; box-shadow:none !important;
}
html[data-theme="dark"] body.personal-mode #app#app.app:not(.hidden) #profilePage#profilePage .profile-availability-actions .profile-information-action,
html[data-theme="dark"] body.personal-mode #app#app.app:not(.hidden) #profilePage#profilePage #profileTabPersonalPanel#profileTabPersonalPanel .profile-information-action {
  color:#fff !important;
}
html[data-theme="light"] body.personal-mode #app#app.app:not(.hidden) #profilePage#profilePage .profile-availability-actions .profile-information-action,
html[data-theme="light"] body.personal-mode #app#app.app:not(.hidden) #profilePage#profilePage #profileTabPersonalPanel#profileTabPersonalPanel .profile-information-action {
  color:var(--atsrs-shell-accent-strong,#245b93) !important; border-color:transparent !important; background:transparent !important;
}
html[data-theme="light"] body.personal-mode #app#app.app:not(.hidden) #profilePage#profilePage .profile-availability-actions .profile-information-action:is(:hover,:focus-visible),
html[data-theme="light"] body.personal-mode #app#app.app:not(.hidden) #profilePage#profilePage #profileTabPersonalPanel#profileTabPersonalPanel .profile-information-action:is(:hover,:focus-visible) {
  color:var(--atsrs-shell-accent-strong,#245b93) !important;
  background:var(--atsrs-shell-accent-soft,rgba(22,123,211,.08)) !important;
}
body.personal-mode #profilePage .profile-inline-editor .profile-details-layout,
body.personal-mode #profilePage .profile-inline-editor .profile-contact-row { margin: 0 !important; }
body.personal-mode #profilePage .profile-inline-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 14px; }
body.personal-mode #profilePage .profile-inline-actions button { width: auto !important; min-width: 112px; margin: 0 !important; }
body.personal-mode #profilePage .profile-settings-list .setting-row { margin: 0 0 10px; }
body.personal-mode #profilePage #profileTabSecurityPanel { padding:14px 16px; }
body.personal-mode #profilePage .profile-security-heading {
  display:flex; align-items:flex-start; gap:10px; margin:0 0 12px;
}
body.personal-mode #profilePage .profile-security-heading > i {
  flex:0 0 auto; margin-top:1px; color:var(--accent); font-size:18px;
}
body.personal-mode #profilePage .profile-security-heading h4 {
  margin:0; color:var(--text); font-size:14px; line-height:1.25;
}
body.personal-mode #profilePage .profile-security-heading p {
  margin:3px 0 0; color:var(--muted); font-size:10px; line-height:1.35;
}
body.personal-mode #profilePage .profile-security-grid {
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px;
}
body.personal-mode #profilePage .profile-security-grid .profile-security-card {
  display:grid; grid-template-columns:24px minmax(0,1fr) auto; grid-template-rows:auto auto;
  box-sizing:border-box; align-items:center; column-gap:9px; row-gap:6px; min-width:0; min-height:76px;
  margin:0; padding:9px 11px; border:1px solid var(--line); border-radius:10px;
  background:var(--surface-2); box-shadow:none;
}
body.personal-mode #profilePage .profile-security-grid .profile-security-card.is-danger {
  grid-column:1/-1;
}
body.personal-mode #profilePage .profile-information-section { grid-column:1/-1; }
body.personal-mode #profilePage .profile-calendar-card { display:none !important; }
body.personal-mode #profilePage .profile-information-grid { grid-template-columns:repeat(8,minmax(0,1fr)); }
body.personal-mode #profilePage .profile-information-grid .profile-information-field { grid-column:span 2; }
body.personal-mode #profilePage #profilePersonalReadView .profile-information-field {
  min-height:34px; height:34px; padding:7px 12px 3px;
}
body.personal-mode #profilePage .profile-security-grid .profile-security-contact-card {
  display:grid !important; grid-template-columns:24px minmax(0,1fr) auto auto; grid-template-rows:auto;
  grid-column:auto !important; box-sizing:border-box; align-items:center; gap:9px; min-height:76px; margin:0 !important; padding:9px 11px !important;
  border:1px solid var(--line) !important; border-radius:10px !important; background:var(--surface-2) !important;
}
body.personal-mode #profilePage .profile-security-contact-card > i { grid-column:1; color:var(--muted); font-size:17px; }
body.personal-mode #profilePage .profile-security-contact-card > div { grid-column:2; min-width:0; }
body.personal-mode #profilePage .profile-security-contact-card > div span { color:var(--text); font-size:11px; font-weight:700; }
body.personal-mode #profilePage .profile-security-contact-card > div strong { display:block; overflow:hidden; margin-top:4px; color:var(--muted); font-size:9px; text-overflow:ellipsis; white-space:nowrap; }
body.personal-mode #profilePage .profile-security-contact-card > button {
  position:static !important; display:inline-flex !important; align-items:center; justify-content:center;
  width:auto !important; min-width:0 !important; min-height:27px; margin:0 !important; padding:5px 8px !important;
  border:1px solid var(--line) !important; border-radius:8px !important; background:transparent !important; color:var(--text) !important;
}
body.personal-mode #profilePage .profile-security-contact-card > button.profile-contact-verify { grid-column:3; font-size:9px !important; font-weight:700; }
body.personal-mode #profilePage .profile-security-contact-card > button:last-child { grid-column:4; }
body.personal-mode #profilePage .profile-security-contact-card > button:is(:hover,:focus-visible) { border-color:var(--accent) !important; color:var(--accent) !important; outline:0; }
body.personal-mode #profilePage .profile-security-card-icon {
  grid-column:1; grid-row:1; align-self:start; color:var(--muted); font-size:17px;
}
body.personal-mode #profilePage .profile-security-card.is-danger .profile-security-card-icon { color:#ef5350; }
body.personal-mode #profilePage .profile-security-copy { grid-column:2/-1; grid-row:1; min-width:0; }
body.personal-mode #profilePage .profile-security-copy b {
  display:block; color:var(--text); font-size:11px; line-height:1.25;
}
body.personal-mode #profilePage .profile-security-copy .small-note {
  margin-top:3px; color:var(--muted); font-size:9px; line-height:1.35;
}
body.personal-mode #profilePage .profile-security-card-meta {
  grid-column:1/3; grid-row:2; display:flex; align-items:center; gap:8px; min-width:0;
  color:var(--muted); font-size:9px;
}
body.personal-mode #profilePage .profile-security-card-meta strong {
  overflow:hidden; color:var(--muted); font-size:9px; font-weight:700; text-overflow:ellipsis; white-space:nowrap;
}
body.personal-mode #profilePage .profile-security-card-meta strong.is-enabled { color:var(--accent); }
body.personal-mode #profilePage .profile-security-card.is-danger .profile-security-card-meta strong { color:#ef5350; }
body.personal-mode #profilePage .profile-security-card-action {
  grid-column:3; grid-row:2; display:inline-flex; align-items:center; justify-content:center; gap:5px;
  width:auto !important; min-width:62px; height:27px !important; min-height:27px !important; margin:0; padding:5px 9px !important;
  border:1px solid var(--line); border-radius:8px; background:transparent; color:var(--text);
  font:inherit; font-size:9px; font-weight:700; cursor:pointer;
}
body.personal-mode #profilePage .profile-security-card-action i { font-size:12px; }
body.personal-mode #profilePage .profile-security-card-action:hover,
body.personal-mode #profilePage .profile-security-card-action:focus-visible {
  border-color:var(--accent); color:var(--accent); outline:0;
}
body.personal-mode #profilePage .profile-security-card.is-danger .profile-security-card-action {
  border-color:color-mix(in srgb,#ef5350 55%,var(--line)); color:#ef5350;
}
html[data-theme="light"] body.personal-mode #profilePage .profile-security-grid .profile-security-card { background:#fff !important; }
body.personal-mode #profilePage #profileSharingControls #shareProfilePanel { margin: 0 !important; max-height: none !important; border: 0 !important; padding: 0 !important; }
body.personal-mode #profilePage #profileSharingControls :is(.sharing-heading,#shareSub) { display:none !important; }
body.personal-mode #profilePage #profileSharingControls > #shareProfilePanel { display:none !important; }
body.personal-mode #profilePage #profileTabSharingPanel { box-sizing:border-box !important; height:100% !important; max-height:100% !important; }
html[data-theme="dark"] body.personal-mode #profilePage :is(#profileTabSharingPanel, #profileSharingControls, #shareProfilePanel) {
  background: var(--surface, #0b0d0d) !important;
  background-image: none !important;
}
html[data-theme="dark"] body.personal-mode #profilePage #profileTabSharingPanel :is(
  .recipient-sharing-section,
  .share-permissions,
  .share-expiry-settings,
  .sharing-history,
  .recipient-links-list,
  .recipient-download-requests,
  .preview-box,
  input,
  select,
  textarea
) { background: var(--surface, #0b0d0d) !important; background-image: none !important; }
body.personal-mode #profilePage .profile-availability-card .profile-availability-inline-control {
  display:none; width:100%; min-width:0; height:20px; min-height:20px; margin:0; padding:0;
  border:0; outline:0; appearance:none; background:transparent; color:var(--text);
  box-shadow:none; font:inherit; font-size:12px; line-height:20px;
}
html[data-theme] body.personal-mode #app#app.app:not(.hidden) #profilePage#profilePage .profile-availability-card:not(.is-editing) .profile-availability-fields dd > .atsrs-disclosure-shell {
  display:none !important;
}
body.personal-mode #profilePage .profile-availability-card:not(.is-editing) .profile-availability-read-value {
  flex:0 1 auto; min-width:0; white-space:nowrap;
}
body.personal-mode #profilePage .profile-availability-card.is-editing .profile-availability-read-value {
  display:flex !important; pointer-events:none; position:relative; z-index:1;
}
body.personal-mode #profilePage .profile-availability-card.is-editing dd:has(#profileInlineAvailabilityNoticePeriod) .profile-availability-read-value {
  display:none !important;
}
body.personal-mode #profilePage .profile-availability-card.is-editing .profile-availability-inline-control:not([hidden]) { display:block; }
body.personal-mode #profilePage .profile-availability-card.is-editing .profile-availability-inline-control.atsrs-select-source {
  display:none !important;
}
body.personal-mode #profilePage .profile-availability-card.is-editing .profile-availability-fields dd {
  position:relative; overflow:visible; cursor:text;
}
html[data-theme] body.personal-mode #app#app.app:not(.hidden) #profilePage#profilePage .profile-availability-card.is-editing .profile-availability-fields dd > .atsrs-disclosure-shell {
  position:absolute !important; inset:0 !important; display:block !important;
  width:100% !important; height:100% !important; margin:0 !important; padding:0 !important;
  border:0 !important; background:transparent !important; box-shadow:none !important;
}
html[data-theme] body.personal-mode #app#app.app:not(.hidden) #profilePage#profilePage .profile-availability-card.is-editing .profile-availability-fields dd > .atsrs-disclosure-shell > :is(.atsrs-select-trigger,.atsrs-date-input) {
  width:100% !important; min-width:0 !important; height:100% !important; min-height:0 !important;
  margin:0 !important; padding:0 12px !important; border:0 !important; border-radius:inherit !important;
  background:transparent !important; color:var(--text) !important; box-shadow:none !important;
  font:inherit !important; font-size:12px !important; text-align:left !important;
}
html[data-theme] body.personal-mode #app#app.app:not(.hidden) #profilePage#profilePage .profile-availability-card.is-editing .profile-availability-fields dd > .atsrs-disclosure-shell > :is(.atsrs-select-trigger,.atsrs-date-input) {
  color:transparent !important; caret-color:transparent !important;
}
html[data-theme] body.personal-mode #app#app.app:not(.hidden) #profilePage#profilePage .profile-availability-card.is-editing .profile-availability-fields dd:has(#profileInlineAvailableFrom) > .atsrs-disclosure-shell > .atsrs-date-input {
  opacity:0 !important;
}
html[data-theme] body.personal-mode #app#app.app:not(.hidden) #profilePage#profilePage .profile-availability-card.is-editing .profile-availability-fields dd > .atsrs-disclosure-shell > .atsrs-disclosure-indicator {
  opacity:0 !important;
}
body.personal-mode #profilePage .profile-availability-card.is-editing .profile-availability-fields > div:focus-within dt {
  color:var(--atsrs-field-accent, var(--accent)) !important;
}
body.personal-mode #profilePage .profile-availability-card.is-editing .profile-availability-fields > div:focus-within dd {
  border-color:var(--atsrs-field-focus-block-line, color-mix(in srgb,var(--accent) 42%,var(--line))) var(--atsrs-field-focus-inline-line, var(--accent)) !important;
  background:var(--surface-2) !important;
  box-shadow:var(--atsrs-field-focus-shadow, 0 0 0 1px color-mix(in srgb,var(--accent) 18%,transparent)) !important;
}
body.personal-mode #profilePage .profile-availability-card.is-editing .profile-availability-inline-control:disabled {
  color:var(--muted); cursor:not-allowed; opacity:.72;
}
html[data-theme] body.personal-mode #app#app.app:not(.hidden) #profilePage#profilePage .profile-availability-card.is-editing #profileInlineAvailabilityNoticePeriod {
  display:block !important; width:100% !important; min-width:0 !important;
  height:20px !important; min-height:20px !important; max-height:20px !important;
  margin:0 !important; padding:0 !important; border:0 !important; border-radius:0 !important;
  outline:0 !important; background:transparent !important; color:var(--text) !important;
  box-shadow:none !important; font:inherit !important; font-size:12px !important; line-height:20px !important;
}
body.personal-mode #profilePage > .panel > .account-tabs,
body.personal-mode #profilePage > .panel > .account-tab,
body.personal-mode #profilePage > .panel > #userEmail { display: none !important; }

@media (max-width: 760px) {
  body.personal-mode #profilePage .profile-settings-viewport { height: 520px; min-height: 520px; max-height: 520px; }
  body.personal-mode #profilePage .profile-account-status-list > div {
    border-left: 0 !important;
  }
}

@media (max-width: 520px) {
  body.personal-mode #profilePage .profile-settings-viewport { height: 580px; min-height: 580px; max-height: 580px; }
  body.personal-mode #profilePage .profile-settings-panel { padding: 14px; }
  body.personal-mode #profilePage .profile-inline-actions { position: sticky; bottom: 0; padding-top: 10px; background: var(--surface); }
  body.personal-mode #profilePage .profile-summary-title-row h4 { flex-basis: 100%; }
  body.personal-mode #profilePage .profile-summary-role { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
  body.personal-mode #profilePage .profile-security-grid { grid-template-columns:1fr; }
  body.personal-mode #profilePage .profile-security-grid .profile-security-card.is-danger { grid-column:auto; }
  body.personal-mode #profilePage .profile-information-grid { grid-template-columns:1fr; }
  body.personal-mode #profilePage .profile-information-grid .profile-information-field { grid-column:1; }
}

@media (max-width: 980px) and (min-width: 521px) {
  body.personal-mode #profilePage .profile-information-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
  body.personal-mode #profilePage .profile-information-grid .profile-information-field { grid-column:span 2; }
}

@media (max-width: 1300px) and (min-width: 1181px) {
  body.personal-mode #profilePage .profile-summary-identity {
    gap: 18px;
    padding: 24px;
  }

  body.personal-mode #profilePage .profile-summary-avatar-wrap {
    flex-basis: 100px;
    width: 100px;
    height: 100px;
  }

  body.personal-mode #profilePage .profile-summary-title-row {
    gap: 6px;
  }

  body.personal-mode #profilePage .profile-summary-title-row h4 {
    font-size: 22px;
  }

  body.personal-mode #profilePage .profile-availability-heading {
    flex-wrap: wrap;
  }

  body.personal-mode #profilePage .profile-availability-heading > span {
    margin-left: auto;
  }
}

@media (max-width: 1180px) {
  body.personal-mode #profilePage .profile-summary-stage {
    grid-template-columns: 1fr;
  }

  body.personal-mode #profilePage :is(
    .profile-summary-card,
    .profile-availability-card,
    .profile-information-section,
    .profile-calendar-card
  ) {
    grid-column: 1;
  }
}

@media (max-width: 720px) {
  body.personal-mode #profilePage .profile-summary-identity {
    border-right: 0 !important;
    border-bottom: 1px solid var(--line) !important;
  }
}

@media (max-width: 520px) {
  body.personal-mode #profilePage .profile-information-tabs button:nth-child(2) {
    border-right: 0 !important;
  }

  body.personal-mode #profilePage .profile-information-tabs button:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line) !important;
  }
}
body.personal-mode #app.app:not(.hidden) .sidebar .nav #navCompliance{display:none!important}

/* Keep avatar edit controls smaller than the global 44px application button target. */
body.personal-mode #app#app.app:not(.hidden) #profilePage#profilePage #profileSummaryAvatarCameraBtn {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  border: 0 !important;
  background: transparent !important;
  color: #fff !important;
  box-shadow: none !important;
}

html[data-theme="light"] body.personal-mode #app#app.app:not(.hidden) #profilePage#profilePage #profileSummaryAvatarCameraBtn,
html[data-theme="light"] body.personal-mode #app#app.app:not(.hidden) #profilePage#profilePage #profileSummaryAvatarCameraBtn i,
html[data-theme="light"] body.personal-mode #app#app.app:not(.hidden) #profilePage#profilePage #profileSummaryAvatarCameraBtn i::before {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
.profile-security-contact-card.is-editing { grid-template-rows:auto auto !important; }
.profile-security-contact-card.is-editing > button { visibility:hidden; pointer-events:none; }
.profile-security-contact-editor { grid-column:1/-1; grid-row:2; min-width:0; padding-top:8px; border-top:1px solid var(--line); }
.profile-security-contact-fields { display:grid; grid-template-columns:118px minmax(0,1fr); gap:8px; }
.profile-security-contact-fields label { display:grid; gap:6px; }
.profile-security-contact-fields label > span { color:var(--muted); font-size:11px; font-weight:700; }
.profile-security-contact-fields :is(select,input) { width:100%; height:38px; box-sizing:border-box; border:1px solid var(--line); border-radius:8px; background:var(--surface); color:var(--text); padding:0 10px; }
.profile-security-contact-fields :is(select,input):focus { outline:0; border-color:var(--atsrs-field-focus-inline-line,var(--accent)); box-shadow:var(--atsrs-field-focus-shadow); }
.profile-security-contact-footer { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:8px; }
.profile-security-contact-footer > div { display:flex; gap:7px; }
.profile-security-contact-footer button { min-height:30px; padding:0 10px; border-radius:8px; }
.profile-security-contact-status { min-height:16px; margin:0 !important; color:var(--danger,#e05a61) !important; font-size:11px !important; }
@media (max-width:520px) { .profile-security-contact-fields { grid-template-columns:102px minmax(0,1fr); } .profile-security-contact-footer { align-items:flex-end; flex-direction:column; } }

/* Security workspace: compact three-step contact verification from the approved reference. */
body.personal-mode #profilePage .profile-settings-viewport[data-active-tab="security"] {
  height:294px; min-height:294px; max-height:294px; overflow:hidden;
}
body.personal-mode #profilePage #profileTabSecurityPanel {
  --profile-security-accent:#35c85a;
  height:100%; min-height:0; padding:0; overflow-x:hidden; overflow-y:auto; scrollbar-gutter:stable; background:transparent;
}
html[data-theme="light"] body.personal-mode #profilePage #profileTabSecurityPanel { --profile-security-accent:var(--atsrs-shell-accent-strong,#167bd3); }
body.personal-mode #profilePage .profile-security-primary {
  padding:16px; border:1px solid var(--line); border-radius:12px; background:var(--surface-2);
}
html[data-theme="light"] body.personal-mode #profilePage .profile-security-primary { background:#fff; }
body.personal-mode #profilePage #profileTabSecurityPanel .profile-security-heading {
  align-items:center; margin:0 0 14px; padding:0;
}
body.personal-mode #profilePage #profileTabSecurityPanel .profile-security-heading > i { color:var(--profile-security-accent); font-size:20px; }
body.personal-mode #profilePage #profileTabSecurityPanel .profile-security-heading h4 { color:var(--profile-security-accent); font-size:16px; }
body.personal-mode #profilePage #profileTabSecurityPanel .profile-security-heading p { font-size:11px; }
body.personal-mode #profilePage .profile-security-verification {
  overflow:hidden; margin:0; border:1px solid var(--line); border-radius:12px; background:var(--surface-2); box-shadow:none;
}
html[data-theme="light"] body.personal-mode #profilePage .profile-security-verification { background:#fff; }
body.personal-mode #profilePage .profile-security-verification-heading {
  display:flex; align-items:flex-start; gap:12px; padding:15px 18px; border-bottom:1px solid var(--line);
}
body.personal-mode #profilePage .profile-security-verification-heading > i { margin-top:1px; color:var(--muted); font-size:20px; }
body.personal-mode #profilePage .profile-security-verification-heading h5 { margin:0; color:var(--text); font-size:13px; line-height:1.25; }
body.personal-mode #profilePage .profile-security-verification-heading p { margin:4px 0 0; color:var(--muted); font-size:10px; line-height:1.4; }
body.personal-mode #profilePage .profile-security-verification-flow {
  display:grid; grid-template-columns:minmax(350px,1.05fr) minmax(0,2fr); min-width:0;
}
body.personal-mode #profilePage .profile-security-step,
body.personal-mode #profilePage .profile-security-verification-result {
  box-sizing:border-box; min-width:0; min-height:232px; padding:18px;
}
body.personal-mode #profilePage .profile-security-step { border-right:1px solid var(--line); }
body.personal-mode #profilePage .profile-security-step > header { display:flex; align-items:flex-start; gap:10px; min-height:42px; }
body.personal-mode #profilePage .profile-security-step > header > span {
  display:inline-flex; flex:0 0 34px; align-items:center; justify-content:center; width:34px; height:34px;
  border:1px solid var(--line); border-radius:999px; background:color-mix(in srgb,var(--surface) 72%,transparent); color:var(--muted); font-size:13px; font-weight:800;
}
body.personal-mode #profilePage .profile-security-step-channel > header > span { border-color:var(--profile-security-accent); background:var(--profile-security-accent); color:#fff; }
body.personal-mode #profilePage .profile-security-step > header strong { display:block; color:var(--text); font-size:11px; line-height:1.25; }
body.personal-mode #profilePage .profile-security-step > header small { display:block; margin-top:3px; color:var(--muted); font-size:9px; line-height:1.35; }
body.personal-mode #profilePage .profile-security-channel-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:12px 0 10px; }
body.personal-mode #profilePage .profile-security-channel-grid > button {
  position:relative; display:flex; align-items:center; gap:10px; justify-content:center; width:100%; min-width:0; height:58px; min-height:58px; margin:0; padding:0 12px;
  border:1px solid var(--line); border-radius:9px; background:transparent !important; color:var(--text); box-shadow:none !important; font:inherit; font-size:10px; font-weight:700; cursor:pointer;
}
body.personal-mode #profilePage .profile-security-channel-grid > button > i:first-child { color:var(--muted); font-size:20px; }
body.personal-mode #profilePage .profile-security-channel-grid > button:is(:hover,:focus-visible) { border-color:var(--profile-security-accent); outline:0; background:color-mix(in srgb,var(--profile-security-accent) 6%,transparent); }
body.personal-mode #profilePage .profile-security-channel-grid > button.is-selected { border-color:var(--profile-security-accent); color:var(--text); background:color-mix(in srgb,var(--profile-security-accent) 7%,transparent); box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--profile-security-accent) 18%,transparent); }
body.personal-mode #profilePage .profile-security-channel-grid > button.is-selected { background:color-mix(in srgb,var(--profile-security-accent) 7%,transparent) !important; }
body.personal-mode #profilePage .profile-security-channel-grid > button.is-selected > i:first-child { color:var(--profile-security-accent); }
body.personal-mode #profilePage .profile-security-channel-check { position:absolute; top:7px; right:7px; display:none; color:var(--profile-security-accent); font-size:16px; }
body.personal-mode #profilePage .profile-security-channel-grid > button.is-selected .profile-security-channel-check { display:block; }
body.personal-mode #profilePage .profile-security-saved-contact { min-width:0; }
body.personal-mode #profilePage .profile-security-saved-contact > small { display:block; color:var(--muted); font-size:9px; }
body.personal-mode #profilePage .profile-security-saved-contact > div { display:flex; align-items:center; gap:8px; min-width:0; margin-top:5px; }
body.personal-mode #profilePage .profile-security-saved-contact strong { overflow:hidden; color:var(--text); font-size:11px; text-overflow:ellipsis; white-space:nowrap; }
body.personal-mode #profilePage .profile-security-saved-contact span { display:inline-flex; align-items:center; min-height:22px; padding:0 8px; border:1px solid var(--line); border-radius:999px; color:var(--muted); font-size:8px; font-weight:800; white-space:nowrap; }
body.personal-mode #profilePage .profile-security-saved-contact span.is-verified { border-color:color-mix(in srgb,var(--profile-security-accent) 42%,var(--line)); background:color-mix(in srgb,var(--profile-security-accent) 8%,transparent); color:var(--profile-security-accent); }
body.personal-mode #profilePage #profileSecurityEditContact { display:inline-flex; flex:0 0 26px; align-items:center; justify-content:center; width:26px; height:26px; min-width:26px; min-height:26px; margin:0; padding:0; border:0; background:transparent; color:var(--muted); }
body.personal-mode #profilePage #profileSecurityEditContact:is(:hover,:focus-visible) { color:var(--profile-security-accent); outline:0; background:color-mix(in srgb,var(--profile-security-accent) 8%,transparent); }
body.personal-mode #profilePage .profile-security-send-inline{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px 12px;margin-top:12px;padding-top:11px;border-top:1px solid var(--line)}body.personal-mode #profilePage .profile-security-send-inline p{margin:0;color:var(--muted);font-size:8px;line-height:1.35}body.personal-mode #profilePage .profile-security-send-inline strong{display:block;margin-top:3px;color:var(--text);font-size:10px;white-space:nowrap}.profile-security-send-inline #profileSecuritySendCode{min-width:132px!important;height:30px!important;min-height:30px!important;margin:0!important;padding:0 10px!important;font-size:8px!important}.profile-security-send-inline #profileSecuritySendStatus{grid-column:1/-1;margin:0!important}
body.personal-mode #profilePage .profile-security-step-send > p:first-of-type { margin:16px 0 5px; color:var(--muted); font-size:9px; }
body.personal-mode #profilePage #profileSecuritySendTarget { display:block; overflow:hidden; color:var(--text); font-size:12px; text-overflow:ellipsis; white-space:nowrap; }
body.personal-mode #profilePage #profileSecuritySendCode,
body.personal-mode #profilePage #profileSecurityConfirmCode {
  display:inline-flex; align-items:center; justify-content:center; gap:8px; width:auto; min-width:148px; height:34px; min-height:34px; margin:13px 0 0; padding:0 13px;
  border:1px solid var(--profile-security-accent); border-radius:8px; background:transparent !important; color:var(--profile-security-accent); box-shadow:none !important; font:inherit; font-size:9px; font-weight:800; cursor:pointer;
}
body.personal-mode #profilePage #profileSecuritySendCode:is(:hover,:focus-visible),
body.personal-mode #profilePage #profileSecurityConfirmCode:is(:hover,:focus-visible) { outline:0; background:color-mix(in srgb,var(--profile-security-accent) 10%,transparent); }
body.personal-mode #profilePage :is(#profileSecuritySendCode,#profileSecurityConfirmCode):disabled { cursor:not-allowed; opacity:.48; }
body.personal-mode #profilePage .profile-security-step-confirm > label { display:block; margin:15px 0 8px; color:var(--text); font-size:9px; }
body.personal-mode #profilePage .profile-security-code { display:grid; grid-template-columns:repeat(6,minmax(0,36px)); gap:7px; }
body.personal-mode #profilePage .profile-security-code input {
  box-sizing:border-box; width:36px; height:38px; min-height:38px; padding:0; border:1px solid var(--line); border-radius:7px; outline:0; background:var(--surface); color:var(--text); box-shadow:none; text-align:center; font:inherit; font-size:12px; font-weight:800;
}
html[data-theme="light"] body.personal-mode #profilePage .profile-security-code input { background:#f8fafc; }
body.personal-mode #profilePage .profile-security-code input:focus { border-color:var(--profile-security-accent); box-shadow:0 0 0 2px color-mix(in srgb,var(--profile-security-accent) 16%,transparent); }
body.personal-mode #profilePage #profileSecurityConfirmCode { min-width:112px; margin-top:10px; }
body.personal-mode #profilePage .profile-security-live-status { min-height:14px; margin:8px 0 0; color:var(--muted); font-size:8px; line-height:1.35; }
body.personal-mode #profilePage .profile-security-verification-result { display:flex; align-items:center; justify-content:center; flex-direction:column; text-align:center; }
body.personal-mode #profilePage .profile-security-verification-result i { color:var(--muted); font-size:42px; }
body.personal-mode #profilePage .profile-security-verification-result strong { margin-top:10px; color:var(--text); font-size:12px; }
body.personal-mode #profilePage .profile-security-verification-result small { max-width:150px; margin-top:6px; color:var(--muted); font-size:9px; line-height:1.4; }
body.personal-mode #profilePage .profile-security-verification-result.is-verified i,
body.personal-mode #profilePage .profile-security-verification-result.is-verified strong { color:var(--profile-security-accent); }
body.personal-mode #profilePage #profileSecurityInlineEditorHost:empty { display:none; }
body.personal-mode #profilePage .profile-security-contact-editor { margin-top:10px; padding-top:10px; }
body.personal-mode #profilePage .profile-security-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-top:14px; }
body.personal-mode #profilePage .profile-security-verification-flow > .profile-security-grid { align-content:stretch; gap:10px; margin:0; padding:18px; }
body.personal-mode #profilePage .profile-security-verification-flow > .profile-security-grid .profile-security-card { min-height:0; height:100%; padding:14px; }
body.personal-mode #profilePage .profile-security-grid .profile-security-card { min-height:136px; padding:18px; background:var(--surface-2); }
body.personal-mode #profilePage .profile-security-grid .profile-security-card.is-danger { grid-column:auto; }
html[data-theme="light"] body.personal-mode #profilePage .profile-security-grid .profile-security-card { background:#fff !important; }
body.personal-mode #profilePage .profile-security-card-icon { font-size:20px; }
body.personal-mode #profilePage .profile-security-copy b { font-size:12px; }
body.personal-mode #profilePage .profile-security-copy .small-note { margin-top:6px; font-size:9px; }
body.personal-mode #profilePage .profile-security-card-meta { font-size:9px; }
body.personal-mode #profilePage .profile-security-card-action {
  min-width:70px; height:32px !important; min-height:32px !important; border:1px solid var(--line) !important;
  background:transparent !important; color:var(--text) !important; box-shadow:none !important;
}
body.personal-mode #profilePage .profile-security-card-action:is(:hover,:focus-visible) { border-color:var(--profile-security-accent) !important; color:var(--profile-security-accent) !important; }
body.personal-mode #profilePage .profile-security-card.is-danger .profile-security-card-action { border-color:var(--danger,#ff4d58) !important; color:var(--danger,#ff4d58) !important; }
body.profile-security-code-open{overflow:hidden}.profile-security-code-modal[hidden]{display:none!important}.profile-security-code-modal{position:fixed;inset:0;z-index:10080;display:grid;place-items:center;padding:24px}.profile-security-code-backdrop{position:absolute;inset:0;width:100%;height:100%;margin:0;border:0!important;border-radius:0!important;background:rgba(0,0,0,.72)!important;backdrop-filter:blur(5px);box-shadow:none!important}.profile-security-code-modal .profile-security-step-confirm{position:relative;z-index:1;box-sizing:border-box;width:min(100%,430px);min-height:0!important;padding:28px!important;border:1px solid var(--line);border-radius:14px;background:var(--surface-2);box-shadow:0 24px 80px rgba(0,0,0,.48)}html[data-theme="light"] .profile-security-code-modal .profile-security-step-confirm{background:#fff}.profile-security-code-close{position:absolute;top:12px;right:12px;display:grid;place-items:center;width:30px!important;height:30px!important;min-height:30px!important;margin:0!important;padding:0!important;border:1px solid var(--line)!important;border-radius:50%!important;background:transparent!important;color:var(--muted)!important;font-size:20px!important;line-height:1!important;box-shadow:none!important}.profile-security-code-modal .profile-security-step-confirm>header{padding-right:36px}.profile-security-code-modal .profile-security-code{grid-template-columns:repeat(6,36px)!important}.profile-security-code-modal #profileSecurityConfirmCode{margin-top:16px}

@media (max-width:1100px) {
  body.personal-mode #profilePage .profile-security-verification-flow { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.personal-mode #profilePage .profile-security-step { border-bottom:1px solid var(--line); }
  body.personal-mode #profilePage .profile-security-step:nth-child(2) { border-right:0; }
  body.personal-mode #profilePage .profile-security-verification-result { min-height:180px; }
}
@media (max-width:760px) {
  body.personal-mode #profilePage .profile-settings-viewport[data-active-tab="security"] { height:520px; min-height:520px; max-height:520px; }
  body.personal-mode #profilePage .profile-security-verification-flow { grid-template-columns:1fr; }
  body.personal-mode #profilePage .profile-security-step { min-height:0; border-right:0; border-bottom:1px solid var(--line); }
  body.personal-mode #profilePage .profile-security-verification-result { min-height:150px; }
  body.personal-mode #profilePage .profile-security-grid { grid-template-columns:1fr; }
  body.personal-mode #profilePage .profile-security-grid .profile-security-card.is-danger { grid-column:1; }
}
@media (max-width:520px) {
  body.personal-mode #profilePage .profile-settings-viewport[data-active-tab="security"] { height:580px; min-height:580px; max-height:580px; }
}
@media (max-width:420px) {
  body.personal-mode #profilePage .profile-security-primary { padding:12px; }
  body.personal-mode #profilePage #profileTabSecurityPanel .profile-security-heading { padding:0 4px; }
  body.personal-mode #profilePage .profile-security-verification-heading,
  body.personal-mode #profilePage .profile-security-step { padding:14px; }
  body.personal-mode #profilePage .profile-security-channel-grid { gap:8px; }
  body.personal-mode #profilePage .profile-security-code { grid-template-columns:repeat(6,minmax(0,1fr)); gap:5px; }
  body.personal-mode #profilePage .profile-security-code input { width:100%; }
}

/* Compact desktop security workspace: one clean frame, no nested scrolling. */
@media (min-width:761px) {
  body.personal-mode #profilePage .profile-settings-viewport[data-active-tab="security"] {
    height:294px;
    min-height:294px;
    max-height:294px;
    overflow:hidden;
  }
  body.personal-mode #profilePage #profileTabSecurityPanel {
    padding:10px 12px;
    overflow:hidden;
    scrollbar-gutter:auto;
  }
  body.personal-mode #profilePage .profile-security-primary {
    box-sizing:border-box;
    width:100%;
    height:100%;
    min-height:0;
    padding:0;
    border:0;
    border-radius:0;
    background:transparent;
  }
  body.personal-mode #profilePage .profile-security-verification {
    box-sizing:border-box;
    display:grid;
    grid-template-rows:auto minmax(0,1fr);
    height:100%;
    min-height:0;
  }
  body.personal-mode #profilePage .profile-security-verification-flow { min-height:0; }
  html[data-theme="light"] body.personal-mode #profilePage .profile-security-primary { background:transparent; }
  body.personal-mode #profilePage .profile-security-verification-heading {
    align-items:center;
    justify-content:space-between;
    gap:10px;
    min-height:42px;
    padding:7px 14px;
  }
  body.personal-mode #profilePage .profile-security-verification-heading > i { margin:0; color:var(--profile-security-accent); font-size:18px; }
  body.personal-mode #profilePage .profile-security-verification-heading h5 { font-size:12px; }
  body.personal-mode #profilePage .profile-security-verification-heading p { margin-top:2px; font-size:8px; line-height:1.3; }
  body.personal-mode #profilePage .profile-security-verification-flow {
    grid-template-columns:repeat(3,minmax(0,1fr));
    grid-template-rows:minmax(0,1fr) 62px;
    height:100%;
    min-height:0;
  }
  body.personal-mode #profilePage .profile-security-step,
  body.personal-mode #profilePage .profile-security-verification-result {
    min-height:0;
    padding:10px 14px;
  }
  body.personal-mode #profilePage .profile-security-step {
    border-right:1px solid var(--line);
    border-bottom:0;
  }
  body.personal-mode #profilePage .profile-security-step > header,
  body.personal-mode #profilePage .profile-security-verification-result > header {
    display:flex;
    align-items:center;
    gap:8px;
    min-height:32px;
  }
  body.personal-mode #profilePage .profile-security-step > header > span,
  body.personal-mode #profilePage .profile-security-verification-result > header > span {
    display:inline-flex;
    flex:0 0 25px;
    align-items:center;
    justify-content:center;
    width:25px;
    height:25px;
    border:1px solid color-mix(in srgb,var(--profile-security-accent) 52%,var(--line));
    border-radius:50%;
    background:color-mix(in srgb,var(--profile-security-accent) 10%,transparent);
    color:var(--profile-security-accent);
    font-size:9px;
    font-weight:800;
  }
  body.personal-mode #profilePage .profile-security-step > header strong,
  body.personal-mode #profilePage .profile-security-verification-result > header strong {
    display:block;
    margin:0;
    color:var(--text);
    font-size:10px;
    line-height:1.2;
  }
  body.personal-mode #profilePage .profile-security-step > header small,
  body.personal-mode #profilePage .profile-security-verification-result > header small {
    display:block;
    max-width:none;
    margin:2px 0 0;
    color:var(--muted);
    font-size:7px;
    line-height:1.25;
    text-align:left;
  }
  body.personal-mode #profilePage .profile-security-channel-grid {
    grid-template-columns:1fr;
    gap:5px;
    margin:7px 0 0;
  }
  body.personal-mode #profilePage .profile-security-channel-grid > button {
    height:31px;
    min-height:31px;
    gap:7px;
    justify-content:flex-start;
    padding:0 10px;
    border-radius:8px;
    font-size:9px;
  }
  html[data-theme="dark"] body.personal-mode #profilePage .profile-security-channel-grid > button {
    position:relative;
    border-color:transparent !important;
    background:transparent !important;
    color:var(--muted) !important;
    box-shadow:none !important;
  }
  html[data-theme="dark"] body.personal-mode #profilePage .profile-security-channel-grid > button:is(:hover,:focus-visible) {
    background:#0a0e0c !important;
    color:var(--profile-security-accent) !important;
  }
  html[data-theme="dark"] body.personal-mode #profilePage .profile-security-channel-grid > button.is-selected {
    border-color:transparent !important;
    background:#0c120f !important;
    color:var(--profile-security-accent) !important;
  }
  html[data-theme="dark"] body.personal-mode #profilePage .profile-security-channel-grid > button.is-selected::after {
    content:"";
    position:absolute;
    right:9px;
    bottom:3px;
    left:9px;
    height:2px;
    border-radius:999px;
    background:var(--profile-security-accent);
  }
  html[data-theme="light"] body.personal-mode #profilePage .profile-security-channel-grid > button {
    position:relative;
    border-color:transparent !important;
    background:transparent !important;
    color:var(--muted) !important;
    box-shadow:none !important;
  }
  html[data-theme="light"] body.personal-mode #profilePage .profile-security-channel-grid > button:is(:hover,:focus-visible),
  html[data-theme="light"] body.personal-mode #profilePage .profile-security-channel-grid > button.is-selected {
    border-color:var(--atsrs-shell-accent-border) !important;
    background:var(--atsrs-shell-accent-soft) !important;
    color:var(--atsrs-shell-accent-strong) !important;
  }
  html[data-theme="light"] body.personal-mode #profilePage .profile-security-channel-grid > button.is-selected::after {
    content:"";
    position:absolute;
    right:9px;
    bottom:3px;
    left:9px;
    height:2px;
    border-radius:999px;
    background:var(--atsrs-shell-accent);
  }
  body.personal-mode #profilePage .profile-security-channel-grid > button > i:first-child { font-size:16px; }
  body.personal-mode #profilePage .profile-security-channel-check { top:5px; right:5px; font-size:12px; }
  body.personal-mode #profilePage .profile-security-saved-contact { margin-top:7px; }
  body.personal-mode #profilePage .profile-security-saved-contact > small { font-size:7px; }
  body.personal-mode #profilePage .profile-security-saved-contact > div { gap:5px; margin-top:2px; }
  body.personal-mode #profilePage .profile-security-saved-contact strong {
    flex:0 1 auto;
    font-size:12px;
    letter-spacing:.01em;
  }
  body.personal-mode #profilePage .profile-security-saved-contact span { min-height:18px; padding:0 6px; font-size:7px; }
  body.personal-mode #profilePage #profileSecurityEditContact {
    flex:0 0 20px;
    width:20px;
    height:20px;
    min-width:20px;
    min-height:20px;
    margin-left:auto;
    border:1px solid var(--line);
    border-radius:6px;
    font-size:10px;
  }
  body.personal-mode #profilePage .profile-security-send-inline {
    display:block;
    margin-top:6px;
    padding-top:5px;
  }
  body.personal-mode #profilePage .profile-security-send-inline > div { display:none; }
  body.personal-mode #profilePage .profile-security-send-inline p { font-size:7px; }
  body.personal-mode #profilePage .profile-security-send-inline strong { margin-top:2px; font-size:9px; }
  body.personal-mode #profilePage .profile-security-send-inline #profileSecuritySendCode {
    width:100% !important;
    min-width:0 !important;
    height:30px !important;
    min-height:30px !important;
    margin:0 !important;
    padding:0 9px !important;
    font-size:8px !important;
  }
  body.personal-mode #profilePage .profile-security-verification-result {
    display:flex;
    align-items:stretch;
    justify-content:flex-start;
    flex-direction:column;
    text-align:left;
  }
  body.personal-mode #profilePage .profile-security-verification-result > i {
    align-self:center;
    margin-top:8px;
    color:var(--profile-security-accent);
    font-size:25px;
  }
  body.personal-mode #profilePage .profile-security-verification-result > strong {
    align-self:center;
    margin-top:4px;
    color:var(--profile-security-accent);
    font-size:9px;
  }
  body.personal-mode #profilePage .profile-security-verification-result > small {
    align-self:center;
    max-width:none;
    margin-top:2px;
    font-size:7px;
    text-align:center;
  }
  body.personal-mode #profilePage .profile-security-verification-flow > .profile-security-grid {
    grid-column:1/-1;
    grid-row:2;
    grid-template-columns:repeat(3,minmax(0,1fr));
    align-content:stretch;
    gap:0;
    margin:0;
    padding:0;
    border-top:1px solid var(--line);
  }
  body.personal-mode #profilePage .profile-security-verification-flow > .profile-security-grid .profile-security-card {
    min-height:0;
    height:100%;
    padding:8px 12px;
    border:0;
    border-right:1px solid var(--line);
    border-radius:0;
    background:transparent !important;
    column-gap:6px;
    row-gap:3px;
  }
  body.personal-mode #profilePage .profile-security-verification-flow > .profile-security-grid .profile-security-card:last-child { border-right:0; }
  body.personal-mode #profilePage .profile-security-card-icon { font-size:17px; }
  body.personal-mode #profilePage .profile-security-copy b { font-size:9px; }
  body.personal-mode #profilePage .profile-security-copy .small-note { margin-top:2px; font-size:7px; line-height:1.25; }
  body.personal-mode #profilePage .profile-security-card-meta,
  body.personal-mode #profilePage .profile-security-card-meta strong { gap:5px; font-size:8px; }
  body.personal-mode #profilePage .profile-security-card-action {
    min-width:52px;
    height:25px !important;
    min-height:25px !important;
    padding:3px 6px !important;
    font-size:7px;
  }
}
