/* The role screen is the canvas around the phone: restore its warm ivory color. */
body:has(#root .ft-amplua-screen),
html #root > div:has(.ft-amplua-screen),
html #root .ft-amplua-screen {
  background: #faf6ec !important;
}

/* Keep the profile theme and role controls visibly compact. */
html #root [data-profile-surface="identity"] .theme-picker-trigger,
html #root [data-profile-surface="identity"] .ft-profile-role-trigger {
  box-sizing: border-box !important;
  height: 18px !important;
  min-height: 18px !important;
  padding: 1px 5px !important;
  font-size: 8px !important;
  line-height: 11px !important;
}

html #root [data-profile-surface="identity"] .theme-picker-trigger svg,
html #root [data-profile-surface="identity"] .ft-profile-role-trigger svg {
  width: 9px !important;
  height: 9px !important;
}

html #root [data-profile-surface="identity"] .ft-profile-role-picker button {
  box-sizing: border-box !important;
  min-height: 18px !important;
  height: 18px !important;
  padding: 1px 7px !important;
  font-size: 8px !important;
  line-height: 11px !important;
}
