body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  margin: 16px;
  background: #f7f7f9;
}

.csstable {
  border-collapse: collapse;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

.csstable th {
  position: sticky;
  top: 0;
  background: #111827;
  color: #fff;
  padding: 10px 8px;
  font-weight: 600;
  text-align: left;
  font-size: 13px;
}

.ocsp-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  font-size: 12px;
  border: 1px solid rgba(0,0,0,.15);
}

.ocsp-badge.ok    { background: #dff3df; }
.ocsp-badge.fail  { background: #f7d6d6; }
.ocsp-badge.warn  { background: #fff0c9; } /* if you ever use it */
.ocsp-badge:hover { filter: brightness(0.97); }

.csstable td {
  padding: 8px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 13px;
  vertical-align: top;
}

.csstable tr:nth-child(even) td {
  background: #fafafa;
}

.tablesmall { font-size: 12px; color: #374151; }

.tableok   { background: #dcfce7; color: #065f46; font-weight: 600; }
.tablewarn { background: #fef9c3; color: #854d0e; font-weight: 600; }
.tablecri  { background: #fee2e2; color: #991b1b; font-weight: 700; }

.tableline td { background: #f3f4f6 !important; height: 4px; padding: 0; border: 0; }
a { color: #2563eb; text-decoration: none; }
a:hover { text-decoration: underline; }

[data-copy] {
  cursor: pointer;
}

[data-copy]:hover {
  text-decoration: underline;
}

[data-copy] { cursor: pointer; }
[data-copy]:hover { text-decoration: underline; }

[data-copy][data-copied="1"]::after {
  content: " Copied!";
  font-weight: 600;
  margin-left: 6px;
}

.csstable td.tableok,
.csstable td.tablecri,
.csstable td.tablewarn {
  background-clip: padding-box;
}

.csstable tr:nth-child(even) td.tableok {
  background: #dcfce7;
}

.csstable tr:nth-child(even) td.tablecri {
  background: #fee2e2;
}

.csstable tr:nth-child(even) td.tablewarn {
  background: #fef9c3;
}

