.site-footer { max-width: 1440px; margin: 20px auto 0; padding: 16px 24px; border-top: 1px solid var(--gray-200); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; color: var(--gray-700); font-size: 12px; }
.site-footer a { color: var(--primary); text-underline-offset: 3px; }
.navbar-user .help-link { color: white; text-decoration: none; padding: 6px 9px; border: 1px solid #ffffff60; border-radius: var(--radius); }
.help-link:hover { background: #ffffff20; }
.navbar-user .help-link:focus-visible { outline-color: white; }
.public-navbar { justify-content: space-between; }
.navbar > .navbar-user { margin-left: auto; }
.login-card { max-width: calc(100vw - 32px); }
.page-help-dialog { color: var(--gray-900); background: white; border: 1px solid var(--gray-300); border-radius: 10px; padding: 0; width: 650px; max-width: calc(100vw - 32px); max-height: min(85vh, 800px); overflow: auto; box-shadow: 0 16px 70px #0004; }
.page-help-dialog::backdrop { background: #14283b88; }
.help-dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 22px 24px 12px; }
.help-dialog-header h2 { font-size: 21px; line-height: 1.3; margin: 4px 0; }
.help-eyebrow { margin: 0; font-size: 12px; color: var(--gray-700); }
.help-dialog-body { padding: 0 24px 12px; }
.help-steps { padding-left: 22px; }
.help-steps li { padding-left: 3px; margin: 12px 0; }
.help-note { background: var(--gray-100); border-left: 3px solid var(--primary-light); padding: 12px 14px; }
.page-help-dialog .site-footer { margin-top: 4px; padding: 14px 24px; }
.help-layout { display: grid; grid-template-columns: minmax(200px, 270px) minmax(0, 1fr); gap: 24px; align-items: start; }
.help-topics { display: grid; gap: 3px; }
.help-topics a { padding: 8px 12px; border-radius: var(--radius); color: var(--primary); text-decoration: none; }
.help-topics a:hover, .help-topics a[aria-current] { background: var(--gray-200); }
.help-article h2 { margin-top: 0; }
.agreement-card { max-width: 880px; margin: 0 auto; }
.agreement-card h1 { margin-top: 0; line-height: 1.25; }
.document-prose { overflow-wrap: anywhere; }
.document-prose h2, .document-prose h3 { margin-top: 24px; line-height: 1.3; }
.document-prose p, .document-prose li { line-height: 1.65; }
.document-prose pre { white-space: pre-wrap; background: var(--gray-100); padding: 12px; }
.agreement-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 20px; margin-top: 24px; border-top: var(--border); }
.agreement-logout { margin-top: 12px; }
.agreement-status { padding: 12px; margin-top: 24px; background: #e2f0d9; }
.login-support { position: absolute; top: 16px; right: 24px; }
.login-page { flex-direction: column; }
.login-page > .site-footer { width: min(100%, 800px); margin-top: 24px; }
.login-support a { color: var(--primary); }
:is(.help-link, .site-footer a, .help-topics a, .page-help-dialog button):focus-visible { outline: 3px solid var(--primary-light); outline-offset: 3px; }
@media (max-width: 760px) {
  .help-layout { grid-template-columns: 1fr; gap: 16px; }
  .help-topics { max-height: 230px; overflow-y: auto; border-bottom: var(--border); }
  .help-dialog-header, .help-dialog-body { padding-left: 16px; padding-right: 16px; }
  .page-help-dialog .site-footer { padding-left: 16px; padding-right: 16px; }
  .agreement-actions > .btn { white-space: normal; }
  .login-support { position: static; align-self: flex-end; margin-bottom: 12px; }
}
