/* Source: p-submit1-DN87iRdr.css .modal-container/.modal-content/
 * .scrollable-content/.agree/.wenzi and original submit1 render chunk.
 * Load after app.css and fidelity.css. Only the agreement modal is scoped.
 * The source has NO heading and labels its blue action "同意本协议";
 * parent integration must supply the original button label and exact text.
 */
.mask:has(> .modal) {
  position: fixed;
  inset: auto;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  background: rgba(0, 0, 0, .5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  font: 16px "Times New Roman";
  color: #000;
}
.modal {
  box-sizing: content-box;
  width: 80%;
  height: 33.125rem;
  max-width: 25rem;
  background: #fff;
  padding: .625rem;
  border-radius: 15px;
  display: block;
}
/* This locally added heading does not exist in the source render tree. */
.modal h3 { display: none; }
.modal-scroll {
  box-sizing: content-box;
  margin: 3.125rem 0 0;
  max-height: 25rem;
  overflow-y: auto;
  padding: 0;
  color: gray;
  font-size: inherit;
  line-height: normal;
  text-align: start;
}
.modal-ok {
  position: relative;
  box-sizing: border-box;
  display: block;
  margin: 1.5625rem auto 0;
  width: 60%;
  height: auto;
  padding: 0 14px;
  border: 0;
  border-radius: 30px;
  background: blue;
  color: #fff;
  font: 18px "Times New Roman";
  line-height: 2.55555556;
  text-align: center;
  text-decoration: none;
  overflow: hidden;
  cursor: pointer;
}
.modal-ok::after {
  content: " ";
  width: 200%;
  height: 200%;
  position: absolute;
  top: 0;
  left: 0;
  border: 1px solid rgba(0, 0, 0, .2);
  transform: scale(.5);
  transform-origin: 0 0;
  box-sizing: border-box;
  border-radius: 10px;
  pointer-events: none;
}
