.psj-progressive-reader {
  margin-top: 24px;
}

.psj-reading-progress-header {
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 24px;
}

.psj-reading-progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  font-size: 0.9rem;
  color: #323653;
  font-weight: 700;
  margin-bottom: 10px;
}

.psj-reading-progress-saved {
  color: #166534;
  font-weight: 600;
}

.psj-reading-progress-bar,
.psj-dashboard-reading-progress-bar {
  width: 100%;
  height: 6px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.psj-reading-progress-fill,
.psj-dashboard-reading-progress-fill {
  height: 100%;
  width: 0;
  background: #16a34a;
  border-radius: 999px;
  transition: width 180ms ease;
}

.psj-reading-section {
  margin-bottom: 28px;
}

.psj-reading-section[hidden] {
  display: none !important;
}

.psj-reading-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
}

.psj-reading-continue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 13px 22px;
  border-radius: 8px;
  border: 0;
  background: var(--psj-primary, #063978);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.psj-reading-show-full {
  border: 0;
  background: transparent;
  color: #063978;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.psj-reading-footer[hidden] {
  display: none !important;
}

.psj-dashboard-reading-progress {
  margin: 0 0 18px;
}

.psj-dashboard-reading-progress-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #323653;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 8px;
}

@media (max-width: 640px) {
  .psj-reading-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .psj-reading-continue,
  .psj-reading-show-full {
    width: 100%;
  }
}
