/* Task attachments preview modal */
.ow-attachment-preview-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.45);
        display: none;
        align-items: center;
        justify-content: center;
        padding: 16px;
        z-index: 5000;
    }

    .ow-attachment-preview-overlay.is-open {
        display: flex;
    }

    .ow-attachment-preview-modal {
        width: min(1100px, 100%);
        background: #fff;
        border: 1px solid var(--ow-border);
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0,0,0,.25);
        overflow: hidden;
    }

    .ow-attachment-preview-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 10px 12px;
        border-bottom: 1px solid var(--ow-border);
    }

    .ow-attachment-preview-title {
        font-weight: 700;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 820px;
    }

    .ow-attachment-preview-body {
        padding: 12px;
    }

    .ow-attachment-preview-image {
        display: block;
        max-width: 100%;
        max-height: 70vh;
        border-radius: 10px;
        margin: 0 auto;
    }

    .ow-attachment-preview-frame {
        width: 100%;
        height: 70vh;
        border: 0;
        display: block;
    }

    .ow-attachment-preview-footer {
        display: flex;
        justify-content: flex-end;
        gap: 10px;
        padding: 10px 12px;
        border-top: 1px solid var(--ow-border);
    }

	/* File picker (comment attachments) */
	.ow-filePicker {
		display: flex;
		align-items: center;
		gap: 10px;
		flex-wrap: wrap;
	}

	.ow-filePickerInput {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		border: 0;
	}

	.ow-filePickerText {
		font-size: 13px;
		color: var(--ow-muted);
		max-width: 520px;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.ow-filePickerText.has-files {
		color: var(--ow-text);
	}
