/* =====================================================================
   테마 보조 — AI 모의면접 데모용 (프로토타입 화면에 흩어진 공통 규칙을 모음)
   · 콘솔 폐쇄망 배너 .poc-env (AD-080~084)
   · 차트 보조: 패널 부제 · 차트 범례 줄 · 막대 위 값 · 표 안 막대 · 가로 막대 · 순위 · 증감
   app.css(필수) 다음에 불러온다. 공통 파일이므로 화면에서 고치지 않는다.
   ===================================================================== */

/* 콘솔 폐쇄망 배너 */
.poc-env { display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; padding: 12px 16px; margin-bottom: 18px; border-radius: 12px; color: #D1D5DB; font-size: 13.5px; line-height: 1.5;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 10px, transparent 10px 20px), #17212F; border: 1px solid #0E1621; box-shadow: var(--shadow-s); }
.poc-env .ico { width: 34px; height: 34px; border-radius: 10px; background: rgba(141,191,58,.16); color: #B5DC6E; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.poc-env .ico svg { width: 18px; height: 18px; }
.poc-env .txt { flex: 1; min-width: 220px; }
.poc-env .txt b { color: #fff; font-weight: 800; }
.poc-env .txt small { color: #9CA3AF; font-size: 12px; }
.poc-env .nw { white-space: nowrap; }
.poc-env .st { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(141,191,58,.14); color: #D9F0B4; font-weight: 700; font-size: 12.5px; white-space: nowrap; }
.poc-env .st b { color: #fff; font-size: 14px; }
.poc-env .st .t { color: #A7B4A0; font-weight: 500; }
.poc-env .dot { width: 9px; height: 9px; border-radius: 50%; background: #8DBF3A; box-shadow: 0 0 0 3px rgba(141,191,58,.28); animation: pocPulse 2.4s ease-in-out infinite; flex-shrink: 0; }
@keyframes pocPulse { 50% { box-shadow: 0 0 0 6px rgba(141,191,58,.06); } }
@media (prefers-reduced-motion: reduce) { .poc-env .dot { animation: none; } }

/* 패널 부제 · 차트 범례 줄 */
.panel-head .sub { font-size: 12px; color: var(--ink-4); margin-left: 8px; font-weight: 500; }
.chart-meta { display: flex; gap: 18px; font-size: 13px; color: var(--ink-3); margin-bottom: 14px; flex-wrap: wrap; }
.chart-meta b { color: var(--ink); font-variant-numeric: tabular-nums; }
.chart-meta i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

/* 세로 막대(mini-chart) 위 값 · 패널 높이만큼 늘어나는 막대 */
.mini-chart span .v { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); font-size: 10px; font-style: normal; color: var(--ink-3); margin-bottom: 3px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mini-chart { padding-bottom: 16px; }
.panel.fill > .mini-chart.grow, .panel.fill > .grow > .mini-chart { flex: 1 1 auto; height: auto; min-height: 140px; }
.panel.fill > .grow:has(> .mini-chart) { display: flex; flex-direction: column; }

/* 표 안 막대 */
.bar-cell { display: flex; align-items: center; gap: 8px; }
.bar-cell .bar { flex: 1; height: 6px; background: var(--bg-mute); border-radius: 999px; overflow: hidden; min-width: 60px; }
.bar-cell .bar span { display: block; height: 100%; background: var(--primary); border-radius: 999px; }
.bar-cell b { min-width: 34px; text-align: right; font-variant-numeric: tabular-nums; }

/* 가로 막대 목록 */
.hbar { display: grid; grid-template-columns: 150px minmax(0, 1fr) 60px; gap: 10px; align-items: center; font-size: 13px; padding: 5px 0; }
.hbar .bar { height: 8px; background: var(--bg-mute); border-radius: 999px; overflow: hidden; }
.hbar .bar span { display: block; height: 100%; background: var(--primary); border-radius: 999px; }
.hbar b { text-align: right; font-variant-numeric: tabular-nums; }
.hbar small { color: var(--ink-4); margin-left: 4px; }
@media (max-width: 767px) { .hbar { grid-template-columns: 100px minmax(0, 1fr) 50px; } }

/* 순위 · 증감 */
.rank { display: inline-flex; width: 22px; height: 22px; border-radius: 6px; background: var(--bg-mute); color: var(--ink-2); font-size: 12px; font-weight: 800; align-items: center; justify-content: center; }
.rank.top { background: var(--ink); color: #fff; }
.chg { font-size: 12px; font-weight: 700; white-space: nowrap; }
.chg.up { color: #2E8B57; } .chg.down { color: var(--danger); } .chg.newk { color: #C96A10; } .chg.same { color: var(--ink-4); }
