/* =========================================================================
 *  기능 섹션 — 제품 UI 목업 (플레이스홀더 대체용)
 *  실제 스크린샷으로 교체하기 전까지 사용하는 CSS 인터페이스 목업
 * ========================================================================= */

.mock {
  position: absolute; inset: 37px 0 0 0; /* shot-bar(약 37px) 아래부터 */
  background:
    radial-gradient(120% 120% at 0% 0%, #f3f7fd, #fbfcfe 60%);
  padding: 18px; overflow: hidden;
  font-size: 12px; color: var(--slate-600);
}
.mock * { box-sizing: border-box; }
.mk-bar { height: 7px; border-radius: 4px; background: #e7ecf4; }
.mk-bar.s { width: 55%; } .mk-bar.m { width: 72%; } .mk-bar.l { width: 90%; }
.mk-bar.b { background: var(--blue-100); }

/* ---------- 1. 고객 360° (CRM) ---------- */
.mk-crm { display: grid; grid-template-columns: 64px 1fr; gap: 12px; height: 100%; }
.mk-rail { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.mk-rail .logo { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--blue-500), var(--blue-700)); }
.mk-rail .ico { width: 30px; height: 30px; border-radius: 9px; background: #eef2f8; }
.mk-rail .ico.on { background: var(--blue-50); box-shadow: inset 0 0 0 1.5px var(--blue-100); }
.mk-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px; }
.mk-id { display: flex; align-items: center; gap: 12px; }
.mk-ava { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, #9cc0fb, #3b78ec); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px; flex: none; }
.mk-id .nm { font-size: 15px; font-weight: 800; color: var(--ink); }
.mk-id .tags { display: flex; gap: 5px; margin-top: 5px; }
.mk-chip { font-size: 9.5px; font-weight: 700; padding: 2px 8px; border-radius: 20px; background: var(--blue-50); color: var(--blue-700); white-space: nowrap; }
.mk-chip.g { background: #e6f5ec; color: #1c7a4f; }
.mk-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mk-field { background: var(--bg-soft); border-radius: 9px; padding: 9px 10px; }
.mk-field .k { font-size: 9.5px; color: var(--slate-400); font-weight: 700; }
.mk-field .v { font-size: 12px; color: var(--slate-700); font-weight: 600; margin-top: 4px; }
.mk-tl { display: flex; flex-direction: column; gap: 9px; }
.mk-ev { display: flex; gap: 9px; align-items: center; }
.mk-ev .pt { width: 9px; height: 9px; border-radius: 50%; background: var(--blue-500); flex: none; box-shadow: 0 0 0 3px var(--blue-50); }
.mk-ev .pt.g { background: #2bb673; box-shadow: 0 0 0 3px #e6f5ec; }
.mk-ev .pt.o { background: #e6952b; box-shadow: 0 0 0 3px #fbf0dd; }

/* ---------- 2. 파이프라인 (Kanban) ---------- */
.mk-pipe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; height: 100%; }
.mk-col { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 11px; display: flex; flex-direction: column; gap: 9px; }
.mk-col .ch { display: flex; align-items: center; justify-content: space-between; font-size: 10.5px; font-weight: 800; color: var(--slate-500); }
.mk-col .ch .cnt { background: #eef2f8; color: var(--slate-600); border-radius: 20px; padding: 1px 8px; font-size: 9.5px; }
.mk-deal { background: var(--bg-soft); border: 1px solid var(--line-soft); border-radius: 9px; padding: 9px; display: flex; flex-direction: column; gap: 7px; }
.mk-deal .dt { font-size: 11px; font-weight: 700; color: var(--ink); }
.mk-deal .amt { font-size: 12.5px; font-weight: 800; color: var(--blue-600); letter-spacing: -0.02em; }
.mk-deal .meta { display: flex; align-items: center; gap: 6px; }
.mk-deal .av2 { width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg, #b6cffb, #5b8def); flex: none; }
.mk-pill { font-size: 9px; font-weight: 800; padding: 2px 7px; border-radius: 20px; white-space: nowrap; }
.mk-pill.n { background: var(--blue-50); color: var(--blue-700); }
.mk-pill.o { background: #fbf0dd; color: #b06a17; }
.mk-pill.g { background: #e6f5ec; color: #1c7a4f; }

/* ---------- 3. 디지털 온보딩 (Form) ---------- */
.mk-form { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; height: 100%; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 13px; }
.mk-form .fh { display: flex; align-items: center; justify-content: space-between; }
.mk-form .fh .ttl { font-size: 13px; font-weight: 800; color: var(--ink); }
.mk-form .fh .step { font-size: 9.5px; font-weight: 700; color: var(--blue-600); background: var(--blue-50); padding: 3px 9px; border-radius: 20px; white-space: nowrap; }
.mk-inp { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 9px; padding: 10px 11px; display: flex; flex-direction: column; gap: 6px; }
.mk-inp .lab { font-size: 9.5px; font-weight: 700; color: var(--slate-400); }
.mk-inp .val { font-size: 12px; color: var(--slate-700); font-weight: 600; }
.mk-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mk-sign { border: 1.5px dashed var(--blue-100); border-radius: 9px; padding: 12px; background: linear-gradient(135deg, #f5f9ff, #fff); display: flex; align-items: center; justify-content: space-between; }
.mk-sign .sg { font-family: 'Brush Script MT', cursive; font-size: 22px; color: var(--blue-700); font-style: italic; }
.mk-sign .ok { font-size: 9.5px; font-weight: 800; color: #1c7a4f; background: #e6f5ec; padding: 4px 9px; border-radius: 20px; }
.mk-btn { margin-top: auto; background: var(--blue-600); color: #fff; border-radius: 9px; text-align: center; padding: 11px; font-size: 12px; font-weight: 700; box-shadow: 0 6px 14px rgba(31,95,214,.25); }

/* ---------- 4. 자동화 워크플로 (Flow) ---------- */
.mk-flow { height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 0; padding: 4px 8px; }
.mk-node { background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 11px 13px; display: flex; align-items: center; gap: 11px; box-shadow: var(--shadow-sm); }
.mk-node .nic { width: 32px; height: 32px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 15px; flex: none; }
.mk-node .nic.t { background: var(--blue-600); color: #fff; }
.mk-node .nic.c { background: #fbf0dd; color: #b06a17; }
.mk-node .nic.m { background: #e6f5ec; color: #1c7a4f; }
.mk-node .nt { font-size: 11.5px; font-weight: 800; color: var(--ink); }
.mk-node .ns { font-size: 9.5px; color: var(--slate-400); margin-top: 2px; }
.mk-node .badge { margin-left: auto; font-size: 9px; font-weight: 800; color: var(--blue-700); background: var(--blue-50); padding: 3px 8px; border-radius: 20px; }
.mk-link { width: 2px; height: 18px; background: var(--blue-100); margin: 0 0 0 24px; position: relative; }
.mk-link::after { content: ""; position: absolute; bottom: -2px; left: -3px; width: 8px; height: 8px; border-right: 2px solid var(--blue-100); border-bottom: 2px solid var(--blue-100); transform: rotate(45deg); }

/* ---------- 5. 클라이언트 포털 (Calendar) ---------- */
.mk-cal { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 15px; height: 100%; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 11px; }
.mk-cal .calh { display: flex; align-items: center; justify-content: space-between; }
.mk-cal .calh .mo { font-size: 13px; font-weight: 800; color: var(--ink); }
.mk-cal .calh .nav { display: flex; gap: 6px; }
.mk-cal .calh .nav i { width: 20px; height: 20px; border-radius: 6px; background: var(--bg-soft); display: block; }
.mk-dow { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; font-size: 9px; font-weight: 700; color: var(--slate-400); text-align: center; }
.mk-grid { display: grid; grid-template-columns: repeat(7, 1fr); grid-auto-rows: 1fr; gap: 5px; flex: 1; }
.mk-day { background: var(--bg-soft); border-radius: 7px; padding: 5px; font-size: 9px; font-weight: 700; color: var(--slate-500); position: relative; }
.mk-day.dim { opacity: .4; }
.mk-day.today { background: var(--blue-50); box-shadow: inset 0 0 0 1.5px var(--blue-100); color: var(--blue-700); }
.mk-day .evt { position: absolute; left: 4px; right: 4px; bottom: 4px; height: 6px; border-radius: 3px; background: var(--blue-500); }
.mk-day .evt.g { background: #2bb673; } .mk-day .evt.o { background: #e6952b; }
.mk-day .evt2 { bottom: 12px; }

@media (max-width: 560px) {
  .mock { font-size: 11px; padding: 12px; }
  .mk-crm { grid-template-columns: 48px 1fr; }
}
