.workspace-review-status {
  margin: 0 0 1rem;
  padding: .8rem 1rem;
  border: 1px solid var(--border, #d7d4e2);
  border-inline-start: 3px solid var(--accent, #6753c7);
  border-radius: .65rem;
  background: var(--surface, #fff);
  color: var(--text, #28233d);
  font-size: .9rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.workspace-review-status[hidden] { display: none; }
.workspace-review-status[data-state="planning"],
.workspace-review-status[data-state="reviewing"] { display: none; }
.workspace-checking-announcement {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.workspace-checking-announcement[hidden] { display: none; }
.board-draft-preview {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: min(100cqw, 150cqh);
  height: auto;
  aspect-ratio: 3 / 2;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: .75;
}
.board-draft-preview[hidden] { display: none; }
.board-draft-preview.board-draw-animation {
  opacity: 1;
  animation: none;
}
/* Animate the proposal, never the chat or the learner's editable surface. */
[data-workspace-checking="true"] .board-draft-preview:not([hidden]),
[data-workspace-checking="true"] .code-workspace-diff {
  animation: workspace-checking-pulse 1.8s ease-in-out infinite;
}
@keyframes workspace-checking-pulse {
  0%, 100% { opacity: .85; }
  50% { opacity: .4; }
}
@media (prefers-reduced-motion: reduce) {
  .board-draw-animation { display: none; }
  [data-workspace-checking="true"] .board-draft-preview:not([hidden]),
  [data-workspace-checking="true"] .code-workspace-diff {
    animation: none;
    opacity: .75;
  }
}
[data-theme="dark"] .workspace-review-status {
  color: #e7e2fa;
  background: #211f32;
  border-color: #51486e;
}
