/* ============================================================
   TRAINING PLATFORM — Premium interactive training components
   Video Player · Guided Walkthrough · AI Draft · Practice Mode
   Auto Review · Client Rules · Reviewer Mistakes · Improved Quizzes
   ============================================================ */

/* ===== VIDEO PLAYER ===== */
.vp-container {
  margin-bottom: 24px;
}

.vp-video-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-lg);
}

.vp-video {
  width: 100%;
  display: block;
  max-height: 500px;
  object-fit: contain;
  background: #000;
}

.vp-segment-overlay {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  height: 6px;
  display: flex;
  pointer-events: none;
}

.vp-overlay-segment {
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease, background 0.3s ease;
  border-right: 2px solid rgba(255,255,255,0.3);
}

.vp-overlay-segment.active {
  opacity: 0.6;
  background: var(--blue);
  box-shadow: 0 0 12px rgba(26, 115, 232, 0.6);
}

/* Timeline */
.vp-controls {
  margin-top: 12px;
}

.vp-timeline {
  margin-bottom: 16px;
}

.vp-timeline-track {
  position: relative;
  height: 32px;
  background: var(--grey-100);
  border-radius: 6px;
  overflow: visible;
  cursor: pointer;
  transition: var(--transition-fast);
}

.vp-timeline-track:hover {
  background: var(--grey-200);
}

.vp-timeline-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  border-radius: 6px;
  opacity: 0.15;
  pointer-events: none;
  transition: width 0.1s linear;
}

.vp-timeline-handle {
  position: absolute;
  top: -4px;
  width: 4px;
  height: 40px;
  background: var(--blue);
  border-radius: 2px;
  pointer-events: none;
  transition: left 0.1s linear;
  z-index: 5;
}

.vp-timeline-segment {
  position: absolute;
  top: 2px;
  height: 28px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 2;
  background: rgba(66, 133, 244, 0.3);
  border: 1px solid rgba(66, 133, 244, 0.5);
  min-width: 24px;
}

.vp-timeline-segment:hover {
  transform: scaleY(1.15);
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.vp-timeline-segment.active {
  background: rgba(66, 133, 244, 0.7);
  border-color: var(--blue);
  box-shadow: 0 0 12px rgba(66, 133, 244, 0.5);
  z-index: 4;
}

.vp-timeline-segment.watched {
  opacity: 0.6;
}

.vp-seg-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--white);
  pointer-events: none;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.vp-timeline-time {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--grey-500);
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
}

/* Segment info card */
.vp-segment-info {
  margin-top: 12px;
}

.vp-seg-placeholder {
  text-align: center;
  padding: 20px;
  background: var(--grey-50);
  border-radius: var(--radius-md);
  border: 1px dashed var(--grey-300);
  color: var(--grey-400);
  font-size: 14px;
}

.vp-seg-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  border-left: 4px solid var(--blue);
  box-shadow: var(--shadow-sm);
  animation: slideUp 0.3s ease;
}

.vp-seg-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.vp-seg-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
  background: var(--blue);
  padding: 3px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.vp-seg-time {
  font-size: 14px;
  font-weight: 600;
  color: var(--grey-600);
}

.vp-seg-label-display {
  font-size: 16px;
  font-weight: 600;
  color: var(--grey-700);
  padding: 10px 14px;
  background: var(--blue-light);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.vp-seg-details {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
}

.vp-seg-detail {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.vp-detail-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--grey-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.vp-detail-value {
  font-size: 13px;
  color: var(--grey-600);
  font-weight: 500;
}

/* ===== GUIDED WALKTHROUGH ===== */
.gw-container {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-top: 24px;
}

.gw-header {
  margin-bottom: 20px;
}

.gw-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--grey-700);
  display: flex;
  align-items: center;
  gap: 8px;
}

.gw-icon {
  font-size: 20px;
}

.gw-header p {
  font-size: 14px;
  color: var(--grey-500);
  margin-top: 4px;
}

.gw-step-indicator {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.gw-step-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--grey-200);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 13px;
  font-weight: 600;
  color: var(--grey-400);
}

.gw-step-dot:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.gw-step-dot.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  transform: scale(1.15);
  box-shadow: 0 2px 8px rgba(26,115,232,0.3);
}

.gw-step-dot.completed {
  background: var(--success);
  border-color: var(--success);
  color: var(--white);
}

.gw-steps-wrapper {
  min-height: 200px;
}

.gw-step {
  display: none;
}

.gw-step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--grey-100);
}

.gw-step-badge {
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  padding: 4px 12px;
  border-radius: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gw-step-time {
  font-size: 15px;
  font-weight: 600;
  color: var(--grey-600);
  font-variant-numeric: tabular-nums;
}

.gw-step-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 14px 16px;
  background: var(--blue-light);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
  line-height: 1.5;
}

.gw-label-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.gw-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.gw-detail-card {
  background: var(--grey-50);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

.gw-detail-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--grey-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.gw-detail-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--grey-700);
}

.gw-section {
  margin-bottom: 14px;
  padding: 12px 16px;
  background: var(--grey-50);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--blue);
}

.gw-section-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--grey-700);
  margin-bottom: 4px;
}

.gw-section p {
  font-size: 14px;
  color: var(--grey-600);
  line-height: 1.6;
  margin: 0;
}

.gw-section.gw-mistake {
  border-left-color: var(--error);
  background: var(--error-light);
}

.gw-section.gw-tip {
  border-left-color: var(--teal);
  background: var(--teal-light);
}

.gw-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--grey-200);
}

.gw-nav-btn {
  padding: 8px 20px;
  border-radius: var(--radius-md);
  border: 2px solid var(--grey-200);
  background: var(--white);
  font-size: 13px;
  font-weight: 600;
  color: var(--grey-600);
  cursor: pointer;
  transition: var(--transition);
}

.gw-nav-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.gw-step-count {
  font-size: 13px;
  font-weight: 600;
  color: var(--grey-500);
}

/* ===== AI DRAFT ===== */
.ai-draft-container {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-top: 24px;
}

.ai-draft-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ai-draft-icon {
  font-size: 24px;
}

.ai-draft-container h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--grey-700);
}

.ai-draft-subtitle {
  font-size: 14px;
  color: var(--grey-500);
  margin: 6px 0 16px;
}

.ai-draft-legend {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.ai-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--grey-500);
}

.ai-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.ai-legend-dot.correct { background: var(--success); }
.ai-legend-dot.wrong { background: var(--error); }
.ai-legend-dot.missing { background: var(--warning); }

.ai-segments-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.ai-segment-card {
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  border-left: 4px solid var(--blue);
  transition: var(--transition);
}

.ai-segment-card:hover {
  box-shadow: var(--shadow-sm);
}

.ai-segment-card.has-mistake {
  background: #FFFCF5;
  border-color: #FFE0B2;
}

.ai-segment-card.correct {
  background: var(--success-light);
  border-color: #C8E6C9;
}

.ai-seg-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.ai-seg-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--grey-600);
}

.ai-seg-time {
  font-size: 13px;
  color: var(--grey-500);
  font-variant-numeric: tabular-nums;
}

.ai-draft-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
}

.ai-draft-arrow {
  font-size: 20px;
  color: var(--grey-400);
  font-weight: 700;
}

.ai-draft-label {
  padding: 12px;
  border-radius: var(--radius-sm);
}

.ai-draft-bad {
  background: #FFF3E0;
}

.ai-draft-good {
  background: var(--success-light);
}

.ai-label-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.ai-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ai-badge.ai-bad {
  background: #FFE0B2;
  color: #E65100;
}

.ai-badge.ai-good {
  background: #C8E6C9;
  color: #1B5E20;
}

.ai-error-badge {
  font-size: 10px;
  font-weight: 700;
  color: var(--error);
  padding: 2px 6px;
  border-radius: 8px;
  background: var(--error-light);
}

.ai-ok-badge {
  font-size: 10px;
  font-weight: 700;
  color: var(--success);
  padding: 2px 6px;
  border-radius: 8px;
  background: #C8E6C9;
}

.ai-label-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--grey-700);
  line-height: 1.4;
}

.ai-label-text.strikethrough {
  text-decoration: line-through;
  color: var(--error);
}

.ai-label-text.correct-text {
  color: var(--success);
}

.ai-time-issue {
  font-size: 11px;
  color: var(--error);
  margin-top: 4px;
}

.ai-feedback {
  margin-top: 10px;
  padding: 8px 12px;
  background: var(--error-light);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--error);
  line-height: 1.5;
}

.ai-fix-btn {
  margin-top: 8px;
}

.ai-draft-summary {
  margin-top: 20px;
  padding: 20px;
  background: var(--grey-50);
  border-radius: var(--radius-md);
}

.ai-summary-content h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--grey-700);
  margin-bottom: 8px;
}

.ai-summary-content p {
  font-size: 14px;
  color: var(--grey-600);
  margin-bottom: 12px;
}

.ai-summary-bar {
  display: flex;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 6px;
}

.ai-summary-fill.correct { background: var(--success); }
.ai-summary-fill.wrong { background: var(--error); }

.ai-summary-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--grey-500);
  margin-bottom: 12px;
}

.ai-takeaway {
  padding: 10px 14px;
  background: var(--blue-light);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--blue);
  line-height: 1.5;
}

/* ===== PRACTICE MODE ===== */
.pm-container {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-top: 24px;
}

.pm-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pm-icon {
  font-size: 24px;
}

.pm-container h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--grey-700);
}

.pm-subtitle {
  font-size: 14px;
  color: var(--grey-500);
  margin: 6px 0 20px;
}

.pm-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.pm-video-section {
  position: sticky;
  top: 20px;
  align-self: start;
}

.pm-video {
  width: 100%;
  border-radius: var(--radius-md);
  background: #000;
  max-height: 300px;
}

.pm-video-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.pm-ctrl-btn {
  padding: 6px 14px;
  border: 2px solid var(--grey-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 12px;
  font-weight: 600;
  color: var(--grey-600);
  cursor: pointer;
  transition: var(--transition);
}

.pm-ctrl-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-light);
}

.pm-current-time {
  font-size: 14px;
  font-weight: 600;
  color: var(--grey-600);
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}

.pm-timeline {
  margin-top: 10px;
}

.pm-timeline-track {
  position: relative;
  height: 24px;
  background: var(--grey-100);
  border-radius: 4px;
  cursor: pointer;
  overflow: visible;
}

.pm-timeline-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: rgba(26, 115, 232, 0.1);
  border-radius: 4px;
  pointer-events: none;
}

.pm-timeline-handle {
  position: absolute;
  top: -3px;
  width: 3px;
  height: 30px;
  background: var(--blue);
  border-radius: 2px;
  pointer-events: none;
  z-index: 5;
}

.pm-segment-marker {
  position: absolute;
  top: 0;
  height: 100%;
  border-radius: 2px;
  pointer-events: none;
  z-index: 4;
}

/* Annotation form */
.pm-annotation-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pm-add-form {
  background: var(--grey-50);
  border-radius: var(--radius-md);
  padding: 16px;
}

.pm-add-form h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--grey-700);
  margin-bottom: 12px;
}

.pm-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pm-form-hint {
  font-size: 11px;
  color: var(--grey-400);
  margin: -8px 0 12px;
}

.pm-segments-list {
  flex: 1;
}

.pm-segments-list h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--grey-700);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pm-count {
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  background: var(--blue);
  padding: 1px 8px;
  border-radius: 10px;
}

.pm-empty {
  text-align: center;
  padding: 20px;
  color: var(--grey-400);
  font-size: 13px;
  border: 1px dashed var(--grey-300);
  border-radius: var(--radius-sm);
}

.pm-segment-item {
  padding: 10px 14px;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--blue);
  margin-bottom: 6px;
  transition: var(--transition);
}

.pm-segment-item:hover {
  border-color: var(--blue);
}

.pm-seg-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.pm-seg-time {
  font-size: 12px;
  font-weight: 600;
  color: var(--grey-600);
  font-variant-numeric: tabular-nums;
}

.pm-seg-delete {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--error-light);
  color: var(--error);
  font-size: 11px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.pm-seg-delete:hover {
  background: var(--error);
  color: var(--white);
}

.pm-seg-label {
  font-size: 13px;
  color: var(--grey-700);
  line-height: 1.4;
}

.pm-seg-duration {
  font-size: 11px;
  color: var(--grey-400);
  margin-top: 2px;
}

.pm-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.pm-actions .btn {
  flex: 1;
}

/* ===== AUTO REVIEW ===== */
.ar-container {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-top: 24px;
}

.ar-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ar-icon {
  font-size: 24px;
}

.ar-container h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--grey-700);
}

.ar-date {
  font-size: 12px;
  color: var(--grey-400);
  margin: 4px 0 16px;
}

.ar-score-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  padding: 20px;
  background: var(--grey-50);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  align-items: center;
}

.ar-score-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 6px solid var(--grey-300);
}

.ar-score-circle.pass {
  border-color: var(--success);
  background: var(--success-light);
}

.ar-score-circle.fail {
  border-color: var(--error);
  background: var(--error-light);
}

.ar-score-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--grey-700);
}

.ar-score-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--grey-500);
}

.ar-score-circle.pass .ar-score-label { color: var(--success); }
.ar-score-circle.fail .ar-score-label { color: var(--error); }

.ar-score-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.ar-stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ar-stat-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--grey-500);
  min-width: 80px;
}

.ar-stat-bar {
  flex: 1;
  height: 6px;
  background: var(--grey-200);
  border-radius: 3px;
  overflow: hidden;
}

.ar-stat-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.8s ease;
}

.ar-stat-fill.good { background: var(--success); }
.ar-stat-fill.ok { background: var(--warning); }
.ar-stat-fill.bad { background: var(--error); }

.ar-stat-value {
  font-size: 12px;
  font-weight: 700;
  color: var(--grey-600);
  min-width: 36px;
  text-align: right;
}

.ar-summary {
  margin-bottom: 20px;
  padding: 14px 18px;
  background: var(--blue-light);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--blue);
}

.ar-summary h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--grey-700);
  margin-bottom: 4px;
}

.ar-summary p {
  font-size: 13px;
  color: var(--grey-500);
}

.ar-segments-review {
  margin-bottom: 20px;
}

.ar-segments-review h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--grey-700);
  margin-bottom: 12px;
}

.ar-feedback-card {
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 10px;
  transition: var(--transition);
}

.ar-feedback-card:hover {
  box-shadow: var(--shadow-sm);
}

.ar-feedback-card.correct {
  border-left: 4px solid var(--success);
  background: #F1F8E9;
}

.ar-feedback-card.needs-work {
  border-left: 4px solid var(--warning);
  background: #FFFDE7;
}

.ar-feedback-card.missing {
  border-left: 4px solid var(--error);
  background: var(--error-light);
}

.ar-feedback-card.extra {
  border-left: 4px solid var(--purple);
  background: var(--purple-light);
}

.ar-fb-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.ar-fb-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--grey-700);
}

.ar-fb-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
}

.ar-fb-badge.correct { background: #C8E6C9; color: #1B5E20; }
.ar-fb-badge.needs { background: #FFF9C4; color: #F57F17; }
.ar-fb-badge.missing { background: var(--error-light); color: var(--error); }
.ar-fb-badge.extra { background: var(--purple-light); color: var(--purple); }

.ar-fb-time {
  margin-left: auto;
  font-size: 12px;
  color: var(--grey-400);
  font-variant-numeric: tabular-nums;
}

.ar-fb-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 8px;
}

.ar-fb-yours, .ar-fb-expected {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 1.4;
}

.ar-fb-yours {
  background: var(--grey-50);
  border: 1px solid var(--grey-200);
}

.ar-fb-yours.wrong {
  background: var(--error-light);
  border-color: var(--error);
}

.ar-fb-expected {
  background: var(--success-light);
  border: 1px solid #C8E6C9;
}

.ar-fb-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--grey-500);
  display: block;
  margin-bottom: 4px;
}

.ar-fb-comment {
  font-size: 13px;
  color: var(--grey-600);
  margin-bottom: 8px;
  padding: 6px 10px;
  background: var(--white);
  border-radius: var(--radius-sm);
}

.ar-fb-actions {
  display: flex;
  gap: 8px;
}

.ar-tips {
  padding: 16px 20px;
  background: var(--teal-light);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.ar-tips h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 8px;
}

.ar-tips li {
  font-size: 13px;
  color: var(--grey-600);
  padding: 4px 0;
  list-style: disc;
  margin-left: 18px;
  line-height: 1.5;
}

.ar-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* ===== CLIENT RULES ===== */
.cr-container {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-top: 24px;
}

.cr-header {
  margin-bottom: 20px;
}

.cr-header h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--grey-700);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cr-header p {
  font-size: 14px;
  color: var(--grey-500);
  margin-top: 4px;
}

.cr-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  background: var(--grey-100);
  border-radius: var(--radius-md);
  padding: 4px;
}

.cr-tab {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  color: var(--grey-500);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.cr-tab:hover {
  color: var(--grey-700);
}

.cr-tab.active {
  background: var(--white);
  color: var(--blue);
  box-shadow: var(--shadow-sm);
}

.cr-section {
  animation: fadeIn 0.3s ease;
}

.cr-section h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--grey-700);
  margin-bottom: 10px;
}

.cr-section > p {
  font-size: 14px;
  color: var(--grey-500);
  margin-bottom: 16px;
  line-height: 1.6;
}

.cr-three-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.cr-card {
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--grey-50);
  border: 1px solid var(--grey-200);
  margin-bottom: 14px;
}

.cr-card h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}

.cr-card p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--grey-600);
}

.cr-card ul {
  padding-left: 16px;
  margin-bottom: 8px;
}

.cr-card li {
  font-size: 13px;
  color: var(--grey-600);
  margin-bottom: 4px;
  list-style: disc;
}

.cr-card-green { border-left: 4px solid var(--success); background: var(--success-light); }
.cr-card-green h4 { color: var(--success); }
.cr-card-blue { border-left: 4px solid var(--blue); background: var(--blue-light); }
.cr-card-blue h4 { color: var(--blue); }
.cr-card-purple { border-left: 4px solid var(--purple); background: var(--purple-light); }
.cr-card-purple h4 { color: var(--purple); }
.cr-card-red { border-left: 4px solid var(--error); background: var(--error-light); }
.cr-card-red h4 { color: var(--error); }
.cr-card-warning { border-left: 4px solid var(--warning); background: var(--warning-light); }
.cr-card-warning h4 { color: #B8860B; }

.cr-example {
  font-size: 13px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  margin: 6px 0;
  font-weight: 500;
}

.cr-example.correct {
  background: #C8E6C9;
  color: #1B5E20;
}

.cr-example.wrong {
  background: var(--error-light);
  color: var(--error);
  text-decoration: line-through;
}

.cr-highlight {
  padding: 10px 14px;
  background: rgba(26, 115, 232, 0.08);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--blue);
  font-weight: 500;
  margin: 8px 0;
}

.cr-two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.cr-tip {
  font-size: 12px;
  margin-top: 8px;
  padding: 8px 10px;
  background: rgba(13, 148, 136, 0.1);
  border-radius: var(--radius-sm);
  color: var(--teal);
}

/* Timeline cycle */
.cr-timeline-cycle {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.cr-cycle-phase {
  text-align: center;
  padding: 16px 10px;
  border-radius: var(--radius-md);
  border: 2px solid var(--grey-200);
  cursor: pointer;
  transition: var(--transition);
}

.cr-cycle-phase:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.cr-cycle-phase.active {
  border-color: var(--phase-color, var(--blue));
  background: var(--blue-light);
}

.cr-phase-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  font-size: 20px;
  color: var(--white);
}

.cr-phase-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--grey-700);
  margin-bottom: 4px;
}

.cr-phase-desc {
  font-size: 11px;
  color: var(--grey-500);
  line-height: 1.4;
}

.cr-phase-detail {
  margin-bottom: 20px;
}

.cr-detail-content {
  padding: 16px 20px;
  background: var(--grey-50);
  border-radius: var(--radius-md);
}

.cr-detail-content h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--grey-700);
  margin-bottom: 8px;
}

.cr-detail-content p {
  font-size: 14px;
  color: var(--grey-600);
  margin-bottom: 10px;
}

.cr-detail-content h5 {
  font-size: 13px;
  font-weight: 700;
  color: var(--grey-700);
  margin: 8px 0 4px;
}

.cr-detail-content li {
  font-size: 13px;
  color: var(--grey-600);
  margin-bottom: 4px;
  list-style: disc;
  margin-left: 18px;
}

/* AI Game */
.cr-ai-examples {
  margin-bottom: 20px;
}

.cr-ai-examples h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--grey-700);
  margin-bottom: 12px;
}

.cr-ai-card {
  padding: 14px 16px;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  transition: var(--transition);
}

.cr-ai-card:hover {
  box-shadow: var(--shadow-sm);
}

.cr-ai-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.cr-ai-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--error);
  padding: 2px 8px;
  border-radius: 8px;
  background: var(--error-light);
}

.cr-ai-badge.correct {
  color: var(--success);
  background: var(--success-light);
}

.cr-ai-guess {
  font-size: 14px;
  font-weight: 600;
  color: var(--grey-700);
  text-decoration: line-through;
}

.cr-ai-truth {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.cr-ai-answer {
  font-size: 14px;
  font-weight: 700;
  color: var(--success);
}

.cr-ai-hint {
  font-size: 12px;
  color: var(--grey-500);
  margin-bottom: 8px;
}

.cr-ai-reason {
  margin-top: 8px;
  padding: 8px 12px;
  background: var(--blue-light);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--blue);
  animation: slideUp 0.3s ease;
}

.cr-game-intro {
  background: var(--purple-light);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 20px;
}

.cr-game-intro h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 8px;
}

.cr-game-intro li {
  font-size: 13px;
  color: var(--grey-600);
  padding: 3px 0;
}

/* Mini quiz */
.cr-mini-quiz {
  background: var(--grey-50);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-top: 16px;
}

.cr-mini-quiz h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--grey-700);
  margin-bottom: 6px;
}

.cr-mini-quiz p {
  font-size: 14px;
  color: var(--grey-600);
  margin-bottom: 12px;
}

.cr-quiz-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

.cr-quiz-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 2px solid var(--grey-200);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-size: 13px;
  color: var(--grey-600);
  background: var(--white);
}

.cr-quiz-opt:hover {
  border-color: var(--blue);
}

.cr-quiz-opt.selected {
  border-color: var(--blue);
  background: var(--blue-light);
}

.cr-quiz-opt.correct {
  border-color: var(--success);
  background: var(--success-light);
  color: var(--success);
}

.cr-quiz-opt.wrong {
  border-color: var(--error);
  background: var(--error-light);
  color: var(--error);
}

.cr-quiz-opt span:first-child {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--grey-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.cr-quiz-feedback {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  display: none;
}

.cr-quiz-feedback.show {
  display: block;
  animation: slideUp 0.3s ease;
}

/* ===== REVIEWER MISTAKES ===== */
.rm-container {
  padding: 24px;
}

.rm-header {
  margin-bottom: 24px;
}

.rm-header h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--grey-700);
  display: flex;
  align-items: center;
  gap: 10px;
}

.rm-header p {
  font-size: 14px;
  color: var(--grey-500);
  margin-top: 4px;
}

.rm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.rm-card {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.rm-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue);
}

.rm-card.active {
  border-color: var(--blue);
  background: var(--blue-light);
}

.rm-card-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.rm-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--grey-700);
  margin-bottom: 4px;
}

.rm-card p {
  font-size: 12px;
  color: var(--grey-400);
}

/* Detail panel */
.rm-detail-panel {
  margin-top: 20px;
}

.rm-detail {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  animation: fadeIn 0.3s ease;
}

.rm-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--grey-100);
  border: none;
  cursor: pointer;
  font-size: 14px;
  color: var(--grey-500);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.rm-close:hover {
  background: var(--error-light);
  color: var(--error);
}

.rm-detail-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.rm-detail-icon {
  font-size: 32px;
}

.rm-detail-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--grey-700);
}

.rm-example-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.rm-example {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  line-height: 1.5;
}

.rm-example.wrong {
  background: var(--error-light);
  border-left: 4px solid var(--error);
}

.rm-example.correct {
  background: var(--success-light);
  border-left: 4px solid var(--success);
}

.rm-example h5 {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rm-example.wrong h5 { color: var(--error); }
.rm-example.correct h5 { color: var(--success); }

.rm-example p {
  font-size: 14px;
  color: var(--grey-700);
  font-weight: 500;
}

.rm-explanation {
  padding: 14px 18px;
  background: var(--blue-light);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.rm-explanation h5 {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 4px;
}

.rm-explanation p {
  font-size: 14px;
  color: var(--grey-600);
  line-height: 1.6;
}

.rm-exercise {
  background: var(--grey-50);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

.rm-exercise h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--grey-700);
  margin-bottom: 8px;
}

.rm-exercise p {
  font-size: 14px;
  color: var(--grey-600);
  margin-bottom: 12px;
}

.rm-exercise-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

.rm-exercise-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 2px solid var(--grey-200);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-size: 13px;
  color: var(--grey-600);
  background: var(--white);
}

.rm-exercise-opt:hover {
  border-color: var(--blue);
}

.rm-exercise-opt.selected {
  border-color: var(--blue);
  background: var(--blue-light);
}

.rm-exercise-opt.correct {
  border-color: var(--success);
  background: var(--success-light);
  color: var(--success);
}

.rm-exercise-opt.wrong {
  border-color: var(--error);
  background: var(--error-light);
  color: var(--error);
}

.rm-opt-letter {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--grey-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.rm-exercise-feedback {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  display: none;
  margin-top: 8px;
}

.rm-exercise-feedback.show {
  display: block;
  animation: slideUp 0.3s ease;
}

/* ===== PRACTICAL ASSESSMENT ===== */
.pa-container {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-top: 24px;
}

.pa-header {
  margin-bottom: 20px;
}

.pa-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pa-icon {
  font-size: 24px;
}

.pa-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--grey-700);
}

.pa-badge {
  display: inline-block;
  padding: 3px 10px;
  background: var(--error);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 6px 0;
  animation: pulse 2s ease-in-out infinite;
}

.pa-header p {
  font-size: 14px;
  color: var(--grey-500);
}

.pa-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.pa-video-section {
  position: sticky;
  top: 20px;
  align-self: start;
}

.pa-video {
  width: 100%;
  border-radius: var(--radius-md);
  background: #000;
}

.pa-timeline {
  margin-top: 10px;
}

.pa-timeline-track {
  position: relative;
  height: 20px;
  background: var(--grey-100);
  border-radius: 4px;
  cursor: pointer;
}

.pa-timeline-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: rgba(234, 67, 53, 0.1);
  border-radius: 4px;
  pointer-events: none;
}

.pa-timeline-handle {
  position: absolute;
  top: -3px;
  width: 3px;
  height: 26px;
  background: var(--error);
  border-radius: 2px;
  pointer-events: none;
  z-index: 5;
}

.pa-time-display {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--grey-600);
  font-variant-numeric: tabular-nums;
}

.pa-time-display .btn {
  margin-left: auto;
}

.pa-work-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pa-form {
  background: var(--error-light);
  border: 2px dashed var(--error);
  border-radius: var(--radius-md);
  padding: 16px;
}

.pa-form h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--error);
  margin-bottom: 12px;
}

.pa-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pa-segments {
  flex: 1;
}

.pa-segments h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--grey-700);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pa-count {
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  background: var(--error);
  padding: 1px 8px;
  border-radius: 10px;
}

.pa-empty {
  text-align: center;
  padding: 20px;
  color: var(--grey-400);
  font-size: 13px;
  border: 1px dashed var(--grey-300);
  border-radius: var(--radius-sm);
}

.pa-segment-item {
  padding: 10px 14px;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--blue);
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--grey-700);
  line-height: 1.4;
}

.pa-seg-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.pa-seg-delete {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--error-light);
  color: var(--error);
  font-size: 11px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pa-seg-delete:hover {
  background: var(--error);
  color: var(--white);
}

.pa-seg-dur {
  font-size: 11px;
  color: var(--grey-400);
  margin-top: 2px;
}

.pa-review-container {
  margin-top: 24px;
}

/* ===== IMPROVED QUIZZES ===== */
.iq-container {
  max-width: 700px;
  margin: 0 auto;
}

.iq-question {
  animation: fadeIn 0.3s ease;
}

.iq-multi .option-letter.iq-checkbox {
  background: transparent;
  border: 2px solid var(--grey-300);
  color: transparent;
  font-size: 12px;
}

.iq-multi.selected .option-letter.iq-checkbox {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.iq-tf-options {
  display: flex;
  gap: 12px;
}

.iq-tf-options .quiz-option {
  flex: 1;
  justify-content: center;
}

.iq-tf .option-letter {
  width: 32px;
  height: 32px;
  font-size: 14px;
  font-weight: 800;
}

.quiz-option.correct .option-letter.correct {
  background: var(--success);
  color: var(--white);
}

/* Arrange drag */
.iq-arrange {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 16px 0;
}

.iq-arrange-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--white);
  border: 2px solid var(--grey-200);
  border-radius: var(--radius-sm);
  cursor: grab;
  transition: var(--transition);
  font-size: 14px;
  color: var(--grey-600);
  user-select: none;
}

.iq-arrange-item:hover {
  border-color: var(--blue);
  transform: translateX(4px);
}

.iq-arrange-item.dragging {
  opacity: 0.4;
  border-style: dashed;
}

.iq-arrange-item.drag-over {
  border-color: var(--blue);
  background: var(--blue-light);
}

.iq-drag-handle {
  font-size: 18px;
  color: var(--grey-400);
  cursor: grab;
}

/* AI box */
.iq-ai-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--error-light);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--error);
}

.iq-ai-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 8px;
  background: var(--error);
  color: var(--white);
  white-space: nowrap;
}

/* Hand box */
.iq-hand-box {
  padding: 12px 16px;
  background: var(--warning-light);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  text-align: center;
}

.iq-label-preview {
  font-size: 15px;
  font-weight: 600;
  color: var(--grey-700);
}

/* ===== ANIMATIONS ENHANCEMENTS ===== */
@keyframes glow {
  0%, 100% { box-shadow: 0 0 5px rgba(26, 115, 232, 0.3); }
  50% { box-shadow: 0 0 20px rgba(26, 115, 232, 0.6); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes bounceIn {
  0% { transform: scale(0.3); opacity: 0; }
  50% { transform: scale(1.05); }
  70% { transform: scale(0.95); }
  100% { transform: scale(1); opacity: 1; }
}

.highlight-glow {
  animation: glow 2s ease-in-out infinite;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .pm-layout,
  .pa-layout {
    grid-template-columns: 1fr;
  }

  .pm-video-section,
  .pa-video-section {
    position: static;
  }

  .cr-three-columns,
  .cr-two-columns {
    grid-template-columns: 1fr;
  }

  .cr-timeline-cycle {
    grid-template-columns: repeat(2, 1fr);
  }

  .ar-score-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ar-score-circle {
    margin: 0 auto;
  }

  .rm-example-pair {
    grid-template-columns: 1fr;
  }

  .ai-draft-row {
    grid-template-columns: 1fr;
  }

  .ai-draft-arrow {
    transform: rotate(90deg);
    text-align: center;
  }

  .ar-fb-compare {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .cr-timeline-cycle {
    grid-template-columns: 1fr;
  }

  .ar-score-stats {
    grid-template-columns: 1fr;
  }

  .gw-nav {
    flex-direction: column;
    gap: 10px;
  }

  .cr-tabs {
    flex-direction: column;
  }
}
