/* =====================================================================
   프리미엄사업부 실적보드 — /performance/ (HOME-PLUS-20261102, 3번 항목)
   · 1부: 188 영업지원시스템 assets/perf-board.css(v=20261001-v4) 의 컴포넌트 규칙을 가져와 밝은 유리(glass.css v8) 톤으로 색만 바꿈.
     숫자·차트 마크업은 performance/index.html 에 정적으로 있고(188과 동일), 연출은 assets/perf-board.js(188 원본 그대로).
   · 2부(파일 뒤쪽): 188 performance/index.html 의 페이지 전용 <style>(히어로·카드·순위 배치·마무리·바닥글·애니메이션)을 같은 방식으로 옮김.
   · 색 대비(v=3): 어두운 바탕 위 금색 글자 #d6b97e(10:1)·보조 회청 #aab4c4/#8a96a9(5:1 이상). 생보 = 하늘 #7ea4d4 · 손보 = 금 #d6b97e.
   · 외부 글꼴(Marcellus)·CDN 없음 — 글꼴은 사이트 공통 Pretendard.
   · v=2(MAIN-V3-20261102 ④): 월별 막대 툴팁(.pb-tip) 글자색을 어두운 바탕에 맞게 밝은 색으로(이전엔 바탕과 같은 어두운 색). 메인·/performance/ 공통.
   · v=3(DESIGN-DARK-20261102): 페이지 전체 어두운 고급톤 — 색은 glass.css 토큰(바탕·글자·금색 하나·하늘 하나). 그래프는 금(곡선·점·최고월 막대)과 은은한 하늘(막대) 두 색.
     빛 번짐·빛 반사·금빛 반짝임·먼지·광선·격자 장식 없앰(효과 예산: 배경 처리 1가지·그림자 2단). 큰 숫자는 크고 가늘게(300 이하). 실적보드 패널만 유리(강조 패널).
   · v=6(PERF-OCT-20261102): 10월 사업부 합계 추가 — '기준' 한 줄(.pb-basis), 휴대폰 400px 이하 막대 라벨 '월' 숨김. 맨 끝 4부.
   · v=7(S5-20261102): 월별 막대 10개가 전부 팜스 사업부 본부 합계 → 모든 달 같은 색(10월 전용 회청·범례·툴팁 설명 줄 제거). 4부만 바뀜.
   ===================================================================== */

.pb {
  --pb-ink: var(--text);
  --pb-ink-2: var(--text-2);
  --pb-muted: var(--text-3);
  --pb-gold: var(--gold);
  --pb-gold-hi: var(--gold);      /* 금색 글자: 어두운 바탕 10:1 */
  --pb-gold-lo: var(--gold);
  --pb-cream: var(--gold);        /* 곡선·점 색: 금 */
  --pb-nonlife: var(--gold);      /* 손보 = 금, 생보 = 하늘(그래프 두 색) */
  --pb-life: var(--sky);
  --pb-rest: rgba(126, 164, 212, .32);
  --pb-grid: rgba(255, 255, 255, .06);
  --pb-axis: rgba(255, 255, 255, .22);
  --pb-line: rgba(255, 255, 255, .08);
  --pb-ring: var(--bg-1);
  --pb-ease: cubic-bezier(.16, 1, .3, 1);
  --pb-combo-h: 360px;
  --pb-row: 34px;
  color: var(--pb-ink);
}

/* ---------- 공통 ---------- */
.pb-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.pb-eyebrow {
  margin: 0;
  color: var(--pb-gold-hi);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
}
/* 금빛 숫자: 단색 금(반짝이는 하이라이트 없음) */
.pb-goldtext { color: var(--gold); }
.pb-dot {
  display: inline-block;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.pb-dot--life { background: var(--pb-life); }
.pb-dot--nonlife { background: var(--pb-nonlife); }

/* 등장(스크롤 진입) — JS가 .is-in 을 붙인다. 스크립트가 못 뜨면 3초 뒤 그대로 보이게 한다. */
.pb-anim [data-pb-reveal] {
  transition: opacity .9s var(--pb-ease), transform .9s var(--pb-ease);
}
.pb-anim [data-pb-reveal]:not(.is-in) {
  opacity: 0;
  transform: translateY(28px);
}
.pb-anim:not(.pb-ready) [data-pb-reveal]:not(.is-in) {
  animation: pb-failsafe 0s linear 3s forwards;
}
@keyframes pb-failsafe { to { opacity: 1; transform: none; } }

/* ---------- KPI 카드 ---------- */
.pb-kpis {
  display: grid;
  grid-template-columns: repeat(var(--pb-kpi-cols, 5), minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pb-kpi {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: var(--pad-tile);         /* 작은 타일 */
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-tile);
  background: rgba(255, 255, 255, .03);
}
.pb-kpi__label {
  color: var(--pb-muted);
  font-size: 12px;
  font-weight: 500;
}
.pb-kpi__value {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 0;
  color: var(--pb-ink);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.pb-kpi__value b { font-weight: inherit; }
.pb-kpi__value small {
  color: var(--pb-ink-2);
  font-family: inherit;
  font-size: .42em;
  font-weight: 400;
  letter-spacing: 0;
}
.pb-kpi__sub {
  color: var(--pb-ink-2);
  font-size: 12px;
  line-height: 1.45;
}
.pb-kpi.is-feature {
  border-color: rgba(214, 185, 126, .4);
  background: var(--gold-soft);
}

/* ---------- 월별 막대 + 곡선 콤보 차트 ---------- */
.pb-combo {
  position: relative;
  margin: 0;
}
.pb-combo__plot {
  --pb-pt: 48px;
  --pb-pb: 34px;
  --pb-pl: 44px;
  --pb-pr: 4px;
  position: relative;
  height: var(--pb-combo-h);
}
.pb-combo__axis,
.pb-combo__area {
  position: absolute;
  top: var(--pb-pt);
  bottom: var(--pb-pb);
}
.pb-combo__axis {
  left: 0;
  width: var(--pb-pl);
}
.pb-combo__axis span {
  position: absolute;
  right: 10px;
  bottom: var(--y);
  transform: translateY(50%);
  color: var(--pb-muted);
  font-size: 11px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.pb-combo__area {
  left: var(--pb-pl);
  right: var(--pb-pr);
}
.pb-combo__grid {
  position: absolute;
  inset: 0;
}
.pb-combo__grid i {
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--y);
  height: 1px;
  background: var(--pb-grid);
}
.pb-combo__grid i:first-child { background: var(--pb-axis); }
.pb-combo__curve {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  clip-path: inset(-24px -24px -24px -24px);
  transition: clip-path 1.5s cubic-bezier(.65, 0, .35, 1) .95s;
}
.pb-curve-glow,
.pb-curve {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.pb-curve-glow { display: none; } /* 곡선 빛 번짐 없음 */
.pb-curve {
  stroke: var(--pb-cream);
  stroke-width: 2;
}
.pb-curve-area { opacity: .35; } /* 곡선 아래 금색 면: 아주 옅게 */
.pb-combo__cols {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(var(--n, 9), minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.pb-col { position: relative; }
.pb-col__bar {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 0;
  width: clamp(8px, 34%, 24px);
  height: var(--h);
  transform: translateX(-50%);
  border-radius: 3px 3px 0 0;
  background: rgba(126, 164, 212, .5);
  transition: height 1.05s var(--pb-ease) calc(var(--i, 0) * 70ms), opacity .25s, filter .25s;
}
.pb-col.is-peak .pb-col__bar { background: var(--gold); }
.pb-col__dot {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: var(--h);
  width: 10px;
  height: 10px;
  margin: 0 0 -5px -5px;
  border-radius: 50%;
  background: var(--pb-cream);
  outline: 2px solid var(--pb-ring);  /* 점 둘레 고리(그림자 대신 선: 그림자는 패널 2단계만) */
  transition: bottom 1.05s var(--pb-ease) calc(var(--i, 0) * 70ms), opacity .4s calc(var(--i, 0) * 70ms + .25s), transform .25s;
}
.pb-col.is-peak .pb-col__dot {
  width: 14px;
  height: 14px;
  margin: 0 0 -7px -7px;
}
.pb-col__label {
  position: absolute;
  top: 100%;
  left: 50%;
  margin-top: 11px;
  transform: translateX(-50%);
  color: var(--pb-muted);
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
  transition: color .2s;
}
.pb-col__hit {
  position: absolute;
  z-index: 4;
  top: 0;
  right: 0;
  bottom: calc(var(--pb-pb) * -1);
  left: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.pb-col__hit:focus { outline: none; }
.pb-col__hit:focus-visible { outline: 2px solid var(--pb-gold-hi); outline-offset: -2px; }
.pb-combo.is-hover .pb-col:not(.is-active) .pb-col__bar { opacity: .38; }
.pb-col.is-active .pb-col__bar { filter: brightness(1.18); }
.pb-col.is-active .pb-col__dot { transform: scale(1.35); }
.pb-col.is-active .pb-col__label { color: var(--pb-ink); }
.pb-combo__peak {
  position: absolute;
  z-index: 3;
  left: var(--x);
  bottom: var(--h);
  margin: 0;
  padding: 6px 10px;
  transform: translate(-50%, -16px);
  border: 1px solid rgba(214, 185, 126, .45);
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--pb-ink-2);
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity .5s 2.3s, transform .6s var(--pb-ease) 2.3s;
}
.pb-combo__peak b { color: var(--pb-ink); font-weight: 600; }
.pb-combo.is-done .pb-combo__peak { transition-delay: .15s; }
.pb-combo.is-hover .pb-combo__peak { opacity: 0; transition-delay: 0s; }

.pb-anim .pb-combo:not(.is-play) .pb-col__bar { height: 0; }
.pb-anim .pb-combo:not(.is-play) .pb-col__dot { bottom: 0; opacity: 0; }
.pb-anim .pb-combo:not(.is-play) .pb-combo__curve { clip-path: inset(-24px 100% -24px -24px); }
.pb-anim .pb-combo:not(.is-play) .pb-combo__peak { opacity: 0; transform: translate(-50%, -4px); }

/* 툴팁 — 값이 주인공, 라벨은 보조. 같은 값은 버튼 aria-label 과 표로도 볼 수 있다. */
.pb-tip {
  position: absolute;
  z-index: 6;
  left: 0;
  bottom: 0;
  width: max-content;
  min-width: 176px;
  max-width: 230px;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: var(--bg-2);
  box-shadow: var(--shadow-2);
  color: var(--text);             /* v=2: 어두운 툴팁 바탕 위 밝은 글자 */
  font-size: 12px;
  line-height: 1.35;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 6px);
  transition: opacity .16s, transform .16s, visibility 0s .16s;
}
.pb-tip.is-on {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition: opacity .16s, transform .16s;
}
.pb-tip__head { margin: 0; color: var(--text-2); font-size: 11px; }
.pb-tip__value { margin: 3px 0 0; font-size: 22px; font-weight: 400; letter-spacing: -.02em; }
.pb-tip__sub { margin: 2px 0 9px; color: var(--text-2); font-size: 11px; font-variant-numeric: tabular-nums; }
.pb-tip dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px 14px;
  margin: 0;
  padding-top: 9px;
  border-top: 1px solid var(--line-2);
}
.pb-tip dt { display: flex; align-items: center; gap: 6px; color: var(--text-2); }
.pb-tip dd { margin: 0; font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.pb-key { display: inline-block; width: 12px; height: 2px; border-radius: 2px; }
.pb-key--life { background: var(--pb-life); }
.pb-key--nonlife { background: var(--pb-nonlife); }

/* ---------- 누적 달성 트랙 ---------- */
.pb-track { width: min(760px, 100%); margin: 0 auto; }
.pb-track__title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
  color: var(--pb-muted);
  font-size: 12px;
}
.pb-track__rail {
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
}
.pb-track__fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  border-radius: inherit;
  background: var(--gold);
}
.pb-track__fill::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -6px;
  width: 13px;
  height: 13px;
  margin-top: -6.5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px var(--bg-0);
}
.pb-track__marks {
  position: relative;
  height: 46px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pb-track__mark {
  position: absolute;
  top: 0;
  left: var(--x);
  padding-top: 15px;
  transform: translateX(-50%);
  text-align: center;
  white-space: nowrap;
  transition: opacity .45s, transform .45s var(--pb-ease);
}
.pb-track__mark::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  width: 2px;
  height: 22px;
  margin-left: -1px;
  border-radius: 2px;
  background: var(--line-2);
}
.pb-track__mark b { display: block; color: var(--pb-ink); font-size: 13px; font-weight: 600; }
.pb-track__mark span { display: block; margin-top: 3px; color: var(--pb-muted); font-size: 11px; }
.pb-anim [data-pb-play]:not(.is-play) .pb-track__fill { width: 0; }
.pb-anim .pb-track__mark:not(.is-on) { opacity: .25; transform: translate(-50%, 4px); }

/* ---------- 생보/손보 도넛 ---------- */
.pb-donut {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 22px;
}
.pb-donut__ring {
  position: relative;
  width: min(220px, 100%);
  aspect-ratio: 1;
}
.pb-donut__svg {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.pb-donut__track { fill: none; stroke: rgba(255, 255, 255, .06); stroke-width: 22; }
.pb-seg {
  fill: none;
  stroke-width: 22;
  transition: stroke-dashoffset 1.1s var(--pb-ease) var(--d, 0s), opacity .2s, stroke-width .2s;
}
.pb-seg--nonlife { stroke: var(--pb-nonlife); }
.pb-seg--life { stroke: var(--pb-life); }
.pb-donut.is-hover .pb-seg:not(.is-active) { opacity: .35; }
.pb-donut .pb-seg.is-active { stroke-width: 26; }
.pb-anim .pb-donut:not(.is-play) .pb-seg { stroke-dashoffset: var(--len); }
.pb-donut__center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  text-align: center;
  pointer-events: none;
}
.pb-donut__center b {
  font-size: clamp(32px, 3vw, 40px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.02em;
}
.pb-donut__center small { margin-left: 1px; font-size: .5em; }
.pb-donut__center > span { margin-top: 7px; color: var(--pb-muted); font-size: 12px; }
.pb-donut__legend {
  display: grid;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pb-donut__legend li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--pb-line);
  border-radius: var(--r-tile);
  background: transparent;
  font-size: 13px;
  transition: border-color .2s, background .2s;
}
.pb-donut__legend li.is-active { border-color: rgba(214, 185, 126, .45); background: var(--gold-soft); }
.pb-donut__legend span { color: var(--pb-ink-2); }
.pb-donut__legend b { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pb-donut__legend em { min-width: 48px; color: var(--pb-muted); font-style: normal; text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- 본부 순위 레이스 ---------- */
.pb-race__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.pb-race__month {
  min-width: 70px;
  margin: 0;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.pb-race__progress {
  flex: 1;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
}
.pb-race__progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--gold);
  transition: width .5s linear;
}
.pb-replay {
  display: none;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(214, 185, 126, .45);
  border-radius: 999px;
  background: transparent;
  color: var(--pb-gold-hi);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.pb-replay:hover { background: var(--gold-soft); }
.pb-replay:focus-visible { outline: 2px solid var(--pb-gold-hi); outline-offset: 2px; }
.pb-anim .pb-replay { display: inline-flex; }
.pb-race__list {
  position: relative;
  height: calc(var(--pb-n, 19) * var(--pb-row));
  margin: 0;
  padding: 0;
  list-style: none;
}
.pb-race__row {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--pb-row);
  display: grid;
  grid-template-columns: 26px minmax(58px, 84px) minmax(0, 1fr) 60px;
  align-items: center;
  column-gap: 10px;
  transform: translateY(calc(var(--r, 0) * var(--pb-row)));
  transition: transform .62s var(--pb-ease);
}
.pb-race__rank {
  color: var(--pb-muted);
  font-size: 12px;
  font-weight: 500;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.pb-race__name {
  overflow: hidden;
  color: var(--pb-ink-2);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.pb-race__track { position: relative; height: 12px; }
.pb-race__bar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--w, 0%);
  border-radius: 0 4px 4px 0;
  background: var(--pb-rest);
  transition: width .62s cubic-bezier(.3, .7, .4, 1);
}
.pb-race__val {
  color: var(--pb-ink-2);
  font-size: 12px;
  font-weight: 500;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.pb-race__row.is-hl { z-index: 2; }
.pb-race__row.is-hl::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 2px -10px;
  border: 1px solid rgba(214, 185, 126, .35);
  border-radius: 10px;
  background: var(--gold-soft);
}
.pb-race__row.is-hl .pb-race__rank,
.pb-race__row.is-hl .pb-race__name { color: var(--pb-gold-hi); font-weight: 600; }
.pb-race__row.is-hl .pb-race__val { color: var(--pb-ink); font-weight: 600; }
.pb-race__row.is-hl .pb-race__bar { background: var(--gold); }
.pb-race.is-reset .pb-race__row,
.pb-race.is-reset .pb-race__bar { transition: none; }

/* 188본부 하이라이트 카드 */
.pb-hl {
  position: relative;
  overflow: hidden;
  padding: var(--pad-card);         /* 일반 카드 */
  border: 1px solid rgba(214, 185, 126, .35);
  border-radius: var(--r-card);
  background: var(--bg-1);
}
.pb-hl__name { margin: 10px 0 0; font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.pb-hl__rank {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin: 14px 0 20px;
}
.pb-hl__rank-num {
  font-size: 68px;
  font-weight: 300;
  line-height: .9;
  letter-spacing: -.04em;
}
.pb-hl__rank-num small { margin-left: 2px; font-size: .38em; letter-spacing: 0; }
.pb-hl__rank-of { padding-bottom: 4px; color: var(--pb-ink-2); font-size: 13px; }
.pb-hl__stats { position: relative; z-index: 1; display: grid; gap: 0; margin: 0; }
.pb-hl__stats div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}
.pb-hl__stats dt { color: var(--pb-muted); font-size: 12px; }
.pb-hl__stats dd { margin: 0; font-size: 14px; font-weight: 500; text-align: right; }
.pb-hl__stats dd b { font-size: 18px; font-weight: 600; }

/* ---------- 보험사 Top 10 이름 칩 ---------- */
.pb-chips {
  display: grid;
  grid-template-columns: repeat(var(--pb-chip-cols, 5), minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pb-chip {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas: "rank body" "val val" "bar bar";
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: var(--pad-tile);         /* 작은 타일 */
  border: 1px solid var(--line);
  border-radius: var(--r-tile);
  background: rgba(255, 255, 255, .03);
  transition: transform .7s var(--pb-ease) calc(var(--i, 0) * 60ms), opacity .7s calc(var(--i, 0) * 60ms), border-color .25s;
}
.pb-chip:hover { border-color: var(--line-2); }
.pb-chip.is-top { border-color: rgba(214, 185, 126, .4); }
.pb-chip__rank {
  grid-area: rank;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--pb-gold-hi);
  font-size: 11px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.pb-chip.is-top .pb-chip__rank {
  border: 0;
  color: var(--on-gold);
  background: var(--gold);
}
.pb-chip__body { grid-area: body; min-width: 0; }
.pb-chip__name {
  display: block;
  overflow: hidden;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.pb-chip__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  color: var(--pb-muted);
  font-size: 11px;
  white-space: nowrap;
}
.pb-chip__val {
  grid-area: val;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.02em;
}
.pb-chip__val small { margin-left: 2px; color: var(--pb-ink-2); font-size: .5em; font-weight: 400; }
.pb-chip__bar {
  grid-area: bar;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
}
.pb-chip__bar i {
  display: block;
  width: var(--s);
  height: 100%;
  border-radius: inherit;
  background: var(--sky);
  transition: width 1s var(--pb-ease) calc(var(--i, 0) * 60ms + .2s);
}
.pb-chip.is-top .pb-chip__bar i { background: var(--gold); }
.pb-anim .pb-chips:not(.is-play) .pb-chip { opacity: 0; transform: translateY(14px); }
.pb-anim .pb-chips:not(.is-play) .pb-chip__bar i { width: 0; }

/* ---------- 표로 보기 ---------- */
.pb-details {
  margin-top: 20px;
  border-top: 1px solid var(--pb-line);
}
.pb-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 2px 4px;
  color: var(--pb-ink-2);
  font-size: 13px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.pb-details summary::-webkit-details-marker { display: none; }
.pb-details summary::after {
  content: "+";
  color: var(--pb-gold-hi);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  transition: transform .25s;
}
.pb-details[open] summary::after { transform: rotate(45deg); }
.pb-details summary:focus-visible { outline: 2px solid var(--pb-gold-hi); outline-offset: 4px; border-radius: 6px; }
.pb-table-wrap {
  margin-top: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.pb-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.pb-table caption {
  padding: 0 2px 10px;
  color: var(--pb-muted);
  font-size: 12px;
  text-align: left;
}
.pb-table th,
.pb-table td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
  text-align: right;
  white-space: nowrap;
}
.pb-table thead th { color: var(--pb-muted); font-size: 11px; font-weight: 500; }
.pb-table th:first-child { text-align: left; }
.pb-table tbody th { color: var(--pb-ink-2); font-weight: 600; }
.pb-table td:nth-child(2):not(:last-child) { text-align: left; }
.pb-table tr.is-hl th,
.pb-table tr.is-hl td { background: var(--gold-soft); color: var(--pb-gold-hi); font-weight: 600; }
.pb-table tfoot th,
.pb-table tfoot td { border-top: 1px solid var(--pb-axis); border-bottom: 0; color: var(--pb-ink); font-weight: 600; }

/* ---------- 홈(/#performance) 배치 ---------- */
.pb-home {
  --pb-num: "Pretendard Variable", Pretendard, sans-serif;
  --pb-combo-h: 380px;
  --pb-kpi-cols: 4;
}
.pb-home__board {
  position: relative;
  padding: var(--pad-panel);        /* 강조 패널(.g-panel 과 같은 값) */
  border: 1px solid var(--glass-line);
  border-radius: var(--r-panel);
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow: var(--shadow-2);
}
.pb-home__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.pb-home__label {
  margin: 14px 0 6px;
  color: var(--pb-ink);
  font-size: 16px;
  font-weight: 500;
}
.pb-home__caption small { color: var(--pb-muted); font-size: 12px; }
/* main.css 의 `.section-title span` 규칙을 피하려고 섹션 제목 안 바인딩은 <b> 로 쓴다 */
.performance .section-title b[data-pb-stat] { font-weight: inherit; }
.pb-home__total {
  display: flex;
  align-items: baseline;
  margin: 0;
  font: 300 clamp(64px, 8vw, 112px)/.9 var(--pb-num);
  letter-spacing: -.04em;
  white-space: nowrap;
}
.pb-home__total b { font-weight: 300; }
.pb-home__total span {
  margin-left: 6px;
  color: var(--pb-gold-hi);
  font: 400 .3em/1 "Pretendard Variable", sans-serif;
}
.pb-home .pb-combo { margin-top: 10px; }
.pb-home .pb-kpis {
  gap: 0;
  margin-top: 6px;
  border-top: 1px solid var(--line);
}
.pb-home .pb-kpi {
  padding: 24px 22px 8px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.pb-home .pb-kpi + .pb-kpi { border-left: 1px solid var(--line); }
.pb-home .pb-kpi::before,
.pb-home .pb-kpi::after { display: none; }
.pb-home .pb-kpi__value {
  color: var(--pb-ink);
  font-family: var(--pb-num);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 300;
  letter-spacing: -.02em;
}
.pb-home .pb-kpi__value small { font-family: "Pretendard Variable", sans-serif; }
.pb-home > .btn { margin-top: 30px; }

/* ---------- 반응형 ---------- */
@media (max-width: 1080px) {
  .pb { --pb-chip-cols: 3; }
}
@media (max-width: 800px) {
  .pb-home { --pb-combo-h: 300px; --pb-kpi-cols: 2; }
  .pb-home__head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .pb-home__total { font-size: clamp(64px, 19vw, 96px); }
  .pb-home .pb-kpi { padding: 18px 12px 10px; }
  .pb-home .pb-kpi + .pb-kpi { border-left: 0; }
  .pb-home .pb-kpi:nth-child(even) { border-left: 1px solid var(--line); }
  .pb-home .pb-kpi:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .pb { --pb-chip-cols: 2; --pb-row: 30px; --pb-combo-h: 290px; }
  .pb-combo__plot { --pb-pl: 34px; --pb-pt: 44px; }
  .pb-combo__axis span { right: 7px; font-size: 10px; }
  .pb-col__label { font-size: 11px; }
  .pb-race__row { grid-template-columns: 22px minmax(54px, 64px) minmax(0, 1fr) 52px; column-gap: 8px; }
  .pb-race__name { font-size: 12px; }
  .pb-race__val { font-size: 11px; }
  .pb-race__row.is-hl::before { inset: 1px -6px; }
  .pb-hl__rank-num { font-size: 56px; }
  .pb-chip { gap: 10px; }
  .pb-chip__rank { width: 26px; height: 26px; font-size: 10px; }
  .pb-chip__name { font-size: 14px; }
  .pb-chip__val { font-size: 21px; }
  .pb-table { font-size: 12px; }
  .pb-table th,
  .pb-table td { padding: 8px 7px; }
}

/* ---------- 접근성 ---------- */
@media (prefers-reduced-motion: reduce) {
  .pb *,
  .pb *::before,
  .pb *::after {
    animation: none !important;
    transition: none !important;
  }
}
@media (forced-colors: active) {
  .pb-col__bar,
  .pb-col__dot,
  .pb-race__bar,
  .pb-chip__bar i,
  .pb-track__fill,
  .pb-dot,
  .pb-key { forced-color-adjust: none; }
}
@media print {
  .pb-anim [data-pb-reveal]:not(.is-in) { opacity: 1; transform: none; }
}


/* ===================== 2부: 페이지 전용(188 performance/index.html <style> 이식, v=3 어두운 고급톤) ===================== */
.g-perf { --pb-gold-line: rgba(214, 185, 126, .4); }
.g-perf main.pb { padding-top: 6px; }
.pb-wrap { width: min(1080px, calc(100% - 32px)); margin-inline: auto; }
.pb-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(34px, 6vw, 64px) 0 clamp(26px, 4vw, 40px); text-align: center; }
.pb-hero__fx { display: none; } /* 격자·광선·금빛 광채·먼지 장식 끔(효과 예산: 배경 처리는 glass.css .g-bg 하나) */
.pb-hero__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.pb-kicker { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px; margin: 0; color: var(--pb-gold-hi); font: 500 12px/1.4 var(--font); letter-spacing: .22em; }
.pb-kicker__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.pb-kicker__period { padding: 5px 11px; border: 1px solid var(--pb-gold-line); border-radius: 999px; background: transparent; color: var(--pb-ink); letter-spacing: .12em; }
.pb-hero__title { margin: 16px 0 0; font-size: clamp(30px, 4.4vw, 54px); font-weight: 600; line-height: 1.14; letter-spacing: -.03em; color: var(--pb-ink); }
.pb-hero__label { margin: clamp(22px, 4vw, 36px) 0 0; color: var(--pb-ink-2); font-size: clamp(15px, 1.6vw, 17px); font-weight: 500; }
.pb-hero__figure { display: flex; align-items: baseline; justify-content: center; margin: 6px 0 0; font-size: clamp(88px, 15vw, 200px); font-weight: 200; line-height: .95; letter-spacing: -.05em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pb-hero__figure b { padding-right: .04em; font-weight: 200; }
.pb-hero__unit { margin-left: .04em; color: var(--pb-gold-hi); font-size: .34em; letter-spacing: -.02em; }
.pb-hero__exact { margin: 14px 0 0; color: var(--pb-muted); font-size: 15px; font-variant-numeric: tabular-nums; }
.pb-hero__exact b { color: var(--pb-ink); font-weight: 600; }
.pb-hero__share { margin: 14px 0 0; }
.pb-hero .pb-track { margin-top: clamp(26px, 4vw, 40px); text-align: left; }

.pb-kpi-sec { margin-top: 4px; }
.pb-sec { margin-top: clamp(16px, 2.4vw, 26px); }
.pb-split { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 26px); }
.pb-card { position: relative; min-width: 0; padding: var(--pad-card); border: 1px solid var(--line); border-radius: var(--r-card); background: var(--bg-1); } /* 일반 카드 */
.pb-card__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; margin-bottom: 20px; }
.pb-card__title { min-width: 0; }
.pb-card__title h2 { margin: 8px 0 6px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; line-height: 1.22; letter-spacing: -.02em; color: var(--pb-ink); }
.pb-card__desc { margin: 0; color: var(--pb-muted); font-size: 14px; line-height: 1.6; }
.pb-card__stats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.pb-card__stats div { padding: 9px 13px; border: 1px solid var(--pb-line); border-radius: var(--r-tile); background: transparent; }
.pb-card__stats dt { color: var(--pb-muted); font-size: 12px; }
.pb-card__stats dd { margin: 3px 0 0; font-size: 15px; font-weight: 600; white-space: nowrap; color: var(--pb-ink); }
.pb-card__note { margin: 20px 0 0; color: var(--pb-ink-2); font-size: 14px; text-align: center; }
.pb-card__note b { color: var(--pb-ink); }
.pb-card--mix { display: flex; flex-direction: column; }
.pb-card--mix .pb-donut { flex: 1; align-content: center; }
.pb-rank { display: grid; grid-template-columns: minmax(250px, 300px) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.pb-rank .pb-hl { position: sticky; top: 90px; }
/* 한눈에 보기(188 홈 실적보드) 섹션 제목 */
.pb-home-sec { margin-top: clamp(10px, 2vw, 18px); }
.pb-home-sec__h { margin: 8px 0 14px; font-size: clamp(24px, 2.8vw, 34px); font-weight: 600; letter-spacing: -.02em; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pb-home-sec__h small { font-size: 14px; font-weight: 500; color: var(--pb-muted); letter-spacing: 0; }
.pb-home__caption .pb-eyebrow { color: var(--pb-gold-hi); }
.pb-home__label { color: var(--pb-ink); }
/* 마무리(합류 문의) · 바닥글 */
.pb-cta { margin-top: clamp(28px, 5vw, 56px); }
.pb-cta__panel { position: relative; overflow: hidden; text-align: center; }
.pb-cta h2 { margin: 14px 0 12px; font-size: clamp(28px, 3vw, 40px); font-weight: 600; line-height: 1.22; letter-spacing: -.02em; color: var(--pb-ink); }
.pb-cta__text { max-width: 520px; margin: 0 auto; color: var(--pb-ink-2); font-size: 17px; line-height: 1.7; }
.pb-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.pb-foot { margin-top: 28px; padding: 22px 0 8px; border-top: 1px solid var(--line); color: var(--pb-muted); font-size: 14px; line-height: 1.7; }
.pb-foot p { margin: 0 0 6px; }
.pb-toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 60; max-width: calc(100vw - 32px); padding: 12px 18px; overflow: hidden; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg-2); color: var(--text); font-size: 14px; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; opacity: 0; transform: translate(-50%, 16px); transition: opacity .2s, transform .2s; pointer-events: none; }
.pb-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
/* 움직임: 동작 줄이기 설정이면 전부 정지(glass.css 공통 규칙 + 아래 조건) */
@media (prefers-reduced-motion: no-preference) {
  .pb-hero__inner > * { animation: pb-in .9s cubic-bezier(.16, 1, .3, 1) both; }
  .pb-hero__inner > :nth-child(2) { animation-delay: .08s; }
  .pb-hero__inner > :nth-child(3) { animation-delay: .16s; }
  .pb-hero__inner > :nth-child(4) { animation-delay: .22s; }
  .pb-hero__inner > :nth-child(5) { animation-delay: .3s; }
  .pb-hero__inner > :nth-child(6) { animation-delay: .38s; }
  .pb-hero__inner > :nth-child(7) { animation-delay: .44s; }
}
@keyframes pb-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (max-width: 1080px) {
  .pb-split, .pb-rank { grid-template-columns: minmax(0, 1fr); }
  .pb-rank .pb-hl { position: relative; top: auto; }
}
@media (min-width: 641px) and (max-width: 1080px) {
  .pb-kpi-sec .pb-kpis { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .pb-kpi-sec .pb-kpi { grid-column: span 2; }
  .pb-kpi-sec .pb-kpi:nth-child(n+4) { grid-column: span 3; }
  .pb-card--mix .pb-donut { grid-template-columns: 220px minmax(0, 1fr); align-items: center; }
}
@media (max-width: 720px) {
  .pb-wrap { width: calc(100% - 24px); }
  .pb-cta__actions .g-btn { flex: 1 1 100%; }
  .pb-hero__exact { font-size: 14px; }
  .pb-kpi-sec .pb-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pb-kpi-sec .pb-kpi:first-child { grid-column: 1 / -1; }
  .pb-card__stats div { padding: 8px 11px; }
  body.g-perf { padding-bottom: 88px; } /* 아래 고정 합류 문의 막대 */
  .pb-toast { bottom: calc(96px + env(safe-area-inset-bottom)); }
}
/* 유리 미지원·투명도 줄이기: 강조 패널 불투명 */
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) { .pb-home__board { background: var(--bg-2); } }
@media (prefers-reduced-transparency: reduce) { .pb-home__board { background: var(--bg-2); -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* ===================== 3부: test 사이트 기준 맞춤 — 화면 글씨 14px 이상(glass.css 원칙), 금색 머리말 대비(어두운 바탕 10:1) ===================== */
.pb-kicker, .pb-eyebrow, .pb-cta .pb-eyebrow { color: var(--pb-gold-lo); font-size: 14px; letter-spacing: .16em; }
.pb-kicker__period { font-size: 14px; letter-spacing: .08em; }
.pb-track__title, .pb-track__mark span, .pb-kpi__label, .pb-kpi__sub, .pb-card__stats dt, .pb-home__caption small,
.pb-col__label, .pb-combo__axis span, .pb-combo__peak, .pb-tip, .pb-tip__head, .pb-tip__sub,
.pb-race__rank, .pb-race__val, .pb-replay, .pb-hl__stats dt, .pb-hl__rank-of, .pb-chip__rank, .pb-chip__meta,
.pb-donut__center > span, .pb-table, .pb-table caption, .pb-table thead th, .pb-foot { font-size: 14px; }
.pb-track__mark b, .pb-race__name, .pb-details summary, .pb-donut__legend li, .pb-card__stats dd { font-size: 15px; }
.pb-chip__rank { width: 32px; height: 32px; }
.pb-tip { min-width: 196px; max-width: 260px; }
.pb-race__row { grid-template-columns: 30px minmax(64px, 90px) minmax(0, 1fr) 64px; }
.pb-combo__plot { --pb-pl: 48px; }
@media (max-width: 640px) {
  .pb-col__label, .pb-combo__axis span, .pb-race__val, .pb-table, .pb-chip__rank, .pb-chip__meta { font-size: 14px; }
  .pb-race__name { font-size: 14px; }
  .pb-race__row { grid-template-columns: 26px minmax(60px, 72px) minmax(0, 1fr) 56px; column-gap: 8px; }
  .pb-combo__plot { --pb-pl: 40px; }
  .pb { --pb-row: 32px; }
}
.pb-kpi__value small, .pb-chip__val small, .pb-donut__center small, .pb-hl__rank-num small { font-size: max(.42em, 14px); }

/* ===================== 4부: PERF-OCT-20261102 → S5-20261102(v=7) ===================== */
/* 월별 막대는 전부 팜스 사업부 본부 합계(생보·손보 구분 없음) → 모든 달이 같은 하늘색(1부 .pb-col__bar), 최고월만 금. 10월 전용 회청 막대 규칙·범례 규칙·툴팁 설명 줄 규칙은 뺌 */
/* 기준 한 줄(보드 머리·/performance/ 첫 화면·월별 표 아래): 캡션 단계(14px·줄간격 1.5) */
.pb-basis { margin: 6px 0 0; color: var(--pb-muted); font-size: 14px; line-height: 1.5; }
/* 휴대폰(폭 400px 이하): 막대 10개 라벨이 14px 그대로 겹치지 않게 '월'만 숨김(1 … 10). 툴팁·읽기 프로그램(aria-label)은 'N월' 그대로 */
@media (max-width: 400px) { .pb-col__unit { display: none; } }
/* 숫자만 있는 월별 표(.pb-table--num): 2열(월보험료)도 오른쪽 정렬 — 1부의 '2열 왼쪽 정렬'은 본부·보험사 표의 이름 열용 */
.pb-table--num td:nth-child(2) { text-align: right; }
