/* Shared BlueBear Devs site navigation — used by index.html and every /apps/*.html page */
section[id] { scroll-margin-top: 76px; }
.bbnav, .bbnav * { box-sizing: border-box; }
.bbnav { position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(13,27,46,.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.07); font-family: 'Inter', system-ui, sans-serif; }
.bbnav-inner { max-width: 1152px; margin: 0 auto; height: 60px; display: flex;
  align-items: center; justify-content: space-between; padding: 0 24px; }
.bbnav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none;
  color: #edf4fa; font-weight: 800; font-size: 19px; letter-spacing: -.01em; }
.bbnav-brand img { width: 32px; height: 32px; border-radius: 8px; }
.bbnav-brand b { color: #22d3ee; }
.bbnav-links { display: flex; align-items: center; gap: 6px; }
.bbnav-links a, .bbnav-dd-btn { color: #cbd5e1; text-decoration: none; font-size: 14px;
  font-weight: 500; padding: 8px 12px; border-radius: 8px; background: none; border: 0;
  cursor: pointer; font-family: inherit; transition: color .15s, background .15s; }
.bbnav-links a:hover, .bbnav-dd-btn:hover { color: #22d3ee; background: rgba(34,211,238,.08); }
.bbnav-cta { color: #06222b !important; background: #22d3ee !important; font-weight: 700 !important; }
.bbnav-cta:hover { background: #67e8f9 !important; }
.bbnav-dd { position: relative; }
.bbnav-dd-menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 248px;
  max-height: 72vh; overflow: auto; background: #0d1b2e; border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px; box-shadow: 0 20px 50px -15px rgba(0,0,0,.6); padding: 8px; display: none; }
.bbnav-dd.open .bbnav-dd-menu { display: block; }
.bbnav-dd-menu a { display: block; padding: 9px 12px; border-radius: 8px; color: #cbd5e1;
  text-decoration: none; font-size: 14px; white-space: nowrap; }
.bbnav-dd-menu a:hover { background: rgba(34,211,238,.1); color: #22d3ee; }
.bbnav-burger { display: none; background: none; border: 0; color: #edf4fa; font-size: 24px; cursor: pointer; padding: 4px 8px; }
@media (min-width: 821px) {
  .bbnav-dd:hover .bbnav-dd-menu, .bbnav-dd:focus-within .bbnav-dd-menu { display: block; }
}
@media (max-width: 820px) {
  .bbnav-burger { display: block; }
  .bbnav-links { position: absolute; top: 60px; left: 0; right: 0; flex-direction: column;
    align-items: stretch; gap: 2px; background: #0d1b2e; border-bottom: 1px solid rgba(255,255,255,.08);
    padding: 12px; display: none; }
  .bbnav-links.open { display: flex; }
  .bbnav-dd { position: static; }
  .bbnav-dd-menu { position: static; min-width: 0; box-shadow: none; border: 0;
    background: rgba(255,255,255,.03); margin-top: 4px; }
  .bbnav-dd-menu a { white-space: normal; }
  .bbnav-cta { text-align: center; }
}

/* --- Shared site footer (matches the homepage) --- */
.bbfooter { border-top: 1px solid rgba(255,255,255,.07); background: #0b1526; color: #94a9be;
  font-family: 'Inter', system-ui, sans-serif; margin-top: 56px; text-align: left; }
.bbfooter * { box-sizing: border-box; }
.bbfooter-inner { max-width: 1152px; margin: 0 auto; padding: 48px 24px 8px;
  display: grid; grid-template-columns: 2fr 1fr; gap: 32px; }
.bbfooter-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px;
  color: #edf4fa; text-decoration: none; }
.bbfooter-brand img { width: 32px; height: 32px; border-radius: 8px; }
.bbfooter-brand b { color: #22d3ee; }
.bbfooter-tag { margin-top: 14px; max-width: 44ch; font-size: 15px; line-height: 1.6; }
.bbfooter-col h4 { color: #edf4fa; font-size: 14px; font-weight: 700; margin: 0 0 12px; }
.bbfooter-col a { display: block; color: #94a9be; text-decoration: none; font-size: 14px; padding: 5px 0; transition: color .15s; }
.bbfooter-col a:hover { color: #22d3ee; }
.bbfooter-bottom { max-width: 1152px; margin: 24px auto 0; padding: 24px;
  border-top: 1px solid rgba(255,255,255,.06); font-size: 13px; text-align: center; }
@media (max-width: 680px) { .bbfooter-inner { grid-template-columns: 1fr; gap: 24px; } }

/* --- User guide pages --- */
.bbguide-draft { background: rgba(245,158,11,.12); border: 1px solid rgba(245,158,11,.4); color: #fbbf24;
  border-radius: 12px; padding: 14px 16px; font-size: 14px; line-height: 1.55; margin: 0 0 28px; }
.bbguide-before { background: rgba(34,211,238,.07); border: 1px solid rgba(34,211,238,.18);
  border-radius: 16px; padding: 20px 24px; margin: 4px 0 40px; }
.bbguide-before h3 { margin: 0 0 10px; font-size: 15px; color: #edf4fa; }
.bbguide-before ul { margin: 0; padding-left: 20px; }
.bbguide-before li { font-size: 14px; color: #94a9be; margin: 5px 0; line-height: 1.5; }
.bbguide-step { display: flex; gap: 16px; margin: 0 0 22px; }
.bbguide-num { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; background: #22d3ee;
  color: #06222b; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.bbguide-body { flex: 1; min-width: 0; }
.bbguide-body h3 { margin: 5px 0 6px; font-size: 17px; color: #edf4fa; }
.bbguide-body p { margin: 0 0 6px; font-size: 15px; color: #94a9be; line-height: 1.6; }
.bbguide-body strong { color: #edf4fa; font-weight: 600; }
.bbguide-callout { border-radius: 12px; padding: 12px 14px; font-size: 14px; margin: 10px 0 2px; line-height: 1.55; }
.bbguide-callout.note { background: rgba(34,211,238,.08); border-left: 3px solid #22d3ee; color: #cbd5e1; }
.bbguide-callout.warn { background: rgba(245,158,11,.1); border-left: 3px solid #f59e0b; color: #fcd9a5; }
.bbguide-faq { margin: 0 0 16px; }
.bbguide-faq .q { font-weight: 700; color: #edf4fa; margin: 0 0 2px; font-size: 15px; }
.bbguide-faq .a { margin: 0; color: #94a9be; font-size: 14px; line-height: 1.55; }
