.fixed-caption {
  margin: 14px 0 0; padding-top: 10px; border-top: 1px solid var(--border);
  font-size: 11.5px; line-height: 1.5; color: var(--text-muted); max-width: 92ch;
}
.notes-block {
  margin: 40px 0 0; padding: 14px 16px; border-left: 2px solid var(--border-strong);
  font-size: 11.5px; line-height: 1.65; color: var(--text-muted); max-width: 96ch;
  background: var(--surface-1); border-radius: 0 8px 8px 0;
}
.notes-block b { color: var(--text-secondary); font-weight: 600; }

/* matrix */
#matrix table { border-collapse: separate; border-spacing: 2px; font-size: 11.5px; }
#matrix th { font-weight: 500; color: var(--text-secondary); font-size: 11px; padding: 3px 6px; }
#matrix th.col { writing-mode: vertical-rl; transform: rotate(180deg); height: 96px; vertical-align: bottom; }
#matrix th.row { text-align: right; white-space: nowrap; }
#matrix td {
  width: 52px; height: 44px; text-align: center; border-radius: 5px;
  font-variant-numeric: tabular-nums; cursor: pointer; position: relative;
  background: var(--surface-2); color: var(--text-primary);
}
#matrix td.zero { background: var(--surface-0); color: var(--text-muted); }
#matrix td.hole::after {
  content: ''; position: absolute; top: 3px; left: 3px;
  border-left: 6px solid var(--text-muted); border-bottom: 6px solid transparent; opacity: .5;
}
#matrix td.diag { background: var(--surface-0); }
#matrix td.diag .pair { display: flex; gap: 4px; justify-content: center; align-items: center; }
#matrix td.diag .pair span { padding: 1px 5px; border-radius: 3px; font-weight: 600; }
#matrix td:hover { outline: 2px solid var(--text-primary); }
.mx-detail {
  margin-top: 14px; padding: 14px 16px; background: var(--surface-1);
  border: 1px solid var(--border); border-radius: var(--radius);
}
.mx-detail h4 { margin: 0 0 8px; font-size: 13px; }
.mx-detail ul { margin: 0; padding-left: 18px; font-size: 13px; color: var(--text-secondary); }
.mx-detail li { margin-bottom: 4px; }

/* overlap windows */
.wrow {
  display: grid; grid-template-columns: 250px 1fr 62px; gap: 12px; align-items: center;
  padding: 7px 8px; border-radius: 7px; cursor: pointer;
}
.wrow:hover { background: var(--surface-2); }
.wrow .who { font-size: 12.5px; line-height: 1.35; }
.wrow .who b { font-weight: 600; }
.wrow .who small { color: var(--text-muted); }
.wrow svg { width: 100%; height: 34px; }
.wrow .ov { text-align: right; font-size: 12px; font-variant-numeric: tabular-nums; color: var(--text-secondary); }
.wrow .ov b { display: block; font-size: 15px; color: var(--text-primary); }
.wdetail { grid-column: 1/-1; font-size: 12px; color: var(--text-secondary); padding: 6px 0 10px; }
.wdetail .terms { display: flex; flex-wrap: wrap; gap: 5px; margin: 6px 0; }
.wdetail .terms span { padding: 2px 8px; border-radius: 999px; background: var(--surface-2);
                       border: 1px solid var(--border); font-size: 11px; }
.unverifiable { margin-top: 14px; }
.unverifiable summary { cursor: pointer; font-size: 12.5px; color: var(--text-muted); padding: 8px 0; }
