/* Shared header + footer for pages that do not load Tailwind (BCSAR field page, printables). Same palette: navy, white, sky blue, amber. */
.sbc-nav, .sbc-footer { font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; box-sizing: border-box; }
.sbc-nav *, .sbc-footer * { box-sizing: border-box; }
.sbc-nav { background: #0f172a; border-bottom: 1px solid rgba(56, 189, 248, 0.25); color: #f1f5f9; position: sticky; top: 0; z-index: 1000; }
.sbc-bar { max-width: 1280px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sbc-brand { color: #fff; font-weight: 900; font-size: 20px; letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; }
.sbc-brand span { color: #38bdf8; }
.sbc-actions { display: flex; align-items: center; gap: 8px; }
.sbc-btn { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 9999px; font-size: 12px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none; cursor: pointer; border: 1px solid rgba(255, 255, 255, 0.3); color: #fff; background: transparent; list-style: none; }
.sbc-btn::-webkit-details-marker { display: none; }
.sbc-btn-primary { background: #38bdf8; border-color: #38bdf8; color: #020617; }
.sbc-menu { position: relative; }
.sbc-menu[open] > .sbc-btn { background: rgba(255, 255, 255, 0.12); }
.sbc-panel { position: absolute; right: 0; top: calc(100% + 8px); width: min(320px, calc(100vw - 32px)); background: #0f172a; border: 1px solid rgba(56, 189, 248, 0.35); border-radius: 16px; padding: 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); }
.sbc-panel a { display: block; padding: 11px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); color: #f1f5f9; font-size: 12px; font-weight: 700; text-decoration: none; }
.sbc-panel a:hover { background: rgba(56, 189, 248, 0.18); }
.sbc-footer { background: #0b1220; border-top: 1px solid rgba(255, 255, 255, 0.1); color: #cbd5e1; text-align: center; font-size: 12px; padding: 32px 16px 40px; }
.sbc-footer a { color: #e2e8f0; text-decoration: none; font-weight: 600; }
.sbc-footer a:hover { color: #7dd3fc; }
.sbc-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-bottom: 14px; }
.sbc-legal { margin-top: 10px; font-size: 12px; }
.sbc-legal a { text-decoration: underline; color: #cbd5e1; }
@media print { .sbc-nav, .sbc-footer { display: none !important; } }

/* printable sheets: scale the fixed-size paper preview to fit a phone screen (print output is unchanged) */
@media screen and (max-width: 860px) {
  .poster-sheet { zoom: 0.44; margin-left: auto; margin-right: auto; }
  .card-sheet { zoom: 0.62; margin-left: auto; margin-right: auto; }
}

@media screen and (max-width: 600px) {
  .print-toolbar { flex-wrap: wrap; justify-content: center; padding: 8px; box-sizing: border-box; max-width: 100vw; }
  .print-toolbar .print-btn { flex: 1 1 100%; text-align: center; justify-content: center; }
}

/* Hard kill-switch for retired top safety alert bar & duplicate injected install button */
#sb-top-safety-banner, .sb-install-app-btn { display: none !important; }
