/* Guide and hub pages on beamreach.ai (spec 3.2 §C). Hand-written, loaded after site.css by pages that carry
   body.bx-guide. Served at /assets/css/guide.css?v=<hash> (Cloudflare caches CSS for a year). */

/* C3/C4 reading width and type scale */
.bx-guide article{font-size:17px;line-height:1.65}
.bx-guide article > p,.bx-guide article > ul,.bx-guide article > ol,.bx-guide article section > p,
.bx-guide article section > ul,.bx-guide article section > ol,.bx-guide header .bx-lead{max-width:68ch}
.bx-guide article h2{font-size:1.6rem;line-height:1.25;margin-top:3rem}
.bx-guide article h3{font-size:1.2rem;line-height:1.3}
.bx-guide header .bx-lead{font-size:1.15rem;line-height:1.6;color:#374151}
.bx-guide article td,.bx-guide article th{font-size:14px;line-height:1.45}

/* skip link and focus (C20) */
.bx-skip{position:absolute;left:-9999px;top:8px;z-index:100;background:#0B2540;color:#fff;padding:8px 14px;border-radius:6px;font-weight:600}
.bx-skip:focus{left:8px}
.bx-guide a:focus-visible,.bx-guide button:focus-visible,.bx-guide summary:focus-visible,.bx-guide input:focus-visible,
.bx-guide select:focus-visible{outline:3px solid #00699F;outline-offset:2px;border-radius:3px}

/* C6 short version as labelled tiles */
.bx-short{display:grid;grid-template-columns:1fr;gap:10px;margin:0;padding:0;list-style:none}
@media (min-width:700px){.bx-short{grid-template-columns:1fr 1fr}}
.bx-short li{background:#fff;border:1px solid #DCE6EE;border-radius:10px;padding:12px 14px;font-size:15px;line-height:1.5}
.bx-short li.bx-wide{grid-column:1/-1}
.bx-short .bx-k{display:block;text-transform:uppercase;letter-spacing:.04em;font-size:12px;font-weight:700;color:#00699F;margin-bottom:2px}
.bx-short .bx-fig{display:block;font-size:1.35rem;font-weight:800;color:#0B2540;line-height:1.25;margin-bottom:2px}

/* C10 callouts */
.bx-callout{border-left:4px solid;border-radius:8px;padding:12px 16px 12px 44px;margin:0 0 1.25rem;position:relative;max-width:68ch}
.bx-callout::before{position:absolute;left:14px;top:11px;font-weight:800;font-size:18px;line-height:1}
.bx-callout > .bx-ct{display:block;font-weight:700;margin-bottom:2px}
.bx-do{background:#ECF8F3;border-color:#0E7C66}.bx-do::before{content:"✓";color:#0E7C66}.bx-do > .bx-ct{color:#0A5E4D}
.bx-warn{background:#FFF7E6;border-color:#B7791F}.bx-warn::before{content:"!";color:#B7791F}.bx-warn > .bx-ct{color:#8A5A12}
.bx-cost{background:#FDEEEE;border-color:#B42318}.bx-cost::before{content:"$";color:#B42318}.bx-cost > .bx-ct{color:#8F1C13}

/* C12 status badges */
.bx-badge{display:inline-block;font:700 12px/1 system-ui,sans-serif;letter-spacing:.02em;padding:5px 9px;border-radius:999px;
  vertical-align:middle;white-space:nowrap;background:#E6EEF4;color:#0B2540}
.bx-badge.bx-now{background:#FDEEEE;color:#8F1C13}
.bx-badge.bx-soon{background:#FFF1D6;color:#7A4B0C}
.bx-badge.bx-later{background:#E3F1FA;color:#004E77}
.bx-badge.bx-past{background:#EEF0F2;color:#3F4B57}

/* C17 contextual offer and C18 related cards */
.bx-offer{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;border:1px solid #BFE3D8;background:#F2FBF8;
  border-radius:10px;padding:12px 16px;margin:1.5rem 0;font-size:15px;max-width:68ch}
.bx-offer p{margin:0;flex:1 1 320px}
.bx-offer a.bx-btn{background:#0B2540;color:#fff;font-weight:600;padding:8px 14px;border-radius:6px;text-decoration:none;white-space:nowrap}
.bx-offer a.bx-btn:hover{background:#00699F}
.bx-cards{display:grid;grid-template-columns:1fr;gap:12px;margin:1rem 0 1.5rem}
@media (min-width:700px){.bx-cards{grid-template-columns:repeat(3,1fr)}}
.bx-card{display:block;border:1px solid #DCE6EE;border-radius:10px;padding:14px;text-decoration:none;color:#0B2540;background:#fff}
.bx-card:hover{border-color:#00699F;box-shadow:0 2px 10px rgba(11,37,64,.08)}
.bx-card .bx-k{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#00699F;font-weight:700;margin-bottom:4px}
.bx-card .bx-t{display:block;font-weight:700;line-height:1.35;margin-bottom:4px}
.bx-card .bx-d{display:block;font-size:14px;color:#4A5A6A;line-height:1.45}

/* C7 tables: zebra rows, cheapest/dearest marks; C2 sticky first column and scroll hint on phones */
.bx-guide article tbody tr:nth-child(even),.bx-guide main tbody tr:nth-child(even){background:#F7FAFC}
td.bx-min{background:#E7F6EF!important;font-weight:700}
td.bx-max{background:#FDEEEE!important}
.bx-scrollhint{display:none;font-size:12px;color:#4A5A6A;margin:-2px 0 6px}
@media (max-width:640px){
  .bx-scrollable + .bx-scrollhint,.bx-scrollhint.on{display:block}
  .overflow-x-auto table td:first-child,.overflow-x-auto table th:first-child{position:sticky;left:0;z-index:1;background:#fff;box-shadow:1px 0 0 #DCE6EE}
  .overflow-x-auto table tr:nth-child(even) td:first-child{background:#F7FAFC}
  .overflow-x-auto table thead th:first-child{background:#F3F4F6}
}

/* C5 contents collapsible on small screens */
details.bx-toc > summary{cursor:pointer;font-weight:600;color:#0B2540;list-style:none}
details.bx-toc > summary::after{content:" ▾";color:#00699F}
details.bx-toc[open] > summary::after{content:" ▴"}

/* C9 code blocks */
.bx-codebar{display:flex;align-items:center;gap:8px;position:absolute;top:6px;right:8px}
.bx-codebar .bx-lang{font:600 11px/1 ui-monospace,monospace;color:#8FB2CC;text-transform:uppercase;letter-spacing:.05em}
.bx-codebar button{font:600 12px/1 system-ui,sans-serif;color:#0B2540;background:#E6EEF4;border:0;border-radius:6px;padding:6px 9px;cursor:pointer}
pre.bx-wrap,pre.bx-wrap code{white-space:pre-wrap!important;word-break:break-word}
.hl-c{color:#7F9BB3;font-style:italic}.hl-s{color:#A7E3B8}.hl-k{color:#8FC7EA;font-weight:600}.hl-n{color:#F5C26B}.hl-f{color:#E6B3F2}

/* C11 hub cards and filters */
.bx-filters{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:1.25rem 0}
.bx-filters input[type=search]{flex:1 1 240px;max-width:360px;padding:8px 12px;border:1px solid #CBD6E0;border-radius:8px;font-size:15px}
.bx-chip{border:1px solid #CBD6E0;background:#fff;color:#0B2540;border-radius:999px;padding:6px 12px;font-size:14px;cursor:pointer}
.bx-chip[aria-pressed=true]{background:#0B2540;color:#fff;border-color:#0B2540}
.bx-grid{display:grid;grid-template-columns:1fr;gap:12px}
@media (min-width:760px){.bx-grid{grid-template-columns:1fr 1fr}}
.bx-hcard{border:1px solid #DCE6EE;border-radius:10px;padding:14px 16px;background:#fff}
.bx-hcard h3{font-size:1.05rem;font-weight:700;line-height:1.35;margin:4px 0 6px}
.bx-hcard h3 a{color:#0B2540;text-decoration:none}.bx-hcard h3 a:hover{color:#00699F;text-decoration:underline}
.bx-hcard p{font-size:14.5px;color:#374151;line-height:1.5;margin:0}
.bx-hcard .bx-meta{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center;font-size:13px;color:#4A5A6A}
.bx-hcard .bx-ut{font:12px ui-monospace,monospace;color:#0B2540;background:#F3F6F9;border-radius:4px;padding:2px 6px;word-break:break-all}
.bx-more{margin-top:12px;border:1px solid #0B2540;background:#fff;color:#0B2540;font-weight:600;border-radius:8px;padding:8px 14px;cursor:pointer}
.bx-empty{color:#4A5A6A;font-size:15px;padding:8px 0}

/* C19 dark mode for guide pages */
@media (prefers-color-scheme:dark){
  body.bx-guide{background:#0C1620!important;color:#D5DEE7!important}
  .bx-guide header.bg-white,.bx-guide header .bg-white,.bx-guide nav .bg-white,.bx-guide details .bg-white{background:#0F1E2C!important;border-color:#24394D!important}
  .bx-guide .text-\[\#0B2540\],.bx-guide .text-gray-900{color:#EAF1F7!important}
  .bx-guide .text-gray-800,.bx-guide .text-gray-700,.bx-guide header .bx-lead{color:#C9D4DE!important}
  .bx-guide .text-\[\#4A5A6A\],.bx-guide .text-gray-600,.bx-guide .text-gray-500{color:#9FB0C0!important}
  .bx-guide .text-\[\#00699F\],.bx-guide article a,.bx-guide main a{color:#7CC4EA!important}
  .bx-guide .bg-\[\#F3F9FD\],.bx-guide .bg-gray-50{background:#132535!important}
  .bx-guide .bg-gray-100,.bx-guide thead tr{background:#1A2E40!important}
  .bx-guide .border-\[\#DCE6EE\],.bx-guide .border-gray-200{border-color:#24394D!important}
  .bx-guide article tbody tr:nth-child(even),.bx-guide main tbody tr:nth-child(even){background:#102030}
  .bx-guide article code:not(pre code){background:#1A2E40;color:#E6EEF4}
  .bx-guide .bx-short li,.bx-guide .bx-card,.bx-guide .bx-hcard,.bx-guide .bx-chip,.bx-guide .bx-more,.bx-guide .bx-filters input[type=search]{background:#0F1E2C!important;border-color:#2A4258!important;color:#D5DEE7!important}
  .bx-guide .bx-chip[aria-pressed=true]{background:#7CC4EA!important;color:#0B2540!important}
  .bx-guide .bx-short .bx-fig,.bx-guide .bx-card .bx-t,.bx-guide .bx-hcard h3 a{color:#EAF1F7!important}
  .bx-guide .bx-card .bx-d,.bx-guide .bx-hcard p{color:#B5C3D0!important}
  .bx-guide .bx-hcard .bx-ut{background:#1A2E40;color:#E6EEF4}
  .bx-guide .bx-do{background:#0E2A23}
  .bx-guide .bx-warn{background:#2C2312}
  .bx-guide .bx-cost{background:#2E1514}
  .bx-guide .bx-do > .bx-ct{color:#7FD8BE}
  .bx-guide .bx-warn > .bx-ct{color:#F2C46D}
  .bx-guide .bx-cost > .bx-ct{color:#F4A09A}
  .bx-guide .bx-offer{background:#0E2A23;border-color:#1F5A4B}
  .bx-guide .bx-offer a.bx-btn{background:#7CC4EA;color:#0B2540!important}
  .bx-guide td.bx-min{background:#123A2C!important}
  .bx-guide td.bx-max{background:#3A1A18!important}
  .bx-guide .bx-badge{background:#1A2E40;color:#D5DEE7}
  .bx-guide .bx-badge.bx-now{background:#4A1D1A;color:#FFD5D0}
  .bx-guide .bx-badge.bx-soon{background:#4A3510;color:#FFE2A8}
  .bx-guide .bx-badge.bx-later{background:#0F3550;color:#CBE8FA}

  @media (max-width:640px){.bx-guide .overflow-x-auto table td:first-child,.bx-guide .overflow-x-auto table th:first-child{background:#0C1620}
    .bx-guide .overflow-x-auto table tr:nth-child(even) td:first-child{background:#102030}}
  .bx-guide .border-2.border-\[\#0E7C66\]{background:#0E2A23}
  .bx-guide a.bg-\[\#0B2540\]{background:#7CC4EA!important;color:#0B2540!important}
  .bx-guide .bx-short .bx-k,.bx-guide .bx-card .bx-k{color:#7CC4EA!important}.bx-guide .bx-hcard .bx-meta{color:#A9B9C8!important}
  .bx-guide .eos-glabel,.bx-guide .eos-title,.bx-guide .eos-check,.bx-guide .eos-lane span,.bx-guide .eos-next h3{color:#EAF1F7!important}
  .bx-guide .eos-tlabel,.bx-guide .eos-legend,.bx-guide .eos-when,.bx-guide .eos-charge,.bx-guide .eos-empty{color:#A9B9C8!important}
  .bx-guide .eos-what{color:#C9D4DE!important}
  .bx-guide .eos-axis{background:#0F1E2C!important;border-color:#24394D!important}
  .bx-guide .eos-tick,.bx-guide .eos-lane{border-color:#1C3044!important}
  .bx-guide .eos-today{border-color:#EAF1F7!important}
  .bx-guide .eos-tip,.bx-guide .eos-item{background:#0F1E2C!important;border-color:#2A4258!important}
  .bx-guide .eos-dot{border-color:#0F1E2C!important}
  .bx-guide .text-\[\#0E7C66\]{color:#6FD3B5!important}
  .bx-guide input,.bx-guide select,.bx-guide textarea{background:#0F1E2C!important;color:#EAF1F7!important;border-color:#2A4258!important}
}
