/* dae 허브 홈(index.html) 전용. dash.css 위에 얹는다. */
@media (min-width: 1101px) { .dae .pn-grid { grid-template-rows: 316px 252px; } }
/* 직무 × 역량 히트맵 */
.hm { display: flex; flex-direction: column; justify-content: space-between; flex: 1; min-height: 0; }
.hm-r { display: grid; grid-template-columns: 148px repeat(5, minmax(0, 1fr)); gap: 3px; align-items: center; height: 15px; line-height: 15px; }
.hm-k { font-size: 12px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-c { display: block; height: 15px; line-height: 15px; text-align: center; font-size: 10.5px; font-weight: 700; border: 0; border-radius: 3px;
  font-variant-numeric: tabular-nums; color: var(--ink); background: linear-gradient(rgba(234,75,113,var(--a)), rgba(234,75,113,var(--a))), #f6f4f0;
  opacity: 0; transition: opacity .5s, box-shadow .15s; }
.hm-c.hi { color: #fff; }
.hm-c.lo { color: #b9b6ae; font-weight: 600; }
.dash.is-on .hm-c { opacity: 1; }
.hm-c:hover { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--pk); color: inherit; }
.hm-c.hi:hover { color: #fff; }
.hm-h a { font-size: 12px; font-weight: 800; text-align: center; border: 0; color: var(--ink); white-space: nowrap; }
.hm-h a small { font-size: 10.5px; font-weight: 600; color: var(--mut); margin-left: 3px; }
.hm-h a:hover { color: var(--accent-strong); }
/* 트랙 고르기 */
.tk-list { display: flex; flex-direction: column; justify-content: space-between; flex: 1; min-height: 0; }
.tk { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; column-gap: 9px; align-items: center; padding: 3px 10px 4px; border-radius: 9px; background: #f7f6f2; border: 0; color: var(--ink); transition: background .15s; }
.tk:hover { background: var(--accent-bg); color: var(--ink); }
.tk i { width: 10px; height: 10px; border-radius: 3px; grid-row: 1 / span 2; }
.tk b { font-size: 13px; letter-spacing: -.01em; line-height: 1.35; }
.tk em { font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--mut); font-variant-numeric: tabular-nums; }
.tk span { grid-column: 2 / span 2; font-size: 11px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.3; }
/* 장 지도(넓은 판) */
.wf-grid.wf-wide { grid-template-columns: repeat(13, minmax(0, 1fr)); }
.wf-wide .wf { aspect-ratio: 1.75; font-size: 7px; letter-spacing: -.04em; white-space: nowrap; border-radius: 4px; min-width: 0; line-height: 1; overflow: hidden; }
.dae .wf-lg { gap: 2px 9px; font-size: 10.5px; }
/* 정답 목록 */
.tr-list { display: flex; flex-direction: column; }
.trw { display: grid; grid-template-columns: minmax(0, 1fr) auto 40px; gap: 8px; align-items: center; padding: 3px 0; line-height: 1.5; border: 0; border-bottom: 1px dashed var(--line); color: var(--ink); font-size: 12px; }
.trw span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trw b { color: var(--accent-strong); white-space: nowrap; font-variant-numeric: tabular-nums; }
.trw em { font-style: normal; font-size: 10.5px; font-weight: 700; text-align: center; border-radius: 4px; background: #f3f3ef; color: var(--text-soft); line-height: 17px; }
.trw:hover em { background: var(--accent-bg); color: var(--accent-strong); }
.trw:hover { color: var(--ink); }
/* 도구 */
.tl-list { display: flex; flex-direction: column; gap: 5px; }
.tl { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 6px; align-items: start; }
.tl b { font-size: 11px; color: var(--mut); line-height: 17px; white-space: nowrap; }
.tl span { display: flex; flex-wrap: wrap; gap: 3px 4px; }
.tl a { font-size: 10.5px; font-weight: 600; padding: 0 6px; line-height: 17px; border-radius: 999px; background: #f3f3ef; color: var(--text-soft); border: 0; white-space: nowrap; }
.tl a:hover { background: var(--accent-bg); color: var(--accent-strong); }
@media (max-width: 780px) {
  .hm-r { grid-template-columns: 104px repeat(5, minmax(0, 1fr)); gap: 2px; }
  .hm-k { font-size: 11px; }
  .hm-h a { font-size: 10.5px; } .hm-h a small { display: none; }
  .hm { gap: 3px; }
  .wf-grid.wf-wide { grid-template-columns: repeat(10, 1fr); }
}
