.auth { color: #172426; background: #F7F9F8; }
.auth header, .auth main { box-sizing: border-box; max-width: 560px; margin: auto; padding: 24px; }
.auth header { padding-bottom: 0; }
.auth header img { max-width: 100%; height: auto; display: block; }
.auth .site-footer { box-sizing: border-box; width: 100%; max-width: 560px; margin: 16px auto 0; padding: 24px; border-top: 1px solid #DCE5E4; color: #465953; text-align: center; font-size: .875rem; line-height: 1.6; overflow-wrap: anywhere; }
.auth .site-footer p { margin: 0; }
.auth .site-footer-identity { color: #176B73; }
.auth .site-footer .site-footer-tagline { margin-top: 4px; }
@media (max-width: 480px) { .auth .site-footer { padding: 20px 16px; } }
@media print { .auth .site-footer { display: none; } }
.auth h1 { font-size: 1.75rem; overflow-wrap: anywhere; }
.auth input { background: #FFF; border: 1px solid #647477; border-radius: 6px; }
.auth button { min-height: 44px; background: #176B73; color: #FFF; margin-top: 24px; max-width: 100%; white-space: normal; }
.auth button.secondary { background: #FFF; color: #176B73; border: 1px solid #647477; }
.auth a { color: #176B73; }
.auth .skip-link { position: absolute; top: 8px; left: 8px; z-index: 10; padding: 12px 16px; background: #FFF; border: 1px solid #176B73; transform: translateY(-200%); }
.auth .skip-link:focus { transform: translateY(0); }
.auth nav { overflow-wrap: anywhere; }
.auth nav a { display: inline-flex; align-items: center; box-sizing: border-box; min-height: 44px; max-width: 100%; padding: 8px 4px; vertical-align: middle; }
.auth a.preview-button { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; padding: 12px 16px; background: #176B73; color: #FFF; border-radius: 6px; text-decoration: none; }
.auth :focus-visible { outline: 3px solid #176B73; outline-offset: 3px; }
.auth #password-policy, .auth #member-password-policy { font-size: .6rem; }

.auth h2 { font-size: 1.375rem; }
.auth section { margin-bottom: 24px; }
.auth .member-list { list-style: none; padding: 0; }
.auth .member-list li { padding: 16px 0; border-bottom: 1px solid #DCE5E4; overflow-wrap: anywhere; }
.auth .member-list p { margin: 4px 0; }
.auth .danger { background: #C43D3D; }
.auth .member-photo { display: block; width: 200px; height: 200px; max-width: 100%; object-fit: contain; margin: 16px 0; }
.auth [data-photo-preview-container] { margin: 16px 0; overflow-wrap: anywhere; }
.auth input[type="file"] { max-width: 100%; min-width: 0; }
.auth .medical-states { border: 0; padding: 0; margin-top: 16px; min-width: 0; }
.auth .medical-states input { width: auto; margin: 0 8px 0 0; }
.auth .medical-states label { display: flex; align-items: center; min-height: 44px; margin: 0; font-weight: 400; }
.auth textarea { resize: vertical; }
.auth details summary { box-sizing: border-box; min-height: 44px; padding: 10px 0; overflow-wrap: anywhere; }
.auth input, .auth select, .auth textarea { min-width: 0; max-width: 100%; }
.auth input[type="checkbox"], .auth input[type="radio"] { flex-shrink: 0; }
.auth button, .auth h2 { overflow-wrap: anywhere; }
.auth .contact-item { border-top: 1px solid #DCE5E4; padding-top: 16px; margin-top: 24px; overflow-wrap: anywhere; }
.auth .contact-priority { color: #176B73; }
.auth .contact-call { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; }
@media (max-width: 480px) { .auth header, .auth main { padding: 16px; } .auth button { width: 100%; } }
@media print { .auth .skip-link, .auth nav { display: none; } }
.access-log { list-style: none; padding: 0; margin: 1rem 0; }
.access-log li { display: grid; gap: .2rem; border-bottom: 1px solid #d6dedb; padding: .75rem 0; overflow-wrap: anywhere; }
.access-log time { font-size: 14px; color: #465953; }
.log-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; }
.restore-summary { overflow-wrap: anywhere; }
.restore-summary dt { font-weight: 600; margin-top: .75rem; }
.restore-summary dd { margin: 0; }
.auth code { overflow-wrap: anywhere; }
.update-checks { list-style: none; padding: 0; }
.update-checks li { border-bottom: 1px solid #DCE5E4; padding: 12px 0; overflow-wrap: anywhere; }
.auth a.href-button {
  --href-background: #176B73;
  --href-hover: #12535A;
  --href-color: #FFF;
  --href-border: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 44px;
  max-width: 100%;
  padding: 12px 20px;
  gap: 8px;
  border: 1px solid var(--href-border);
  border-radius: 6px;
  background-color: var(--href-background);
  color: var(--href-color);
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
  vertical-align: middle;
}
.auth a.href-button-success { --href-background: #187018; --href-hover: #125612; }
.auth a.href-button-primary { --href-background: #176B73; --href-hover: #12535A; }
.auth a.href-button-secondary { --href-background: #2A9D8F; --href-hover: #12535A; }
.auth a.href-button-tertiary { --href-background: #FFF; --href-hover: #EEF4F3; --href-color: #176B73; --href-border: #647477; }

.auth a.href-button-danger { --href-background: #C43D3D; --href-hover: #A62626; }
.auth a.href-button:hover { background-color: var(--href-hover); text-decoration: none; }
.auth a.href-button:active { background-color: var(--href-hover); }
.auth a.href-button:focus-visible { outline: 3px solid #176B73; outline-offset: 3px; }
@media print { .auth a.href-button { display: none; } }
