.tayyibah-learning-file-list { display: grid; gap: 16px; }
.tutor-attachment-card.tayyibah-file-card { flex-wrap: wrap; gap: 12px; }
.tayyibah-file-card .tutor-attachment-card-body { min-width: 0; flex: 1 1 180px; }
.tayyibah-file-card .tutor-attachment-card-title { display: block; -webkit-line-clamp: unset; overflow: visible; white-space: normal; overflow-wrap: anywhere; }
.tayyibah-file-actions { display: flex; flex-wrap: wrap; gap: 8px; opacity: 1; }
.tayyibah-file-actions a.tutor-btn { min-height: 44px; }
.tayyibah-file-actions .tutor-btn:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.tayyibah-file-overlay { position: fixed; inset: 0; z-index: 2147483000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(0, 0, 0, .48); }
.tayyibah-file-dialog { position: relative; box-sizing: border-box; width: 100%; max-width: 440px; max-height: calc(100dvh - 40px); overflow-y: auto; overscroll-behavior: contain; padding: 24px; border-radius: 12px; color: var(--tutor-body-color, #222); background: var(--tutor-body-bg, #fff); box-shadow: 0 12px 40px rgba(0, 0, 0, .2); text-align: left; }
.tayyibah-file-dialog .tayyibah-file-dialog-title { margin: 0 100px 16px 0; color: inherit; font-size: 20px; line-height: 1.4; }
.tayyibah-file-dialog .tayyibah-file-close { position: absolute; top: 16px; right: 16px; }
.tayyibah-file-dialog-name { margin: 0 0 12px; font-weight: 600; overflow-wrap: anywhere; }
.tayyibah-file-dialog-status { margin: 0 0 20px; line-height: 1.5; }
.tayyibah-file-dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.tayyibah-file-dialog .tutor-btn { min-height: 44px; white-space: normal; }
.tayyibah-file-dialog .tutor-btn:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.tayyibah-file-dialog [hidden] { display: none !important; }
.tayyibah-file-dialog button:disabled { opacity: .65; cursor: wait; }
@media (max-width: 600px) {
  .tayyibah-file-actions { width: 100%; }
  .tayyibah-file-actions .tutor-btn { flex: 1 1 auto; }
}
