.matrix-pad { padding: 20px; }
.matrix-cols { display: grid; gap: 12px; align-items: start; grid-auto-columns: minmax(0,1fr); }
.matrix-cols > div { min-width: 0; }
.col-head { border-radius: 10px; padding: 14px; margin-bottom: 10px; cursor: pointer; transition: all .15s; }
.col-head:hover { box-shadow: 0 3px 12px var(--shadow); }
.ch-label { font-size: 11px; font-weight: 700; opacity: .75; letter-spacing: .5px; margin-bottom: 5px; font-family: 'Consolas', monospace; }
.ch-title { font-size: 15px; font-weight: 700; line-height: 1.35; overflow-wrap: break-word; }
.ch-count { font-size: 12px; opacity: .65; margin-top: 6px; }
.sec-head {
  background: var(--hover-surface); border: 1px solid var(--border); border-radius: 6px; padding: 7px 10px;
  margin-bottom: 4px; font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .2px; cursor: pointer; transition: all .15s;
}
.sec-head:hover { border-color: var(--accent); color: var(--accent); }
.tech-card {
  border-radius: 7px; border: 1px solid var(--border); background: var(--card); padding: 9px 11px; margin-bottom: 4px;
  cursor: pointer; transition: all .15s; border-left-width: 3px; position: relative;
}
.tech-card:hover { background: var(--hover-surface); transform: translateY(-1px); box-shadow: 0 3px 10px var(--shadow); }
.tech-card.selected { background: var(--accent-soft); box-shadow: 0 0 0 2px var(--accent) inset; }
.tc-code { font-size: 10.5px; color: var(--muted); margin-bottom: 3px; font-weight: 700; font-family: 'Consolas', monospace; }
.tc-name { font-size: 13px; color: var(--text); line-height: 1.4; font-weight: 500; overflow-wrap: break-word; }
.tc-badge { position: absolute; top: 8px; right: 8px; font-size: 10px; padding: 1px 6px; border-radius: 10px; font-weight: 600; }
.tc-has-l4 { background: rgba(124,58,237,.12); color: #7c3aed; }
@media (max-width: 1300px) { .matrix-cols { grid-template-columns: repeat(3, minmax(0,1fr)) !important; }
}
@media (max-width: 900px) { .matrix-cols { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
}
.si-tag {
  display: inline-flex; align-items: baseline; gap: 6px; max-width: 100%;
  background: var(--hover-surface); color: var(--muted); text-decoration: none;
}
a.si-tag:hover { color: var(--accent); }
a.si-tag:hover .si-id { color: var(--accent); }
.si-list { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; gap: 6px; }
.si-list .si-tag { width: auto; }
.si-id { flex: 0 0 auto; font-weight: 700; font-variant-numeric: tabular-nums; }
.si-name {
  min-width: 0; overflow-wrap: anywhere; font-weight: 500;
  font-family: 'Pretendard', 'Segoe UI', -apple-system, sans-serif;
}
