/* board.css — the "Show on board" control and its sheet.
   Owner: Board agent (see docs/OWNERSHIP.md).
   Scoped with a bd- prefix so nothing here can collide with hub.css. */

.bd-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 13px; border: 0; border-radius: 9px;
  background: var(--violet-600, #6d4bdc); color: #fff;
  font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.bd-btn:hover { filter: brightness(1.07); }
.bd-btn .bolt { font-size: 14px; line-height: 1; }

/* the Teach-mode copy rides the existing .pill sizing */
.pill.bd-btn { padding: 7px 12px; border-radius: 999px; font-size: 12.5px; }

.bd-backdrop {
  position: fixed; inset: 0; z-index: 900;
  background: rgba(14, 16, 22, .46);
  display: flex; align-items: flex-end; justify-content: center;
  padding: 18px;
}
@media (min-width: 700px) { .bd-backdrop { align-items: center; } }

.bd-sheet {
  background: var(--card, #fff); color: var(--ink, #14181d);
  width: 100%; max-width: 460px; border-radius: 16px;
  padding: 18px 18px 14px;
  box-shadow: 0 18px 50px rgba(14, 16, 22, .28);
}
.bd-head { display: flex; align-items: center; justify-content: space-between; }
.bd-title { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.bd-x {
  border: 0; background: none; font-size: 24px; line-height: 1;
  color: var(--faint, #99a1ab); cursor: pointer; padding: 0 4px;
}
.bd-hint {
  font-size: 12.5px; color: var(--faint, #99a1ab);
  margin: 6px 0 14px; line-height: 1.5;
}

.bd-item {
  display: flex; align-items: center; gap: 12px; width: 100%;
  text-align: left; padding: 13px 12px; margin-bottom: 8px;
  background: var(--line-2, #eef0f4); border: 0; border-radius: 12px;
  cursor: pointer; color: inherit;
}
.bd-item:hover { background: var(--violet-50, #f2eefc); }
.bd-item:last-child { margin-bottom: 0; }
.bd-ico {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; background: var(--card, #fff);
}
.bd-ico.bolt { background: var(--violet-600, #6d4bdc); }
.bd-copy { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.bd-item-title { font-size: 14.5px; font-weight: 700; }
.bd-item-sub { font-size: 12px; color: var(--faint, #99a1ab); line-height: 1.45; }
.bd-chev { color: var(--faint, #99a1ab); font-size: 20px; flex: 0 0 auto; }

.bd-item:focus-visible, .bd-btn:focus-visible {
  outline: 2px solid var(--violet-600, #6d4bdc); outline-offset: 2px;
}
