/* Back Pocket site header and tabs (8 Nov 2026; 12 Nov: the prototype button is a docket ticket, not a pill, like Home's CTA). Self-contained so every page can use it, including plans.html and
   referral.html, which have their own stylesheets. Phone: one compact row, the mark and a sideways-scrolling tab bar.
   Desktop: wordmark, tabs, and the prototype button. The current page has aria-current="page" (mustard stitch). */
.bp-hdr{position:sticky;top:0;z-index:40;background:#E9E7E1;border-bottom:1px solid rgba(21,18,15,.16);color:#15120F;
  font-family:'Atkinson Hyperlegible Next',system-ui,-apple-system,'Segoe UI',sans-serif}
.bp-hdr .bp-in{max-width:1200px;margin:0 auto;padding:0 12px 0 16px;height:56px;display:flex;align-items:center;gap:6px}
.bp-brand{flex:none;display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:#15120F;min-height:44px;min-width:44px}
.bp-brand img{display:block;width:36px;height:36px;border-radius:50%;background:#C9A227}
.bp-brand span{display:none;font:800 24px/1 'Barlow Condensed','Arial Narrow',sans-serif}
.bp-tabs{flex:1;min-width:0;display:flex;align-items:center;gap:2px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;scroll-padding:0 16px}
.bp-tabs::-webkit-scrollbar{display:none}
.bp-tabs a{flex:none;display:inline-flex;align-items:center;min-height:44px;padding:0 10px;font-size:15px;font-weight:700;line-height:1;color:#15120F;text-decoration:none;white-space:nowrap;border-radius:999px}
.bp-tabs a:hover{text-decoration:underline;text-underline-offset:6px}
.bp-tabs a[aria-current="page"]{text-decoration:underline solid #15120F;text-decoration-thickness:3px;text-underline-offset:9px;text-decoration-skip-ink:none}
.bp-tabs a.bp-cta{background:#15120F;color:#FBFBF6;padding:0 16px;margin-left:6px;border-radius:3px 3px 3px 12px}
.bp-tabs a.bp-cta:hover{transform:none}
.bp-tabs a.bp-cta:hover{background:#2c2620;text-decoration:none}
.bp-tabs a.bp-cta[aria-current="page"]{background:#C9A227;color:#15120F;text-decoration:none;box-shadow:inset 0 0 0 2px #15120F}
/* 19 Nov 2026 (audit finding 10): mustard is kept for the CTA ticket and the mark; focus is an ink ring on a thermal ring */
.bp-tabs a:focus-visible,.bp-brand:focus-visible{outline:3px solid #15120F;outline-offset:-3px;box-shadow:inset 0 0 0 6px #FBFBF6}
@media (min-width:720px){.bp-hdr .bp-in{padding:0 32px}}
@media (min-width:960px){
  .bp-hdr .bp-in{height:64px;gap:16px}
  .bp-brand span{display:inline}
  .bp-tabs{justify-content:flex-end;overflow:visible}
  .bp-tabs a{padding:0 12px;font-size:16px}
}
/* phones and tablets: mark (and name where it fits), the prototype button and a Menu button that opens the tabs as a list.
   Without JS the Menu button stays hidden and the tabs show as a sideways-scrolling row. */
.bp-cta-sm{display:none}
.bp-menu{display:none}
@media (max-width:959px){
  .bp-hdr .bp-in{position:relative}
  html.bp-js .bp-cta-sm{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;margin-left:auto;border-radius:3px 3px 3px 12px;background:#15120F;color:#FBFBF6;
    font-size:15px;font-weight:700;text-decoration:none;white-space:nowrap}
  html.bp-js .bp-cta-sm[aria-current="page"]{display:none}
  html.bp-js .bp-menu{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 6px 0 10px;border:0;background:none;color:#15120F;font:700 15px/1 'Atkinson Hyperlegible Next',system-ui,sans-serif;cursor:pointer}
  html.bp-js .bp-menu::after{content:"";width:18px;height:2px;margin:0 2px;background:#15120F;box-shadow:0 -6px 0 #15120F,0 6px 0 #15120F}
  html.bp-js .bp-menu[aria-expanded="true"]::after{box-shadow:none;height:2px}
  html.bp-js .bp-tabs{display:none;position:absolute;left:0;right:0;top:100%;flex-direction:column;align-items:stretch;gap:0;overflow:visible;
    background:#E9E7E1;border-bottom:1px solid rgba(21,18,15,.16);padding:4px 16px 16px}
  html.bp-js .bp-tabs.open{display:flex}
  /* rows part by their 52 px height and space, no hairline between them (audit finding 13, ban 9) */
  html.bp-js .bp-tabs a{min-height:52px;padding:0 4px;font-size:20px;border-radius:0}
  html.bp-js .bp-tabs a.bp-cta{margin:14px 0 0;justify-content:center;border-radius:3px 3px 3px 12px;border:0}
  html.bp-js .bp-hdr.open-menu .bp-cta-sm{visibility:hidden}
}
@media (max-width:399px){.bp-brand span{display:none!important}}
@media (min-width:400px) and (max-width:959px){html.bp-js .bp-brand span{display:inline;font-size:22px}}
