/**
 * Output Panel Styles
 * Vertical timeline menu + detail panel + original email section
 * @version 1.0.0
 * 
 * NOTE: Plan Suggestions styles are in components.css
 * This file only adds Timeline, Detail Panel, and Original Email styles
 */

/* ========================================
   OUTPUT TIMELINE (Vertical menu)
   ======================================== */

.output-timeline {
  margin: 0;
  background: var(--color-surface);
  border: 1px solid #e0e0e0;
  border-radius: var(--radius-lg);
  padding: var(--space-3);
}

.output-timeline[hidden] {
  display: none;
}

.output-timeline__steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  max-height: 320px; /* ~5 items at ~60px + gaps with summary */
  overflow-y: auto;
  scroll-behavior: smooth;
}

/* Subtle scrollbar styling */
.output-timeline__steps::-webkit-scrollbar {
  width: 6px;
}

.output-timeline__steps::-webkit-scrollbar-track {
  background: transparent;
}

.output-timeline__steps::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 3px;
}

.output-timeline__steps::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

/* Timeline Step Button */
.timeline-step {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: var(--color-surface);
  border: 1px solid #e0e0e0;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  text-align: left;
}

.timeline-step:hover:not(:disabled) {
  border-width: 2px;
  padding: calc(var(--space-2) - 1px) calc(var(--space-3) - 1px);
}

.timeline-step:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.timeline-step:focus {
  outline: none;
}

.timeline-step:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Step Icon */
.timeline-step__icon {
  font-size: 20px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-background);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

/* Step Content (wraps label + summary) */
.timeline-step__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0; /* Enable text truncation */
  overflow: hidden;
}

/* Step Label */
.timeline-step__label {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Step Summary Line */
.timeline-step__summary {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  white-space: nowrap;
  overflow: hidden;
}

.timeline-step__summary--loading {
  color: var(--color-text-muted);
  font-style: italic;
}

.timeline-step__summary--error {
  color: var(--color-error);
}

.timeline-step__summary--blocked {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.timeline-step__blocked-text {
  color: #d97706;
  font-weight: var(--font-weight-medium);
}

.timeline-step__action-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: var(--font-weight-semibold);
  color: #fff;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.timeline-step__action-btn:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.3);
}

/* Status + Action Button Container (for Guardian blocked) */
.timeline-step__status-action {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Score Display */
.timeline-step__score {
  font-weight: var(--font-weight-semibold);
  flex-shrink: 0;
}

.timeline-step__score--success {
  color: #22c55e;
}

.timeline-step__score--warning {
  color: #f59e0b;
}

.timeline-step__score--error {
  color: #ef4444;
}

.timeline-step__score-sep {
  color: var(--color-text-muted);
  flex-shrink: 0;
}

/* Summary Text */
.timeline-step__summary-text {
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Step Status Icon */
.timeline-step__status {
  font-size: 16px;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

/* ========================================
   TIMELINE STEP STATES
   ======================================== */

/* Pending State */
.timeline-step--pending {
  background: var(--color-background);
  border-color: #e0e0e0;
}

.timeline-step--pending .timeline-step__status {
  color: var(--color-text-muted);
}

/* Running State (green border while processing) */
.timeline-step--running {
  background: var(--color-surface);
  border-color: #22c55e;
  animation: stepPulseGreen 2s ease-in-out infinite;
}

.timeline-step--running .timeline-step__status {
  color: #22c55e;
  animation: stepSpin 1s linear infinite;
}

@keyframes stepPulseGreen {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.3);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15);
  }
}

@keyframes stepSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Complete State (grey border with green tick) */
.timeline-step--complete {
  background: var(--color-surface);
  border-color: #e0e0e0;
  animation: none;
}

/* Ensure non-selected complete steps have white background */
.timeline-step--complete:not(.timeline-step--selected) {
  background: var(--color-surface);
}

.timeline-step--complete .timeline-step__status {
  color: #22c55e;
}

/* Previously Completed State (grey border, green checkmark retained) */
.timeline-step--completed-prev {
  background: var(--color-surface);
  border-color: #e0e0e0;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.timeline-step--completed-prev .timeline-step__status {
  color: #22c55e;
}

/* Error State */
.timeline-step--error {
  background: rgba(239, 68, 68, 0.05);
  border-color: rgba(239, 68, 68, 0.5);
}

.timeline-step--error .timeline-step__status {
  color: #ef4444;
}

/* Blocked/Paused State - Warning orange (for Guardian) */
.timeline-step--blocked,
.timeline-step--paused {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.6);
  cursor: pointer;
}

.timeline-step--blocked .timeline-step__status,
.timeline-step--paused .timeline-step__status {
  color: #f59e0b;
}

.timeline-step--blocked .timeline-step__label,
.timeline-step--paused .timeline-step__label {
  color: #92400e;
}

.timeline-step--blocked:hover,
.timeline-step--paused:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: #f59e0b;
}

/* Awaiting State - Muted style for steps waiting on Guardian review */
.timeline-step--awaiting {
  background: rgba(156, 163, 175, 0.1);
  border-color: rgba(156, 163, 175, 0.4);
  cursor: default;
}

.timeline-step--awaiting .timeline-step__status {
  color: #9ca3af;
}

.timeline-step--awaiting .timeline-step__label {
  color: #6b7280;
}

.timeline-step--awaiting .timeline-step__blocked-text {
  color: #9ca3af;
}

/* Selected State (overlays other states) */
.timeline-step--selected {
  background: rgba(34, 197, 94, 0.05);
  border: 1px solid #22c55e;
  box-shadow: none;
}

.timeline-step--selected.timeline-step--complete {
  border: 1px solid #22c55e;
  box-shadow: none;
}

.timeline-step--selected.timeline-step--error {
  border: 1px solid #22c55e;
  box-shadow: none;
}

.timeline-step--selected.timeline-step--blocked,
.timeline-step--selected.timeline-step--paused {
  background: rgba(245, 158, 11, 0.15);
  border: 2px solid #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

/* ========================================
   TIMELINE STEP COLOR MODIFIERS
   Applied to completed steps based on handler result
   ======================================== */

/* Success/Green - Guardian safe, low risk, high confidence */
.timeline-step--color-success {
  background: rgba(34, 197, 94, 0.08) !important;
  border-color: rgba(34, 197, 94, 0.4) !important;
}

.timeline-step--color-success .timeline-step__label {
  color: #166534;
}

.timeline-step--color-success .timeline-step__summary {
  color: #166534;
}

/* Warning/Amber - Medium risk, caution, clarify posture */
.timeline-step--color-warning {
  background: rgba(245, 158, 11, 0.08) !important;
  border-color: rgba(245, 158, 11, 0.4) !important;
}

.timeline-step--color-warning .timeline-step__label {
  color: #92400e;
}

.timeline-step--color-warning .timeline-step__summary {
  color: #92400e;
}

/* Error/Red - High risk, needs attention */
.timeline-step--color-error {
  background: rgba(239, 68, 68, 0.08) !important;
  border-color: rgba(239, 68, 68, 0.4) !important;
}

.timeline-step--color-error .timeline-step__label {
  color: #991b1b;
}

.timeline-step--color-error .timeline-step__summary {
  color: #991b1b;
}

/* Info/Blue - Need more info, exploratory */
.timeline-step--color-info {
  background: rgba(59, 130, 246, 0.08) !important;
  border-color: rgba(59, 130, 246, 0.4) !important;
}

.timeline-step--color-info .timeline-step__label {
  color: #1d4ed8;
}

.timeline-step--color-info .timeline-step__summary {
  color: #1d4ed8;
}

/* Neutral/Gray - Wait posture, unknown state */
.timeline-step--color-neutral {
  background: rgba(107, 114, 128, 0.08) !important;
  border-color: rgba(107, 114, 128, 0.4) !important;
}

.timeline-step--color-neutral .timeline-step__label {
  color: #374151;
}

.timeline-step--color-neutral .timeline-step__summary {
  color: #4b5563;
}

/* ========================================
   OUTPUT DETAIL PANEL
   ======================================== */

.output-detail {
  background: var(--color-surface);
  border: none;
  border-top: 1px solid var(--color-border);
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 0;
}

.output-detail[hidden] {
  display: none;
}

/* Detail Header */
.output-detail__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-4);
  background: var(--color-background);
  border-bottom: 1px solid var(--color-border);
}

/* Hide detail header when email output toolbar is present */
.output-detail:has(.email-output__toolbar) .output-detail__header {
  display: none;
}

.output-detail__title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  margin: 0;
}

.output-detail__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* Detail Body */
.output-detail__body {
  padding: 0;
  min-height: 200px;
  transition: opacity 0.2s ease;
}

/* Add padding back for non-email content */
.output-detail__body > *:not(.email-output) {
  padding: var(--space-6);
}

/* Email output fills full width */
.output-detail__body > .email-output {
  margin: 0;
}

.output-detail__body--transitioning {
  opacity: 0;
}

/* Loading state in detail body */
.output-detail__loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-12);
  color: var(--color-text-muted);
}

.output-detail__loading-spinner {
  font-size: 32px;
  margin-bottom: var(--space-3);
  animation: stepSpin 1s linear infinite;
}

.output-detail__loading-text {
  font-size: var(--font-size-sm);
}

/* ========================================
   OUTPUT ORIGINAL (Bottom section)
   ======================================== */

.output-original {
  margin: 0;
  background: var(--color-surface);
  border: none;
  border-top: 1px solid var(--color-border);
  border-radius: 0;
  overflow: hidden;
}

.output-original[hidden] {
  display: none;
}

/* Original Header */
.output-original__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-4);
  background: var(--color-background);
  border-bottom: 1px solid var(--color-border);
}

.output-original__title {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

.output-original__icon {
  font-size: var(--font-size-md);
}

/* Original Body */
.output-original__body {
  padding: var(--space-4);
}

/* Email content styling within original */
.output-original__body .email-content {
  font-size: var(--font-size-sm);
  line-height: 1.6;
  color: var(--color-text);
}

.output-original__body .email-header {
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border);
}

.output-original__body .email-header-row {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-1);
  font-size: var(--font-size-xs);
}

.output-original__body .email-header-label {
  color: var(--color-text-muted);
  font-weight: var(--font-weight-medium);
  min-width: 60px;
}

.output-original__body .email-header-value {
  color: var(--color-text);
}

/* ========================================
   OUTLOOK-STYLE EMAIL DISPLAY
   ======================================== */

.outlook-email {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--color-text);
}

/* Email Header with Avatar */
.outlook-email__header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding-bottom: var(--space-3);
}

.outlook-email__avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.outlook-email__header-content {
  flex: 1;
  min-width: 0;
}

.outlook-email__sender {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--space-1);
  margin-bottom: 2px;
}

.outlook-email__sender-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--color-text);
}

.outlook-email__sender-email {
  font-size: 13px;
  color: var(--color-text-muted);
}

.outlook-email__date {
  font-size: 12px;
  color: var(--color-text-muted);
}

/* Recipients */
.outlook-email__recipients {
  padding: var(--space-2) 0;
  padding-left: 52px; /* Avatar width + gap */
  font-size: 13px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-3);
}

.outlook-email__recipient-row {
  display: flex;
  gap: var(--space-2);
  margin-bottom: 2px;
}

.outlook-email__recipient-label {
  color: var(--color-text-muted);
  min-width: 24px;
}

.outlook-email__recipient-value {
  color: var(--color-text);
  word-break: break-word;
}

/* Subject */
.outlook-email__subject {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text);
  padding: var(--space-2) 0 var(--space-4);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-4);
}

/* Email Body */
.outlook-email__body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text);
  max-height: 400px;
  overflow-y: auto;
}

.outlook-email__body-text {
  white-space: pre-wrap;
  word-break: break-word;
}

.outlook-email__plaintext {
  font-family: inherit;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  background: transparent;
  border: none;
  padding: 0;
}

/* HTML Content from emails */
.outlook-email__html-content {
  /* Reset some problematic styles from email HTML */
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

.outlook-email__html-content p {
  margin: 0 0 1em 0;
}

.outlook-email__html-content a {
  color: var(--color-primary);
  text-decoration: none;
}

.outlook-email__html-content a:hover {
  text-decoration: underline;
}

.outlook-email__html-content img {
  max-width: 100%;
  height: auto;
}

.outlook-email__html-content table {
  border-collapse: collapse;
  max-width: 100%;
}

.outlook-email__html-content blockquote {
  margin: 0.5em 0;
  padding-left: 1em;
  border-left: 2px solid var(--color-border);
  color: var(--color-text-muted);
}

/* Collapsible original message after <hr> (Outlook-style) */
.outlook-email__quoted-wrap {
  margin-top: 1em;
  padding-top: 0.75em;
  border-top: 1px solid var(--color-border);
}

.outlook-email__quoted-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
  background: none;
  border: none;
  padding: 0 10px;
  border-radius: 5px;
  font: inherit;
  font-size: 16px;
  color: var(--color-primary);
  background-color: var(--color-primary-light, rgba(37, 99, 235, 0.08));
  cursor: pointer;
}

.outlook-email__quoted-toggle:hover {
  background-color: var(rgba(27, 92, 233, 0.281));
}

.outlook-email__quoted-content {
  margin-top: 0.75em;
}

.outlook-email__quoted-content[hidden] {
  display: none;
}

/* CID Images placeholder */
.outlook-email__cid-image {
  display: inline-block;
  min-width: 100px;
  min-height: 50px;
  background: var(--color-background);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-2);
  color: var(--color-text-muted);
  font-size: 12px;
  text-align: center;
}

.outlook-email__cid-image::before {
  content: '🖼️ ';
}

/* ========================================
   ATTACHMENT BAR (reading pane – mirrors compose-attachments)
   ======================================== */

.outlook-email__attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 8px 16px;
  background: var(--color-surface-secondary, #f8fafc);
  border-bottom: 1px solid var(--color-border-light, #f1f5f9);
}

.outlook-email__attachment-chips {
  display: contents;
}

.outlook-email__attachment-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  cursor: pointer;
  font-size: 12px;
  color: var(--color-text);
  transition: all 150ms ease;
}

.outlook-email__attachment-chip:hover {
  background: var(--color-slate-100, #f1f5f9);
  border-color: var(--color-slate-300, #cbd5e1);
}

.outlook-email__attachment-chip--loading {
  opacity: 0.6;
  pointer-events: none;
}

.outlook-email__attachment-chip--loading::after {
  content: '';
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-left: auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.outlook-email__attachment-icon {
  font-size: 14px;
  flex-shrink: 0;
  line-height: 1;
}

.outlook-email__attachment-name {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.outlook-email__attachment-size {
  font-size: 11px;
  color: var(--color-text-muted, #94a3b8);
}

/* Legacy wrappers kept for compat but flattened */
.outlook-email__attachment-info { display: contents; }
.outlook-email__attachment-chevron { display: none; }

/* Download action link */
.outlook-email__attachment-actions {
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
}

.outlook-email__attachment-action {
  font-size: 11px;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}

.outlook-email__attachment-action:hover {
  text-decoration: underline;
}

.outlook-email__attachment-action-sep {
  display: none;
}

/* Dark mode adjustments */
@media (prefers-color-scheme: dark) {
  .outlook-email__html-content {
    /* Invert dark backgrounds from email HTML */
    background: transparent !important;
  }
  
  .outlook-email__html-content table[bgcolor],
  .outlook-email__html-content td[bgcolor],
  .outlook-email__html-content tr[bgcolor] {
    background: transparent !important;
  }
  
  .outlook-email__attachments {
    background: var(--color-surface, #2a2a2a);
    border-bottom-color: var(--color-border);
  }

  .outlook-email__attachment-chip {
    background: var(--color-background);
    border-color: var(--color-border);
  }
  
  .outlook-email__attachment-chip:hover {
    background: var(--color-surface);
    border-color: var(--color-border-hover, #555);
  }
}

/* ========================================
   OUTPUT ADJUST (Refinement panel)
   ======================================== */

.output-adjust {
  border-top: 1px solid var(--color-border);
}

.output-adjust[hidden] {
  display: none;
}

.output-adjust__collapsed {
  padding: var(--space-3) var(--space-4);
}

.output-adjust__divider {
  /* Visual separator - add styling if needed */
  height: 0;
}

.output-adjust__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-2) 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  transition: color 0.15s ease;
}

.output-adjust__toggle:hover {
  color: var(--color-primary);
}

.output-adjust__label {
  font-weight: var(--font-weight-medium);
}

.output-adjust__chevron {
  font-size: 12px;
  transition: transform 0.2s ease;
}

.output-adjust__expanded[hidden] {
  display: none;
}

.output-adjust__expanded {
  padding: var(--space-4);
  background: var(--color-background);
}

.output-adjust__helper {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

.output-adjust__input {
  width: 100%;
  padding: var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  font-family: inherit;
  resize: vertical;
  margin-bottom: var(--space-3);
}

.output-adjust__input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.output-adjust__actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-2);
}

.output-adjust__content {
  padding-top: var(--space-2);
}

/* Expanded state - rotate chevron */
.output-adjust--expanded .output-adjust__chevron {
  transform: rotate(180deg);
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */

@media (max-width: 768px) {
  .timeline-step {
    padding: var(--space-2) var(--space-3);
  }
  
  .timeline-step__icon {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }
  
  .output-detail__body {
    padding: var(--space-4);
  }
}

/* ========================================
   DARK MODE SUPPORT
   ======================================== */

@media (prefers-color-scheme: dark) {
  .timeline-step--running {
    background: rgba(59, 130, 246, 0.1);
  }
  
  .timeline-step--complete:not(.timeline-step--selected) {
    background: var(--color-surface);
  }
  
  .timeline-step--error {
    background: rgba(239, 68, 68, 0.1);
  }
}

/* ========================================
   GUARDIAN RISK ACCEPTANCE GATE
   ======================================== */

.guardian-risk-accept {
  margin-top: 24px;
  padding: 20px;
  background: var(--color-error-light, #fef2f2);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 12px;
  text-align: center;
}

.guardian-risk-accept__warning {
  font-size: 13px;
  color: #991b1b;
  margin-bottom: 12px;
  line-height: 1.5;
}

.guardian-risk-accept__btn {
  background: var(--color-error, #ef4444);
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: var(--font-weight-semibold, 600);
  cursor: pointer;
  transition: all 0.2s ease;
}

.guardian-risk-accept__btn:hover {
  background: #dc2626;
  transform: translateY(-1px);
}

/* Accepted state — replaces button after user accepts risk */
.guardian-risk-accept--accepted {
  background: #ecfdf5;
  border-color: rgba(16, 185, 129, 0.25);
}

.guardian-risk-accept__accepted-title {
  font-size: 15px;
  font-weight: var(--font-weight-semibold, 600);
  color: #065f46;
  margin-bottom: 6px;
}

.guardian-risk-accept__accepted-message {
  font-size: 13px;
  color: #047857;
  line-height: 1.5;
}
