/* Application access uses the approved ERP reading and touch sizes. */
#open-platform-dialog {
  font-size: 15px;
  line-height: 1.6;
  color: #20344f;
}
#open-platform-dialog :is(header p, label, legend, .open-platform-manager-summary p, .open-platform-credential strong) {
  font-size: 15px;
}
#open-platform-dialog :is(small, code, .open-platform-manager-summary span, .open-platform-credentials-head > span, .open-platform-credential > span, .open-platform-scope-picker label small, .open-platform-scope-picker > p) {
  font-size: 14px;
  line-height: 1.6;
  color: #52657c;
}
/* The legacy foundation marks all small text important; confine its replacement here. */
@layer erp-reconstruction {
  body.pixel-replica #open-platform-dialog small {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #52657c !important;
  }
  body.pixel-replica #open-platform-dialog :is(input:not([type=checkbox]), select, button) {
    min-height: 44px !important;
    font-size: 15px !important;
  }
}
#open-platform-dialog :is(.open-platform-manager-summary strong, .open-platform-scope-picker label strong) {
  font-size: 15px;
  color: #20344f;
}
#open-platform-dialog :is(input:not([type=checkbox]), select, button) {
  min-height: 44px;
  font-size: 15px;
}
#open-platform-dialog header button {
  width: 44px;
  min-width: 44px;
  height: 44px;
  flex-shrink: 0;
}
#open-platform-dialog :is(.open-platform-manager-summary, .open-platform-credential) > div {
  min-width: 0;
}
#open-platform-dialog :is(.open-platform-manager-summary code, .open-platform-credential small, .open-platform-credential strong) {
  overflow-wrap: anywhere;
}
#open-platform-dialog .open-platform-credentials-head {
  align-items: flex-start;
  gap: 16px;
}
#open-platform-dialog .open-platform-credentials-head > span {
  flex-shrink: 0;
  white-space: nowrap;
}
#open-platform-dialog .open-platform-credential.is-revoked {
  opacity: 1;
}
#open-platform-dialog .open-platform-credential.is-revoked strong {
  color: #52657c;
}
#open-platform-dialog :is(.open-platform-form-error, .open-platform-empty) {
  font-size: 15px;
  line-height: 1.6;
}
#open-platform-dialog button:focus-visible {
  outline: 2px solid #255fba;
  outline-offset: 3px;
}
@media (max-width: 767px) {
  #open-platform-dialog .open-platform-credentials-head {
    flex-wrap: wrap;
  }
  #open-platform-dialog .open-platform-credentials-head > span {
    margin-left: auto;
  }
  #open-platform-dialog .open-platform-manager-summary code {
    display: block;
    margin: 4px 0 0;
  }
}
