/* Backstudy (看复盘) Page — iframe-based HTML viewer */

/* Override detail panel to use flex layout for iframe */
.backstudy-detail {
  display: flex !important;
  flex-direction: column !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.backstudy-reader {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.backstudy-reader-header {
  padding: 12px 24px;
  flex-shrink: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}

.backstudy-frame {
  flex: 1;
  width: 100%;
  min-height: 0;
  border: none;
  background: #fff;
  display: block;
}

@media (max-width: 480px) {
  .backstudy-reader-header {
    padding: 10px 16px;
  }
}
