.issue-report-root {
    --issue-report-black: #000000;
    --issue-report-white: #ffffff;
    --issue-report-muted: #9a9a9a;
    --issue-report-border: #e6e6e6;
    --issue-report-disabled: #d1d1cb;
    --issue-report-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
    font-family: inherit;
    z-index: 10050;
}

.issue-report-fab {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 56px;
    height: 56px;
    border: 0;
    border-radius: 50%;
    background: var(--issue-report-black);
    color: var(--issue-report-white);
    box-shadow: var(--issue-report-shadow);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 10051;
    transition: transform 0.15s ease;
}

.issue-report-fab:hover {
    transform: scale(1.04);
}

.issue-report-fab:focus {
    outline: 2px solid #666;
    outline-offset: 2px;
}

.issue-report-fab-icon {
    display: flex;
    width: 24px;
    height: 24px;
    color: var(--issue-report-white);
    align-items: center;
    justify-content: center;
}

.issue-report-fab-icon img {
    display: block;
    width: 24px;
    height: 24px;
    /* error_message.svg is black; invert for the dark FAB */
    filter: invert(1);
}

.issue-report-fab-icon .issue-report-logo-mark {
    width: 100%;
    height: 100%;
}

.issue-report-panel {
    position: fixed;
    right: 24px;
    bottom: 96px;
    width: min(360px, calc(100vw - 32px));
    z-index: 10052;
}

.issue-report-panel[hidden] {
    display: none !important;
}

.issue-report-panel-inner {
    position: relative;
    background: var(--issue-report-white);
    border-radius: 16px;
    box-shadow: var(--issue-report-shadow);
    padding: 20px 20px 18px;
}

.issue-report-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    color: #b0b0b0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.issue-report-close:hover {
    color: #666;
}

.issue-report-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--issue-report-border);
    padding-right: 28px;
}

.issue-report-header-logo {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--issue-report-black);
    color: var(--issue-report-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.issue-report-header-logo .issue-report-logo-mark {
    width: 12px;
    height: 16px;
}

.issue-report-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--issue-report-black);
    line-height: 1.2;
}

.issue-report-hint {
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.4;
    color: var(--issue-report-muted);
}

.issue-report-message {
    display: block;
    width: 100%;
    min-height: 140px;
    resize: vertical;
    box-sizing: border-box;
    border: 1px solid var(--issue-report-border);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 14px;
    line-height: 1.4;
    color: var(--issue-report-black);
    background: var(--issue-report-white);
    margin: 0 0 12px;
}

.issue-report-message::placeholder {
    color: #c0c0c0;
}

.issue-report-message:focus {
    outline: none;
    border-color: #bdbdbd;
}

.issue-report-form.is-dragover {
    outline: 2px dashed #1a1a1a;
    outline-offset: 4px;
    border-radius: 12px;
}

.issue-report-form.is-dragover .issue-report-message {
    border-color: #1a1a1a;
    background: #fafafa;
}

.issue-report-error {
    margin: 0 0 10px;
    font-size: 13px;
    color: #c0392b;
}

.issue-report-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.issue-report-camera {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border: 1px solid var(--issue-report-border);
    border-radius: 12px;
    background: #f5f5f5;
    color: #555;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.issue-report-camera:hover {
    background: #ececec;
    color: #222;
}

.issue-report-camera:disabled {
    opacity: 0.6;
    cursor: wait;
}

.issue-report-attach {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border: 1px solid var(--issue-report-border);
    border-radius: 12px;
    background: #f5f5f5;
    color: #555;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.issue-report-attach:hover {
    background: #ececec;
    color: #222;
}

.issue-report-attach:disabled {
    opacity: 0.6;
    cursor: wait;
}

.issue-report-file-input {
    display: none !important;
}

.issue-report-camera-icon {
    display: block;
    width: 20px;
    height: 17px;
}

.issue-report-camera[hidden] {
    display: none !important;
}

.issue-report-attachments {
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.issue-report-attachments[hidden] {
    display: none !important;
}

.issue-report-attachment {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.issue-report-attachment-link {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #1a1a1a;
    font-size: 13px;
    text-decoration: underline;
}

.issue-report-attachment-link:hover {
    color: #000;
}

.issue-report-attachment-remove {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    border: 0;
    border-radius: 50%;
    background: #e74c3c;
    color: #fff;
    font-size: 14px;
    line-height: 22px;
    padding: 0;
    cursor: pointer;
}

.issue-report-submit {
    flex: 1 1 auto;
    display: block;
    width: auto;
    border: 0;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 600;
    color: var(--issue-report-white);
    background: var(--issue-report-disabled);
    cursor: not-allowed;
    transition: background 0.15s ease;
}

.issue-report-submit.is-ready {
    background: var(--issue-report-black);
    cursor: pointer;
}

.issue-report-submit.is-ready:hover {
    background: #222;
}

.issue-report-submit.is-loading {
    opacity: 0.7;
    cursor: wait;
}

.issue-report-view-success {
    text-align: center;
    padding: 18px 8px 8px;
}

.issue-report-success-icon {
    width: 56px;
    height: 56px;
    margin: 8px auto 18px;
    border-radius: 50%;
    background: var(--issue-report-black);
    display: flex;
    align-items: center;
    justify-content: center;
}

.issue-report-success-title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.issue-report-success-hint {
    margin: 0 0 22px;
    font-size: 13px;
    line-height: 1.4;
    color: var(--issue-report-muted);
}

.issue-report-another {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    border: 1px solid var(--issue-report-border);
    border-radius: 999px;
    background: var(--issue-report-white);
    color: #666;
    font-size: 13px;
    padding: 10px 18px;
    cursor: pointer;
}

.issue-report-another:hover {
    border-color: #ccc;
    color: #333;
}

@media (max-width: 480px) {
    .issue-report-fab {
        right: 16px;
        bottom: 16px;
    }

    .issue-report-panel {
        right: 16px;
        bottom: 84px;
        width: calc(100vw - 32px);
    }
}
