body.admin-bar .scrollbar { top: 32px; }
body.admin-bar section    { scroll-margin-top: 122px; }
body.admin-bar .legal-toc { top: 128px; }
@media screen and (max-width: 782px) {
  body.admin-bar .scrollbar { top: 46px; }
  body.admin-bar section    { scroll-margin-top: 136px; }
  body.admin-bar .legal-toc { top: 142px; }
}
.q-skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--paper);
  padding: 10px 16px; border-radius: 0 0 6px 0;
  font-size: .875rem; font-weight: 600;
}
.q-skip:focus { left: 0; }
button.btn, input.btn {
  font-family: var(--sans);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: none;
}
.btn { cursor: pointer; }
.gbtn.safe { border-color: var(--ok); }
.gbtn.safe .gt svg { stroke: var(--ok); }
.rw-regions { display: block; }
.q-burger {
  display: none;
  align-items: center; justify-content: center;
  width: 34px; height: 34px; padding: 0;
  background: none; border: 1px solid var(--line); border-radius: 6px;
  color: var(--ink); cursor: pointer;
  transition: color .16s ease, border-color .16s ease;
}
.q-burger:hover { color: var(--brand); border-color: var(--brand); }
.q-burger-bars { display: block; width: 16px; height: 12px; position: relative; }
.q-burger-bars span {
  position: absolute; left: 0; right: 0; height: 1.5px;
  background: currentColor; border-radius: 2px;
  transition: transform .18s ease, opacity .18s ease;
}
.q-burger-bars span:nth-child(1) { top: 0; }
.q-burger-bars span:nth-child(2) { top: 5.25px; }
.q-burger-bars span:nth-child(3) { top: 10.5px; }
.q-burger[aria-expanded="true"] .q-burger-bars span:nth-child(1) { transform: translateY(5.25px) rotate(45deg); }
.q-burger[aria-expanded="true"] .q-burger-bars span:nth-child(2) { opacity: 0; }
.q-burger[aria-expanded="true"] .q-burger-bars span:nth-child(3) { transform: translateY(-5.25px) rotate(-45deg); }
.q-drawer {
  display: none;
  position: fixed; top: var(--q-drawer-top, 0px); right: 0; bottom: 0; left: 0; z-index: 40;
  background: var(--paper);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.q-drawer.is-open { display: block; }
.q-drawer-inner {
  display: flex; flex-direction: column;
  padding: 28px 24px 48px;
  max-width: 1280px; margin: 0 auto;
}
.q-drawer-lab {
  font: var(--eyebrow); letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 14px;
}
.q-drawer-sub {
  font-family: var(--serif); font-size: 1.0625rem; font-weight: 600;
  color: var(--ink); padding: 11px 0; border-top: 1px solid var(--line);
}
.q-drawer-sub:first-of-type { border-top: 0; }
.q-drawer-rule { display: block; height: 1px; background: var(--line); margin: 26px 0; }
.q-drawer-link {
  font-size: 1.125rem; font-weight: 500; color: var(--ink);
  padding: 13px 0; border-top: 1px solid var(--line);
}
.q-drawer-link:first-of-type { border-top: 0; }
.q-drawer-link.is-active { color: var(--brand); }
.q-drawer-cta { margin-top: 28px; align-self: flex-start; }
body.q-menu-open { overflow: hidden; }
body.q-menu-open .nav { background: var(--paper); }
@media (max-width: 1040px) {
  .q-burger { display: inline-flex; }
}
@media (max-width: 640px) {
  .nav-actions .btn-primary { display: none; }
}
.entry-footer .wrap,
.comment-respond .wrap { display: block; text-align: left; }
@media (prefers-reduced-motion: reduce) {
  .q-burger-bars span { transition: none; }
}
.q-consent {
  position: fixed; z-index: 200; left: 16px; right: 16px; bottom: 16px;
  background: var(--paper-raised); border: 1px solid var(--line); border-radius: 6px;
}
.q-consent-inner {
  max-width: 1280px; margin: 0 auto; padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.q-consent-text { margin: 0; font-size: .9375rem; color: var(--ink-soft); }
.q-consent-text a {
  color: var(--brand); border-bottom: 1px solid var(--brand); padding-bottom: 1px;
}
.q-consent-text a:hover { color: var(--brand-ink); border-bottom-color: var(--brand-ink); }
.q-consent-actions { display: flex; gap: 10px; flex-shrink: 0; }
@media (max-width: 640px) {
  .q-consent-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .q-consent-actions { align-self: stretch; }
  .q-consent-actions .btn { flex: 1; justify-content: center; }
}
.member.q-no-shot { grid-template-columns: 1fr; }
.legal-sec p strong, .legal-intro p strong { color: var(--ink); font-weight: 600; }
.q-legal-typed .legal-sec h2::before,
.q-legal-typed .legal-toc li a::before { content: none; }
.q-legal-typed .legal-sec h2 { display: block; }
.legal-sec ol { margin: 0 0 16px; padding-left: 1.4em; color: var(--ink-soft); }
.legal-sec ol li { padding: 4px 0; font-size: .9375rem; line-height: 1.6; }
@media (max-width: 640px) {
  .feature-copy,
  .feature-mock { min-width: 0; }
  .feature-mock { overflow-x: auto; }
  .role-matrix { font-size: .75rem; }
  .role-matrix th,
  .role-matrix td { padding: 10px 3px; }
  .role-matrix thead th { letter-spacing: .02em; white-space: nowrap; }
}
.legal-sec .wp-block-table,
.legal-intro .wp-block-table { margin: 8px 0 20px; overflow-x: auto; }
.legal-sec table,
.legal-intro table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .875rem; line-height: 1.5; }
.legal-sec th,
.legal-intro th {
  border: 0;
  text-align: left; vertical-align: bottom; padding: 0 14px 10px 0;
  font: var(--eyebrow); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-label);
  border-bottom: 2px solid var(--accent);
}
.legal-sec td,
.legal-intro td { border: 0; border-top: 1px solid var(--line); padding: 12px 14px 12px 0; vertical-align: top; color: var(--ink-soft); }
.legal-sec tbody tr:first-child td,
.legal-intro tbody tr:first-child td { border-top: 0; }
.legal-sec td:first-child,
.legal-intro td:first-child { color: var(--ink); }
