/* Scoped additions to the current MirSud design. */
.ms-profile-invite{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 24px;padding:22px 24px;border:1px solid #d9e2dc;border-radius:14px;background:#f4f8f5;color:#172c24}
.ms-profile-invite h3{font-family:inherit;font-weight:700;font-size:21px;line-height:1.3;margin:0 0 8px;color:#172c24}
.ms-profile-invite p{max-width:700px;margin:0;color:#46584f;font-size:15px;line-height:1.6}
.ms-profile-invite a{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;min-height:44px;padding:12px 18px;border:1px solid #2d6650;border-radius:8px;background:#fff;color:#24533f;font-weight:700;text-decoration:none;text-align:center;line-height:1.35}
.ms-profile-invite a:hover{background:#e8f0eb}
.ms-profile-invite a:focus-visible,.ms-profile-form :focus-visible{outline:3px solid #328161;outline-offset:3px}
.ms-profile-wrap{max-width:920px;margin:0 auto}
.ms-profile-form{display:grid;gap:22px}
.ms-profile-form fieldset{min-width:0;border:1px solid #dde3e5;border-radius:14px;padding:24px;background:#fff;margin:0}
.ms-profile-form legend{font-size:21px;font-weight:700;color:#14283c;padding:0 8px}
.ms-profile-form .ms-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.ms-profile-form label{display:grid;gap:7px;font-size:15px;font-weight:600;color:#24394b}
.ms-profile-form input:not([type=checkbox]),.ms-profile-form textarea{box-sizing:border-box;width:100%;max-width:100%;min-height:46px;border:1px solid #c8d0d7;border-radius:8px;padding:11px 12px;background:#fff;font-family:inherit;font-size:16px;line-height:1.5;font-weight:400;color:#172d40}
.ms-profile-form textarea{min-height:120px;resize:vertical}
.ms-profile-form input[type=file]{padding:12px;font-size:14px}
.ms-profile-form small,.ms-profile-hint{display:block;font-size:14px;font-weight:400;line-height:1.55;color:#5c6a76;margin:0 0 16px}
.ms-profile-form label small{margin:0}
.ms-profile-wide{grid-column:1/-1}
.ms-profile-photo-row{display:grid;grid-template-columns:112px 1fr;align-items:center;gap:22px}
.ms-profile-photo{width:112px;height:132px;display:grid;place-items:center;overflow:hidden;border-radius:12px;background:#edf1f3;border:1px solid #dce3e7;color:#687d89;text-align:center;font-size:14px}
.ms-profile-photo img{display:block;width:100%;height:100%;object-fit:cover}
.ms-profile-form .ms-profile-secondary{display:inline-flex;align-items:center;justify-content:center;padding:10px 15px;min-height:44px;border:1px solid #c6d1d9;border-radius:8px;background:#fff;color:#243e53;font-family:inherit;font-size:14px;line-height:1.4;font-weight:600;cursor:pointer;text-decoration:none}
.ms-profile-form .ms-profile-secondary:hover{background:#f2f5f7}
.ms-profile-form .ms-profile-secondary:disabled{opacity:.55;cursor:default}
.ms-profile-case{display:grid;gap:14px;border-bottom:1px solid #e1e6ea;padding:0 0 20px;margin:0 0 20px}
.ms-profile-case:last-child{border:0;margin:0}
.ms-profile-case-title{display:flex;align-items:center;justify-content:space-between;gap:12px}
.ms-profile-case-title h3{margin:0;font-size:17px}
.ms-profile-form .ms-profile-consent{display:flex;align-items:flex-start;gap:12px;font-weight:400;line-height:1.6}
.ms-profile-consent input{margin-top:5px;width:18px;height:18px;flex-shrink:0}
.ms-profile-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px}
.ms-profile-form button{cursor:pointer}
.ms-profile-result{padding:24px;border:1px solid #a7c8b6;background:#f3f8f4;border-radius:14px}
.ms-profile-result h2{font-size:23px;margin:0 0 12px}
.ms-profile-result textarea{min-height:250px;background:white;margin:12px 0}
.ms-profile-form [hidden],.ms-profile-invite[hidden]{display:none!important}
.ms-profile-error{font-size:14px;color:#9d2828;margin:10px 0;line-height:1.5}
.ms-profile-status{font-size:14px;color:#345f49;line-height:1.6}
@media(max-width:700px){.ms-profile-invite{display:block;padding:20px}.ms-profile-invite a{margin-top:16px;box-sizing:border-box;width:100%;white-space:normal}.ms-profile-form .ms-form-grid{grid-template-columns:1fr}.ms-profile-form fieldset{padding:20px 16px}.ms-profile-photo-row{grid-template-columns:1fr}.ms-profile-actions>*{width:100%;box-sizing:border-box;text-align:center}.ms-profile-form legend{font-size:19px}.ms-profile-wrap{width:100%}}
@media print{.ms-profile-invite{display:none}}
