/* Scoped resources and confirmed order details; existing site styles stay unchanged. */
.bl-resource, .bl-terms, .bl-resources { color: #334155; }
.bl-resource { max-width: 1080px; margin: 0 auto; padding: 12px 24px 40px; }
.bl-resource h2, .bl-resource h3, .bl-terms h2, .bl-terms h3, .bl-resources h2 { color: #173b60 !important; }
.bl-resource h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); margin: 2.5rem 0 1rem; scroll-margin-top: 110px; }
.bl-resource h3, .bl-terms h3 { font-size: 1.15rem; line-height: 1.45; }
.bl-resource p, .bl-resource li, .bl-terms p, .bl-resources p { color: #475569 !important; line-height: 1.8; }
.bl-resource a:not(.bl-button), .bl-terms a:not(.bl-button), .bl-resources a { color: #174e80; text-decoration: underline; text-underline-offset: 3px; }
.bl-lead { font-size: 1.15rem; max-width: 860px; }
.bl-meta { font-size: .88rem; color: #64748b; }
.bl-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; margin: 24px 0; }
.bl-card { border: 1px solid #dce5ed; border-radius: 12px; background: #fff; padding: 24px; }
.bl-card p:last-child { margin-bottom: 0; }
.bl-callout { background: #f1f6fb; border-left: 4px solid #1b4c7c; padding: 20px 24px; border-radius: 0 10px 10px 0; margin: 24px 0; }
.bl-note { background: #fff8e9; border-color: #a57219; }
.bl-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0; }
.bl-button { display: inline-flex; align-items: center; justify-content: center; background: #1b4c7c; color: #fff !important; padding: 12px 22px; border-radius: 6px; font-weight: 600; text-decoration: none !important; min-height: 48px; }
.bl-button:hover { background: #123456; }
.bl-button-secondary { background: #edf3f8; color: #173b60 !important; border: 1px solid #c2d1df; }
.bl-button-secondary:hover { background: #dfeaf3; }
.bl-resource a:focus-visible, .bl-terms a:focus-visible, .bl-resources a:focus-visible { outline: 3px solid #76c034; outline-offset: 4px; }
.bl-toc { display: flex; flex-wrap: wrap; gap: 12px 22px; border-block: 1px solid #dce5ed; padding: 18px 0; margin: 24px 0; }
.bl-table-wrap { overflow-x: auto; margin: 18px 0; border: 1px solid #dce5ed; border-radius: 8px; }
.bl-table { border-collapse: collapse; width: 100%; margin: 0; background: #fff; }
.bl-table caption { caption-side: top; padding: 12px 16px; color: #173b60; font-weight: 600; text-align: left; background: #f2f6fa; }
.bl-table th, .bl-table td { padding: 12px 16px; border-bottom: 1px solid #e2e8f0; color: #334155 !important; text-align: left; vertical-align: top; }
.bl-table thead th { color: #fff !important; background: #173b60; font-weight: 600; }
.bl-table tbody tr:nth-child(even) { background: #f7f9fc; }
.bl-resource ol { padding-left: 24px; }
.bl-resource li { margin-bottom: 12px; }
.bl-resource details { border-bottom: 1px solid #dce5ed; padding: 16px 0; }
.bl-resource summary { cursor: pointer; color: #173b60; font-weight: 600; padding: 4px 0; }
.bl-resource details p { margin: 12px 0 0; }
.bl-measure-diagram { width: 100%; max-width: 540px; height: auto; display: block; margin: 20px auto; }
.bl-terms, .bl-resources { max-width: 1140px; margin: 28px auto; padding: 24px; }
.bl-terms h2, .bl-resources h2 { font-size: 1.6rem; }
.bl-resources { background: #f2f6fa; border-radius: 12px; }
.bl-resources ul { display: flex; flex-wrap: wrap; gap: 14px 30px; list-style: none; padding: 0; margin: 14px 0 0; }
.bl-terms .bl-grid { margin-bottom: 0; }
.bl-definition { color: #173b60; font-weight: 700; }
.bl-guide-page .bg-header > .row { margin-inline: 0; }
.bl-guide-page .navbar.sticky-top .navbar-brand img { filter: brightness(0) !important; }
.bl-guide-page .back-to-top { width: 44px; height: 44px; padding: 10px; right: 16px; bottom: 16px; }
@media(max-width: 991px) {
  .bl-guide-page .navbar.bl-menu-open { background-color: #173b60 !important; max-height: 100vh; overflow-y: auto; }
  .bl-guide-page .navbar.sticky-top.bl-menu-open { background-color: #fff !important; }
}
@media(max-width: 640px) {
  .bl-grid { grid-template-columns: 1fr; gap: 14px; }
  .bl-resource { padding-inline: 18px; }
  .bl-card { padding: 20px; }
  .bl-terms, .bl-resources { padding: 20px; margin: 20px 12px; }
  .bl-table th, .bl-table td { padding: 10px; font-size: .9rem; }
  .bl-actions .bl-button { flex: 1 1 220px; text-align: center; }
  .bl-resource h2 { margin-top: 2rem; }
}
