/* Shared header and footer for every page of the guide. Classes are prefixed sx- so this
   file can sit beside a page's own styles without collisions. */
.sx-header, .sx-footer { font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif; box-sizing: border-box; }
.sx-header *, .sx-footer * { box-sizing: border-box; }
.sx-header { background: #14292b; color: #f3f5ee; border-bottom: 1px solid #2c4a4b; position: relative; z-index: 1100; }
.sx-bar { max-width: 1200px; margin: 0 auto; padding: 0 max(20px, env(safe-area-inset-left, 0px)); min-height: 58px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px 28px; flex-wrap: wrap; }
.sx-brand { display: inline-flex; align-items: center; gap: 10px; padding: 14px 0; color: #f3f5ee; text-decoration: none;
  font-weight: 700; font-size: 16px; letter-spacing: .005em; white-space: nowrap; }
.sx-brand img { flex: none; }
.sx-wordmark { color: #f6f5eb; font: 750 25px/1 system-ui, sans-serif; letter-spacing: -.055em; }
.sx-wordmark span { color: #d7e8b9; }
.sx-wordmark small { color: #c7d4cd; font-size: .7em; letter-spacing: -.035em; }
.sx-disclosure { background: #0f2223; color: #d2e0d8; }
.sx-disclosure p { box-sizing: border-box; max-width: 1200px; margin: 0 auto; padding: 5px max(20px, env(safe-area-inset-left, 0px)); font: 500 13px/1.45 system-ui, sans-serif; }
.sx-nav { display: flex; flex-wrap: wrap; gap: 0 2px; margin: 0 -10px; }
.sx-nav a { color: #d5dfd9; text-decoration: none; font-size: 14.5px; font-weight: 500; padding: 19px 10px 16px;
  border-bottom: 3px solid transparent; white-space: nowrap; }
.sx-nav a:hover { color: #fff; border-bottom-color: #4d7672; }
.sx-nav a[aria-current="page"] { color: #fff; font-weight: 650; border-bottom-color: #d7e8b9; }
.sx-nav a:focus-visible, .sx-brand:focus-visible, .sx-footer a:focus-visible { outline: 3px solid #d7e8b9; outline-offset: -3px; }
.sx-clock { background: #d7e8b9; color: #14292b; font-size: 13.5px; }
.sx-clock div { max-width: 1200px; margin: 0 auto; padding: 7px max(20px, env(safe-area-inset-left, 0px)); display: flex; flex-wrap: wrap; gap: 2px 18px; align-items: baseline; }
.sx-clock b { font-weight: 700; }
.sx-clock a { color: #14292b; font-weight: 650; text-underline-offset: 3px; margin-left: auto; }
.sx-clock a.sx-act { background: #14292b; color: #d7e8b9; text-decoration: none; padding: 3px 12px 4px; border-radius: 999px; white-space: nowrap; }
.sx-clock a.sx-act:hover { background: #24494b; color: #fff; }
.sx-clock a.sx-act:focus-visible { outline: 3px solid #14292b; outline-offset: 2px; }
@media (max-width: 1240px) { .sx-nav a { padding-inline: 8px; font-size: 14px; } }
@media (max-width: 760px) {
  .sx-bar { padding-bottom: 4px; }
  .sx-brand { padding: 12px 0 2px; }
  .sx-nav { width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 0 12px; width: calc(100% + 40px); }
  .sx-nav::-webkit-scrollbar { display: none; }
  .sx-nav a { padding: 10px 8px 9px; font-size: 14px; }
  .sx-clock a { margin-left: 0; }
}
.sx-footer { margin-top: 72px; background: #14292b; color: #c4d2cb; font-size: 14px; line-height: 1.55; }
.sx-footer-inner { max-width: 1200px; margin: 0 auto; padding: 36px max(20px, env(safe-area-inset-left, 0px)) 40px;
  display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)); gap: 28px 48px; }
.sx-footer h2 { font: 650 12px ui-monospace, Menlo, monospace; letter-spacing: .08em; text-transform: uppercase; color: #8fa89f; margin: 0 0 10px; }
.sx-footer p { margin: 0 0 8px; max-width: 54ch; }
.sx-footer ul { list-style: none; margin: 0; padding: 0; }
.sx-footer li { margin: 0 0 6px; }
.sx-footer a { color: #f3f5ee; text-underline-offset: 3px; text-decoration-color: #5f827c; }
.sx-footer a:hover { text-decoration-color: #d7e8b9; }
@media (max-width: 760px) { .sx-footer-inner { grid-template-columns: minmax(0, 1fr); } }
@media print { .sx-nav, .sx-clock, .sx-footer { display: none; } }
