/* Support email: the fallback window (support.js) and the members' page footer line.
   Self-contained, so it looks the same on the public pages (site.css) and the members' page (styles.css). */

.support-link:focus-visible { outline: 3px solid #2a6fd6; outline-offset: 3px; border-radius: 4px; }
.page-footer .support-line { margin: 0 0 10px; font-size: 14px; }
.page-footer .support-link { color: #245da8; }

.support-dialog {
  width: min(420px, calc(100vw - 32px)); padding: 22px; border: 1px solid #e3e7ec; border-radius: 14px;
  background: #fff; color: #141b26; box-shadow: 0 12px 40px rgba(20, 27, 38, 0.18);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; line-height: 1.5; text-align: left;
}
.support-dialog::backdrop { background: rgba(20, 27, 38, 0.45); }
.support-dialog h2 { margin: 0 0 8px; font-size: 19px; line-height: 1.25; }
.support-dialog p { margin: 0 0 12px; color: #3b4452; font-size: 15px; }
.support-options { display: grid; gap: 10px; margin: 4px 0 14px; }
.support-option {
  display: block; width: 100%; min-height: 44px; padding: 8px 16px; border: 2px solid #1b7a3a; border-radius: 10px;
  background: #fff; color: #1b7a3a; font: inherit; font-size: 16px; font-weight: 700; text-align: center;
  text-decoration: none; cursor: pointer;
}
.support-option:hover { background: #f1faf3; }
.support-dialog .support-dialog-address { margin: 0 0 4px; font-size: 14px; overflow-wrap: anywhere; }
.support-dialog .support-dialog-status { min-height: 1.5em; margin: 8px 0 0; color: #1b5e30; font-weight: 600; }
.support-dialog-close {
  display: block; width: 100%; min-height: 44px; margin-top: 6px; border: 0; border-radius: 10px;
  background: #eef0f3; color: #141b26; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer;
}
.support-dialog-close:hover { background: #e3e7ec; }
.support-dialog-close:focus-visible, .support-option:focus-visible { outline: 3px solid #2a6fd6; outline-offset: 3px; }
.support-scope { display: block; margin-top: 2px; font-size: 13px; color: #5b6573; }
.backtest-disclosure { margin: 4px 0 14px; max-width: 640px; }
.toplinks a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
.toplinks a { white-space: nowrap; }
@media (max-width: 560px) {
  .topbar { flex-wrap: wrap; gap: 8px 16px; }
  .toplinks { flex-wrap: wrap; gap: 6px 16px; font-size: 14px; }
}
