/* AddiPress Listings — Trust & Safety. */
.apl-trust {
    --t-line: var(--apl-line, #e2e8f0);
    --t-muted: var(--apl-muted, #64748b);
    background: #fff; border: 1px solid var(--t-line); border-radius: 14px;
    padding: 14px 16px; margin: 12px 0;
}
.apl-trust__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.apl-trust__badge { font-size: 13px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.apl-trust__badge--high { background: #dcfce7; color: #15803d; }
.apl-trust__badge--mid { background: #e0e7ff; color: #4338ca; }
.apl-trust__badge--low { background: #f1f5f9; color: #475569; }
.apl-trust__score { font-size: 20px; font-weight: 900; }
.apl-trust__score small { font-size: 12px; font-weight: 600; color: var(--t-muted); }
.apl-trust__bar { height: 7px; border-radius: 999px; background: #eef2f7; overflow: hidden; margin: 10px 0; }
.apl-trust__bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #f59e0b, #22c55e); }
.apl-trust__facts { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: var(--t-muted); }
.apl-trust__facts span { white-space: nowrap; }

/* Safety block */
.apl-safety { margin: 22px 0; }
.apl-safety__toggle {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; border: 1px solid var(--apl-line, #e2e8f0); border-radius: 999px;
    padding: 9px 16px; font: inherit; font-weight: 700; cursor: pointer; color: inherit;
}
.apl-safety__toggle:hover { border-color: var(--apl-primary, #4f46e5); }
.apl-safety__panel { margin-top: 12px; background: #f8fafc; border: 1px solid var(--apl-line, #e2e8f0); border-radius: 14px; padding: 16px 18px; }
.apl-safety__tips { margin: 0 0 12px; padding-left: 18px; display: grid; gap: 6px; font-size: 14px; color: var(--apl-ink-2, #334155); }

.apl-report__open { background: none; border: 0; color: #dc2626; font: inherit; font-weight: 700; cursor: pointer; padding: 0; }
.apl-report__open:hover { text-decoration: underline; }
.apl-report__form { margin-top: 12px; display: grid; gap: 10px; max-width: 460px; }
.apl-report__form select, .apl-report__form textarea { width: 100%; border: 1px solid var(--apl-line, #e2e8f0); border-radius: 10px; padding: 10px 12px; font: inherit; background: #fff; }
.apl-report__msg { font-size: 13px; font-weight: 600; }
.apl-report__msg.is-ok { color: #15803d; }
.apl-report__msg.is-err { color: #dc2626; }
.apl-report .apl-btn { justify-self: start; }
.apl-btn { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 12px; padding: 11px 18px; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; }
.apl-btn--primary { background: var(--apl-primary, #4f46e5); color: #fff; }
.apl-btn--primary:hover { filter: brightness(1.07); }
