/* Controls are scoped to native dialogs; the original LP remains unchanged. */
.matsui-share-dialog{box-sizing:border-box;width:min(560px,calc(100% - 28px));max-height:90dvh;max-height:min(90dvh,860px);margin:auto;padding:30px 24px 24px;border:3px solid #ffb516;border-radius:14px;background:#fff;color:#303030;line-height:1.7;overflow:auto;box-shadow:0 8px 50px #0003;font-size:16px;text-align:left}
.matsui-share-dialog:not([open]),.matsui-share-dialog [hidden]{display:none!important}
.matsui-share-dialog::backdrop{background:#0008}
.matsui-share-dialog h2,.matsui-share-dialog h3{background:none;border:0;box-shadow:none;padding:0;margin:0 32px 14px 0;font-size:23px;line-height:1.5;color:#333}
.matsui-share-dialog h3{font-size:19px;margin-top:18px}
.matsui-share-dialog h2::before,.matsui-share-dialog h2::after,.matsui-share-dialog h3::before,.matsui-share-dialog h3::after{display:none}
.matsui-share-dialog p{margin:12px 0}
.matsui-share-dialog .matsui-modal-close{position:absolute;top:8px;right:10px;width:40px;height:40px;padding:0;border:0;border-radius:50%;background:#fff;color:#555;font:28px/1 sans-serif;cursor:pointer}
.matsui-share-dialog .matsui-modal-button{display:block;width:100%;margin:14px 0 10px;padding:14px 16px;border:0;border-radius:7px;background:#06a94f;color:#fff;font:inherit;font-weight:700;text-align:center;cursor:pointer;line-height:1.5;text-decoration:none}
.matsui-share-dialog .matsui-modal-button:disabled{background:#bbb;cursor:default}
.matsui-share-dialog .matsui-modal-secondary{background:#fff;color:#454545;border:1px solid #aaa}
.matsui-share-dialog :focus-visible{outline:3px solid #ed9316;outline-offset:3px}
.matsui-share-dialog .matsui-record-note{padding:14px;border-radius:6px;background:#fff6dc;font-size:14px}
.matsui-share-dialog .matsui-consent{display:flex;align-items:flex-start;gap:10px;margin:18px 0;font-size:15px;cursor:pointer}
.matsui-share-dialog input[type=checkbox]{appearance:auto;flex:none;width:19px;height:19px;margin:4px 0 0;accent-color:#06a94f}
.matsui-share-dialog .matsui-modal-small,.matsui-share-dialog #identity-note{font-size:13px;color:#666}
.matsui-share-dialog .patient-status{font-size:14px;margin:16px 0 0;padding:12px 0;border-top:1px solid #eee}
.matsui-share-dialog .patient-status.error{color:#b02424}
.matsui-share-dialog pre{white-space:pre-wrap;overflow-wrap:anywhere;padding:16px;margin:16px 0;background:#f5f7f4;border-radius:7px;font:15px/1.7 sans-serif}
.matsui-share-dialog details{border-top:1px solid #eee;margin-top:22px;padding-top:14px;font-size:14px}
.matsui-share-dialog summary{cursor:pointer}
.matsui-share-dialog a{color:#187649;text-decoration:underline}
.matsui-share-dialog #copy-fallback{box-sizing:border-box;width:100%;font-size:14px;overflow-wrap:anywhere}
@media(max-width:599px){.matsui-share-dialog{padding:28px 18px 18px}.matsui-share-dialog h2{font-size:21px}}

.referral-portrait-banner {
  display: block;
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  line-height: 0;
}
.referral-portrait-banner > img {
  display: block;
}
.referral-portrait-slot {
  position: absolute;
  inset: 6.64% 8% 57.03% 65.4%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: linear-gradient(#ffb485, #ff6f17);
}
.referral-portrait-slot > img {
  width: 84%;
  height: 92%;
  object-fit: cover;
  object-position: center 34%;
}
