.issue-report-trigger {
    position: fixed;
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
    z-index: 1040;
    min-height: 44px;
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .2);
}

.issue-report-overlay[hidden] { display: none !important; }
.issue-report-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, .58);
}
.issue-report-panel {
    width: min(100%, 620px);
    max-height: calc(100dvh - 2rem);
    overflow-y: auto;
    background: #fff;
    color: #212529;
    border-radius: .6rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .3);
}
.issue-report-header,
.issue-report-body { padding: 1rem 1.25rem; }
.issue-report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #dee2e6;
}
.issue-report-close {
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    font-size: 1.6rem;
}
.issue-report-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}
.issue-report-device {
    font-size: .875rem;
    white-space: pre-line;
}
.issue-report-status:empty { display: none; }
.issue-report-status { margin-top: .75rem; }
body.issue-report-open { overflow: hidden; }

@media (max-width: 575.98px) {
    .issue-report-overlay { align-items: flex-end; padding: 0; }
    .issue-report-panel {
        width: 100%;
        max-height: calc(100dvh - env(safe-area-inset-top));
        border-radius: .8rem .8rem 0 0;
        padding-bottom: env(safe-area-inset-bottom);
    }
    .issue-report-trigger { border-radius: 50%; width: 52px; height: 52px; padding: 0; }
    .issue-report-trigger-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .issue-report-overlay, .issue-report-panel { scroll-behavior: auto; }
}
