/* Native Drupal pages. Every form rule is scoped; marketing forms keep their own design. */
.system-page { padding: 48px 0 64px; background: linear-gradient(180deg, #f4f9fc, #fff 320px); }
.system-page-body { min-width: 0; }
.system-page--account .system-page-body { max-width: 720px; margin-inline: auto; }
.system-page-title { margin: 0 0 28px; color: var(--color-heading, #2e4663); font-size: clamp(28px, 3vw, 40px); line-height: 1.2; overflow-wrap: anywhere; }
.system-page form { min-width: 0; max-width: 900px; padding: 32px; margin: 0 0 24px; border: 1px solid #dce7ef; border-radius: 14px; background: #fff; box-shadow: 0 8px 28px rgba(46, 70, 99, .07); }
.system-page .form-item { margin: 0 0 22px; min-width: 0; }
.system-page label { display: block; margin: 0 0 8px; color: #2e4663; font-size: 15px; line-height: 1.5; font-weight: 500; }
.system-page .form-required::after { display: inline; color: #b42318; content: ' *'; }
.system-page input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=reset]),
.system-page select, .system-page textarea {
  display: block; box-sizing: border-box; width: 100%; max-width: 100%; min-width: 0; min-height: 46px;
  padding: 11px 14px; border: 1px solid #aabfce; border-radius: 6px; background: #fff; color: #233b50; font: inherit; font-size: 16px; line-height: 1.4;
}
.system-page textarea { min-height: 140px; resize: vertical; }
.system-page input:focus, .system-page select:focus, .system-page textarea:focus { border-color: #237db5; box-shadow: 0 0 0 3px rgba(35, 125, 181, .12); }
.system-page input[type=checkbox], .system-page input[type=radio] { position: static; display: inline-block; flex: 0 0 auto; opacity: 1; width: 18px; height: 18px; max-width: 18px; margin: 3px 0 0; accent-color: #237db5; cursor: pointer; }
.system-page .form-type-checkbox, .system-page .form-type-radio { display: flex; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.system-page .form-type-checkbox > label, .system-page .form-type-radio > label { display: inline; flex: 1; margin: 0; font-weight: 400; }
.system-page .form-type-checkbox > .description, .system-page .form-type-radio > .description { flex-basis: 100%; }
.system-page .description, .system-page .form-text-description { display: block; margin-top: 7px; color: #5e7180; font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; }
.system-page a:not(.btn):not(.button) { color: #176b9d; text-decoration: underline; text-underline-offset: 3px; }
.system-page .form-wrapper { min-width: 0; }
.system-page .form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 24px 0 0; padding: 0; border: 0; background: none; border-radius: 0; box-shadow: none; }
.system-page button[type=submit], .system-page input[type=submit], .system-page .button {
  display: inline-flex; align-items: center; justify-content: center; width: auto; min-height: 44px; max-width: 100%; margin: 0; padding: 11px 24px;
  border: 1px solid #237db5; border-radius: 6px; background: #237db5; color: #fff; font: inherit; font-weight: 500; line-height: 1.4; white-space: normal; cursor: pointer;
}
.system-page button[type=submit]:hover, .system-page input[type=submit]:hover, .system-page .button:hover { background: #1b638d; border-color: #1b638d; color: #fff; }
.system-page fieldset { min-width: 0; margin: 22px 0; padding: 20px; border: 1px solid #cbdce7; border-radius: 8px; }
.system-page fieldset legend { width: auto; float: none; padding: 0 6px; color: #2e4663; font-size: 15px; font-weight: 500; }
.system-page details { margin: 20px 0; padding: 16px; border: 1px solid #dce7ef; border-radius: 8px; }
.system-page details summary { cursor: pointer; font-weight: 500; }
.system-page details > .details-wrapper { padding-top: 16px; }
.system-page .captcha-type-challenge--image { --image-width: 200px; --reload-icon-size: 24px; --gap-h: 20px; --gap-v: 16px; }
.system-page .captcha__image-wrapper { display: block; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.system-page .captcha__image-wrapper img { box-sizing: content-box; width: auto; height: auto; max-width: calc(100% - 18px); padding: 8px; border: 1px solid #dce7ef; border-radius: 6px; background: #fff; }
.system-page .captcha__element > .form-item { min-width: 0; }
.system-page .reload-captcha-wrapper { display: inline-block; }
.system-page .reload-captcha { border-radius: 3px; }
.system-page .form-item--error-message, .system-page label.error, .system-page .error-message { display: block; margin-top: 7px; color: #a61b1b; font-size: 13px; line-height: 1.5; }
.system-page input.error, .system-page textarea.error, .system-page select.error, .system-page [aria-invalid=true] { border-color: #b42318; }
.system-page .item-list ul, .system-page .item-list ol { padding-left: 24px; }
.system-page .item-list li { margin-block: 10px; }
.system-page .pager__items { display: flex; flex-wrap: wrap; gap: 12px; padding: 20px 0; list-style: none; }
.site-editor-tools .messages, .site-editor-tools .alert { box-sizing: border-box; max-width: 1160px; margin: 16px auto; padding: 16px 20px; border: 1px solid #b8d4e3; border-radius: 8px; background: #eff7fc; color: #23415b; overflow-wrap: anywhere; }
.site-editor-tools .messages--error, .site-editor-tools .alert-danger { border-color: #e5b6b6; background: #fff1f1; color: #8b1d1d; }
.site-editor-tools .messages--warning, .site-editor-tools .alert-warning { border-color: #e7d59f; background: #fff9e7; color: #735200; }
.site-editor-tools .messages--status, .site-editor-tools .alert-success { border-color: #afd6c0; background: #effaf3; color: #205c3c; }
.site-editor-tools .messages a { color: inherit; text-decoration: underline; }
.site-editor-tools .messages ul { margin: 0; padding-left: 22px; }
@media (max-width: 767px) {
  .system-page { padding: 30px 0 44px; }
  .system-page form { padding: 22px; }
  .system-page fieldset { padding: 14px; }
  .system-page .captcha__element { flex-direction: column; }
  .system-page .captcha__image-wrapper { flex: 0 0 auto; width: 200px; max-width: 100%; }
  .system-page .captcha__element > .form-item { flex: 0 0 auto; width: 100%; }
  .site-editor-tools .messages, .site-editor-tools .alert { margin: 12px 15px; padding: 14px; }
}
@media (max-width: 380px) { .system-page form { padding: 16px; } }

.system-page .profile .field { margin-top: 18px; }
.system-page .profile .field__label { margin-bottom: 5px; color: #2e4663; font-weight: 500; }
.system-page .views-exposed-form { margin-bottom: 28px; }

.system-page a.button { background: #fff; color: #176b9d; border-color: #b8ccda; text-decoration: none; }
.system-page a.button:hover { background: #edf5fa; color: #174b68; border-color: #8fb1c7; }
