/* Active Directory health check — DC x test matrix and page-specific bits. Everything else comes from rva.css. */
.matrix-wrap { overflow: auto; max-width: 100%; border: 1px solid var(--line); border-radius: 8px; }
table.matrix { border-collapse: separate; border-spacing: 0; font-size: 13px; min-width: 100%; }
table.matrix th, table.matrix td { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); padding: 6px 8px; text-align: center; white-space: nowrap; }
table.matrix thead th { position: sticky; top: 0; background: var(--surface); z-index: 2; font-weight: 600; vertical-align: bottom; }
table.matrix th.dc, table.matrix td.dc { position: sticky; left: 0; background: var(--surface); text-align: left; z-index: 1; font-weight: 600; }
table.matrix thead th.dc { z-index: 3; }
table.matrix th.dc small, table.matrix td.dc small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
table.matrix th.t { writing-mode: vertical-rl; transform: rotate(180deg); padding: 10px 4px; height: 150px; }
table.matrix td.cell { font-weight: 700; font-size: 12px; letter-spacing: .02em; }
table.matrix td.cell-pass { color: var(--pass); }
table.matrix td.cell-fail { color: var(--crit); background: color-mix(in srgb, var(--crit) 12%, transparent); }
table.matrix td.cell-warn { color: var(--med); background: color-mix(in srgb, var(--med) 14%, transparent); }
table.matrix td.cell-skip { color: var(--muted); }
table.matrix tr.dead td.dc { color: var(--crit); }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.legend b { font-weight: 700; }
.legend .pass { color: var(--pass); } .legend .fail { color: var(--crit); } .legend .warn { color: var(--med); } .legend .skip { color: var(--muted); }
.inputs-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 8px; }
@media (min-width: 720px) { .inputs-grid { grid-template-columns: 1fr 1fr 1fr; } }
.inputs-grid .dropzone { padding: 18px 10px; }
.inputs-grid h3 { margin: 0 0 6px; }
.optional { color: var(--muted); font-weight: 400; font-size: 13px; }
@media print { .matrix-wrap { overflow: visible; border: 0; } table.matrix th.t { writing-mode: horizontal-tb; transform: none; height: auto; } }
