/* Exports de mains : présentation isolée des autres pages de River. */
#handExportDialog.hand-export-dialog { width:min(950px,96vw); padding:25px; max-height:95vh; background:#1c1112; border:1px solid #7e525a; border-radius:12px; color:#f0e7ed; }
#handExportDialog .modal-head { align-items:flex-start; }
#handExportDialog .modal-head h2 { font-size:20px; margin:0; }
#handExportDialog .modal-head p { color:var(--muted,#b4a4a6); font-size:12px; margin:7px 0 0; }
#handExportDialog .hand-export-options { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:15px; margin:20px 0; }
#handExportDialog .hand-export-options label { display:flex; flex-direction:row; align-items:center; gap:9px; font-size:12px; }
#handExportDialog .hand-export-options input[type=checkbox] { width:18px; height:18px; accent-color:#df7581; }
#handExportDialog .hand-export-options select { width:auto; min-width:85px; }
#handExportDialog #exportHandText { width:100%; min-height:240px; line-height:1.8; font-family:ui-monospace,SFMono-Regular,Consolas,monospace; font-size:12px; background:#150c0d; color:#e3dadb; border:1px solid #4c3a3d; border-radius:7px; resize:vertical; }
#handExportDialog .hand-export-buttons { display:flex; flex-wrap:wrap; gap:9px; margin-top:15px; }
#handExportDialog .export-status { min-height:22px; padding:10px 0; color:#d7c3c6; font-size:12px; line-height:1.6; }
#handExportDialog #exportProgress { display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin:10px 0 20px; }
#handExportDialog #exportProgress[hidden] { display:none; }
#handExportDialog #exportProgress progress { flex:1; min-width:130px; height:13px; accent-color:#d87583; }
#handExportDialog .export-artifact { padding-top:18px; margin-top:15px; border-top:1px solid #4f3035; }
#handExportDialog .export-artifact[hidden] { display:none; }
#handExportDialog .export-artifact img,#handExportDialog .export-artifact video { display:block; width:100%; max-height:65vh; object-fit:contain; border:1px solid #4f3035; border-radius:9px; background:#0f0a0b; }
#handExportDialog .export-artifact>div { display:flex; flex-wrap:wrap; gap:10px; padding-top:12px; }
#handExportDialog .export-download { display:inline-flex; align-items:center; justify-content:center; padding:10px 17px; border-radius:6px; text-decoration:none; font-size:12px; background:#d75562; color:#fff; }
@media(hover:hover){#handExportDialog .export-download:hover { background:#e26a76; }}
#handExportDialog .export-download:focus-visible { outline:2px solid #ffd78c; outline-offset:3px; }
@media(max-width:700px){
  #handExportDialog.hand-export-dialog { padding:18px 14px; width:97vw; }
  #handExportDialog .modal-head h2 { font-size:17px; }
  #handExportDialog .hand-export-buttons { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
  #handExportDialog .hand-export-buttons button { padding:11px 8px; font-size:12px; }
  #handExportDialog #exportHandText { font-size:12px; min-height:220px; }
  #handExportDialog .hand-export-options { align-items:flex-start; gap:12px; }
  #handExportDialog .export-artifact>div { display:grid; grid-template-columns:1fr 1fr; }
}
@media(prefers-reduced-motion:reduce){#handExportDialog *{scroll-behavior:auto;}}
