/* Adopted technical review: a concrete AI finding beside the recorded team discussion. */
.review-study-visuals { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.review-study-visuals > .stacked-visual { display: flex; flex-direction: column; }
.review-study-visuals > .stacked-visual > figcaption { flex: none; }
.review-study-visuals .stacked-stage { height: 376px; }
.review-ai-stage { flex: none; padding: 14px; background: #edf3e9; }
.review-ai-window { height: 100%; border: 1px solid #ccdccf; border-radius: 3px; overflow: hidden; background: #f4f7f3; color: #254b3c; }
.review-app-bar { height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 14px; background: #fff; border-bottom: 1px solid #dce6de; font-size: 12px; }
.review-app-name,.review-comment-count { display: flex; align-items: center; gap: 7px; }
.review-app-name strong { font-size: 13px; font-weight: 600; }
.review-app-name > span { border-left: 1px solid #dce6de; padding-left: 10px; margin-left: 3px; color: #60766a; }
.review-app-bar svg,.review-comment-source svg { width: 15px; height: 17px; flex: none; stroke: currentColor; stroke-width: 1.3; stroke-linejoin: round; }
.review-comment-count { color: #60766a; font-size: 11px; }
.review-document-workspace { position: relative; height: calc(100% - 38px); padding: 14px; }
.review-test-document { min-width: 0; height: 100%; padding: 16px 18px; border: 1px solid #dbe4da; background: #fff; border-radius: 2px; }
.review-document-meta { display: flex; justify-content: space-between; font-size: 10px; color: #829086; line-height: 1.6; }
.review-test-document h5 { margin: 7px 0 16px; padding-bottom: 10px; border-bottom: 1px solid #dde5db; font-size: 18px; line-height: 1.5; font-weight: 600; letter-spacing: -.02em; }
.review-test-heading { font-size: 12px; line-height: 1.5; font-weight: 550; }
.review-test-heading > span { margin-right: 5px; color: #718576; font-size: 10px; }
.review-test-table { width: 100%; margin-top: 8px; border-collapse: collapse; table-layout: fixed; font-size: 11px; line-height: 1.55; text-align: left; }
.review-item-column { width: 25%; }
.review-condition-column { width: 25%; }
.review-test-table th,.review-test-table td { padding: 8px 10px; border: 1px solid #dce4d9; font-weight: 400; }
.review-test-table thead th { padding-block: 5px; background: #f0f4ed; color: #59705e; font-size: 10px; }
.review-test-table tbody th { color: #59705e; }
.review-test-table .review-selected-condition { position: relative; background: #fff0da; border-color: #e3b567; }
.review-selected-condition mark { padding: 0; background: none; color: #72521e; font: 600 18px/1.3 Arial,sans-serif; white-space: nowrap; }
.review-selected-condition mark > span { margin-left: 2px; font-size: 12px; font-weight: 500; }
.review-selected-condition::after { content: ""; position: absolute; left: 100%; top: 50%; width: 30px; border-top: 1px solid #d6aa63; }
.review-comment-pin { position: absolute; right: -10px; top: calc(50% - 10px); z-index: 1; display: grid; place-items: center; width: 20px; height: 20px; border: 2px solid #fff; border-radius: 50%; background: #c68b2e; color: #fff; font: 600 10px/1 Arial,sans-serif; }
.review-document-lines { display: grid; gap: 5px; margin-top: 12px; width: 48%; }
.review-document-lines i { height: 3px; width: 88%; background: #e8eee6; border-radius: 1px; }
.review-document-lines i:last-child { width: 63%; }
.review-ai-comment { position: absolute; top: 68px; right: 12px; z-index: 2; width: 46%; padding: 12px; border: 1px solid #d8b87e; border-radius: 4px; background: #fff; box-shadow: 0 5px 18px #254b3c13; }
.review-comment-author { display: flex; align-items: center; gap: 7px; }
.review-ai-avatar { display: grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 3px; background: #e0f1e4; color: #138a6c; }
.review-ai-avatar svg { width: 17px; height: 17px; stroke: currentColor; stroke-width: 1.6; }
.review-comment-author > strong { font-size: 12px; font-weight: 600; }
.review-comment-state { margin-left: auto; color: #8b6428; font-size: 10px; }
.review-ai-comment h6 { margin: 8px 0 6px; font-size: 14px; line-height: 1.6; font-weight: 600; letter-spacing: -.025em; }
.review-comment-text { font-size: 13px; line-height: 1.75; color: #53695b; }
.review-comment-text strong { font-weight: 600; color: #254b3c; }
.review-comment-source { margin-top: 10px; padding: 8px 10px; background: #f0f5ed; border: 1px solid #dce6d7; border-radius: 2px; }
.review-comment-source > span { display: flex; align-items: center; gap: 5px; color: #607c65; font-size: 11px; line-height: 1.6; }
.review-source-section { margin-left: auto; font-family: Arial,sans-serif; }
.review-comment-source p { margin-top: 5px; color: #47624e; font-size: 12px; line-height: 1.6; }
.review-comment-source strong { font-size: 16px; font-weight: 600; color: #254b3c; }
.review-study-visuals .review-team-stage { flex: 1; height: auto; padding: 0; background: #f8faf5; }
/* Let the recording fill the card above its caption, without cropping the UI. */
.review-study-visuals .review-team-stage .screen-canvas { position: relative; display: block; flex: 1; width: 100%; aspect-ratio: 1128 / 700; padding: 0; overflow: hidden; }
.review-team-stage .screen-canvas > img,.review-team-stage .screen-canvas > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; border-radius: 0; }
.review-team-caption { flex: none; padding: 10px 12px 12px; font-size: 13px; line-height: 1.6; text-align: center; color: #52705c; }
.review-ai-examples { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.8fr); gap: 16px; margin: 0; padding: 12px 16px; border-top: 1px solid #dde7da; background: #f8faf6; color: #50685b; font-size: 13px; line-height: 1.65; }
.review-ai-examples dt { margin-bottom: 3px; color: #254b3c; font-weight: 550; }
.review-ai-examples dd { margin: 0; text-wrap: pretty; }
.review-preview-bar { gap: 14px; }
.review-preview-current { padding: 2px 9px; border: 1px solid #c8dfcd; border-radius: 3px; background: #e1f0e3; color: var(--deep); }
@media (max-width: 1150px) and (min-width: 851px) {
  .review-ai-stage { padding: 10px; }
  .review-document-workspace { padding: 10px; }
  .review-test-document { padding: 14px; }
  .review-test-document h5 { font-size: 16px; }
  .review-ai-comment { padding: 10px; right: 10px; }
  .review-test-table th,.review-test-table td { padding-inline: 7px; }
  .review-selected-condition::after { width: 21px; }
}
@media (max-width: 850px) {
  .review-study-visuals { grid-template-columns: 1fr; }
  .review-study-visuals .review-ai-stage { height: auto; }
  .review-ai-window { height: 348px; }
}
@media (max-width: 450px) {
  .review-ai-examples { grid-template-columns: 1fr; gap: 8px; }
  .review-document-workspace { height: auto; }
  .review-ai-window { height: auto; }
  .review-ai-comment { position: relative; top: auto; right: auto; width: 100%; margin-top: 12px; }
  .review-selected-condition::after { display: none; }
}
