body { background: #f6f7fb; }
.cardish { box-shadow: 0 0.15rem 0.5rem rgba(0,0,0,0.06); border: none; }
.sticky-topish { position: sticky; top: 1rem; }
.sidebar-scroll { max-height: calc(100vh - 120px); overflow: auto; }
.sidebar-scroll-mobile { max-height: calc(100vh - 90px); overflow: auto; }
.mobile-fab-bar {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  gap: .5rem;
  z-index: 1040;
}
.filter-group { display: flex; flex-wrap: wrap; gap: .5rem; }
.code-block { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.question-focus {
  box-shadow: 0 0.25rem 0.85rem rgba(13, 110, 253, 0.08);
  border-width: 1px;
}
.question-layout { display: grid; grid-template-columns: 1fr; gap: 1rem; align-items: start; }
.question-layout.has-media { grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.9fr); }
.question-text { font-size: 1.05rem; line-height: 1.45; }
.question-media .media-card { height: 100%; }
.media-preview { max-width: 100%; width: 100%; max-height: 38vh; object-fit: contain; cursor: zoom-in; border-radius: .5rem; background: #fff; }
.answer-list .answer-option { cursor: pointer; }
.answer-label { min-width: 1.5rem; font-weight: 700; }
.list-row-link { color: inherit; }
.list-row-link:hover { background: rgba(13, 110, 253, 0.04); }
.list-group-item.active .list-row-link:hover { background: transparent; }
.status-badges .badge { line-height: 1.1; }
.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,.82); display: flex;
  align-items: center; justify-content: center; z-index: 9999; padding: 1rem;
}
.lightbox img {
  max-width: 95vw; max-height: 92vh; object-fit: contain; cursor: zoom-out;
}
@media (max-width: 991px) {
  .sticky-topish { position: static; }
  .sidebar-scroll { max-height: none; }
  .question-layout.has-media { grid-template-columns: 1fr; }
  .media-preview { max-height: 32vh; }
}
