/* 성향 카드(학생 결과). 글꼴은 물마루(base), 크기는 12px 격자. */
.profile h4 { font-family: var(--title); font-weight: 400; font-size: var(--fs-md); margin: 0 0 var(--s3); }
.profile p { margin: var(--s2) 0 0; line-height: 1.5; font-size: var(--fs-sm); }
.profile p.sim b { color: var(--sim-d); }
.profile p.opp b { color: var(--x); }
.prow { margin-bottom: var(--s3); }
.plabel { display: flex; justify-content: space-between; gap: var(--s2); font-size: var(--fs-sm); color: var(--muted); margin-bottom: var(--s1); }
.plabel b { color: var(--ink); font-weight: 400; }
.plabel small { font-size: var(--fs-xs); color: var(--muted); margin-left: 3px; }
/* 1문항뿐인 영역은 막대 없이 한 줄로 묶는다 */
.profile p.pfold { padding: var(--s2) var(--s3); background: var(--paper-2); color: var(--ink); }
/* 극 이름은 막대 위 양 끝에 한 줄로(좁은 TV 창에서도 꺾이지 않게). 기운 쪽 이름만 분필 노랑 바탕으로 강조한다. */
.ppoles { display: flex; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s1); font-size: var(--fs-sm); line-height: 1.2; }
.ppoles .pole { color: var(--muted); padding: 0 var(--s1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ppoles .pole.b { text-align: right; }
.ppoles .pole.on { color: var(--ink); background: var(--chalk-y); }
/* 칸 나뉜 픽셀 막대(운동회 '내 북 14/24'): 남색 틀 안 12칸, 가운데 선에서 기운 쪽으로 채운다 */
.pcells { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3px; height: 24px; padding: 3px; background: var(--ink); }
.pcells i { background: var(--paper-2); }
.pcells i:nth-child(7) { margin-left: 3px; }
.pcells i.a { background: var(--cheong); }
.pcells i.b { background: var(--wood); }

svg text.halo { paint-order: stroke; stroke: var(--paper-3); stroke-width: 6px; stroke-linejoin: miter; }
svg text { font-family: Mulmaru, sans-serif; }
