html { scrollbar-gutter: stable; }
button.resource-report-link { padding: 0; border: 0; background: transparent; font: inherit; cursor: pointer; }
.link-report-modal { box-sizing: border-box; width: min(480px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 26px; overflow-y: auto; border: 1px solid var(--sf-border); border-radius: 18px; background: var(--sf-surface); color: var(--sf-text-primary); box-shadow: 0 24px 80px rgb(0 0 0 / 24%); }
.link-report-modal::backdrop { background: rgb(0 0 0 / 56%); }
.link-report-modal h2 { margin: 0; font-size: 22px; line-height: 1.3; }
.link-report-resource-name { margin: 8px 0 22px; color: var(--sf-text-secondary); overflow-wrap: anywhere; line-height: 1.5; }
.link-report-modal label { display: block; margin-bottom: 8px; font-weight: 600; }
.link-report-modal textarea { box-sizing: border-box; display: block; width: 100%; min-height: 132px; max-height: 38dvh; resize: vertical; padding: 12px; border: 1px solid var(--sf-border-strong); border-radius: 10px; background: var(--sf-surface-soft); color: var(--sf-text-primary); font: inherit; font-size: 16px; line-height: 1.5; }
.link-report-modal textarea::placeholder { color: var(--sf-text-muted); }
.link-report-modal textarea:focus-visible { outline: 2px solid var(--sf-accent); outline-offset: 2px; }
.link-report-modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.link-report-modal-actions button { min-height: 44px; }
.link-report-error { margin: 12px 0 0; color: var(--sf-accent); font-size: 14px; line-height: 1.5; }
.link-report-feedback { position: fixed; z-index: 100; bottom: 28px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 32px); padding: 12px 20px; border: 1px solid var(--sf-border); border-radius: 12px; background: var(--sf-surface); color: var(--sf-text-primary); box-shadow: 0 8px 36px rgb(0 0 0 / 18%); font-weight: 600; text-align: center; pointer-events: none; }
.link-report-feedback[hidden], .link-report-error[hidden] { display: none; }
.account-report-list { display: grid; gap: 16px; }
.account-report-item { min-width: 0; }
.account-report-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.account-report-heading h2 { min-width: 0; margin: 0; font-size: 17px; line-height: 1.5; overflow-wrap: anywhere; }
.account-report-heading a { color: inherit; }
.account-report-message { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.65; margin: 16px 0; }
.account-report-item time { font-size: 13px; color: var(--sf-text-muted); }
.account-report-status { flex-shrink: 0; padding: 5px 10px; border: 1px solid var(--sf-border); border-radius: 20px; background: var(--sf-surface-elevated); color: var(--sf-text-secondary); font-size: 12px; font-weight: 600; }
.account-report-status.is-fixed { color: #168044; background: #eaf7ed; border-color: #c1e5cb; }
html[data-theme="dark"] .account-report-status.is-fixed { color: #8be0a5; background: #163a25; border-color: #2d6342; }
.account-report-pagination { display: flex; justify-content: center; gap: 20px; margin: 24px 0; }
@media (max-width: 480px) { .link-report-modal { padding: 22px 18px; } .link-report-modal-actions button { flex: 1; } .account-report-heading { flex-direction: column; gap: 10px; } }

.account-report-replies {margin-top:20px;padding-top:4px;border-top:1px solid var(--sf-border);}
.account-report-reply + .account-report-reply {border-top:1px solid var(--sf-border);}
.account-report-reply-meta {margin:16px 0 0;font-size:13px;color:var(--sf-text-secondary);overflow-wrap:anywhere;}
