/**
 * AI Link — 제품비교 가이드 시스템 스타일
 * /solutions/compare/css/compare-guide.css
 */

/* ═══════════════════════════════════════════════════════════════════════
 * 0. 공통 토스트
 * ═══════════════════════════════════════════════════════════════════════ */
.cmp-guide-toast {
  position: fixed; bottom: 100px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: #1f2937; color: #fff; padding: 12px 20px; border-radius: 10px;
  font-size: .85rem; font-weight: 500; z-index: 100000;
  opacity: 0; transition: all .3s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  max-width: 90vw; text-align: center;
}
.cmp-guide-toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ═══════════════════════════════════════════════════════════════════════
 * 1. 첫 방문 5-step 투어 (v761 — 좌표계 fixed 통일 + 모바일 호환 + 성능)
 * ═══════════════════════════════════════════════════════════════════════ */
.cmp-tour-overlay {
  position: fixed; inset: 0; z-index: 99000;
  pointer-events: auto;
  /* 🆕 v761 — 9999px box-shadow 대신 SVG mask 사용으로 GPU 부하 감소 */
  background: rgba(15, 23, 42, 0.62);
}
.cmp-tour-spotlight {
  /* 🆕 v761 — overlay(fixed)와 같은 좌표계 (fixed) */
  position: fixed;
  border-radius: 12px;
  /* 🆕 v761 — 9999px → 화면크기로 충분 (브라우저별 max-paint 영역 우려 제거) */
  box-shadow: 0 0 0 100vmax rgba(15, 23, 42, 0.62);
  pointer-events: none;
  border: 3px solid #6366f1;
  background: transparent;
  animation: cmp-pulse-border 1.6s ease-in-out infinite;
}
/* 🆕 v761 — pulse는 border-color만 (paint 비용 X) */
@keyframes cmp-pulse-border {
  0%, 100% { border-color: #6366f1; }
  50%      { border-color: #a5b4fc; }
}
.cmp-tour-tip {
  /* 🆕 v761 — fixed로 통일 */
  position: fixed; z-index: 100000;
  background: #fff; border-radius: 14px; padding: 18px 20px;
  width: 320px; max-width: calc(100vw - 24px);
  box-shadow: 0 18px 50px rgba(0,0,0,.25);
  font-size: .85rem; line-height: 1.5; color: #1f2937;
}
/* arrow는 v761에서 단순화 — 모바일에서 placement 동적 변경되어 불필요 */
/* 🆕 v761 — Progress bar */
.cmp-tour-progress {
  height: 3px; background: #e5e7eb; border-radius: 99px;
  margin-bottom: 10px; overflow: hidden;
}
.cmp-tour-progress-bar {
  height: 100%; background: linear-gradient(90deg, #6366f1, #8b5cf6);
  border-radius: 99px; transition: width .35s ease;
}
.cmp-tour-step {
  font-size: .68rem; color: #6366f1; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px;
}
.cmp-tour-tip h4 { margin: 0 0 8px; font-size: 1rem; font-weight: 700; color: #111827; }
.cmp-tour-body { color: #4b5563; margin-bottom: 10px; }
.cmp-tour-body b { color: #111827; }
/* 🆕 v761 — 다음 step 미리보기 */
.cmp-tour-next-hint {
  font-size: .72rem; color: #9ca3af; margin: 8px 0 12px;
  padding: 6px 10px; background: #f9fafb; border-radius: 6px;
  border-left: 3px solid #c7d2fe;
}
.cmp-tour-actions { display: flex; gap: 8px; justify-content: flex-end; align-items: center; flex-wrap: wrap; }
.cmp-tour-btn {
  background: #f3f4f6; border: none; padding: 7px 12px; border-radius: 6px;
  font-size: .78rem; font-weight: 500; cursor: pointer; color: #4b5563;
  transition: all .15s ease;
}
.cmp-tour-btn:hover { background: #e5e7eb; }
.cmp-tour-btn.cmp-tour-pri { background: #6366f1; color: #fff; font-weight: 600; }
.cmp-tour-btn.cmp-tour-pri:hover { background: #4f46e5; }
.cmp-tour-btn.cmp-tour-skip {
  background: transparent; color: #9ca3af; font-size: .72rem; margin-right: auto;
}
.cmp-tour-btn.cmp-tour-skip:hover { color: #4b5563; background: transparent; text-decoration: underline; }

/* 🆕 v761 — 인라인 시작 배너 (모달 자동 시작 대신) */
.cmp-tour-banner {
  position: fixed;
  left: 50%; bottom: 18px; transform: translate(-50%, 16px);
  z-index: 9500;
  background: #fff; border: 1px solid #e5e7eb; border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
  padding: 12px 14px;
  display: flex; align-items: center; gap: 10px;
  max-width: min(92vw, 600px);
  font-size: .82rem; color: #374151;
  opacity: 0; transition: all .25s ease;
}
.cmp-tour-banner.on { opacity: 1; transform: translate(-50%, 0); }
.cmp-tour-banner-icon { font-size: 1.25rem; flex-shrink: 0; }
.cmp-tour-banner-text { flex: 1; min-width: 0; line-height: 1.4; }
.cmp-tour-banner-text b { color: #111827; }
.cmp-tour-banner-pri {
  background: linear-gradient(135deg, #6366f1, #8b5cf6); color: #fff;
  border: none; padding: 8px 14px; border-radius: 8px;
  font-size: .78rem; font-weight: 600; cursor: pointer; flex-shrink: 0;
  transition: all .15s ease;
}
.cmp-tour-banner-pri:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(99,102,241,.35); }
.cmp-tour-banner-x {
  background: transparent; border: none; color: #9ca3af; cursor: pointer;
  padding: 4px 8px; font-size: 1rem; flex-shrink: 0;
}
.cmp-tour-banner-x:hover { color: #4b5563; }
@media (max-width: 720px) {
  .cmp-tour-banner { left: 12px; right: 12px; transform: translateY(16px); max-width: none; }
  .cmp-tour-banner.on { transform: translateY(0); }
  .cmp-tour-banner-text { font-size: .76rem; }
  .cmp-tour-tip { width: calc(100vw - 24px); padding: 14px 16px; }
  .cmp-tour-tip h4 { font-size: .95rem; }
  .cmp-tour-body { font-size: .8rem; }
}

/* ═══════════════════════════════════════════════════════════════════════
 * 2. 인라인 ❓ 툴팁
 * ═══════════════════════════════════════════════════════════════════════ */
.cmp-help-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; margin-left: 4px;
  color: #9ca3af; cursor: help; font-size: .75rem;
  transition: color .15s ease; vertical-align: middle;
  border-radius: 50%;
}
.cmp-help-icon:hover, .cmp-help-icon:focus { color: #6366f1; outline: none; }
.cmp-help-icon.cmp-help-inline { font-size: .68rem; }
.cmp-tooltip {
  /* 🆕 v761 — fixed로 통일 (scrollY 계산 불필요) */
  position: fixed; z-index: 99999;
  background: #1f2937; color: #f9fafb;
  padding: 9px 12px; border-radius: 8px;
  font-size: .72rem; line-height: 1.5; max-width: min(320px, calc(100vw - 24px));
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
  pointer-events: auto;   /* 🆕 v761 — 모바일에서 tooltip 자체 클릭 시 유지 */
}

/* ═══════════════════════════════════════════════════════════════════════
 * 3. 우측 floating 🎓 버튼 (Speed Dial 패턴)
 * ═══════════════════════════════════════════════════════════════════════ */
.cmp-guide-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 9000;
  display: flex; flex-direction: column; gap: 10px; align-items: center;
}
.cmp-guide-fab .cmp-fab-main {
  width: 56px; height: 56px; border-radius: 50%; border: none;
  background: linear-gradient(135deg, #6366f1, #8b5cf6); color: #fff;
  font-size: 1.6rem; cursor: pointer;
  box-shadow: 0 10px 30px rgba(99, 102, 241, .35);
  transition: all .2s ease;
  display: flex; align-items: center; justify-content: center;
}
.cmp-guide-fab .cmp-fab-main:hover { transform: scale(1.08); box-shadow: 0 14px 40px rgba(99, 102, 241, .5); }
.cmp-guide-fab .cmp-fab-sub {
  width: 42px; height: 42px; border-radius: 50%; border: none;
  background: #fff; color: #6366f1;
  font-size: 1.05rem; cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  transition: all .2s ease;
  display: flex; align-items: center; justify-content: center;
}
.cmp-guide-fab .cmp-fab-sub:hover { transform: scale(1.1); box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.cmp-guide-fab .cmp-fab-expert { background: #fef3c7; color: #92400e; }
@media (max-width: 720px) {
  .cmp-guide-fab { right: 14px; bottom: 80px; }
  .cmp-guide-fab .cmp-fab-main { width: 50px; height: 50px; font-size: 1.4rem; }
  .cmp-guide-fab .cmp-fab-sub { width: 38px; height: 38px; font-size: .95rem; }
}

/* ═══════════════════════════════════════════════════════════════════════
 * 4. 슬라이드 가이드 패널 (5탭 드로어)
 * ═══════════════════════════════════════════════════════════════════════ */
.cmp-guide-panel { position: fixed; inset: 0; z-index: 9500; }
.cmp-guide-overlay { position: absolute; inset: 0; background: rgba(15, 23, 42, .55); animation: cmp-fade .2s; }
@keyframes cmp-fade { from { opacity: 0; } to { opacity: 1; } }
.cmp-guide-drawer {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: min(560px, 100%); background: #fff;
  display: flex; flex-direction: column;
  box-shadow: -10px 0 40px rgba(0, 0, 0, .15);
  animation: cmp-slide-in .25s cubic-bezier(.4,0,.2,1);
}
@keyframes cmp-slide-in { from { transform: translateX(100%); } to { transform: translateX(0); } }
.cmp-guide-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; border-bottom: 1px solid #e5e7eb;
}
.cmp-guide-head h2 { margin: 0; font-size: 1.1rem; color: #111827; font-weight: 700; }
.cmp-guide-close {
  background: transparent; border: none; font-size: 1.3rem; cursor: pointer;
  color: #6b7280; padding: 6px 10px; border-radius: 6px;
}
.cmp-guide-close:hover { background: #f3f4f6; color: #111827; }
.cmp-guide-tabs {
  display: flex; padding: 0 22px; gap: 4px; border-bottom: 1px solid #e5e7eb;
  overflow-x: auto; scrollbar-width: thin;
}
.cmp-guide-tab {
  background: transparent; border: none; padding: 10px 14px;
  font-size: .78rem; cursor: pointer; color: #6b7280;
  border-bottom: 2px solid transparent; transition: all .15s ease; white-space: nowrap;
}
.cmp-guide-tab:hover { color: #111827; }
.cmp-guide-tab.on { color: #6366f1; border-color: #6366f1; font-weight: 700; }
.cmp-guide-body { flex: 1; overflow-y: auto; padding: 22px; font-size: .85rem; line-height: 1.6; color: #374151; }
.cmp-guide-body h3 { font-size: 1rem; color: #111827; margin: 0 0 14px; font-weight: 700; }
.cmp-guide-body h4 { font-size: .9rem; color: #111827; margin: 18px 0 10px; font-weight: 700; }
.cmp-guide-body p, .cmp-guide-body li { color: #4b5563; }
.cmp-guide-body ol, .cmp-guide-body ul { padding-left: 22px; margin: 8px 0; }
.cmp-guide-body li { margin-bottom: 6px; }
.cmp-guide-body b { color: #111827; }
.cmp-guide-cta {
  background: #6366f1; color: #fff; border: none; padding: 11px 18px;
  border-radius: 8px; font-size: .85rem; font-weight: 600; cursor: pointer;
  margin: 14px 0; transition: all .15s ease;
}
.cmp-guide-cta:hover { background: #4f46e5; transform: translateY(-1px); }
.cmp-guide-cta-mini {
  background: #6366f1; color: #fff; border: none; padding: 7px 12px;
  border-radius: 6px; font-size: .75rem; font-weight: 600; cursor: pointer;
}
.cmp-guide-steps { padding-left: 24px; }
.cmp-guide-steps li { margin-bottom: 10px; }
.cmp-guide-hint { font-size: .76rem; color: #6b7280; font-style: italic; margin-top: 10px; }
.cmp-guide-dl { margin: 0; }
.cmp-guide-dl dt {
  font-weight: 700; color: #111827; margin-top: 12px; font-size: .85rem;
  display: flex; align-items: center; gap: 6px;
}
.cmp-guide-dl dt::before { content: '❓'; font-size: .8rem; }
.cmp-guide-dl dd { margin: 4px 0 0 22px; color: #4b5563; font-size: .8rem; line-height: 1.55; }
.cmp-profile-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0;
}
.cmp-profile-card {
  padding: 12px 14px; border: 1px solid #e5e7eb; border-radius: 10px;
  cursor: pointer; transition: all .15s ease; background: #fafafa;
}
.cmp-profile-card:hover {
  border-color: #6366f1; background: #eef2ff; transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(99,102,241,.12);
}
.cmp-profile-card h5 { margin: 0 0 4px; font-size: .82rem; color: #111827; font-weight: 700; }
.cmp-profile-card .desc { font-size: .7rem; color: #6b7280; }
.cmp-guide-actions-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 12px 0;
}
.cmp-guide-action-card {
  padding: 14px; border: 1px solid #e5e7eb; border-radius: 10px;
}
.cmp-guide-action-card .ic { font-size: 1.6rem; margin-bottom: 6px; }
.cmp-guide-action-card h4 { margin: 0 0 4px; font-size: .85rem; color: #111827; }
.cmp-guide-action-card p { margin: 0 0 8px; font-size: .72rem; color: #6b7280; line-height: 1.5; }
.cmp-guide-shortcuts { width: 100%; border-collapse: collapse; margin-top: 10px; }
.cmp-guide-shortcuts td { padding: 6px 10px; border-bottom: 1px solid #f3f4f6; font-size: .78rem; }
.cmp-guide-shortcuts td:first-child { width: 90px; text-align: center; }
.cmp-guide-shortcuts kbd {
  display: inline-block; padding: 2px 8px; background: #f3f4f6;
  border: 1px solid #d1d5db; border-radius: 4px; font-family: monospace;
  font-size: .72rem; color: #1f2937;
}

/* ═══════════════════════════════════════════════════════════════════════
 * 5. AI Link 점수 산정 모달
 * ═══════════════════════════════════════════════════════════════════════ */
.cmp-score-modal { position: fixed; inset: 0; z-index: 9600; display: flex; align-items: center; justify-content: center; }
.cmp-score-overlay { position: absolute; inset: 0; background: rgba(15,23,42,.55); }
.cmp-score-content {
  position: relative; background: #fff; border-radius: 14px;
  width: min(720px, 92vw); max-height: 90vh; overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  animation: cmp-pop-in .2s cubic-bezier(.4,0,.2,1);
}
@keyframes cmp-pop-in { from { transform: scale(.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.cmp-score-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; border-bottom: 1px solid #e5e7eb;
}
.cmp-score-head h3 { margin: 0; font-size: 1.05rem; color: #111827; }
.cmp-score-head button { background: transparent; border: none; font-size: 1.2rem; cursor: pointer; color: #6b7280; padding: 4px 10px; }
.cmp-score-body { padding: 22px; overflow-y: auto; }
.cmp-score-intro { font-size: .85rem; color: #4b5563; margin: 0 0 16px; line-height: 1.6; }
.cmp-score-table { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.cmp-score-table th, .cmp-score-table td { padding: 9px 12px; border-bottom: 1px solid #f3f4f6; font-size: .8rem; text-align: left; }
.cmp-score-table th { background: #f9fafb; color: #6b7280; font-weight: 700; font-size: .72rem; }
.cmp-score-table td:nth-child(2) { text-align: center; font-weight: 700; color: #6366f1; width: 70px; }
.cmp-score-products { display: flex; flex-direction: column; gap: 10px; margin: 12px 0; }
.cmp-score-prod {
  display: grid; grid-template-columns: 1fr 80px; gap: 10px;
  align-items: center; padding: 10px 14px; background: #f9fafb;
  border-radius: 8px; font-size: .82rem;
}
.cmp-score-prod .name { font-weight: 600; color: #111827; }
.cmp-score-prod .score { font-weight: 700; color: #6366f1; text-align: right; }
.cmp-score-prod .bar {
  grid-column: 1 / -1; height: 6px; background: #e5e7eb; border-radius: 3px; overflow: hidden;
}
.cmp-score-prod .fill { height: 100%; background: linear-gradient(90deg, #6366f1, #8b5cf6); }
.cmp-score-note {
  margin-top: 16px; padding: 12px; background: #fffbeb;
  border: 1px solid #fde68a; border-radius: 8px;
  font-size: .76rem; color: #92400e;
}

/* ═══════════════════════════════════════════════════════════════════════
 * 6. Decision Wizard
 * ═══════════════════════════════════════════════════════════════════════ */
.cmp-wizard { position: fixed; inset: 0; z-index: 9700; display: flex; align-items: center; justify-content: center; }
.cmp-wizard-overlay { position: absolute; inset: 0; background: rgba(15,23,42,.7); }
.cmp-wizard-modal {
  position: relative; background: #fff; border-radius: 16px;
  padding: 30px 28px; width: min(520px, 92vw);
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  animation: cmp-pop-in .25s cubic-bezier(.4,0,.2,1);
}
.cmp-wizard-prog {
  font-size: .7rem; color: #6366f1; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px;
}
.cmp-wizard-modal h3 { margin: 0 0 20px; font-size: 1.15rem; color: #111827; font-weight: 700; }
.cmp-wizard-options {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 18px;
}
.cmp-wizard-opt {
  padding: 14px 12px; border: 2px solid #e5e7eb; background: #fff;
  border-radius: 10px; font-size: .85rem; font-weight: 600; cursor: pointer;
  color: #1f2937; text-align: left; transition: all .15s ease;
}
.cmp-wizard-opt:hover {
  border-color: #6366f1; background: #eef2ff; color: #4338ca;
  transform: translateY(-2px); box-shadow: 0 6px 18px rgba(99,102,241,.15);
}
.cmp-wizard-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.cmp-wizard-prev, .cmp-wizard-skip {
  background: transparent; border: none; padding: 8px 12px;
  font-size: .78rem; cursor: pointer; color: #6b7280; border-radius: 6px;
}
.cmp-wizard-prev:hover, .cmp-wizard-skip:hover { background: #f3f4f6; color: #1f2937; }

/* ═══════════════════════════════════════════════════════════════════════
 * 7. 전문가 상담 모달
 * ═══════════════════════════════════════════════════════════════════════ */
.cmp-expert-modal { position: fixed; inset: 0; z-index: 9650; display: flex; align-items: center; justify-content: center; }
.cmp-expert-overlay { position: absolute; inset: 0; background: rgba(15,23,42,.55); }
.cmp-expert-content {
  position: relative; background: #fff; border-radius: 14px;
  width: min(480px, 92vw); padding: 0; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  animation: cmp-pop-in .2s cubic-bezier(.4,0,.2,1);
}
.cmp-expert-content header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-bottom: 1px solid #fcd34d;
}
.cmp-expert-content header h3 { margin: 0; font-size: 1rem; color: #92400e; }
.cmp-expert-content header button { background: transparent; border: none; font-size: 1.2rem; cursor: pointer; color: #92400e; }
.cmp-expert-content .body { padding: 22px; }
.cmp-expert-content .body p { font-size: .85rem; color: #4b5563; margin: 0 0 14px; line-height: 1.6; }
.cmp-expert-perks { list-style: none; padding: 0; margin: 14px 0; }
.cmp-expert-perks li { padding: 7px 0; font-size: .82rem; color: #1f2937; border-bottom: 1px solid #f3f4f6; }
.cmp-expert-actions { display: flex; gap: 10px; margin-top: 18px; }
.cmp-expert-cta {
  flex: 1; background: #f59e0b; color: #fff; border: none;
  padding: 11px; border-radius: 8px; font-size: .9rem; font-weight: 700; cursor: pointer;
  transition: all .15s ease;
}
.cmp-expert-cta:hover { background: #d97706; transform: translateY(-1px); }
.cmp-expert-secondary {
  background: #f3f4f6; color: #4b5563; border: none;
  padding: 11px 16px; border-radius: 8px; font-size: .85rem; font-weight: 500; cursor: pointer;
}
.cmp-expert-note { margin-top: 12px; font-size: .72rem; color: #9ca3af; text-align: center; }

/* ═══════════════════════════════════════════════════════════════════════
 * 8. 컨텍스트 힌트
 * ═══════════════════════════════════════════════════════════════════════ */
.cmp-hints { display: flex; flex-direction: column; gap: 6px; margin: 12px 0; }
.cmp-hint {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 10px;
  font-size: .8rem; line-height: 1.5;
  animation: cmp-slide-down .25s ease-out;
}
@keyframes cmp-slide-down { from { transform: translateY(-8px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.cmp-hint-text { flex: 1; }
.cmp-hint-text b { font-weight: 700; }
.cmp-hint.cmp-hint-warn { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.cmp-hint.cmp-hint-info { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.cmp-hint.cmp-hint-ok   { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.cmp-hint-action {
  background: #fff; border: 1px solid currentColor; padding: 5px 10px;
  border-radius: 6px; font-size: .72rem; font-weight: 600; cursor: pointer;
  color: inherit; white-space: nowrap;
}
.cmp-hint-action:hover { opacity: .85; }
.cmp-hint-dismiss {
  background: transparent; border: none; font-size: .9rem; cursor: pointer;
  color: inherit; opacity: .5; padding: 0 4px;
}
.cmp-hint-dismiss:hover { opacity: 1; }

/* ═══════════════════════════════════════════════════════════════════════
 * 9. 진행률 체크리스트 (사이드바)
 * ═══════════════════════════════════════════════════════════════════════ */
.cmp-checklist {
  margin: 12px; padding: 12px; background: #f9fafb;
  border-radius: 10px; border: 1px solid #e5e7eb;
}
.cmp-checklist-head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .76rem; font-weight: 700; color: #1f2937; margin-bottom: 8px;
}
.cmp-checklist-toggle {
  background: transparent; border: none; cursor: pointer; color: #6b7280;
  padding: 0 4px; font-size: .8rem;
}
.cmp-checklist-list { list-style: none; padding: 0; margin: 0; }
.cmp-checklist-list li {
  display: flex; align-items: center; gap: 8px;
  padding: 4px 0; font-size: .72rem; color: #6b7280;
}
.cmp-checklist-list li.done { color: #10b981; }
.cmp-checklist-list li.done .lbl { text-decoration: line-through; opacity: .7; }
.cmp-checklist-list li .ic {
  display: inline-flex; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; align-items: center; justify-content: center;
  font-size: .65rem; font-weight: 700; border: 1px solid #d1d5db;
}
.cmp-checklist-list li.done .ic { background: #10b981; color: #fff; border-color: #10b981; }
.cmp-checklist.collapsed .cmp-checklist-list { display: none; }

/* ═══════════════════════════════════════════════════════════════════════
 * 10. Empty Hero
 * ═══════════════════════════════════════════════════════════════════════ */
.cmp-empty-hero {
  text-align: center; padding: 50px 20px 40px;
  background: linear-gradient(135deg, #eef2ff 0%, #fff 100%);
  border-radius: 14px; margin: 20px 0;
  border: 2px dashed #c7d2fe;
}
.cmp-empty-illust { font-size: 4rem; margin-bottom: 12px; }
.cmp-empty-hero h2 { margin: 0 0 8px; font-size: 1.4rem; color: #1f2937; font-weight: 700; }
.cmp-empty-hero p { margin: 0 auto 24px; max-width: 500px; color: #6b7280; font-size: .9rem; line-height: 1.6; }
.cmp-empty-steps {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 24px;
}
.cmp-empty-steps .step {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 14px 18px; background: #fff; border-radius: 12px;
  min-width: 140px; box-shadow: 0 4px 12px rgba(0,0,0,.05);
}
.cmp-empty-steps .num {
  width: 32px; height: 32px; border-radius: 50%;
  background: #6366f1; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .9rem;
}
.cmp-empty-steps .lbl { font-size: .76rem; color: #4b5563; line-height: 1.4; text-align: center; }
.cmp-empty-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: #6366f1; font-size: .85rem; font-weight: 600;
  padding: 8px 16px; background: #eef2ff; border-radius: 99px;
  margin-bottom: 18px;
  animation: cmp-bounce-x 1.4s ease-in-out infinite;
}
@keyframes cmp-bounce-x { 0%,100% { transform: translateX(0); } 50% { transform: translateX(-8px); } }
.cmp-empty-cta { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.cmp-empty-cta button {
  padding: 9px 16px; border-radius: 8px; border: 1px solid #c7d2fe;
  background: #fff; color: #4338ca; font-weight: 600; font-size: .82rem;
  cursor: pointer; transition: all .15s ease;
}
.cmp-empty-cta button:hover {
  background: #6366f1; color: #fff; border-color: #6366f1;
  transform: translateY(-2px); box-shadow: 0 6px 16px rgba(99,102,241,.25);
}

/* ═══════════════════════════════════════════════════════════════════════
 * 11. Cmd+K 명령 팔레트
 * ═══════════════════════════════════════════════════════════════════════ */
.cmp-cmdk { position: fixed; inset: 0; z-index: 9800; display: flex; align-items: flex-start; justify-content: center; padding-top: 80px; }
.cmp-cmdk-overlay { position: absolute; inset: 0; background: rgba(15,23,42,.45); }
.cmp-cmdk-modal {
  position: relative; background: #fff; border-radius: 12px;
  width: min(540px, 92vw); max-height: 70vh; overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  animation: cmp-pop-in .15s cubic-bezier(.4,0,.2,1);
}
.cmp-cmdk-input {
  width: 100%; padding: 16px 20px; border: none; border-bottom: 1px solid #e5e7eb;
  font-size: 1rem; outline: none; background: transparent;
}
.cmp-cmdk-list { flex: 1; overflow-y: auto; padding: 6px 0; }
.cmp-cmdk-item {
  width: 100%; text-align: left; background: transparent; border: none;
  padding: 10px 18px; cursor: pointer; transition: background .1s;
  display: flex; flex-direction: column; gap: 2px;
}
.cmp-cmdk-item:hover, .cmp-cmdk-item:focus { background: #eef2ff; outline: none; }
.cmp-cmdk-item .lbl { font-size: .85rem; color: #1f2937; font-weight: 500; }
.cmp-cmdk-item .sub { font-size: .7rem; color: #9ca3af; }
.cmp-cmdk-empty { padding: 30px; text-align: center; color: #9ca3af; font-size: .85rem; }

/* ═══════════════════════════════════════════════════════════════════════
 * Dark Mode
 * ═══════════════════════════════════════════════════════════════════════ */
[data-theme="dark"] .cmp-tour-tip { background: #1e293b; color: #e2e8f0; }
[data-theme="dark"] .cmp-tour-tip::before { background: #1e293b; }
[data-theme="dark"] .cmp-tour-tip h4 { color: #f8fafc; }
[data-theme="dark"] .cmp-tour-body { color: #cbd5e1; }
[data-theme="dark"] .cmp-tour-body b { color: #f8fafc; }
[data-theme="dark"] .cmp-tour-btn { background: rgba(255,255,255,.08); color: #cbd5e1; }
[data-theme="dark"] .cmp-tour-btn:hover { background: rgba(255,255,255,.15); }

[data-theme="dark"] .cmp-guide-drawer { background: #0f172a; }
[data-theme="dark"] .cmp-guide-head { border-color: #334155; }
[data-theme="dark"] .cmp-guide-head h2 { color: #f1f5f9; }
[data-theme="dark"] .cmp-guide-tabs { border-color: #334155; }
[data-theme="dark"] .cmp-guide-tab { color: #94a3b8; }
[data-theme="dark"] .cmp-guide-tab.on { color: #818cf8; border-color: #818cf8; }
[data-theme="dark"] .cmp-guide-body, [data-theme="dark"] .cmp-guide-body p, [data-theme="dark"] .cmp-guide-body li { color: #cbd5e1; }
[data-theme="dark"] .cmp-guide-body h3, [data-theme="dark"] .cmp-guide-body h4, [data-theme="dark"] .cmp-guide-body b, [data-theme="dark"] .cmp-guide-dl dt { color: #f1f5f9; }
[data-theme="dark"] .cmp-profile-card { background: rgba(255,255,255,.04); border-color: #334155; }
[data-theme="dark"] .cmp-profile-card:hover { background: rgba(99,102,241,.15); border-color: #818cf8; }
[data-theme="dark"] .cmp-profile-card h5 { color: #f1f5f9; }
[data-theme="dark"] .cmp-profile-card .desc { color: #94a3b8; }
[data-theme="dark"] .cmp-guide-action-card { border-color: #334155; }
[data-theme="dark"] .cmp-guide-action-card h4 { color: #f1f5f9; }
[data-theme="dark"] .cmp-guide-action-card p { color: #94a3b8; }
[data-theme="dark"] .cmp-guide-shortcuts td { border-color: #334155; }
[data-theme="dark"] .cmp-guide-shortcuts kbd { background: rgba(255,255,255,.08); color: #f1f5f9; border-color: #475569; }

[data-theme="dark"] .cmp-score-content, [data-theme="dark"] .cmp-wizard-modal, [data-theme="dark"] .cmp-expert-content, [data-theme="dark"] .cmp-cmdk-modal { background: #0f172a; }
[data-theme="dark"] .cmp-score-head, [data-theme="dark"] .cmp-cmdk-input { border-color: #334155; }
[data-theme="dark"] .cmp-score-head h3 { color: #f1f5f9; }
[data-theme="dark"] .cmp-score-intro, [data-theme="dark"] .cmp-wizard-modal h3 { color: #f1f5f9; }
[data-theme="dark"] .cmp-score-table th { background: rgba(255,255,255,.05); color: #94a3b8; }
[data-theme="dark"] .cmp-score-table td { border-color: #334155; color: #cbd5e1; }
[data-theme="dark"] .cmp-score-prod { background: rgba(255,255,255,.04); }
[data-theme="dark"] .cmp-score-prod .name { color: #f1f5f9; }
[data-theme="dark"] .cmp-wizard-opt { background: rgba(255,255,255,.04); border-color: #334155; color: #f1f5f9; }
[data-theme="dark"] .cmp-wizard-opt:hover { background: rgba(99,102,241,.15); border-color: #818cf8; color: #c7d2fe; }
[data-theme="dark"] .cmp-cmdk-input { color: #f1f5f9; }
[data-theme="dark"] .cmp-cmdk-item .lbl { color: #f1f5f9; }
[data-theme="dark"] .cmp-cmdk-item:hover { background: rgba(99,102,241,.15); }
[data-theme="dark"] .cmp-checklist { background: rgba(255,255,255,.04); border-color: #334155; }
[data-theme="dark"] .cmp-checklist-head { color: #f1f5f9; }

[data-theme="dark"] .cmp-empty-hero { background: rgba(99,102,241,.08); border-color: #475569; }
[data-theme="dark"] .cmp-empty-hero h2 { color: #f1f5f9; }
[data-theme="dark"] .cmp-empty-hero p { color: #94a3b8; }
[data-theme="dark"] .cmp-empty-steps .step { background: rgba(255,255,255,.04); }
[data-theme="dark"] .cmp-empty-steps .lbl { color: #cbd5e1; }
[data-theme="dark"] .cmp-empty-arrow { background: rgba(99,102,241,.18); color: #c7d2fe; }
[data-theme="dark"] .cmp-empty-cta button { background: rgba(255,255,255,.04); border-color: #475569; color: #c7d2fe; }
[data-theme="dark"] .cmp-empty-cta button:hover { background: #6366f1; color: #fff; }

[data-theme="dark"] .cmp-tooltip { background: #1e293b; }
[data-theme="dark"] .cmp-help-icon { color: #64748b; }
[data-theme="dark"] .cmp-help-icon:hover { color: #818cf8; }

@media (max-width: 720px) {
  .cmp-profile-grid, .cmp-wizard-options, .cmp-guide-actions-grid { grid-template-columns: 1fr; }
  .cmp-tour-tip { width: min(320px, calc(100vw - 32px)); }
}

/* ═══════════════════════════════════════════════════════════════════════
 * Print: 가이드 UI 전부 숨김
 * ═══════════════════════════════════════════════════════════════════════ */
@media print {
  .cmp-guide-fab, .cmp-tour-overlay, .cmp-guide-panel,
  .cmp-score-modal, .cmp-wizard, .cmp-expert-modal,
  .cmp-hints, .cmp-checklist, .cmp-empty-hero, .cmp-cmdk,
  .cmp-help-icon, .cmp-tooltip, .cmp-guide-toast { display: none !important; }
}
