.ms-page { max-width: 660px; margin: 0 auto; padding: 36px 16px 80px; color: #173e38; }
.ms-card { padding: 28px; border: 1px solid #d4e1d7; border-radius: 12px; background: #fff; }
.ms-page h1 { font-size: 28px; line-height: 1.4; margin: 0 0 12px; }
.ms-page p, .ms-page li { line-height: 1.8; overflow-wrap: anywhere; }
.ms-tabs { display: flex; gap: 8px; margin: 22px 0; }
.ms-tabs a { flex: 1; padding: 14px 8px; border: 1px solid #c6d9cd; border-radius: 6px; text-align: center; color: #173e38; }
.ms-tabs a[aria-current=page] { color: #fff; background: #173e38; }
.ms-form { display: grid; gap: 16px; }
.ms-form label { display: grid; gap: 7px; font-weight: 700; }
.ms-form input:not([type=checkbox]) { box-sizing: border-box; min-width: 0; width: 100%; min-height: 50px; padding: 10px 12px; border: 1px solid #b9ccbf; border-radius: 6px; font-size: 16px; }
.ms-form button, .ms-action { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 12px 18px; border: 1px solid #173e38; border-radius: 6px; color: #fff; background: #173e38; font: 700 17px/1.4 Arial,'Malgun Gothic',sans-serif; text-decoration: none; cursor: pointer; }
.ms-form button.ms-danger { background: #b52b3f; border-color: #b52b3f; }
.ms-result { padding: 18px; margin: 18px 0; border: 1px solid #b9d4bf; border-radius: 8px; background: #f0f7f0; line-height: 1.8; }
.ms-error { color: #922137; border-color: #dfb6bf; background: #fff4f5; }
.ms-links { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.ms-links a { color: #244e40; text-decoration: underline; }
.ms-form label.ms-consent { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; line-height: 1.7; }
.ms-consent input { width: 20px; height: 20px; flex-shrink: 0; margin-top: 4px; }
.ms-secondary { margin-top: 24px; padding-top: 20px; border-top: 1px solid #dbe6de; }
.ms-login-links, .login-card .ms-login-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ms-login-links a, .login-card .ms-login-links a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin: 0; padding: 8px 10px; border: 1px solid #d1ded5; border-radius: 5px; background: #fff; color: #173e38; font-size: 14px; }
@media(max-width: 600px) { .ms-card { padding: 22px 16px; } .ms-page { padding-bottom: 144px; } .ms-page h1 { font-size: 25px; } }

/* Keep account recovery call-to-action readable under the site-wide link color. */
.ms-page a.ms-action, .ms-page a.ms-action:visited, .ms-page a.ms-action:hover, .ms-page a.ms-action:focus { color: #fff; -webkit-text-fill-color: #fff; }
