/* ══════════════════════════════════════════
   제안 목록 — VOC List v7 (단일 스크롤)
   Primary: #e6007e | Grays | White
   ══════════════════════════════════════════ */

.vl-shell { display: flex; flex-direction: column; gap: 0; }

/* flatpickr 브랜드 커스텀 */
.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange,
.flatpickr-day.selected:hover, .flatpickr-day.startRange:hover, .flatpickr-day.endRange:hover { background: #e6007e; border-color: #e6007e; }
.flatpickr-day.inRange { background: rgba(230,0,126,.08); border-color: transparent; }
.flatpickr-months .flatpickr-month { height: 36px; }

/* ═══ A. 검색 필터 바 ═══ */
.vl-filter-bar { display: flex; flex-direction: column; gap: 0; padding: 10px 14px; background: #fff; border: 1px solid #f0f1f3; border-radius: 10px; margin-bottom: 10px; }
.vl-fb-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.vl-fb-group { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.vl-fb-label { display: flex; align-items: center; color: #94a3b8; flex-shrink: 0; }
.vl-fb-icon { width: 14px; height: 14px; }
.vl-fb-sep { width: 1px; height: 18px; background: #e5e7eb; flex-shrink: 0; }

.vl-fb-date-input { width: 200px; padding: 5px 10px; font-size: 12px; font-weight: 600; color: #374151; background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 6px; outline: none; cursor: pointer; transition: border-color .12s; }
.vl-fb-date-input::placeholder { color: #9ca3af; font-weight: 500; }
.vl-fb-date-input:focus { border-color: #e6007e; box-shadow: 0 0 0 2px rgba(230,0,126,.08); }

.vl-fb-chip { display: inline-flex; align-items: center; gap: 3px; padding: 4px 10px; font-size: 12px; font-weight: 600; color: #6b7280; background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 9999px; cursor: pointer; transition: all .12s; white-space: nowrap; }
.vl-fb-chip-sm { padding: 3px 8px; font-size: 11.5px; }
.vl-fb-chip:hover { border-color: #cbd5e1; color: #374151; }
.vl-fb-chip.active { background: #fdf2f8; border-color: #e6007e; color: #e6007e; }

.vl-fb-grade { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; font-size: 11px; font-weight: 800; border-radius: 5px; border: 1.5px solid #e5e7eb; background: #fff; color: #9ca3af; cursor: pointer; transition: all .12s; }
.vl-fb-grade:hover { border-color: #cbd5e1; }
.vl-fbg-s.active { background: #fdf2f8; border-color: #e6007e; color: #e6007e; }
.vl-fbg-a.active { background: #eff6ff; border-color: #2563eb; color: #2563eb; }
.vl-fbg-b.active { background: #ecfdf5; border-color: #059669; color: #059669; }
.vl-fbg-c.active { background: #fff7ed; border-color: #c2410c; color: #c2410c; }
.vl-fbg-d.active { background: #f3f4f6; border-color: #6b7280; color: #6b7280; }

.vl-fb-select { padding: 4px 24px 4px 8px; font-size: 12px; font-weight: 600; color: #6b7280; background: #f9fafb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 6px center; border: 1px solid #e5e7eb; border-radius: 6px; cursor: pointer; outline: none; -webkit-appearance: none; appearance: none; transition: border-color .12s; }
.vl-fb-select:hover { border-color: #cbd5e1; }
.vl-fb-select:focus { border-color: #e6007e; box-shadow: 0 0 0 2px rgba(230,0,126,.08); }

.vl-fb-search-group { flex: 1; min-width: 80px; max-width: 180px; }
.vl-fb-search { width: 100%; padding: 5px 10px; font-size: 12px; font-weight: 500; color: #374151; background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 6px; outline: none; transition: border-color .12s; }
.vl-fb-search::placeholder { color: #b0b8c4; }
.vl-fb-search:focus { border-color: #e6007e; box-shadow: 0 0 0 2px rgba(230,0,126,.08); background: #fff; }

.vl-fb-search-btn { display: inline-flex; align-items: center; gap: 4px; padding: 5px 14px; font-size: 12px; font-weight: 700; color: #fff; background: #e6007e; border: none; border-radius: 6px; cursor: pointer; flex-shrink: 0; transition: background .12s, box-shadow .12s; }
.vl-fb-search-btn:hover { background: #d1006f; }
.vl-fb-pulse { box-shadow: 0 0 0 3px rgba(230,0,126,.25); }

/* 상세 조건 토글 칩 (옵션 B) */
.vl-fb-adv-chip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; font-size: 12px; font-weight: 600; color: #6b7280; background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 6px; cursor: pointer; flex-shrink: 0; transition: all .15s; }
.vl-fb-adv-chip:hover { border-color: #cbd5e1; color: #374151; }
.vl-fb-adv-chip.active { background: #fdf2f8; border-color: #e6007e; color: #e6007e; }
.vl-fb-adv-icon { width: 13px; height: 13px; transition: transform .2s ease; }
.vl-fb-adv-icon.open { transform: rotate(90deg); }
.vl-fb-adv-badge { font-size: 9px; font-weight: 800; color: #fff; background: #e6007e; border-radius: 9999px; min-width: 15px; height: 15px; display: inline-flex; align-items: center; justify-content: center; padding: 0 3px; line-height: 1; }

/* 상세 조건 접이식 영역 */
.vl-fb-advanced { padding-top: 8px; margin-top: 8px; border-top: 1px solid #f1f5f9; }
.vl-fb-adv-label { font-size: 10.5px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: .04em; flex-shrink: 0; }

.vl-fb-reset { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; border: none; background: #f3f4f6; color: #9ca3af; cursor: pointer; flex-shrink: 0; transition: all .12s; }
.vl-fb-reset:hover { background: #fee2e2; color: #ef4444; }

/* ═══ B. 통계 요약 바 ═══ */
.vl-stats-bar { display: flex; align-items: center; justify-content: space-between; padding: 8px 14px; background: #fff; border: 1px solid #f0f1f3; border-radius: 10px; margin-bottom: 14px; gap: 12px; flex-wrap: wrap; }
.vl-stats-group { display: flex; align-items: center; gap: 10px; }
.vl-stat-item { display: flex; align-items: baseline; gap: 4px; }
.vl-stat-label { font-size: 12px; font-weight: 600; color: #9ca3af; }
.vl-stat-val { font-size: 16px; font-weight: 800; color: #1e293b; }
.vl-stat-unit { font-size: 11px; color: #9ca3af; font-weight: 600; }
.vl-stat-sep { width: 1px; height: 16px; background: #e5e7eb; flex-shrink: 0; }
.vl-stat-pending { padding: 2px 8px; background: #fef3c7; border-radius: 9999px; gap: 4px; }
.vl-stat-pending .vl-stat-label { color: #b45309; }
.vl-stat-pending .vl-stat-val { font-size: 13px; color: #b45309; }
.vl-stat-dot { width: 5px; height: 5px; border-radius: 50%; background: #f59e0b; animation: vl-pulse 1.4s ease-in-out infinite; }
@keyframes vl-pulse { 0%, 100% { opacity: .4; } 50% { opacity: 1; } }
.vl-stat-failed { padding: 2px 8px; background: #fef2f2; border-radius: 9999px; }
.vl-stat-failed .vl-stat-label { color: #dc2626; }
.vl-stat-failed .vl-stat-val { font-size: 13px; color: #dc2626; }
.vl-grade-dist { display: flex; gap: 6px; }
.vl-grade-mini { display: inline-flex; align-items: center; gap: 3px; padding: 2px 8px; border-radius: 6px; font-size: 11.5px; font-weight: 700; }
.vl-grade-mini-cnt { font-weight: 800; }
.vl-g-s { background: #fdf2f8; color: #be185d; }
.vl-g-a { background: #eff6ff; color: #2563eb; }
.vl-g-b { background: #ecfdf5; color: #059669; }
.vl-g-c { background: #fff7ed; color: #c2410c; }
.vl-g-d { background: #f3f4f6; color: #6b7280; }

/* ═══ C. 메인 레이아웃 ═══ */
.vl-body { display: flex; gap: 16px; align-items: flex-start; position: relative; }

/* ═══ D. 좌측 사이드바 ═══ */
.vl-sidebar { width: 228px; flex-shrink: 0; position: sticky; top: 0; max-height: calc(100vh - 200px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: #e5e7eb transparent; }
.vl-sidebar::-webkit-scrollbar { width: 3px; }
.vl-sidebar::-webkit-scrollbar-thumb { background: #e5e7eb; border-radius: 3px; }
.vl-sidebar-inner { background: #fff; border: 1px solid #f0f1f3; border-radius: 12px; padding: 14px; box-shadow: 0 1px 3px rgba(0,0,0,.03); display: flex; flex-direction: column; gap: 2px; }

.vl-search-wrap { position: relative; margin-bottom: 10px; }
.vl-search-icon { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 14px; height: 14px; color: #9ca3af; pointer-events: none; }
.vl-search-input { width: 100%; padding: 7px 30px 7px 30px; font-size: 12.5px; font-weight: 500; color: #374151; background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 8px; outline: none; transition: border-color .15s, box-shadow .15s; }
.vl-search-input::placeholder { color: #9ca3af; }
.vl-search-input:focus { border-color: #e6007e; box-shadow: 0 0 0 3px rgba(230, 0, 126, .08); background: #fff; }
.vl-search-clear { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: #e5e7eb; border: none; cursor: pointer; color: #6b7280; transition: background .15s; }
.vl-search-clear:hover { background: #d1d5db; }

.vl-sort-row { display: flex; border: 1px solid #e5e7eb; border-radius: 8px; overflow: hidden; background: #f9fafb; }
.vl-sort-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 4px; padding: 6px 0; font-size: 12px; font-weight: 600; color: #9ca3af; background: transparent; border: none; cursor: pointer; transition: all .15s; }
.vl-sort-btn:first-child { border-right: 1px solid #e5e7eb; }
.vl-sort-btn.active { background: #fff; color: #e6007e; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.vl-sort-btn:hover:not(.active) { color: #6b7280; }

.vl-filter-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 0 6px; border-top: 1px solid #f3f4f6; margin-top: 8px; }
.vl-filter-head-label { font-size: 11.5px; font-weight: 700; color: #6b7280; text-transform: uppercase; letter-spacing: .04em; }
.vl-filter-clear-all { font-size: 11px; font-weight: 600; color: #e6007e; background: none; border: none; cursor: pointer; padding: 2px 6px; border-radius: 4px; transition: background .12s; }
.vl-filter-clear-all:hover { background: rgba(230, 0, 126, .06); }

.vl-filter-section { margin-bottom: 2px; }
.vl-filter-toggle { display: flex; align-items: center; gap: 6px; width: 100%; padding: 7px 4px; margin: 0 -4px; font-size: 12.5px; font-weight: 700; color: #475569; background: none; border: none; cursor: pointer; text-align: left; border-radius: 4px; transition: background .1s; }
.vl-filter-toggle:hover { background: #f9fafb; }
.vl-chevron { width: 14px; height: 14px; margin-left: auto; color: #9ca3af; flex-shrink: 0; transition: transform .2s ease; }
.vl-chevron.open { transform: rotate(180deg); }
.vl-filter-badge { font-size: 9px; font-weight: 700; color: #fff; background: #e6007e; border-radius: 9999px; min-width: 16px; height: 16px; display: inline-flex; align-items: center; justify-content: center; padding: 0 4px; line-height: 1; }

.vl-filter-opts { padding: 2px 0 4px; }
.vl-filter-opt { display: flex; align-items: center; gap: 7px; padding: 4px 4px; border-radius: 5px; cursor: pointer; transition: background .1s; font-size: 12.5px; }
.vl-filter-opt:hover { background: #f9fafb; }
.vl-filter-opt input[type="checkbox"] { position: absolute; opacity: 0; pointer-events: none; }
.vl-checkbox { width: 15px; height: 15px; border: 1.5px solid #d1d5db; border-radius: 4px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; transition: all .15s; background: #fff; }
.vl-filter-opt input:checked ~ .vl-checkbox { background: #e6007e; border-color: #e6007e; }
.vl-filter-opt input:checked ~ .vl-checkbox::after { content: ''; display: block; width: 4px; height: 7px; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translate(-0.5px, -0.5px); }
.vl-opt-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #4b5563; font-weight: 500; }
.vl-opt-count { font-size: 11px; color: #9ca3af; font-weight: 600; flex-shrink: 0; background: #f3f4f6; padding: 1px 6px; border-radius: 9999px; min-width: 20px; text-align: center; }

.vl-mobile-filter-btn { display: none; align-items: center; gap: 5px; padding: 7px 14px; font-size: 12.5px; font-weight: 600; color: #475569; background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; cursor: pointer; margin-bottom: 10px; transition: all .15s; }
.vl-mobile-filter-btn:hover { border-color: #e6007e; color: #e6007e; }
.vl-mobile-filter-cnt { font-size: 10px; font-weight: 700; color: #fff; background: #e6007e; border-radius: 9999px; min-width: 16px; height: 16px; display: inline-flex; align-items: center; justify-content: center; padding: 0 4px; }

/* ═══ E. 콘텐츠 영역 ═══ */
.vl-content { flex: 1; min-width: 0; }
.vl-loading { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 60px 20px; color: #9ca3af; font-size: 13px; font-weight: 500; }
.vl-spinner { width: 28px; height: 28px; border: 3px solid #f1f5f9; border-top-color: #e6007e; border-radius: 50%; animation: vl-spin .7s linear infinite; }
@keyframes vl-spin { to { transform: rotate(360deg); } }
.vl-empty { text-align: center; padding: 60px 20px; background: #fff; border: 1px solid #f0f1f3; border-radius: 12px; }
.vl-empty-icon { width: 40px; height: 40px; color: #d1d5db; margin: 0 auto 16px; }
.vl-empty-title { font-size: 14px; font-weight: 600; color: #6b7280; margin-bottom: 6px; }
.vl-empty-desc { font-size: 12.5px; color: #9ca3af; }
.vl-empty-desc a { color: #e6007e; font-weight: 600; }
.vl-empty-desc a:hover { text-decoration: underline; }

/* ═══ 카드 리스트 ═══ */
.vl-cards { display: flex; flex-direction: column; gap: 6px; }
.vl-card { background: #fff; border: 1px solid #f0f1f3; border-radius: 10px; overflow: visible; transition: border-color .15s, box-shadow .15s; }
.vl-card:hover { border-color: #e5e7eb; box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.vl-card-expanded { border-color: rgba(230, 0, 126, .25) !important; box-shadow: 0 4px 20px rgba(230, 0, 126, .08) !important; }

.vl-card-summary { padding: 12px 16px; cursor: pointer; transition: background .1s; display: flex; flex-direction: column; gap: 6px; border-radius: 10px; }
.vl-card-summary:hover { background: #fafbfc; }
.vl-card-expanded .vl-card-summary { background: #fdf2f8; border-radius: 10px 10px 0 0; }

.vl-card-row1 { display: flex; align-items: center; gap: 10px; }
.vl-grade-badge { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 7px; font-size: 12px; font-weight: 800; color: #fff; flex-shrink: 0; line-height: 1; }
.vl-grade-s { background: linear-gradient(135deg, #e6007e, #be185d); }
.vl-grade-a { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.vl-grade-b { background: linear-gradient(135deg, #059669, #047857); }
.vl-grade-c { background: linear-gradient(135deg, #c2410c, #9a3412); }
.vl-grade-d { background: linear-gradient(135deg, #9ca3af, #6b7280); }
.vl-card-summary-text { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 600; color: #1e293b; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vl-card-score { display: flex; align-items: baseline; gap: 1px; flex-shrink: 0; }
.vl-card-score-num { font-size: 18px; font-weight: 800; color: #1e293b; font-variant-numeric: tabular-nums; }
.vl-card-score-max { font-size: 11px; font-weight: 600; color: #9ca3af; }

.vl-card-row2 { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; padding-left: 36px; }
.vl-pill { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 4px; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.vl-pill-topic { background: #fef3c7; color: #b45309; }
.vl-pill-ctype { background: #faf5ff; color: #7c3aed; }
.vl-pill-dept { background: #f1f5f9; color: #475569; }
.vl-pill-dept-lg { background: #f1f5f9; color: #334155; font-size: 13px; padding: 4px 12px; border-radius: 6px; }
.vl-pill-dept-sub { background: #f8fafc; color: #64748b; font-size: 12px; padding: 3px 10px; border-radius: 6px; }
.vl-senti-chip { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 9999px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.vl-senti-sm { font-size: 11px; padding: 1px 7px; }
.vl-senti-긍정 { background: #ecfdf5; color: #059669; }
.vl-senti-중립 { background: #f3f4f6; color: #6b7280; }
.vl-senti-부정 { background: #fef2f2; color: #ef4444; }

.vl-card-row3 { display: flex; align-items: center; gap: 6px; padding-left: 36px; flex-wrap: wrap; }
.vl-meta-text { font-size: 11.5px; color: #9ca3af; font-weight: 500; }
.vl-meta-dot { width: 3px; height: 3px; border-radius: 50%; background: #d1d5db; flex-shrink: 0; }
.vl-card-kws { display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.vl-kw-tag { font-size: 11px; font-weight: 600; color: #94a3b8; background: #f8fafc; padding: 1px 5px; border-radius: 3px; white-space: nowrap; }
.vl-expand-chevron { width: 14px; height: 14px; color: #d1d5db; margin-left: auto; flex-shrink: 0; transition: transform .2s ease, color .15s; }
.vl-expand-chevron.open { transform: rotate(180deg); color: #e6007e; }

/* ═══ F. 상세 패널 (리포트 스타일) ═══ */
.vl-detail { border-top: 1px solid #e5e7eb; background: #fff; padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 0; border-radius: 0 0 10px 10px; }
.vl-detail-enter { transition: opacity .2s ease, transform .2s ease; }
.vl-detail-enter-start { opacity: 0; transform: translateY(-4px); }
.vl-detail-enter-end { opacity: 1; transform: translateY(0); }
.vl-detail-leave { transition: opacity .15s ease; }

/* -- VOC 원문 말풍선 -- */
.vl-bubble-wrap { margin-bottom: 14px; position: relative; }
.vl-bubble { background: #f8fafc; border: 1px solid #e9ecf1; border-radius: 10px; padding: 12px 16px; position: relative; }
.vl-bubble-emo { display: flex; align-items: center; gap: 4px; margin-bottom: 6px; }
.vl-bubble-emoji { font-size: 13px; line-height: 1; }
.vl-bubble-emo-val { font-size: 11px; font-weight: 700; color: #6b7280; font-variant-numeric: tabular-nums; }
.vl-bubble-emo-tag { font-size: 10px; font-weight: 600; color: #94a3b8; }
.vl-bubble-text { font-size: 13.5px; color: #334155; line-height: 1.75; margin: 0; }
.vl-bubble-tail { width: 10px; height: 10px; background: #f8fafc; border-right: 1px solid #e9ecf1; border-bottom: 1px solid #e9ecf1; transform: rotate(45deg); margin-left: 20px; margin-top: -6px; }

/* -- 리포트 블록 (총평 등) -- */
.vl-rpt-block { padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid #f1f5f9; }
.vl-rpt-label { display: block; font-size: 10px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.vl-rpt-body { font-size: 13px; color: #475569; line-height: 1.7; }

/* -- 스코어 테이블 (가로, 커스텀 툴팁) -- */
.vl-score-table { display: flex; border: 1px solid #e5e7eb; border-radius: 5px; overflow: visible; margin-bottom: 4px; }
.vl-st-cell { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 6px 4px; border-right: 1px solid #f1f5f9; position: relative; cursor: help; transition: background .12s; }
.vl-st-cell:last-child { border-right: none; }
.vl-st-cell:hover { background: #f9fafb; }
.vl-st-dot { width: 4px; height: 4px; border-radius: 50%; flex-shrink: 0; }
.vl-st-name { font-size: 9.5px; font-weight: 700; color: #94a3b8; letter-spacing: .02em; }
.vl-st-val { font-size: 13px; font-weight: 800; color: #1e293b; font-variant-numeric: tabular-nums; line-height: 1.2; }
.vl-st-max, .vl-st-wt { display: none; }

/* 커스텀 툴팁 */
.vl-st-cell::before { content: ''; position: absolute; bottom: calc(100% - 4px); left: 50%; transform: translateX(-50%); border: 5px solid transparent; border-top-color: #1e293b; opacity: 0; pointer-events: none; transition: opacity .15s; z-index: 11; }
.vl-st-cell::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); background: #1e293b; color: #f1f5f9; font-size: 11px; font-weight: 500; padding: 8px 12px; border-radius: 6px; max-width: 260px; width: max-content; line-height: 1.45; text-align: left; opacity: 0; pointer-events: none; transition: opacity .15s; z-index: 10; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.vl-st-cell:hover::before, .vl-st-cell:hover::after { opacity: 1; }
.vl-st-cell[data-tip=""]::before, .vl-st-cell[data-tip=""]::after { display: none; }
.vl-st-cell:first-child::after { left: 0; transform: none; }
.vl-st-cell:first-child::before { left: 20px; transform: none; }
.vl-st-cell:last-child::after { left: auto; right: 0; transform: none; }
.vl-st-cell:last-child::before { left: auto; right: 20px; transform: none; }

/* 셀별 점수 색상 */
.vl-st-auth .vl-st-val { color: #e6007e; }
.vl-st-story .vl-st-val { color: #7c3aed; }
.vl-st-biz .vl-st-val { color: #2563eb; }
.vl-st-creative .vl-st-val { color: #0891b2; }
.vl-st-feasib .vl-st-val { color: #059669; }

/* -- 메타 스트립 (칩 UI) -- */
.vl-meta-strip { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; padding: 0 0 12px; margin-bottom: 12px; border-bottom: 1px solid #f1f5f9; }
.vl-ms-item { display: inline-flex; align-items: center; gap: 4px; position: relative; background: #f8fafc; padding: 4px 10px; border-radius: 4px; border: 1px solid #f1f5f9; transition: border-color .12s; }
.vl-ms-item:hover { border-color: #cbd5e1; }
.vl-ms-key { font-size: 10px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: .04em; }
.vl-ms-val { font-size: 12.5px; font-weight: 600; color: #374151; }
.vl-ms-sub { font-size: 11.5px; font-weight: 500; color: #6b7280; }
.vl-ms-uplus { color: #e6007e; }
.vl-ms-similar { color: #2563eb; font-weight: 500; }
.vl-ms-muted { color: #c0c7d0; font-weight: 500; }

/* 공통 툴팁 (메타 칩 + Score) — 왼쪽 기준 정렬로 잘림 방지 */
.vl-has-tip { cursor: help; }
.vl-has-tip::before { content: ''; position: absolute; bottom: calc(100% - 4px); left: 16px; border: 5px solid transparent; border-top-color: #1e293b; opacity: 0; pointer-events: none; transition: opacity .15s; z-index: 21; }
.vl-has-tip::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 0; background: #1e293b; color: #f1f5f9; font-size: 11px; font-weight: 500; padding: 8px 12px; border-radius: 6px; max-width: 300px; width: max-content; line-height: 1.45; text-align: left; opacity: 0; pointer-events: none; transition: opacity .15s; z-index: 20; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.vl-has-tip:hover::before, .vl-has-tip:hover::after { opacity: 1; }
.vl-has-tip[data-tip=""]::before, .vl-has-tip[data-tip=""]::after { display: none; }


/* -- 점수 산출 (각주 스타일) -- */
.vl-rpt-footnote { display: flex; align-items: baseline; gap: 8px; padding: 4px 0 10px; margin-bottom: 12px; border-bottom: 1px solid #f1f5f9; position: relative; }
.vl-rpt-fn-label { font-size: 9px; font-weight: 700; color: #b0b8c4; text-transform: uppercase; letter-spacing: .05em; flex-shrink: 0; }
.vl-rpt-fn-val { font-size: 11.5px; color: #94a3b8; font-variant-numeric: tabular-nums; line-height: 1.5; }

/* -- 상세 보기 (접이식) -- */
.vl-detail-expand { padding-top: 2px; }
.vl-expand-btn { display: inline-flex; align-items: center; gap: 5px; padding: 5px 14px; font-size: 12px; font-weight: 600; color: #94a3b8; background: none; border: 1px solid #e5e7eb; border-radius: 4px; cursor: pointer; transition: all .15s; }
.vl-expand-btn:hover { color: #475569; border-color: #cbd5e1; }
.vl-expand-icon { width: 12px; height: 12px; transition: transform .2s ease; }
.vl-expand-icon.open { transform: rotate(180deg); }
.vl-expand-body { display: flex; flex-direction: column; gap: 0; padding-top: 16px; }

/* -- 5축 상세 (리스트 행) -- */
.vl-axis-list { display: flex; flex-direction: column; gap: 0; }
.vl-ax-row { padding: 14px 0; border-bottom: 1px solid #f1f5f9; display: flex; flex-direction: column; gap: 8px; }
.vl-ax-row:last-child { border-bottom: none; }
.vl-ax-head { display: flex; align-items: center; gap: 8px; }
.vl-ax-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.vl-ax-name { font-size: 13px; font-weight: 700; color: #334155; flex: 1; }
.vl-ax-score { font-size: 16px; font-weight: 800; color: #1e293b; font-variant-numeric: tabular-nums; }
.vl-ax-max { font-size: 11px; font-weight: 600; color: #b0b8c4; }
.vl-ax-sub { font-size: 12px; font-weight: 600; color: #6b7280; }
.vl-ax-reason { font-size: 12px; color: #6b7280; line-height: 1.55; }

.vl-bar-track { height: 4px; background: #f1f5f9; border-radius: 2px; overflow: hidden; }
.vl-bar-fill { height: 100%; border-radius: 2px; transition: width .6s cubic-bezier(.4,0,.2,1); }
.vl-bar-auth { background: #e6007e; }
.vl-bar-story { background: #7c3aed; }
.vl-bar-biz { background: #2563eb; }
.vl-bar-creative { background: #06b6d4; }
.vl-bar-feasibility { background: #059669; }

.vl-emo-bar { display: flex; flex-direction: column; gap: 4px; }
.vl-emo-track { position: relative; height: 6px; background: linear-gradient(90deg, #fecaca 0%, #e5e7eb 50%, #bbf7d0 100%); border-radius: 3px; }
.vl-emo-center { position: absolute; left: 50%; top: 0; width: 1px; height: 100%; background: #9ca3af; opacity: .4; }
.vl-emo-marker { position: absolute; top: 50%; transform: translate(-50%, -50%); width: 12px; height: 12px; border-radius: 50%; background: #475569; border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.vl-emo-val { position: absolute; bottom: calc(100% + 2px); left: 50%; transform: translateX(-50%); font-size: 9px; font-weight: 800; color: #374151; white-space: nowrap; background: #fff; padding: 0 3px; border-radius: 2px; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.vl-emo-labels { display: flex; justify-content: space-between; font-size: 9px; font-weight: 600; color: #94a3b8; }
.vl-emo-keywords { display: flex; gap: 4px; flex-wrap: wrap; }
.vl-emo-kw { font-size: 11px; font-weight: 600; color: #6b7280; border: 1px solid #e5e7eb; padding: 1px 6px; border-radius: 3px; }

/* U+ 서비스 인라인 */
.vl-uplus-inline { margin-top: 8px; padding-top: 8px; border-top: 1px dashed #e5e7eb; display: flex; flex-direction: column; gap: 4px; }
.vl-uplus-status-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.vl-uplus-svc { font-size: 13px; font-weight: 700; color: #e6007e; }
.vl-uplus-summary { font-size: 12px; color: #6b7280; line-height: 1.5; }
.vl-uplus-link { color: #3b82f6; font-size: 11.5px; text-decoration: underline; word-break: break-all; }
.vl-uplus-link:hover { color: #1d4ed8; }
.vl-uplus-similar { font-size: 11.5px; color: #94a3b8; }
.vl-pill-active { background: #dcfce7; color: #166534; font-size: 11px; padding: 2px 8px; border-radius: 4px; font-weight: 600; }
.vl-pill-inactive { background: #fee2e2; color: #991b1b; font-size: 11px; padding: 2px 8px; border-radius: 4px; font-weight: 600; }
.vl-pill-neutral { background: #f3f4f6; color: #6b7280; font-size: 11px; padding: 2px 8px; border-radius: 4px; font-weight: 600; }

/* -- 리포트 노트 (유형 근거 등) -- */
.vl-rpt-note { display: flex; align-items: flex-start; gap: 8px; padding: 10px 0; border-bottom: 1px solid #f1f5f9; }
.vl-rpt-note-key { font-size: 10px; font-weight: 700; color: #e6007e; text-transform: uppercase; letter-spacing: .04em; flex-shrink: 0; padding-top: 1px; }
.vl-rpt-note-val { font-size: 12.5px; color: #475569; line-height: 1.55; }

/* -- 리포트 서브섹션 (페르소나, 부서, Biz) -- */
.vl-rpt-sub-section { padding: 14px 0; border-bottom: 1px solid #f1f5f9; display: flex; flex-direction: column; gap: 8px; }
.vl-rpt-sub-section:last-child { border-bottom: none; }
.vl-rpt-kv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; }
.vl-rpt-kv { display: flex; align-items: center; gap: 8px; }
.vl-rpt-k { font-size: 11px; font-weight: 700; color: #94a3b8; min-width: 60px; flex-shrink: 0; }
.vl-rpt-v { font-size: 12.5px; font-weight: 600; color: #334155; }
.vl-rpt-evidence { font-size: 12px; color: #6b7280; line-height: 1.55; }
.vl-rpt-dept-row { display: flex; gap: 6px; flex-wrap: wrap; }
.vl-rpt-biz-name { font-size: 13px; font-weight: 700; color: #1e293b; }

/* 비즈니스 카테고리 뱃지 (상세 축 헤드) */
.vl-ax-biz-cat { display: inline-block; font-size: 10px; font-weight: 700; color: #2563eb; background: #eff6ff; padding: 1px 7px; border-radius: 3px; margin-left: 6px; }

/* 감정 참고 섹션 */
.vl-rpt-emotion-ref { opacity: .75; }
.vl-rpt-ref-badge { display: inline-block; font-size: 9px; font-weight: 700; color: #94a3b8; background: #f1f5f9; padding: 1px 5px; border-radius: 3px; margin-left: 4px; vertical-align: middle; }

/* ═══ 페이지네이션 ═══ */
.vl-pagination { display: flex; align-items: center; justify-content: center; gap: 0.25rem; margin-top: 1rem; padding: 0.5rem 0; }
.vl-page-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 32px; padding: 0 0.375rem; border: 1px solid #e5e7eb; border-radius: 6px; background: #fff; color: #6b7280; font-size: 12px; font-weight: 600; cursor: pointer; transition: all .12s; }
.vl-page-btn:hover:not(:disabled) { background: #f3f4f6; color: #374151; }
.vl-page-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.vl-page-btn.active { background: #e6007e; color: #fff; border-color: #e6007e; }
.vl-page-info { font-size: 11.5px; color: #9ca3af; margin-left: 0.5rem; white-space: nowrap; }

/* ═══ 반응형 ═══ */
@media (max-width: 1200px) {
    .vl-sidebar { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; width: 100%; max-height: 100vh; z-index: 50; background: rgba(0,0,0,.3); padding: 20px; border-radius: 0; }
    .vl-sidebar.vl-sidebar-open { display: flex; align-items: flex-start; justify-content: center; }
    .vl-sidebar.vl-sidebar-open .vl-sidebar-inner { max-width: 320px; width: 100%; max-height: 80vh; overflow-y: auto; }
    .vl-mobile-filter-btn { display: inline-flex; }
}
@media (max-width: 900px) {
    .vl-rpt-kv-grid { grid-template-columns: 1fr; }
    .vl-score-table { flex-wrap: wrap; }
    .vl-st-cell { min-width: calc(33% - 1px); }
}
@media (max-width: 640px) {
    .vl-card-row2 { padding-left: 0; }
    .vl-card-row3 { padding-left: 0; }
    .vl-filter-bar { padding: 8px 10px; gap: 6px; }
    .vl-fb-sep { display: none; }
    .vl-fb-date-input { width: 100%; }
    .vl-fb-search-group { max-width: 100%; }
    .vl-stats-bar { flex-direction: column; align-items: flex-start; }
    .vl-grade-dist { flex-wrap: wrap; }
    .vl-score-table { flex-direction: column; }
    .vl-st-cell { border-right: none; border-bottom: 1px solid #f1f5f9; flex-direction: row; justify-content: space-between; padding: 8px 12px; }
    .vl-st-cell:last-child { border-bottom: none; }
    .vl-st-cell::after, .vl-st-cell::before { display: none; }
    .vl-meta-strip { flex-direction: column; gap: 4px; }
    .vl-ms-item::after { display: none; }
}
