/* Shared tab bar, used on every tab's page. Fully self-contained (no shared
   CSS variables with either tab's own stylesheet) so it can never collide
   with either page's styling. Colours follow the JasonL website: #121212
   text, lime #C6D644 accent, #E8ECF0 rules. */
/* Logo on the left, tabs on the right; the active tab's underline sits on the
   bar's bottom border. Wraps to two rows on narrow screens. */
.merged-tabbar{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px 24px;
  margin-bottom:28px;
  padding-top:4px;
  border-bottom:1px solid #E8ECF0;
}
.brand{
  display:flex;
  align-items:center;
  gap:14px;
  padding-bottom:14px;
  text-decoration:none;
}
.brand-name{
  padding-left:14px;
  border-left:1px solid #E8ECF0;
  font:600 10.5px/1.35 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:#5F6670;
}
.merged-tabs{
  display:flex;
  gap:4px;
  flex-wrap:wrap;
}
.merged-tab-link{
  display:inline-block;
  padding:10px 16px;
  font:500 14px 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color:#121212;
  text-decoration:none;
  border-bottom:3px solid transparent;
  margin-bottom:-1px;
  transition:color .15s ease, border-color .15s ease;
}
.merged-tab-link:hover{ color:#121212; border-bottom-color:#E8ECF0; }
.merged-tab-link.active{ color:#121212; font-weight:600; border-bottom-color:#C6D644; }

/* Pager under paginated tables (static/paginate.js), used on every tab. Same
   self-contained colours as the tab bar. */
.pager{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:10px;
  padding:14px 4px 4px;
  font:500 12.5px 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color:#5F6670;
}
.pager-info{ margin-right:auto; }
.pager-page{ color:#121212; font-weight:600; }
.pager-btn{
  background:#FFFFFF;
  border:1px solid #121212;
  color:#121212;
  border-radius:40px;
  padding:6px 16px;
  font:inherit;
  font-weight:600;
  cursor:pointer;
}
.pager-btn:hover:not([disabled]){ background:#C6D644; border-color:#C6D644; }
.pager-btn[disabled]{ opacity:.4; cursor:default; }

/* Logo shown top-left on every tab's page. */
.brand-logo{
  height:36px;
  width:auto;
  display:block;
}

/* Phones: logo on its own row, tabs on one scrollable row underneath. */
@media (max-width: 640px){
  .merged-tabbar{ gap:4px; }
  .merged-tabs{ flex-wrap:nowrap; overflow-x:auto; width:100%; scrollbar-width:none; }
  .merged-tabs::-webkit-scrollbar{ display:none; }
  .merged-tab-link{ white-space:nowrap; }
}
