/* Student ID cards (js/idcards.js) */
.idc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.idc-card { width: 320px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--panel); box-shadow: 0 1px 4px rgba(0,0,0,.06); break-inside: avoid; }
.idc-head { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: linear-gradient(90deg, var(--brand, #2e6fc4), color-mix(in srgb, var(--brand, #2e6fc4) 70%, #1b3f77)); color: #fff; }
.idc-crest { width: 24px; height: 24px; object-fit: contain; background: #fff; border-radius: 4px; padding: 1px; }
.idc-sch { font-weight: 800; font-size: 12.5px; flex: 1; line-height: 1.1; }
.idc-tag { font-size: 9px; font-weight: 700; letter-spacing: .08em; opacity: .9; }
.idc-body { display: flex; gap: 10px; padding: 10px; }
.idc-photo { width: 74px; height: 90px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); flex-shrink: 0; }
.idc-noimg { display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 800; color: var(--accent); background: color-mix(in srgb, var(--accent) 15%, var(--panel)); }
.idc-info { flex: 1; min-width: 0; }
.idc-name { font-weight: 800; font-size: 14px; line-height: 1.15; }
.idc-cls { font-size: 11px; color: var(--muted); margin: 1px 0 5px; }
.idc-row { display: flex; gap: 6px; font-size: 11px; padding: 1px 0; }
.idc-l { color: var(--muted); min-width: 42px; }
.idc-v { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.idc-foot { padding: 4px 10px 9px; text-align: center; }
.idc-bcwrap { height: 34px; }
.idc-bc { width: 100%; height: 34px; }
.idc-bc rect { fill: #111; }
.idc-reg { font-size: 10px; letter-spacing: .12em; color: var(--muted); margin-top: 2px; font-family: ui-monospace, monospace; }
@media print { .idc-grid { grid-template-columns: repeat(2, 1fr); } .idc-card { box-shadow: none; } .idc-bc rect { fill: #000; } }
