#mixtape_dialog.ph-report {
    padding: 24px;
    box-sizing: border-box;
}

#mixtape_dialog.ph-report[hidden],
#mixtape_dialog.ph-report [hidden] {
    display: none !important;
}

#mixtape_dialog.ph-report .dialog__overlay {
    background: rgb(0 0 0 / 45%);
    backdrop-filter: none;
    opacity: 1;
    transition: none;
}

#mixtape_dialog.ph-report .dialog__content {
    width: 100%;
    min-width: 0;
    max-width: 560px;
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    padding: 24px;
    overflow-y: auto;
    border: 1px solid var(--ph-border, #e3e2e9);
    border-radius: 12px;
    background: #fff;
    color: var(--ph-ink, #1c1c25);
    font: 16px/1.6 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    text-align: left;
    box-sizing: border-box;
    opacity: 1;
    transform: none !important;
    animation: none !important;
    transition: none;
    box-shadow: 0 1px 2px rgb(0 0 0 / 5%);
}

#mixtape_dialog.ph-report .ph-report-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

#mixtape_dialog.ph-report h2 {
    margin: 0;
    padding: 0;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    text-transform: none;
}

#mixtape_dialog.ph-report .ph-report-label {
    display: block;
    margin: 0 0 8px;
    color: var(--ph-ink, #1c1c25);
    font-size: 15px;
    font-weight: 600;
}

#mixtape_dialog.ph-report .ph-report-label span {
    color: var(--ph-muted, #666570);
    font-weight: 400;
}

#mixtape_dialog.ph-report .ph-report-preview {
    margin: 0 0 24px;
    padding: 12px 16px;
    border: 1px solid var(--ph-border, #e3e2e9);
    border-radius: 8px;
    background: #f7f7f9;
    color: var(--ph-ink, #1c1c25);
    font-size: 16px;
    overflow-wrap: anywhere;
}

#mixtape_dialog.ph-report .ph-report-preview mark {
    padding: 0;
    background: #eae2fc;
    color: #392271;
}

#mixtape_dialog.ph-report #mixtape_comment {
    display: block;
    width: 100%;
    min-height: 112px;
    margin: 0;
    padding: 12px;
    border: 1px solid #c8c5d0;
    border-radius: 8px;
    background: #fff;
    color: var(--ph-ink, #1c1c25);
    font: inherit;
    line-height: 1.5;
    box-sizing: border-box;
    resize: vertical;
    transition: none;
}

#mixtape_dialog.ph-report .ph-report-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

#mixtape_dialog.ph-report button {
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid #c8c5d0;
    border-radius: 8px;
    background: #fff;
    color: var(--ph-ink, #1c1c25);
    font: inherit;
    font-weight: 600;
    line-height: 1.4;
    text-transform: none;
    cursor: pointer;
}

#mixtape_dialog.ph-report .ph-report-close {
    flex: 0 0 auto;
    margin-top: -8px;
    padding: 8px;
    border-color: transparent;
    font-size: 14px;
}

#mixtape_dialog.ph-report .ph-report-submit {
    border-color: var(--ph-violet, #6440d8);
    background: var(--ph-violet, #6440d8);
    color: #fff;
}

#mixtape_dialog.ph-report button:hover {
    border-color: var(--ph-violet, #6440d8);
}

#mixtape_dialog.ph-report .ph-report-submit:hover {
    background: var(--ph-violet-hover, #4b28ba);
}

#mixtape_dialog.ph-report button:disabled {
    opacity: 0.65;
    cursor: wait;
}

#mixtape_dialog.ph-report :focus-visible {
    outline: 3px solid var(--ph-violet, #6440d8);
    outline-offset: 3px;
}

#mixtape_dialog.ph-report .ph-report-status,
#mixtape_dialog.ph-report .ph-report-error {
    margin: 16px 0 0;
    font-size: 15px;
}

#mixtape_dialog.ph-report .ph-report-error {
    color: #8b2020;
}

#mixtape_dialog.ph-report .ph-report-result p {
    margin: 0 0 24px;
}

@media (max-width: 560px) {
    #mixtape_dialog.ph-report {
        padding: 16px;
    }

    #mixtape_dialog.ph-report .dialog__content {
        max-height: calc(100vh - 32px);
        max-height: calc(100dvh - 32px);
        padding: 20px;
    }

    #mixtape_dialog.ph-report h2 {
        font-size: 22px;
    }
}
