/* ═══════════════════════════════════════════════════════════════
   ACCELERATE Build A (30 Oct 2026): social idea view, Love, alerts bell,
   graphics, five-check forms, supporting documents. Production palette.
   ═══════════════════════════════════════════════════════════════ */

/* graphics (PR-ACC-110): curated Tabler outline icons, coloured by context */
.ba-graphic { display: inline-flex; align-items: center; justify-content: center; color: var(--acc-brand-orange, #F26522); flex: none; }
.ba-graphic svg { width: 100%; height: 100%; display: block; }
.ba-graphic.sm { width: 22px; height: 22px; }
.ba-graphic.card { width: 40px; height: 40px; }
.ba-graphic.lg { width: 56px; height: 56px; padding: 10px; border-radius: 14px; background: rgba(242,101,34,.1); }
.ba-graphic.hero { width: 64px; height: 64px; padding: 12px; border-radius: 16px; background: rgba(255,255,255,.12); color: #fff; margin-right: 14px; }
.ba-graphic-none { color: #9AA3AD; background: var(--bg-surface-alt, #f3f5f7); }
.ba-card-graphic { position: relative; background: rgba(242,101,34,.08); }
.ba-card-pic { position: absolute; right: 4px; bottom: 4px; width: 26px; height: 26px; border-radius: 6px; object-fit: cover; border: 2px solid #fff; }
.ba-hero-row { display: flex; align-items: center; gap: 12px; }

/* graphic picker */
.ba-gp { border: 1px solid var(--border-subtle, #dde1e6); border-radius: 10px; padding: 10px; background: var(--bg-panel, #fff); }
.ba-gp-top { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; flex-wrap: wrap; }
.ba-gp-q { flex: 1; min-width: 200px; padding: 6px 10px; border: 1px solid var(--border-subtle, #ccd2d9); border-radius: 8px; font: inherit; font-size: 12px; }
.ba-gp-sel { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; }
.ba-gp-list { max-height: 260px; overflow: auto; }
.ba-gp-cat-h { font-size: 11px; font-weight: 800; color: var(--text-secondary, #5b6672); margin: 8px 0 4px; }
.ba-gp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 6px; }
.ba-gp-item { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px; border: 2px solid transparent; border-radius: 10px;
  background: var(--bg-surface-alt, #f6f8fa); cursor: pointer; font: inherit; font-size: 10px; color: var(--text-primary, #1a1a1a); }
.ba-gp-item svg { width: 26px; height: 26px; color: var(--acc-navy-800, #1E2A3A); }
.ba-gp-item:hover, .ba-gp-item:focus-visible { border-color: #F26522; outline: none; }
.ba-gp-item.on { border-color: #F26522; background: rgba(242,101,34,.1); }
.ba-gp-item.on svg { color: #F26522; }

/* people (PR-ACC-112) */
.ba-avatar { border-radius: 50%; object-fit: cover; flex: none; display: inline-flex; align-items: center; justify-content: center;
  background: #2C3E50; color: #fff; font-weight: 800; letter-spacing: .5px; vertical-align: middle; }

/* Love: one per person */
.ba-love { display: inline-flex; align-items: center; gap: 6px; border: 2px solid #F26522; color: #F26522; background: transparent; border-radius: 999px;
  padding: 6px 14px; font: inherit; font-weight: 800; cursor: pointer; }
.ba-love svg { width: 18px; height: 18px; }
.ba-love.big { padding: 10px 22px; font-size: 16px; }
.ba-love.big svg { width: 24px; height: 24px; }
.ba-love.on { background: #F26522; color: #fff; }
.ba-love:focus-visible { outline: 3px solid #F7921E; outline-offset: 2px; }

/* social idea view: the card opens in place (others move down) */
.pb-card.ba-card-open { grid-column: 1 / -1; border-color: #F26522; box-shadow: 0 6px 22px rgba(242,101,34,.18); }
.ba-expand { grid-column: 1 / -1; background: var(--bg-panel, #fff); border-radius: 12px; box-shadow: 0 6px 24px var(--shadow-card, rgba(0,0,0,.1));
  padding: 18px 20px; margin-top: -6px; border-top: 4px solid #F26522; animation: ba-open .25s ease-out; }
@keyframes ba-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.ba-x-grid { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 20px; }
.ba-x-person { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.ba-x-title { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.ba-x-title h2 { margin: 2px 0 0; font-size: 18px; }
.ba-x-summary { font-size: 13px; line-height: 1.55; white-space: pre-wrap; margin-bottom: 8px; }
.ba-x-side { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding-left: 16px; border-left: 1px solid var(--border-subtle, #eef0f3); }
.ba-x-stats { display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--text-secondary, #5b6672); }
.ba-x-stats b { color: var(--text-primary, #1a1a1a); font-size: 13px; }
.ba-x-comments { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--border-subtle, #eef0f3); }
.ba-x-comments h3 { font-size: 14px; margin: 0 0 8px; }
.ba-x-c { display: flex; gap: 10px; padding: 8px 0; }
.ba-x-c-body { font-size: 13px; white-space: pre-wrap; }
.ba-x-compose textarea { width: 100%; min-height: 64px; padding: 8px 10px; border: 1px solid var(--border-subtle, #ccd2d9); border-radius: 8px; font: inherit; font-size: 13px; box-sizing: border-box; }
.ba-x-compose .pb-row { margin-top: 6px; }
@media (max-width: 800px) { .ba-x-grid { grid-template-columns: 1fr; } .ba-x-side { border-left: 0; padding-left: 0; align-items: flex-start; text-align: left; } }

/* supporting documents + check forms */
.ba-docs { list-style: none; margin: 6px 0 0; padding: 0; }
.ba-docs li { display: flex; align-items: center; gap: 8px; padding: 5px 0; border-bottom: 1px solid var(--border-subtle, #f0f2f4); flex-wrap: wrap; }
.ba-docs a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 12.5px; color: var(--acc-navy-800, #1E2A3A); text-decoration: none; }
.ba-docs a:hover { text-decoration: underline; }
.ba-docs svg, .ba-form-link svg { width: 16px; height: 16px; color: #F26522; flex: none; }
.ba-form-row { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 8px 10px; border-radius: 8px; background: var(--bg-surface-alt, #f6f8fa); flex-wrap: wrap; font-size: 12px; }
.ba-form-label { font-weight: 800; }
.ba-form-link { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; color: var(--acc-navy-800, #1E2A3A); }
.ba-form-uploads { margin-top: 4px; }

/* alerts bell (PR-ACC-111) */
.ba-bell-wrap { position: relative; }
.ba-bell { position: relative; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.9); cursor: pointer; display: grid; place-items: center; padding: 0; }
.ba-bell svg { width: 18px; height: 18px; }
.ba-bell.has { color: #fff; border-color: #F26522; }
.ba-bell:focus-visible { outline: 3px solid #F7921E; outline-offset: 2px; }
.ba-bell-n { position: absolute; top: -5px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #F26522; color: #fff;
  font-size: 10px; font-weight: 800; line-height: 18px; text-align: center; box-shadow: 0 0 0 2px #1E2A3A; }
.ba-bell-menu { position: absolute; right: 0; top: 40px; width: 340px; max-height: 420px; overflow: auto; background: var(--bg-panel, #fff); color: var(--text-primary, #1a1a1a);
  border-radius: 12px; box-shadow: 0 12px 36px rgba(0,0,0,.28); z-index: 300; padding-bottom: 6px; }
.ba-bell-h { display: flex; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--border-subtle, #eef0f3); font-size: 13px; }
.ba-bell-item { display: flex; gap: 10px; width: 100%; text-align: left; padding: 10px 12px; border: 0; background: none; font: inherit; font-size: 12.5px; cursor: pointer;
  border-bottom: 1px solid var(--border-subtle, #f3f4f6); color: inherit; }
.ba-bell-item:hover, .ba-bell-item:focus-visible { background: var(--bg-surface-alt, #f6f8fa); outline: none; }
.ba-bell-item .ba-bell-dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 5px; flex: none; background: transparent; }
.ba-bell-item.unread .ba-bell-dot { background: #F26522; }
.ba-bell-item.unread { font-weight: 700; }
.ba-bell-txt { display: flex; flex-direction: column; gap: 2px; }

@media (prefers-reduced-motion: reduce) { .ba-expand { animation: none; } }
