/* Report rows stay compact; native disclosures also work without JavaScript. */
.mail-rating { display: flex; align-items: flex-start; gap: 1rem; border: 1px solid #9aa49d; border-radius: .6rem; padding: 1rem; margin: 1rem 0; }
.rating-badge { flex: 0 0 4rem; text-align: center; font-size: 3rem; font-weight: 800; line-height: 1.6; border-radius: .4rem; color: #fff; background: #515b62; }
.rating-S { background: #4f3c78; }
.rating-A, .rating-B { background: #255c40; }
.rating-C { background: #67511b; }
.rating-D, .rating-E { background: #853d18; }
.rating-F { background: #962d35; }
.rating-description { min-width: 0; overflow-wrap: anywhere; }
.rating-description h2 { margin-top: 0; }
.rating-missing { font-weight: 600; }
@media (max-width: 480px) { .mail-rating { gap: .7rem; padding: .7rem; } .rating-badge { flex-basis: 3rem; font-size: 2.3rem; } }
.repair-help, .header-evidence { border-top: 1px solid #d4dbd0; margin-top: 1rem; padding-top: .5rem; }
.repair-help h3, .header-evidence h3 { font-size: 1rem; margin: .5rem 0; }
.check-body pre { white-space: pre-wrap; overflow-wrap: anywhere; background: #f0f3ed; padding: .75rem; border-radius: 5px; }
.check-body mark { background: #f6e4b9; }
.evidence-position { font-size: .8rem; color: #536158; }
.checks { display: grid; gap: .45rem; }
.checks > .check {
  margin: 0;
  padding: 0;
  border-radius: 8px;
  background: white;
  border: 1px solid #d4dbd0;
}
.checks > .check.ok { border-left: 4px solid #2d7045; }
.checks > .check.problem { border-left: 4px solid #a13b32; background: #fceceb; }
.checks > .check.unbekannt { border-left: 4px solid #995900; background: #fff3dc; }
.checks > .check.hinweis { border-left: 4px solid #687269; background: #fff8df; }
.checks > .check > summary {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .65rem 1rem;
  list-style: none;
}
.checks > .check > summary::-webkit-details-marker { display: none; }
.checks > .check > summary::before {
  content: "";
  width: .45rem;
  height: .45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  flex-shrink: 0;
}
.checks > .check[open] > summary::before { transform: rotate(45deg); }
.checks > .check > summary h2 {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 1rem;
  overflow-wrap: anywhere;
}
.checks > .check > summary .badge { flex-shrink: 0; }
.check-body { padding: 0 1rem .8rem; }
[hidden] { display: none !important; }
#private-form { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
#private-code { max-width: 100%; min-width: 0; font: inherit; padding: .5rem; }
.private-details { border-left: 3px solid currentColor; padding-left: .75rem; }
.private-details pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.report-controls { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .75rem; }
.report-controls button { font-size: .8rem; padding: .35rem .6rem; }
.findings-overview ul { padding-left: 1.2rem; }
.findings-overview li { padding: .15rem 0; }
.report-sidebar { min-width: 0; }
#nagios-ignore { padding: 1rem; }
#nagios-ignore p { font-size: .8rem; }
#nagios-ignore pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .7rem; padding: .6rem; }
#nagios-ignore button { font-size: .8rem; }
@media (max-width: 420px) {
  .checks > .check > summary { padding: .65rem .75rem; flex-wrap: nowrap; }
  .checks > .check > summary .badge { max-width: 42%; overflow-wrap: anywhere; }
}
@media print {
  .report-controls, .report-sidebar { display: none; }
}
