#report{max-width:1400px;margin:0 auto}
.report-intro{color:var(--text-secondary);margin:0 0 22px}.report-intro p{margin:0}
.reports-layout{display:grid;grid-template-columns:minmax(320px,480px) minmax(0,1fr);gap:32px;align-items:start}
.report-compose{padding:22px;border:1px solid var(--panel-line);border-radius:9px;background:var(--paper)}
.report-compose h2,.report-history-heading h2{font-size:1rem;font-weight:600;margin:0}
#report-sender{margin-top:8px;min-height:44px}.report-ready{color:var(--green)}
#report-fields{margin:0;padding:0;border:0;min-width:0}#report-fields>label{margin-top:16px}
#report-fields>input,#report-fields>textarea{width:100%;min-width:0}#report-fields>textarea{resize:vertical}
.report-reasons{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0;padding:0;border:0;min-width:0}
.report-reasons legend{font-weight:550;margin-bottom:10px;font-size:.875rem}
.report-reasons label{display:flex;align-items:flex-start;gap:8px;margin:0;font-size:.8125rem;font-weight:400;cursor:pointer}
.report-reasons input{width:16px;height:16px;flex:none;margin-top:2px;accent-color:var(--accent)}
.report-category-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:20px}
.report-category-tabs button{min-width:0;white-space:normal;padding:10px 8px;font-size:.8125rem;border:1px solid var(--panel-line);background:var(--paper);color:var(--text-secondary)}
.report-category-tabs button[aria-selected=true]{border-color:var(--accent);color:var(--accent);font-weight:600}
.report-category-tabs button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.report-note-help{display:flex;align-items:flex-start;gap:14px}.report-note-help p{margin:6px 0}.report-note-help span{white-space:nowrap;margin-top:6px;font-size:.75rem}
#report-message{font-size:.8125rem;overflow-wrap:anywhere}#report-message:empty{display:none}
.report-submit-actions{display:flex;gap:12px;margin-top:20px;align-items:center}.report-submit-actions .primary{flex:1}
.report-history-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.report-history-heading span{font-size:.8125rem}.report-receipts>.subtle-note{margin:8px 0 18px}
.report-receipt{padding:18px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.report-receipt:first-child{padding-top:0}
.report-receipt-heading{display:flex;flex-wrap:wrap;gap:8px 12px;justify-content:space-between;align-items:baseline}
.report-status{font-size:.75rem;color:var(--muted)}.report-status.queued,.report-status.sending{color:var(--accent)}.report-status.sent{color:var(--green)}.report-status.uncertain,.report-status.not_sent{color:var(--orange)}
.report-meta,.report-match-id{font-size:.75rem;color:var(--muted);margin:4px 0}.report-match-id{font-family:Consolas,monospace}
.report-reason-summary{font-size:.8125rem;color:var(--text-secondary);margin:12px 0 4px}.report-evidence{font-size:.875rem;white-space:pre-wrap;margin:4px 0 12px}
.report-receipt-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;font-size:.75rem}.report-receipt-footer button{font-size:.75rem}
.report-error{font-size:.8125rem;color:var(--orange);margin:10px 0 0}.report-receipt details{margin-top:10px;font-size:.75rem;color:var(--muted)}.report-receipt details code{display:block;margin-top:6px}
#report-highlight:empty{display:none}#report-highlight{border:1px solid var(--accent);padding:16px;margin-bottom:20px;border-radius:8px}
@media(max-width:1050px){.reports-layout{grid-template-columns:1fr;gap:28px}.report-compose{max-width:640px}}
@media(max-width:520px){.report-compose{padding:16px}.report-reasons{grid-template-columns:1fr}.report-submit-actions{align-items:stretch;flex-direction:column}.report-note-help{flex-wrap:wrap;gap:0}}
