body.frame--report__coverage {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  background: #0a0b0d;
  color: #e4e4e7;
  padding: 20px;
  line-height: 1.4;
  font-size: 13px;
  --success: #22c55e;
  --warning: #eab308;
  --danger: #ef4444;
}
body.frame--report__coverage * {
  box-sizing: border-box;
}
body.frame--report__coverage .container {
  margin: 0 auto;
  max-width: 340mm;
}
body.frame--report__coverage header {
  margin: 0 auto;
  max-width: 340mm;
}
body.frame--report__coverage .chapter-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
body.frame--report__coverage .std-card {
  background: #111113;
  border: 1px solid rgb(66, 66, 66);
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  margin: 16px 0;
}
body.frame--report__coverage .std-header {
  background: #1a1a1d;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 12px;
  align-items: center;
}
body.frame--report__coverage .std-title {
  font-size: 16px;
  font-weight: 800;
  color: #f4f4f5;
  letter-spacing: -0.01em;
}
body.frame--report__coverage .std-stats {
  color: #a3a3ad;
  font-size: 12px;
  margin-left: auto;
  display: flex;
  gap: 10px;
  align-items: center;
}
body.frame--report__coverage .std-header .status-icon {
  font-weight: 800;
}
body.frame--report__coverage .std-body {
  background: #141416;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
body.frame--report__coverage .chapter {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  background: #17171a;
}
body.frame--report__coverage .chapter + .chapter {
  margin-top: 10px;
}
body.frame--report__coverage .chapter-header {
  background: #1b1b1f;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
body.frame--report__coverage .chapter-title {
  font-weight: 700;
  color: #e5e7eb;
}
body.frame--report__coverage .chapter-count {
  color: #a3a3ad;
  margin-left: 8px;
}
body.frame--report__coverage .chapter-header .status-icon {
  margin-left: 8px;
}
body.frame--report__coverage .scrollable-table-container {
  background: #18181b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0 0 10px 10px;
  overflow: auto;
  min-height: 160px;
}
body.frame--report__coverage table {
  width: 100%;
  border-collapse: collapse;
}
body.frame--report__coverage thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #1e1e23;
  color: #a1a1aa;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: left;
  padding: 9px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
body.frame--report__coverage tbody th, body.frame--report__coverage tbody td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: top;
}
body.frame--report__coverage tbody tr:last-child td {
  border-bottom: none;
}
body.frame--report__coverage tbody tr:nth-child(odd) td {
  background: rgba(255, 255, 255, 0.01);
}
body.frame--report__coverage tbody tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}
body.frame--report__coverage .req-id.mono, body.frame--report__coverage .mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}
body.frame--report__coverage .no-measures {
  color: #9aa0a6;
  margin-left: 6px;
}
body.frame--report__coverage .measure-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e5e7eb;
  background: #111113;
}
body.frame--report__coverage .status-icon {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.75rem;
}
body.frame--report__coverage .status-icon.satisfied {
  background-color: var(--success);
}
body.frame--report__coverage .status-icon.partial {
  background-color: var(--warning);
}
body.frame--report__coverage .status-icon.not-satisfied {
  background-color: var(--danger);
}
body.frame--report__coverage .text-empty {
  color: #a1a1aa;
}
body.frame--report__coverage .disclaimer-block {
  background: #18181b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
body.frame--report__coverage .disclaimer-lang-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #d1d5db;
}
body.frame--report__coverage .disclaimer-text {
  white-space: pre-wrap;
  margin: 6px 0 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  color: #e5e7eb;
}
body.frame--report__coverage .disclaimer-block .lang-icon {
  width: 16px;
  height: 16px;
  border-radius: 2px;
}

/* Print (light mode) */
@media print {
  body {
    background: white !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  #BS_main {
    padding: 18mm 12mm;
    background: white !important;
    box-sizing: border-box;
  }
  body.frame--report__coverage {
    background: white !important;
    color: #111827 !important;
  }
  body.frame--report__coverage .title-main {
    background: linear-gradient(135deg, #2563eb 0%, #9333ea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  body.frame--report__coverage .title-sub, body.frame--report__coverage .title-meta, body.frame--report__coverage .std-title, body.frame--report__coverage .chapter-title {
    color: #111827 !important;
  }
  body.frame--report__coverage .std-card, body.frame--report__coverage .std-header, body.frame--report__coverage .std-body, body.frame--report__coverage .chapter, body.frame--report__coverage .scrollable-table-container {
    background: white !important;
    border-color: #e5e7eb !important;
    box-shadow: none !important;
  }
  body.frame--report__coverage thead th {
    background: #f3f4f6 !important;
    color: #374151 !important;
    border-bottom: 2px solid #e5e7eb !important;
  }
  body.frame--report__coverage tbody td, body.frame--report__coverage tbody th {
    color: #111827 !important;
    border-bottom: 1px solid #e5e7eb !important;
    background: white !important;
  }
  body.frame--report__coverage .disclaimer-block {
    background: white !important;
    border-color: #e5e7eb !important;
  }
  body.frame--report__coverage .disclaimer-lang-head, body.frame--report__coverage .disclaimer-text {
    color: #111827 !important;
  }
  body.frame--report__coverage .chapter-header {
    background-color: #f3f4f6;
  }
  body.frame--report__coverage .measure-tag {
    border-radius: 999px;
    border: 1px solid grey;
    color: #000000;
    background: #ffffff;
  }
}

