.video-attachments { margin-block: 16px; color: #202b32; letter-spacing: 0; }
.video-attachments label { display: grid; gap: 8px; }
.video-attachments input { max-width: 100%; min-width: 0; }
.video-attachments [data-video-grid] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0; list-style: none; }
.video-attachments [hidden] { display: none; }
.video-attachments li { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 10px; border: 1px solid #cbd3d8; border-radius: 6px; background: #fff; }
.video-attachments li > a { display: block; position: relative; aspect-ratio: 1; background: #f1f4f5; color: #202b32; }
.video-attachments img { display: block; width: 100%; height: 100%; object-fit: contain; }
.video-attachments a > span { position: absolute; bottom: 6px; right: 6px; padding: 4px 8px; color: #fff; background: #202b32; }
.video-attachments .video-attachment-name, .video-attachments small { overflow-wrap: anywhere; }
.video-attachments button { align-self: end; min-height: 44px; padding: 8px 12px; color: #a12b35; background: #fff; border: 1px solid #cbd3d8; border-radius: 4px; cursor: pointer; }
.video-attachments button:disabled { opacity: .5; cursor: default; }
.video-attachments small { color: #755600; }
.video-attachments [data-video-error] { color: #a12b35; overflow-wrap: anywhere; }
.video-attachments [data-video-error]:empty { display: none; }
.video-attachments :focus-visible, .video-player :focus-visible { outline: 3px solid #087f69; outline-offset: 2px; }
.video-player { max-width: 960px; margin: 0 auto; padding: 16px; color: #202b32; font-family: sans-serif; letter-spacing: 0; }
.video-player h1 { font-size: 20px; overflow-wrap: anywhere; }
.video-player video { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: 75vh; object-fit: contain; background: #111; }
.video-player button { margin-top: 16px; min-height: 44px; padding: 10px 16px; border: 0; border-radius: 4px; background: #087f69; color: #fff; cursor: pointer; }
.video-player .video-player-close { background: #edf0f2; color: #202b32; }
.video-player [role="status"] { overflow-wrap: anywhere; }
@media (max-width: 360px) { .video-attachments [data-video-grid] { grid-template-columns: minmax(0, 1fr); } }
