.security-report {
  color:#24372c;
  background:#fff;
  font-size:14px;
  line-height:1.85;
  overflow-wrap:anywhere}

.document-cover {
  border-top:5px solid #236647;
  padding:26px 0 28px;
  border-bottom:1px solid #dfe6de}

.document-brand {
  font-size:25px;
  font-weight:800;
  letter-spacing:-.06em}
.document-brand span {
  font-size:10px;
  letter-spacing:.13em;
  font-weight:600;
  color:#52675b;
  margin-left:12px}

.document-kicker {
  font-size:10px!important;
  letter-spacing:.14em;
  color:#536b5c!important;
  margin:32px 0 12px!important}
.security-report .document-cover h2 {
  font-size:30px;
  font-weight:600;
  line-height:1.2;
  letter-spacing:-.035em;
  margin:0 0 8px}
.document-cover>p {
  color:#56665c;
  margin:8px 0}

.document-meta {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  margin:26px 0 0}
.document-meta>div:last-child {
  grid-column:1/-1}
.document-meta dt {
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.1em;
  color:#5d7064}
.document-meta dd {
  margin:4px 0 0;
  font-size:13px;
  font-weight:500;
  overflow-wrap:anywhere}

.report-prose>h2,.report-prose>h3 {
  font-size:20px;
  font-weight:650;
  letter-spacing:-.025em;
  line-height:1.4;
  margin:32px 0 14px;
  color:#203b2c}
.report-prose>h2:first-child {
  margin-top:26px}
.report-prose h4 {
  font-size:16px;
  margin:24px 0 12px}
.report-prose p {
  margin:12px 0;
  color:#3d4e42}
.report-prose ul,.report-prose ol {
  padding-left:22px}
.report-prose li {
  padding-left:6px;
  margin:12px 0;
  color:#3d4e42}
.report-prose li::marker {
  color:#286744}
.report-prose code {
  background:#f0f5ef;
  padding:2px 5px;
  border-radius:4px;
  font-size:.86em}
.report-prose pre {
  background:#f5f7f3;
  white-space:pre-wrap;
  padding:16px;
  border-radius:8px;
  overflow-wrap:anywhere;
  max-height:none;
  color:inherit}
.report-prose pre code {
  padding:0}

.report-notice {
  margin:24px 0;
  padding:18px 22px;
  border-left:3px solid #b37b26;
  background:#fcf6e9;
  color:#705319;
  font-size:14px;
  border-radius:0 10px 10px 0}
.report-notice p {
  margin:4px 0 0;
  color:inherit}
.report-review {
  border-top:1px solid #dfe6de;
  margin:30px 0;
  padding-top:16px}
.document-footer {
  border-top:1px solid #dfe6de;
  margin-top:36px;
  padding-top:18px;
  color:#5a6e60;
  font-size:11px}
.report-toolbar {
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  padding:0 0 22px}
.report-toolbar .dim {
  margin-right:auto}
.report-download {
  font-size:13px;
  color:#236647;
  font-weight:600}
.report-head {
  gap:18px}
.report-head h3 {
  margin:0}
.modal-card:has(.security-report) {
  max-width:860px;
  padding:30px 42px}
.report-body {
  padding:10px 0}
.report-toolbar .btn {
  font-size:12px}
.report-toolbar button {
  font-size:13px}

@media(max-width:600px) {
  .modal-card:has(.security-report) {
  padding:22px}
.document-brand span {
  font-size:8px;
  letter-spacing:.08em}
.security-report .document-cover h2 {
  font-size:25px}
.report-toolbar {
  gap:10px}
.document-meta {
  gap:16px}
.report-notice {
  padding:16px}
}

@media print {
  body.printing-report {
  background:white;
  overflow:visible!important;
  height:auto!important}
body.printing-report #modal-root,body.printing-report #modal-root *,body.printing-report dialog.crm-report,body.printing-report dialog.crm-report * {
  visibility:visible}
body.printing-report .print-area {
  display:none!important}
body.printing-report>.topbar,body.printing-report>#app,body.printing-report>.wrap,body.printing-report>.skip-link {
  display:none!important}
body.printing-report .modal-root {
  position:static;
  padding:0;
  background:none;
  backdrop-filter:none;
  display:block!important;
  overflow:visible}
body.printing-report .modal-card,body.printing-report dialog.crm-report {
  position:static;
  max-height:none;
  width:100%;
  max-width:none;
  overflow:visible;
  box-shadow:none;
  border:0;
  padding:0;
  margin:0}
body.printing-report .report-head,body.printing-report .report-toolbar,body.printing-report .dialog-heading {
  display:none}
body.printing-report .report-body {
  overflow:visible}
body.printing-report dialog::backdrop {
  display:none}
.report-prose h2,.report-prose h3 {
  break-after:avoid}
.report-notice {
  break-inside:avoid}
@page {
  margin:20mm}
}
.security-report { font-size:16px; }
.document-brand span,.document-kicker { font-size:12px!important; }
.document-meta dt { font-size:12px; }
.document-meta dd { font-size:14px; }
.report-prose>h2,.report-prose>h3 { font-size:23px; }
.report-prose h4 { font-size:18px; }
.report-notice { font-size:15px; }
.document-footer { font-size:12px; }
.report-toolbar .btn,.report-toolbar button,.report-download { font-size:14px; }
@media(max-width:600px) {
  .document-brand span { display:block; margin:5px 0 0; }
  .document-meta { grid-template-columns:1fr; }
}

/* severity accents on finding headings and labels (in-app report view) */
.security-report .finding-head { display:flex; align-items:baseline; gap:10px; border-left:4px solid var(--sev,#236647); padding-left:12px; margin-top:30px }
.security-report .sev-badge { font-size:11px; font-weight:800; letter-spacing:.05em; color:#fff; background:var(--sev,#236647); padding:2px 9px; border-radius:999px; white-space:nowrap }
.security-report [data-sev="critical"]{--sev:#991b1b}
.security-report [data-sev="high"]{--sev:#ea580c}
.security-report [data-sev="medium"]{--sev:#b45309}
.security-report [data-sev="low"]{--sev:#2563eb}
.security-report [data-sev="info"]{--sev:#2563eb}
.security-report .rp-label{color:#52675b}
