/* ─────────────────────────────────────────────────────────────
   services.css

   베이스 = _preview-services.html 의 시각 구조·DOM·인터랙션 (약 75%)
     preview 는 단독 파일이라 전역 셀렉터를 썼으므로 .sv-page 아래로
     스코프만 옮겼다. 값은 preview 그대로.

   1차 안에서 가져온 정보 구조 (약 25%)
     · 상단 상품 관계도  .rel   (이어링 → + 전문 상담 운영 → 이어톡)
     · 하단 선택 가이드  .pick  (compact decision row)
     · 이어링 내부 처리 6단계 → .vf-micro 로 흐름 STEP 02 안에 흡수

   preview 원본에서 브랜드 규칙 때문에 바꾼 두 가지 (보고서에 명시)
     · .bub.h 이관 알림 amber(#fff7e8 / #8a5a00) → blush + mid pink
     · .cta 의 pink gradient → brand 단색
   ───────────────────────────────────────────────────────────── */

.sv-page {
  --pv-ink: #111;
  --pv-ink2: #3d4351;
  --pv-ink3: #6b7280;
  --pv-ink4: #9aa0aa;
  --pv-line: #ececec;
  --pv-line-2: #f0f0f0;
  --pv-bg2: #f9fafb;
  --pv-rose: #dd4a84;
  /* 아래 3개는 review 시안(.ib/.ai/.pls/.dvC 컴포넌트)에서 그대로 가져온 별칭 토큰 */
  --pv-text: var(--pv-ink2);
  --pv-text2: var(--pv-ink3);
  --pv-muted: var(--pv-ink4);
  --pv-tint: var(--brand-050);
  --pv-human: var(--slate-900);
  --pv-human-soft: #eef1f7;
  --pv-sh: 0 14px 40px rgba(22, 35, 61, .09);
  --pv-alert: #dc2626;
  --pv-alert-dark: #b91c1c;
  --pv-alert-soft: #fee2e2;
  color: #333;
  line-height: 1.7;
}
/* 사이트 공통 컨테이너(1320px, brand.css --wrap)와 좌우 기준선을 맞춘다.
   이전엔 .sv-page .wrap이 1180px로 따로 정의돼 있어 hero/footer(1280→1320)와
   본문 섹션의 시작선이 어긋났다(2026-09-10 수정). */
.sv-page .wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--wrap-pad); }
@media (max-width: 1000px) { .sv-page .wrap { padding: 0 24px; } }
@media (max-width: 600px)  { .sv-page .wrap { padding: 0 20px; } }
/* 사이트 공통 섹션 간 여백 기준(68px, pricing.html 참고)에 맞춰 조정(2026-09-10) */
.sv-page section { padding: 34px 0; }
.sv-page section.alt { background: var(--pv-bg2); }
.sv-page .tag { font-size: var(--fs-label); font-weight: 800; color: var(--brand); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 10px; }
.sv-page h2.st { font-size: var(--fs-section-title); font-weight: 800; color: var(--pv-ink); letter-spacing: -0.02em; margin: 0 0 10px; line-height: 1.35; }
.sv-page p.ss { font-size: var(--fs-subtitle); color: var(--pv-ink3); margin: 0 0 36px; max-width: 920px; word-break: keep-all; text-wrap: pretty; }
@media (max-width: 900px) {
  /* 데스크톱 2줄 균형을 위해 넣은 수동 <br>이 좁은 폭에서는 문장 앞부분과 겹쳐
     어색한 고아 줄을 만든다 — 이 폭부터는 자동 줄바꿈에 맡긴다 */
  .sv-page p.ss br { content: ""; display: none; }
}
@media (max-width: 600px) {
  /* page-head 부제(모바일 17px)와 크기를 맞춘다 */
  .sv-page p.ss { font-size: 17px; }
}

/* 스크롤 등장 */
.sv-page .rv { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.sv-page .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .sv-page .rv { opacity: 1; transform: none; transition: none; } }

/* ══ 01 HERO ══ */
/* 상단은 사이트 공통 .page-head 를 쓴다. 첫 섹션도 다른 섹션과 동일한 공통 간격을 쓴다 */

/* ══ 상품 관계도 — 1차 안에서 가져옴. preview 카드 톤으로 맞춤 ══ */
.sv-page .rel { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; margin: 0 0 20px; }
.sv-page .rel-card {
  background: #fff; border: 1px solid var(--pv-line); border-radius: 16px;
  padding: 24px 26px; box-shadow: 0 2px 14px rgba(0,0,0,.04);
  display: flex; flex-direction: column;
}
.sv-page .rel-card.talk { background: rgba(200,17,90,.04); border-color: rgba(200,17,90,.22); }
.sv-page .rel-k { font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--brand); margin: 0 0 8px; }
.sv-page .rel-n { font-size: 20px; font-weight: 800; color: var(--pv-ink); letter-spacing: -0.02em; margin: 0 0 6px; }
.sv-page .rel-d { font-size: 17px; color: var(--pv-ink3); margin: 0; line-height: 1.7; word-break: keep-all; }
.sv-page .rel-join { display: flex; align-items: center; gap: 12px; padding: 0 22px; min-width: 280px; }
.sv-page .rel-line { flex: 1; height: 1px; background: #e2e5ea; position: relative; }
.sv-page .rel-line i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--pv-rose); transition: width .6s cubic-bezier(.2,.7,.3,1); }
.sv-page .rel.in .rel-line i { width: 100%; transition-delay: .25s; }
.sv-page .rel-plus {
  font-size: 14px; font-weight: 800; color: var(--pv-rose); white-space: nowrap;
  background: #fff; border: 1px solid rgba(221,74,132,.4); border-radius: 999px; padding: 7px 14px;
}
.sv-page .rel-note { font-size: 16px; color: var(--pv-ink4); margin: 0 0 44px; word-break: keep-all; }
@media (prefers-reduced-motion: reduce) { .sv-page .rel-line i { width: 100% !important; transition: none; } }

/* ══ 02 서비스 ══ */
/* 설명 문장이 한 줄에 들어가도록 텍스트 열을 조금 더 준다 (.rev 는 좌우가 바뀌므로 반대로) */
.sv-page .svc { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.sv-page .svc.rev { grid-template-columns: 0.9fr 1.1fr; }
.sv-page .svc + .svc { margin-top: 76px; padding-top: 76px; border-top: 1px dashed #e5e5e5; }
.sv-page .svc.rev .svc-l { order: 2; }
.sv-page .svc-no { font-size: 12px; font-weight: 800; color: var(--brand); letter-spacing: .14em; margin: 0 0 8px; }
.sv-page .svc-h { font-size: 28px; font-weight: 800; color: var(--pv-ink); margin: 0 0 6px; letter-spacing: -0.02em; }
.sv-page .svc-sub { font-size: 17px; font-weight: 700; color: var(--pv-ink2); margin: 0 0 14px; }
/* 긴 설명을 한 문단에 몰지 않고 문장 단위 block 으로 분리. 폭·행간을 먼저 고정한다 */
.sv-page .svc-body { display: flex; flex-direction: column; gap: 12px; margin: 0 0 22px; max-width: 580px; }
/* 줄바꿈은 의미 단위 경계에서만. 나열 어구는 .nb 로 묶어 가운뎃점에서 끊기지 않게 한다 */
.sv-page .svc-desc { font-size: var(--fs-body-primary); color: var(--pv-ink3); margin: 0; line-height: 1.75; word-break: keep-all; text-wrap: pretty; }
.sv-page .nb { white-space: nowrap; }
/* 문장 경계 강제 개행 — 1열로 접히는 좁은 폭에서는 해제 */
@media (max-width: 900px) { .sv-page .svc-desc .cb { display: none; } }
.sv-page .how { background: #fff; border: 1px solid var(--pv-line); border-left: 3px solid var(--brand); border-radius: 0 12px 12px 0; padding: 14px 18px; }
.sv-page .how-k { font-size: 12px; font-weight: 800; color: var(--brand); letter-spacing: .12em; margin: 0 0 6px; }
.sv-page .how-v { font-size: 17px; font-weight: 600; color: var(--pv-ink2); margin: 0; line-height: 1.7; word-break: keep-all; }
.sv-page .how-v + .how-v { margin-top: 6px; }
.sv-page .how-v.sub { font-weight: 400; color: var(--pv-ink3); }
.sv-page .fcard { background: #fff; border: 1px solid var(--pv-line); border-radius: 16px; padding: 26px 28px; box-shadow: 0 2px 14px rgba(0,0,0,.04); }
.sv-page section.alt .fcard { background: #fff; }
.sv-page .fcard h3 { font-size: 14px; font-weight: 800; color: var(--pv-ink4); letter-spacing: .1em; margin: 0 0 16px; text-transform: uppercase; }
.sv-page .fcard ul { list-style: none; margin: 0; padding: 0; }
/* 2줄로 넘어가는 항목의 둘째 줄이 체크 아이콘 아래로 흐르지 않게 열을 고정 */
.sv-page .fcard li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 18px; color: var(--pv-ink2); line-height: 1.75; word-break: keep-all; }
.sv-page .fcard li + li { margin-top: 11px; }
.sv-page .ck {
  width: 18px; height: 18px; border-radius: 50%; background: rgba(200,17,90,.1); color: var(--brand);
  display: grid; place-items: center; font-size: 12px; font-weight: 800; margin-top: 4px;
}

/* ══ 03 FLOW — 세로 타임라인 ══ */
.sv-page .vflow { margin: 0 0 44px; }
.sv-page .vf { display: grid; grid-template-columns: 56px 1fr; gap: 22px; }
.sv-page .vf-rail { position: relative; display: flex; flex-direction: column; align-items: center; }
.sv-page .vf-dot {
  width: 38px; height: 38px; border-radius: 12px; background: #fff; border: 1.5px solid #e2e5ea; color: #b9bec7;
  display: grid; place-items: center; font-size: 16px; font-weight: 800; flex: 0 0 38px; z-index: 1;
  transition: border-color .45s, color .45s, background .45s, box-shadow .45s;
}
.sv-page .vf.on .vf-dot { border-color: var(--brand); color: var(--brand); box-shadow: 0 0 0 5px rgba(200,17,90,.07); }
.sv-page .vf.key.on .vf-dot { background: var(--brand); color: #fff; border-color: var(--brand); }
.sv-page .vf-line { flex: 1; width: 2px; background: #eceff3; margin: 6px 0; position: relative; overflow: hidden; }
.sv-page .vf-line i { position: absolute; inset: 0 auto 0 0; width: 100%; height: 0; background: var(--brand); transition: height .6s ease; }
.sv-page .vf.on .vf-line i { height: 100%; }
.sv-page .vf:last-child .vf-line { display: none; }
.sv-page .vf-body { padding-bottom: 30px; opacity: .4; transform: translateY(8px); transition: opacity .5s, transform .5s; }
.sv-page .vf.on .vf-body { opacity: 1; transform: none; }
.sv-page .vf-t { font-size: 18px; font-weight: 800; color: var(--pv-ink); margin: 6px 0 5px; }
.sv-page .vf-d { font-size: 18px; color: var(--pv-ink3); margin: 0 0 12px; line-height: 1.7; word-break: keep-all; text-wrap: pretty; }
.sv-page .vf-chips { display: flex; gap: 7px; flex-wrap: wrap; }
.sv-page .vf-chips span {
  font-size: 14px; font-weight: 600; color: #4a5160; background: #fff; border: 1px solid #e2e5ea;
  border-radius: 8px; padding: 6px 11px;
}
.sv-page .vf-chips span.pink { background: rgba(200,17,90,.08); border-color: rgba(200,17,90,.26); color: var(--brand); }
.sv-page .vf-note { margin: 10px 0 0; font-size: 16px; color: var(--pv-ink4); line-height: 1.65; word-break: keep-all; text-wrap: pretty; }
.sv-page .vf-cap { font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--pv-ink4); margin: 0 0 8px; }
.sv-page .vf-split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 4px; }
.sv-page .vf-b { border-radius: 14px; padding: 16px 18px; border: 1.5px solid #e6e8ec; background: #fff; }
.sv-page .vf-b.a { border-color: rgba(200,17,90,.3); background: rgba(200,17,90,.04); }
.sv-page .vf-bk { font-size: 12px; font-weight: 800; letter-spacing: .1em; margin: 0 0 6px; }
.sv-page .vf-b.a .vf-bk { color: var(--brand); }
.sv-page .vf-b.b .vf-bk { color: var(--pv-ink4); }
.sv-page .vf-bt { font-size: 18px; font-weight: 400; color: var(--pv-ink2); margin: 0; line-height: 1.65; }

/* 1차 안의 AI 내부 처리 6단계를 흐름 STEP 02 안으로 흡수 — 별도 섹션 만들지 않음 */
.sv-page .vf-micro { margin: 14px 0 0; padding: 14px 16px; background: #fff; border: 1px solid #e8eaee; border-radius: 12px; }
.sv-page .vf-micro-k { font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--pv-ink4); margin: 0 0 10px; }
.sv-page .vf-micro-l { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 4px; }
.sv-page .vf-micro-l b { font-size: 14px; font-weight: 600; color: var(--pv-ink2); }
.sv-page .vf-micro-l i {
  font-style: normal; color: #cfd3d9; font-size: 12px;
  transition: color .45s;
}
.sv-page .vf.on .vf-micro-l i { color: rgba(200,17,90,.5); }

/* ══ 04 업무 영역 ══ */
.sv-page .jobs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sv-page .job { background: #fff; border: 1px solid var(--pv-line); border-radius: 14px; padding: 22px; display: flex; gap: 15px; align-items: flex-start; }
.sv-page .job-i { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 11px; background: rgba(200,17,90,.08); display: grid; place-items: center; font-size: 21px; }
.sv-page .job h4 { font-size: 17px; font-weight: 700; color: var(--pv-ink); margin: 0 0 5px; }
.sv-page .job p { font-size: 16px; color: var(--pv-ink4); margin: 0; line-height: 1.6; word-break: keep-all; }

/* ══ 05 CASE — 1층 고객 화면 / 2층 이어링 내부 처리 ══
   고객이 실제로 보는 화면과 시스템이 뒤에서 처리한 과정을 확실히 분리한다.
   고객 화면에는 AI 처리·정책 대조 같은 내부 용어가 하나도 나오지 않는다. */
.sv-page .cases { display: flex; flex-direction: column; gap: 20px; }
.sv-page .case { background: #fff; border: 1px solid var(--pv-line); border-radius: 16px; padding: 24px 26px; box-shadow: 0 2px 14px rgba(0,0,0,.04); }
.sv-page .case-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.sv-page .case-n { font-size: 12px; font-weight: 800; color: var(--brand); letter-spacing: .1em; }
/* 결과 상태는 고객 UI 안이 아니라 카드 바깥 */
.sv-page .case-b { font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: #f0f1f4; color: #4a5160; white-space: nowrap; }
.sv-page .case-b.pink { background: rgba(200,17,90,.09); color: var(--brand); }
.sv-page .case-t { font-size: 18px; font-weight: 800; color: var(--pv-ink); margin: 0 0 18px; }

.sv-page .case-in { display: grid; grid-template-columns: 1fr 48px 1fr; align-items: start; }
.sv-page .lyr-k {
  font-size: 12px; font-weight: 800; letter-spacing: .14em; color: var(--pv-ink4);
  display: flex; align-items: center; gap: 8px; margin: 0 0 10px;
}
.sv-page .lyr-k::after { content: ""; flex: 1; height: 1px; background: #eceff3; }

/* ── 1층 · 고객 화면 (실제 메신저 UI) ── */
.sv-page .cv-ui { border: 1px solid #e6e8ec; border-radius: 14px; overflow: hidden; background: #fff; }
.sv-page .cv-top { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid #f0f1f4; }
.sv-page .cv-av { width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 800; flex: 0 0 26px; }
.sv-page .cv-name { font-size: 14px; font-weight: 800; color: var(--pv-ink2); }
.sv-page .cv-live { font-size: 12px; color: #16a34a; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; margin-left: auto; }
.sv-page .cv-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #16a34a; }
.sv-page .cv-body { padding: 14px; background: #f7f8fa; display: flex; flex-direction: column; }
.sv-page .bub { font-size: 17px; line-height: 1.65; border-radius: 12px; padding: 10px 13px; margin-bottom: 8px; max-width: 88%; }
.sv-page .bub.u { background: var(--brand); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.sv-page .bub.a { background: #fff; border: 1px solid #e8eaee; color: var(--pv-ink2); align-self: flex-start; border-bottom-left-radius: 4px; }
/* 시스템 상태 메시지 — 말풍선이 아님 */
.sv-page .cv-sys { align-self: center; font-size: 15px; color: #9aa0aa; margin: 4px 0 10px; }
/* 화자가 상담사로 바뀌는 지점 */
.sv-page .cv-who { align-self: flex-start; font-size: 12px; font-weight: 800; color: var(--pv-rose); margin: 2px 0 6px; }

/* ── 커넥터 ── */
.sv-page .case-link { position: relative; align-self: stretch; min-height: 90px; }
.sv-page .case-link::before { content: ""; position: absolute; left: 50%; top: 34px; bottom: 8px; border-left: 1px dashed #dfe3e8; }
.sv-page .case-link span {
  position: absolute; left: 50%; top: 34px; transform: translate(-50%, -50%);
  width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 1px solid #e2e5ea;
  color: #b9bec7; display: grid; place-items: center; font-size: 12px;
}

/* ── 2층 · 이어링 내부 처리 ── */
.sv-page .bts-steps { list-style: none; margin: 0 0 16px; padding: 0; }
.sv-page .bts-steps li { position: relative; padding: 0 0 11px 20px; font-size: 14px; color: var(--pv-ink2); line-height: 1.6; }
.sv-page .bts-steps li::before { content: ""; position: absolute; left: 3px; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: rgba(200,17,90,.3); }
.sv-page .bts-steps li::after { content: ""; position: absolute; left: 5.5px; top: 15px; bottom: 1px; width: 1px; background: #eceff3; }
.sv-page .bts-steps li:last-child { padding-bottom: 0; }
.sv-page .bts-steps li:last-child::after { display: none; }
.sv-page .bts-steps li b { color: var(--brand); font-weight: 700; }
.sv-page .bts-row-k { font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--pv-ink4); margin: 0 0 7px; }
.sv-page .bts-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.sv-page .bts-chips span { font-size: 14px; font-weight: 600; color: #4a5160; background: #f3f4f6; border: 1px solid #eceff3; border-radius: 6px; padding: 4px 9px; }
.sv-page .bts-chips span.on { background: rgba(200,17,90,.07); border-color: rgba(200,17,90,.28); color: var(--brand); }
.sv-page .bts-hand {
  margin: 12px 0; padding: 9px 12px; font-size: 14px; font-weight: 800; color: var(--brand);
  background: #fff2f6; border: 1px solid var(--pv-rose); border-radius: 8px; text-align: center;
}

.sv-page .case-f { margin-top: 16px; padding-top: 14px; border-top: 1px dashed #e8e8e8; font-size: var(--fs-caption); color: var(--pv-ink4); word-break: keep-all; }
.sv-page .case-f b { color: var(--pv-ink2); font-weight: 700; }

/* 이관 조건 */
.sv-page .esc { margin-top: 26px; background: #fff; border: 1px solid var(--pv-line); border-radius: 16px; padding: 24px 26px; }
.sv-page .esc h4 { font-size: 16px; font-weight: 800; color: var(--pv-ink); margin: 0 0 4px; }
.sv-page .esc p { font-size: 17px; color: var(--pv-ink4); margin: 0 0 16px; }
.sv-page .esc-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.sv-page .esc-chip { font-size: 14px; font-weight: 600; color: #4a5160; background: #f0f1f4; border: 1px solid #e2e5ea; border-radius: 8px; padding: 7px 13px; }

/* ══ 06 처리 범위 ══ */
/* 가능/불가 비교가 아니라 "대부분 처리 → 판단 필요할 때만 확인" 흐름 */
.sv-page .scope { display: grid; grid-template-columns: 1fr 176px 1fr; align-items: stretch; }
.sv-page .scope-link { position: relative; display: grid; place-items: center; padding: 0 10px; }
.sv-page .scope-link::before { content: ""; position: absolute; left: 6px; right: 6px; top: 50%; border-top: 1px dashed #e2e5ea; }
.sv-page .scope-link span {
  position: relative; background: #fff; border: 1px solid #e2e5ea; border-radius: 50%;
  width: 30px; height: 30px; display: grid; place-items: center;
  font-size: 15px; font-weight: 700; color: #9aa0aa; line-height: 1;
}
.sv-page .sbox { border-radius: 16px; padding: 26px 28px; border: 1px solid #e9e9ee; background: #fff; display: flex; flex-direction: column; }
/* 고객사 확인 필요 = 덜 중요한 영역이 아니라 역할이 다른 영역. 경고색이 아닌 옅은 blush */
.sv-page .sbox.no { background: #fff7fa; border-color: #f2c4d6; }
.sv-page .sbox-h { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; }
.sv-page .sbox-d { font-size: 17px; color: var(--pv-ink3); margin: 0 0 18px; line-height: 1.7; word-break: keep-all; text-wrap: pretty; min-height: calc(1.7em * 2); }
.sv-page .sbox h3 { font-size: 18px; font-weight: 800; margin: 0; letter-spacing: -0.02em; }
.sv-page .sbox.yes h3 { color: var(--brand); }
.sv-page .sbox.no h3 { color: var(--brand); }
.sv-page .sbox-tag {
  margin-left: auto; white-space: nowrap; font-size: 12px; font-weight: 700;
  border-radius: 5px; padding: 4px 10px;
  color: var(--brand); border: 1px solid rgba(200,17,90,.3); background: #fff;
}
.sv-page .sbox-tag.alt { color: var(--pv-ink3); border-color: #dfe3e8; }
.sv-page .sbox ul { list-style: none; margin: 0; padding: 0; }
/* 2줄로 넘어가도 둘째 줄이 마커 아래로 흐르지 않게 열 고정 */
.sv-page .sbox li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 18px; color: var(--pv-ink2); line-height: 1.7; word-break: keep-all; }
.sv-page .sbox li + li { margin-top: 9px; }
.sv-page .sbox.no li { color: var(--pv-ink2); }
.sv-page .sbox li small { display: block; font-size: 14px; color: var(--pv-ink4); }
/* 마커는 원형 배지 안의 기호 */
.sv-page .mk {
  width: 18px; height: 18px; border-radius: 50%; margin-top: 3px;
  display: grid; place-items: center; font-size: 12px; font-weight: 800; line-height: 1;
}
.sv-page .sbox.yes .mk { background: rgba(200,17,90,.1); color: var(--brand); }
.sv-page .sbox.no .mk { background: #f0f1f4; color: var(--pv-ink4); }

/* ══ 07 운영 개선 ══ */
/* 글자 수가 아니라 그리드가 축을 정한다. connector 는 텍스트 inline 이 아니라 독립 열 */
.sv-page .bens { display: grid; grid-template-columns: 1fr 44px 1fr 44px 1fr; align-items: stretch; }
.sv-page .ben { background: #fff; border: 1px solid var(--pv-line); border-radius: 16px; padding: 26px 24px; display: flex; flex-direction: column; }
.sv-page .ben-link { display: grid; place-items: center; }
.sv-page .ben-link span {
  width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 1px solid rgba(200,17,90,.28);
  color: var(--brand); display: grid; place-items: center; font-size: 14px; font-weight: 800;
}
.sv-page .ben-k { font-size: 12px; font-weight: 800; color: var(--brand); letter-spacing: .1em; margin: 0 0 12px; }
.sv-page .ben-t {
  font-size: 17px; font-weight: 800; color: var(--pv-ink); margin: 0 0 8px;
  line-height: 1.5; min-height: calc(1.5em * 2); word-break: keep-all;
}
.sv-page .ben-d { font-size: 17px; color: var(--pv-ink3); margin: 0; line-height: 1.7; word-break: keep-all; text-wrap: pretty; }
.sv-page .ben-note {
  margin: 22px 0 0; font-size: 17px; color: var(--pv-ink3); line-height: 1.75; word-break: keep-all;
  padding: 16px 18px; background: #fff; border: 1px dashed rgba(200,17,90,.28); border-radius: 12px;
}
.sv-page .ben-note b { color: var(--brand); font-weight: 800; }

/* ══ 08 선택 가이드 — 1차 안에서 가져온 compact decision ══ */
.sv-page .pick { border-top: 1px solid #e8e8e8; }
/* [운영 상황][→][추천 서비스] 세 열을 두 행이 공유한다 */
.sv-page .pick-row {
  display: grid; grid-template-columns: minmax(0, 1fr) 48px 300px; gap: 20px; align-items: center;
  min-height: 96px; padding: 18px 4px; border-bottom: 1px solid #e8e8e8; text-decoration: none;
  transition: background-color .2s cubic-bezier(.2,.7,.3,1);
}
.sv-page .pick-row:hover { background: rgba(200,17,90,.03); }
.sv-page .pick-when { font-size: 18px; color: var(--pv-ink2); margin: 0; word-break: keep-all; }
/* 화살표는 전용 열 정중앙 */
.sv-page .pick-arrow {
  justify-self: center; width: 30px; height: 30px; border-radius: 50%;
  background: #fff; border: 1px solid #e2e5ea; color: #b9bec7;
  display: grid; place-items: center; font-size: 15px; font-weight: 800;
  transition: border-color .2s, color .2s;
}
.sv-page .pick-row:hover .pick-arrow { border-color: rgba(200,17,90,.4); color: var(--brand); }
.sv-page .pick-to { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.sv-page .pick-name { font-size: 20px; font-weight: 800; color: var(--brand); letter-spacing: -0.02em; white-space: nowrap; line-height: 1.35; }
.sv-page .pick-sub { font-size: 14px; color: var(--pv-ink4); white-space: nowrap; }

/* ══ 09 CTA ══
   preview 원본은 pink gradient. 브랜드 규칙상 brand 단색으로 대체 */
.sv-page .cta { background: var(--brand); border-radius: 20px; padding: 52px; text-align: center; color: #fff; }
.sv-page .cta h3 { font-size: 32px; font-weight: 800; margin: 0 0 10px; letter-spacing: -0.02em; }
.sv-page .cta p { font-size: 18px; color: rgba(255,255,255,.85); margin: 0 0 26px; }
.sv-page .cta-b { display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.sv-page .cta-b .btn { height: 48px; padding: 0 28px; font-size: 17px; }
.sv-page .cta-b .btn-o { background: transparent; color: #fff !important; border: 1.5px solid rgba(255,255,255,.6); }
.sv-page .cta-b .btn-o:hover { background: rgba(255,255,255,.12); }

@media (max-width: 900px) {
  .sv-page .rel { grid-template-columns: 1fr; }
  .sv-page .rel-join { padding: 16px 0; min-width: 0; }
  .sv-page .svc, .sv-page .svc.rev { grid-template-columns: 1fr; gap: 26px; }
  .sv-page .svc.rev .svc-l { order: 0; }
  .sv-page .jobs { grid-template-columns: 1fr; }
  .sv-page .bens { grid-template-columns: 1fr; gap: 0; }
  .sv-page .ben-link { padding: 10px 0; }
  .sv-page .ben-t { min-height: 0; }
  /* 좁은 화면에서는 고객 화면 위 · 내부 처리 아래로 */
  .sv-page .case-in { grid-template-columns: 1fr; }
  .sv-page .case-link { min-height: 0; height: 26px; }
  .sv-page .case-link::before { left: 22px; top: 0; bottom: 0; }
  .sv-page .case-link span { left: 22px; top: 50%; }
  .sv-page .scope { grid-template-columns: 1fr; gap: 0; }
  .sv-page .scope-link { padding: 18px 0; }
  .sv-page .scope-link::before { left: 50%; right: auto; top: 6px; bottom: 6px; border-top: none; border-left: 1px dashed #e2e5ea; }
  .sv-page .sbox-d { min-height: 0; }
  .sv-page .vf { grid-template-columns: 40px 1fr; gap: 14px; }
  .sv-page .vf-dot { width: 32px; height: 32px; flex: 0 0 32px; font-size: 14px; }
  .sv-page .vf-split { grid-template-columns: 1fr; }
  .sv-page .pick-row { grid-template-columns: 1fr; gap: 12px; }
  .sv-page .pick-arrow { justify-self: start; }
  .sv-page .pick-row { min-height: 0; }
  .sv-page h2.st { font-size: 28px; }
  .sv-page section { padding: 24px 0; }
  .sv-page .cta { padding: 36px 24px; }
}

/* ══ 10 운영 리포트 미리보기 (Data 섹션 하단, 예시 데이터) ══ */
.sv-page .rp-preview { margin-top: 28px; border: 1px solid var(--pv-line); border-radius: 16px; background: #fff; box-shadow: 0 2px 14px rgba(0,0,0,.04); overflow: hidden; }
.sv-page .rp-top { display: flex; align-items: flex-start; gap: 12px; padding: 18px 22px 14px; border-bottom: 2px solid var(--brand); flex-wrap: wrap; }
.sv-page .rp-top h4 { margin: 0 0 3px; font-size: 17px; font-weight: 800; color: var(--pv-ink); }
.sv-page .rp-top p { margin: 0; font-size: var(--fs-caption); color: var(--pv-ink4); }
.sv-page .pv-sample {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; color: var(--pv-ink4);
  border: 1px dashed var(--pv-line); border-radius: 999px; padding: 4px 10px; background: #fff; white-space: nowrap;
}
.sv-page .pv-sample::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-200); }

.sv-page .rp-sec { padding: 18px 22px; border-bottom: 1px solid #f0f1f4; min-width: 0; }
.sv-page .rp-sec:last-of-type { border-bottom: none; }
.sv-page .rp-k { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; color: var(--pv-ink); margin: 0 0 12px; }
.sv-page .rp-k::before { content: ""; width: 3px; height: 12px; border-radius: 2px; background: var(--brand); }

.sv-page .rp-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.sv-page .rp-kpi { border: 1px solid var(--pv-line); border-radius: 10px; padding: 12px 14px; }
.sv-page .rp-kpi span { display: block; font-size: 12px; color: var(--pv-ink3); font-weight: 700; margin-bottom: 5px; }
.sv-page .rp-kpi b { font-size: 24px; font-weight: 800; color: var(--pv-ink); letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.sv-page .rp-kpi b.br { color: var(--brand); }
.sv-page .rp-kpi small { display: block; font-size: 12px; color: var(--pv-ink3); margin-top: 5px; }
.sv-page .rp-kpi small.up { color: #047857; font-weight: 700; }
.sv-page .rp-kpi.hi { background: var(--brand-050); border-color: var(--brand-100); }

.sv-page .rp-ratio { height: 10px; border-radius: 6px; background: #edf0f4; overflow: hidden; }
.sv-page .rp-ratio i { display: block; height: 100%; width: 0; background: var(--brand); border-radius: 6px; transition: width 1s cubic-bezier(.22,1,.36,1); }
.sv-page .rp-ratio-l { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; font-size: 13px; color: var(--pv-ink3); flex-wrap: wrap; }
.sv-page .rp-ratio-l b { color: var(--pv-ink); }

.sv-page .rp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.sv-page .rp-two > .rp-sec + .rp-sec { border-left: 1px solid #f0f1f4; }

.sv-page .rp-chart { width: 100%; height: auto; display: block; opacity: 0; transition: opacity .8s ease; }
.sv-page .rp-preview.is-in .rp-chart { opacity: 1; }
.sv-page .rp-chart .grid { stroke: var(--pv-line); stroke-width: 1; }
.sv-page .rp-chart .area { fill: rgba(200,17,90,.08); }
.sv-page .rp-chart .line { fill: none; stroke: var(--brand); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.sv-page .rp-chart .prev { fill: none; stroke: #c9cfda; stroke-width: 1.6; stroke-dasharray: 4 4; }
.sv-page .rp-chart .pt { fill: #fff; stroke: var(--brand); stroke-width: 2; }
.sv-page .rp-chart text { font-size: 12px; fill: var(--pv-ink4); font-family: inherit; }
.sv-page .rp-chart .pk { font-size: 12px; font-weight: 800; fill: var(--brand-dark); }
.sv-page .rp-legend { display: flex; gap: 14px; font-size: 12px; color: var(--pv-ink3); margin-top: 7px; }
.sv-page .rp-legend i { display: inline-block; width: 14px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 5px; background: var(--brand); }
.sv-page .rp-legend i.prev { background: #c9cfda; }

.sv-page .rp-bars { display: grid; gap: 9px; }
.sv-page .rp-bar { display: grid; grid-template-columns: 76px 1fr 26px; align-items: center; gap: 10px; font-size: 13px; color: var(--pv-ink2); }
.sv-page .rp-bar .tr { height: 9px; border-radius: 5px; background: #edf0f4; overflow: hidden; }
.sv-page .rp-bar .tr i { display: block; height: 100%; width: 0; background: var(--brand-300); border-radius: 5px; transition: width 1s cubic-bezier(.22,1,.36,1); }
.sv-page .rp-bar.hi .tr i { background: var(--brand); }
.sv-page .rp-bar b { text-align: right; font-weight: 800; color: var(--pv-ink); font-variant-numeric: tabular-nums; }

.sv-page .rp-improve-line {
  display: flex; align-items: flex-start; gap: 10px; padding: 14px 22px;
  background: var(--pv-bg2); font-size: 15px; color: var(--pv-ink3); line-height: 1.6; word-break: keep-all;
}
.sv-page .rp-improve-line .ic {
  flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-050); color: var(--brand);
  font-size: 12px; font-weight: 800; display: grid; place-items: center; margin-top: 1px; font-style: normal;
}
.sv-page .rp-faq { border: 1px solid var(--pv-line); border-radius: 10px; padding: 12px 14px; font-size: 16px; line-height: 1.58; color: var(--pv-text); }
.sv-page .rp-faq b { display: block; color: var(--pv-ink); margin-bottom: 3px; }
.sv-page .rp-faq + .rp-faq { margin-top: 9px; }
.sv-page .rp-improve { margin: 0 22px 22px; border: 1px solid var(--brand-100); background: var(--pv-tint); border-radius: 14px; padding: 14px 18px; }
.sv-page .rp-improve h5 { margin: 0 0 9px; font-size: 14px; font-weight: 800; color: var(--brand-dark); letter-spacing: .04em; }
.sv-page .rp-improve ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.sv-page .rp-improve li { display: grid; grid-template-columns: 24px 1fr; gap: 11px; font-size: 16px; color: var(--pv-text); line-height: 1.58; word-break: keep-all; }
.sv-page .rp-improve li i { font-style: normal; width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; background: #fff; color: var(--brand); font-size: 12px; font-weight: 800; border: 1px solid var(--brand-200); }
.sv-page .rp-improve li b { color: var(--pv-ink); }
.sv-page .rp-note { margin: 10px 2px 0; font-size: var(--fs-caption); color: var(--pv-ink4); }

@media (max-width: 900px) {
  .sv-page .rp-kpis { grid-template-columns: repeat(2, 1fr); }
  .sv-page .rp-two { grid-template-columns: 1fr; }
  .sv-page .rp-two > .rp-sec + .rp-sec { border-left: none; border-top: 1px solid #f0f1f4; }
}
@media (max-width: 600px) {
  .sv-page .rp-top, .sv-page .rp-sec, .sv-page .rp-improve-line { padding-left: 16px; padding-right: 16px; }
  .sv-page .rp-kpi b { font-size: 20px; }
  .sv-page .rp-sec.opt { display: none; }
  .sv-page .rp-improve { margin-left: 16px; margin-right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .sv-page .rp-chart { transition: none; }
  .sv-page .rp-ratio i, .sv-page .rp-bar .tr i { transition: none; }
}

/* 공용 소형 배지 — S1 인박스 · S2 AI 처리 탭에서 함께 사용 */
.sv-page .ch { display: inline-flex; align-items: center; gap: 5px; font-size: var(--fs-badge); font-weight: 700; line-height: 1; padding: 5px 8px; border-radius: 6px; border: 1px solid var(--pv-line); color: var(--pv-text); background: #fff; white-space: nowrap; }
.sv-page .ch.brand { color: var(--brand); border-color: var(--brand-200); background: var(--pv-tint); }
.sv-page .ch.soft { background: #f6f7fa; border-color: transparent; color: var(--pv-text2); }
.sv-page .ch.ok { color: #047857; background: var(--ok-soft); border-color: #bfe9d7; }
.sv-page .ch.neg { color: #fff; background: var(--slate-700); border-color: var(--slate-700); }
.sv-page .ch.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-weight: 600; letter-spacing: .02em; }
.sv-page .ch.xs { font-size: var(--fs-badge); padding: 3px 6px; }

/* ══ 11 문의 통합 수집 인박스 (.ib) ══ */
.sv-page .ib { border: 1px solid var(--pv-line); border-radius: 16px; background: #fff; box-shadow: var(--pv-sh); overflow: hidden; min-width: 0; }
.sv-page .ib-chrome { display: flex; align-items: center; gap: 7px; padding: 12px 20px; background: #f6f7f9; border-bottom: 1px solid var(--pv-line); }
.sv-page .ib-chrome i { width: 10px; height: 10px; border-radius: 50%; background: #e2e5ea; }
.sv-page .ib-chrome span { margin-left: 10px; font-size: 12px; font-weight: 600; color: var(--pv-muted); }
.sv-page .order-w .ib-chrome { background: var(--pv-human-soft); border-bottom-color: #d5dbe6; }
.sv-page .order-w .ib-chrome i { background: #c3cadb; }
.sv-page .order-w .ib-chrome span { color: var(--pv-human); }
.sv-page .inquiry-w .ib-chrome { background: var(--pv-tint); border-bottom-color: var(--brand-100); }
.sv-page .inquiry-w .ib-chrome i { background: var(--brand-200); }
.sv-page .inquiry-w .ib-chrome span { color: var(--brand-dark); }
.sv-page .ib-top { display: flex; align-items: center; gap: 14px; padding: 18px 24px; border-bottom: 1px solid var(--pv-line); flex-wrap: wrap; }
.sv-page .ib-top h4 { margin: 0; font-size: 17px; font-weight: 800; color: var(--pv-ink); }
.sv-page .ib-top .sync { margin-left: auto; font-size: 12px; color: var(--pv-text2); display: inline-flex; align-items: center; gap: 6px; }
.sv-page .ib-top .sync::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.sv-page .ib-grid { display: grid; grid-template-columns: 138px minmax(0, 1fr) 118px 96px 210px; gap: 16px; align-items: center; padding-left: 24px; padding-right: 24px; }
.sv-page .ib-head { height: 40px; font-size: 12px; font-weight: 700; color: var(--pv-muted); border-top: 1px solid var(--pv-line); border-bottom: 1px solid var(--pv-line); background: #fafbfc; }
.sv-page .ib-row { padding: 17px 24px; border-bottom: 1px solid var(--pv-line-2); }
.sv-page .ib-row:last-child { border-bottom: none; }
.sv-page .ib-row.active { background: #fff8fa; box-shadow: inset 3px 0 0 var(--brand); }
.sv-page .ib-row .t { font-size: 16px; font-weight: 700; color: var(--pv-ink); line-height: 1.4; margin: 0 0 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sv-page .ib-row .s { font-size: 14px; color: var(--pv-text2); margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sv-page .ib-row .s .id { font-family: ui-monospace, Menlo, Consolas, monospace; color: var(--pv-muted); margin-right: 6px; }
.sv-page .ib-row .stc { display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
.sv-page .ib-row .stc small { font-size: 11px; color: var(--pv-muted); }
.sv-page .ib-foot { display: flex; align-items: center; gap: 20px; padding: 14px 24px; border-top: 1px solid var(--pv-line); background: #fafbfc; font-size: 12px; color: var(--pv-text2); flex-wrap: wrap; }
.sv-page .ib-foot b { color: var(--pv-ink); font-weight: 800; }
.sv-page .ib-foot .lg { display: inline-flex; align-items: center; gap: 6px; }
.sv-page .ib-foot .lg::before { content: ""; width: 10px; height: 10px; border-radius: 3px; }
.sv-page .ib-foot .lg.ai::before { background: var(--brand); }
.sv-page .ib-foot .lg.hu::before { background: var(--pv-human); }
.sv-page .ib-foot .lg.nd::before { background: #fff; border: 1.5px dashed var(--brand-400); box-sizing: border-box; }
.sv-page .ib .src { display: inline-flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.sv-page .ib .src small { font-size: 11px; color: var(--pv-muted); }
/* 처리 상태 배지 — .st 는 이미 섹션 제목(h2.st)에 쓰이므로 .ib-st 로 명명해 충돌 방지 */
.sv-page .ib-st { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; line-height: 1; padding: 6px 10px; border-radius: 7px; white-space: nowrap; }
.sv-page .ib-st.done { color: #047857; background: var(--ok-soft); border: 1px solid #bfe9d7; }
.sv-page .ib-st.human { color: #fff; background: var(--pv-human); }
.sv-page .ib-st.human-soft { color: var(--pv-human); background: var(--pv-human-soft); border: 1px solid #d5dbe6; }
.sv-page .ib-st.warn { color: #b45309; background: #fef3c7; border: 1px solid #fde68a; }

/* ══ 11-2 주문 자동 수집 (.oc) — .ib 컨테이너/크롬/탭/푸터를 그대로 재사용하고
   행 레이아웃만 주문 데이터에 맞게 별도 정의 ══ */
.sv-page .oc-grid { display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1fr) 90px 150px; gap: 16px; align-items: center; padding-left: 24px; padding-right: 24px; }
.sv-page .oc-grid .col-amt { text-align: right; }
.sv-page .oc-grid .amt-val { font-size: 14px; font-weight: 800; color: var(--pv-ink); white-space: nowrap; }
.sv-page .oc-grid .who { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sv-page .oc-grid .who b { font-size: 15px; font-weight: 700; color: var(--pv-ink); }
.sv-page .oc-grid .who span { font-size: 12px; color: var(--pv-text2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sv-page .oc-grid .prod { font-size: 14px; color: var(--pv-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ══ 11-3 문의·주문 통합 수집 — 두 .ib 창을 살짝 겹쳐 배치 (.ib-dual) ══ */
.sv-page .ib-dual { display: flex; align-items: flex-start; margin-bottom: 14px; }
.sv-page .ib-dual .ib-w { flex: 0 0 54%; min-width: 0; position: relative; }
.sv-page .ib-dual .order-w { z-index: 1; }
.sv-page .ib-dual .inquiry-w { z-index: 2; margin-left: -8%; margin-top: 44px; box-shadow: 0 26px 56px rgba(22, 35, 61, .18); }
.sv-page .ib-peek-tag {
  position: absolute; right: 20px; top: -11px; z-index: 3; background: var(--slate-900); color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}
.sv-page .ib-peek-tag.front { background: var(--brand); }

/* 좌우 배치(901px~)에서만 밀도·열 구성을 조정 — 900px 이하는 아래 반응형 규칙(세로 스택)을 그대로 씀 */
@media (min-width: 901px) {
  .sv-page .ib-dual .ib-chrome { padding: 9px 20px; }
  .sv-page .ib-dual .ib-top { padding: 13px 20px; }
  .sv-page .ib-dual .ib-row { padding: 10px 20px; }
  .sv-page .ib-dual .ib-foot { padding: 11px 20px; }
  .sv-page .ib-dual .ib-row .t { font-size: 14px; margin-bottom: 2px; }
  .sv-page .ib-dual .ib-row .s { font-size: 12px; }
  .sv-page .ib-dual .oc-grid .prod, .sv-page .ib-dual .oc-grid .who b { font-size: 13px; }
  .sv-page .ib-dual .ib-grid { grid-template-columns: 108px minmax(0, 1fr) 150px; }
  .sv-page .ib-dual .ib-grid .col-type, .sv-page .ib-dual .ib-grid .col-senti { display: none; }
  .sv-page .ib-dual .oc-grid { grid-template-columns: 100px minmax(0, 1fr) minmax(0, 1fr) 140px; }
  .sv-page .ib-dual .oc-grid .col-amt { display: none; }
}
@media (max-width: 900px) {
  .sv-page .ib-dual { flex-direction: column; }
  .sv-page .ib-dual .ib-w { flex-basis: auto; width: 100%; }
  .sv-page .ib-dual .inquiry-w { margin-left: 0; margin-top: 20px; box-shadow: var(--pv-sh); }
}

/* ══ 11-4 운영 캘린더 — 월/주/일/목록 뷰가 자동으로 크로스페이드 전환되는 카드.
     .ib/.ib-chrome/.ib-top은 위 Inbox 패널과 동일 컴포넌트를 그대로 재사용한다 ══ */
.sv-page .opcal-tabs { margin-left: auto; display: inline-flex; gap: 4px; padding: 4px; background: #f1f3f7; border-radius: 11px; }
.sv-page .opcal-tab { font-family: inherit; font-size: 13px; font-weight: 800; color: var(--pv-ink3); background: transparent; border: none; border-radius: 8px; padding: 7px 14px; cursor: pointer; transition: background-color .2s, color .2s; }
.sv-page .opcal-tab.on { background: #fff; color: var(--pv-ink); box-shadow: 0 2px 6px rgba(22, 35, 61, .08); }
.sv-page .opcal-track { position: relative; height: 328px; overflow: hidden; }
.sv-page .opcal-panel { position: absolute; inset: 0; padding: 20px 24px 22px; opacity: 0; transform: translateX(18px); transition: opacity .45s ease, transform .45s ease; pointer-events: none; }
.sv-page .opcal-panel.on { opacity: 1; transform: translateX(0); pointer-events: auto; }
.sv-page .opcal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.sv-page .opcal-head b { font-size: 15px; font-weight: 800; color: var(--pv-ink); }
.sv-page .opcal-legend { display: flex; gap: 14px; font-size: 12px; color: var(--pv-ink3); }
.sv-page .opcal-legend span { display: inline-flex; align-items: center; gap: 5px; }
.sv-page .opcal-legend i { width: 8px; height: 8px; border-radius: 50%; }
.sv-page .opcal-legend .in i { background: var(--slate-900); }
.sv-page .opcal-legend .off i { background: var(--slate-500); }
.sv-page .opcal-legend .promo i { background: var(--brand); }

/* 월 — 아래 1~2줄은 점점 흐려지며 사라지는 페이드 처리 */
.sv-page .opcal-mgrid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 50%, transparent 94%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 50%, transparent 94%);
}
.sv-page .opcal-dow { font-size: 11px; font-weight: 800; color: var(--pv-ink4); text-align: center; padding-bottom: 6px; }
.sv-page .opcal-cell { min-width: 0; min-height: 44px; border: 1px solid var(--pv-line-2); border-radius: 8px; padding: 4px 5px; display: flex; flex-direction: column; gap: 2px; background: #fff; }
.sv-page .opcal-cell.out { background: #fafbfc; }
.sv-page .opcal-cell.out .dn { color: var(--pv-ink4); }
.sv-page .opcal-cell .dn { font-size: 11.5px; font-weight: 700; color: var(--pv-ink3); }
.sv-page .opcal-cell.today { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
/* 대한민국 표준 달력 표기 — 토요일 파란색, 일요일 빨간색(요일 헤더 7개 뒤로 매주 6·7번째 칸) */
.sv-page .opcal-dow:nth-child(6) { color: #2563eb; }
.sv-page .opcal-dow:nth-child(7) { color: #dc2626; }
.sv-page .opcal-mgrid .opcal-cell:nth-child(7n+13) .dn { color: #2563eb; }
.sv-page .opcal-mgrid .opcal-cell:nth-child(7n+14) .dn { color: #dc2626; }
.sv-page .opcal-mgrid .opcal-cell.out:nth-child(7n+13) .dn { color: #93b4ea; }
.sv-page .opcal-mgrid .opcal-cell.out:nth-child(7n+14) .dn { color: #eeaa9f; }
.sv-page .opcal-tag { display: block; font-size: 8.5px; font-weight: 700; padding: 2px 4px; border-radius: 4px; color: #fff; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sv-page .opcal-tag.in { background: var(--slate-900); }
.sv-page .opcal-tag.off { background: var(--slate-500); }
.sv-page .opcal-tag.promo { background: var(--brand); }

/* 주 — 실제 시간표 그리드(시간 열 + 요일 열), 아래로 갈수록 페이드 */
.sv-page .opcal-tgrid-wrap {
  max-height: 286px; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 92%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 92%);
}
.sv-page .opcal-tgrid { display: grid; grid-template-columns: 52px repeat(7, 1fr); min-width: 480px; }
.sv-page .opcal-tcell { border-bottom: 1px solid var(--pv-line-2); border-right: 1px solid var(--pv-line-2); min-height: 30px; box-sizing: border-box; padding: 5px 4px; display: flex; align-items: center; justify-content: center; }
.sv-page .opcal-tcell:nth-child(8n) { border-right: none; }
.sv-page .opcal-tcell.time { justify-content: flex-end; padding-right: 8px; font-size: 10.5px; font-weight: 700; color: var(--pv-ink4); }
.sv-page .opcal-tcell.head { flex-direction: column; gap: 2px; padding: 8px 4px; background: #fafbfc; border-bottom: 2px solid var(--pv-line); }
.sv-page .opcal-tcell.head.time { background: #fafbfc; }
.sv-page .opcal-tcell.head .dow { font-size: 10.5px; font-weight: 800; color: var(--pv-ink4); }
.sv-page .opcal-tcell.head .dn { font-size: 14px; font-weight: 800; color: var(--pv-ink); }
.sv-page .opcal-tcell.head.today { background: var(--pv-tint); }
.sv-page .opcal-tcell.head.today .dn { color: var(--brand); }
.sv-page .opcal-tcell.head.sat .dow, .sv-page .opcal-tcell.head.sat .dn { color: #2563eb; }
.sv-page .opcal-tcell.head.sun .dow, .sv-page .opcal-tcell.head.sun .dn { color: #dc2626; }
.sv-page .opcal-ev { width: 100%; background: var(--slate-900); color: #fff; font-size: 9.5px; font-weight: 700; padding: 5px 4px; border-radius: 5px; text-align: center; line-height: 1.3; word-break: keep-all; }

/* 일 */
.sv-page .opcal-day { display: flex; flex-direction: column; }
.sv-page .opcal-drow { display: flex; align-items: center; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--pv-line-2); }
.sv-page .opcal-drow .t { flex: none; width: 56px; font-size: 12.5px; font-weight: 700; color: var(--pv-ink4); }
.sv-page .opcal-drow .v { font-size: 13.5px; color: var(--pv-ink4); }
.sv-page .opcal-drow.hit { background: var(--pv-tint); margin: 0 -10px; padding: 9px 10px; border-radius: 8px; border-bottom-color: transparent; }
.sv-page .opcal-drow.hit .t { color: var(--brand-dark); }
.sv-page .opcal-drow.hit .v { color: var(--pv-ink); font-weight: 700; }

/* 목록 — 실제 "캘린더 설정" 표(종류/제목/기간/공개범위/상태) 그대로 */
.sv-page .opcal-tbl-wrap { overflow-x: auto; }
.sv-page .opcal-tbl { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 12.5px; }
.sv-page .opcal-tbl th { text-align: left; padding: 9px 10px; font-size: 11px; font-weight: 800; color: var(--pv-ink4); border-bottom: 1px solid var(--pv-line); white-space: nowrap; }
.sv-page .opcal-tbl td { padding: 11px 10px; border-bottom: 1px solid var(--pv-line-2); color: var(--pv-ink2); white-space: nowrap; }
.sv-page .opcal-tbl td b { font-weight: 700; color: var(--pv-ink); }
.sv-page .opcal-tbl tr:last-child td { border-bottom: none; }
.sv-page .opcal-chip { display: inline-block; margin-left: 6px; font-size: 10px; font-weight: 700; padding: 3px 7px; border-radius: 999px; background: #f1f3f7; color: var(--pv-ink3); }
.sv-page .opcal-chip.ok { background: var(--ok-soft); color: #047857; }
.sv-page .opcal-status { display: inline-block; font-size: 11px; font-weight: 800; padding: 4px 9px; border-radius: 999px; }
.sv-page .opcal-status.wait { background: #fef3c7; color: #b45309; }
.sv-page .opcal-status.done { background: var(--pv-tint); color: var(--brand-dark); }

/* 일정 추가 입력창 예시 */
.sv-page .opcal-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.sv-page .opcal-form-card { margin-top: 0; }
@media (max-width: 900px) {
  .sv-page .opcal-cols { grid-template-columns: 1fr; }
  .sv-page .opcal-form-card { margin-top: 20px; }
}
.sv-page .opcal-form-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 14px; }
.sv-page .opcal-frow { display: grid; grid-template-columns: 130px 1fr; gap: 12px; align-items: start; }
.sv-page .opcal-frow.split { grid-template-columns: 130px 1fr 1fr; }
.sv-page .opcal-frow.chk { align-items: center; }
.sv-page .opcal-flab { font-size: 13px; font-weight: 700; color: var(--pv-ink3); padding-top: 9px; }
.sv-page .opcal-frow.chk .opcal-flab { padding-top: 0; }
.sv-page .opcal-ffield { font-size: 13.5px; color: var(--pv-ink4); background: #fafbfc; border: 1px solid var(--pv-line); border-radius: 8px; padding: 9px 12px; }
.sv-page .opcal-ffield.filled { color: var(--pv-ink); }
.sv-page .opcal-ffield.area { min-height: 44px; line-height: 1.5; }
.sv-page .opcal-fchecks { display: flex; flex-wrap: wrap; gap: 14px; }
.sv-page .opcal-fcheck { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--pv-ink2); }
.sv-page .opcal-fcheck i { width: 16px; height: 16px; margin-top: 1.5px; border-radius: 4px; border: 1.5px solid var(--pv-line); display: inline-block; position: relative; }
.sv-page .opcal-fcheck.on i { background: var(--slate-900); border-color: var(--slate-900); }
.sv-page .opcal-fcheck.on i::after { content: ""; position: absolute; left: 4.5px; top: 1.5px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* 겹친 AI 응대 — 실제 홈페이지 우하단 플로팅 챗봇 위젯과 동일한 구조·크기 */
.sv-page .opcal-dual { position: relative; margin-top: 26px; }
.sv-page .opcal-widget {
  position: absolute; right: -16px; bottom: -56px; width: 360px;
  background: #fff; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .2), 0 8px 16px rgba(0, 0, 0, .08);
}
.sv-page .opcal-w-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: #fff; border-bottom: 1px solid #f0f0f0; }
.sv-page .opcal-w-icon { width: 32px; height: 32px; border-radius: 50%; background: var(--slate-900); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px; flex-shrink: 0; }
.sv-page .opcal-w-info { flex: 1; min-width: 0; }
.sv-page .opcal-w-title { font-weight: 700; font-size: 15px; color: #111; }
.sv-page .opcal-w-status { font-size: 12px; color: #888; display: flex; align-items: center; gap: 5px; margin-top: 2px; }
.sv-page .opcal-w-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.sv-page .opcal-w-close { width: 26px; height: 26px; border-radius: 6px; border: 1px solid #e8e8e8; background: #fff; color: #888; display: grid; place-items: center; font-size: 13px; flex-shrink: 0; }
.sv-page .opcal-w-body { height: 296px; overflow-y: auto; padding: 16px; background: #fafafa; display: flex; flex-direction: column; scroll-behavior: smooth; }
.sv-page .opcal-w-body::-webkit-scrollbar { width: 5px; }
.sv-page .opcal-w-body::-webkit-scrollbar-thumb { background: #d4d4d4; border-radius: 999px; }
.sv-page .opcal-w-body::-webkit-scrollbar-track { background: transparent; }
.sv-page .opcal-chat-row { display: flex; gap: 7px; align-items: flex-end; margin-top: 12px; opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .35s ease; }
.sv-page .opcal-chat-row.in { opacity: 1; transform: translateY(0); }
.sv-page .opcal-chat-row:first-child { margin-top: 0; }
.sv-page .opcal-chat-row.grouped { margin-top: 3px; }
.sv-page .opcal-chat-row.user { justify-content: flex-end; }
.sv-page .opcal-avatar { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.sv-page .opcal-bubble-col { display: flex; flex-direction: column; gap: 5px; max-width: 72%; }
.sv-page .opcal-bubble { padding: 10px 13px; border-radius: 12px; font-size: 13.5px; line-height: 1.55; white-space: pre-line; }
.sv-page .opcal-bubble.user { max-width: 78%; background: var(--brand); color: #fff; border-top-right-radius: 4px; }
.sv-page .opcal-bubble.bot { background: #fff; border: 1px solid #e8e8e8; color: var(--pv-ink); border-top-left-radius: 4px; }
.sv-page .opcal-bubble.bot b { color: var(--brand-dark); }
.sv-page .opcal-msg-meta { flex: none; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; font-size: 10.5px; color: var(--pv-ink4); white-space: nowrap; }
.sv-page .opcal-msg-fb { display: inline-flex; gap: 5px; cursor: default; }
.sv-page .opcal-quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.sv-page .opcal-quick-btn { font-family: inherit; font-size: 12.5px; font-weight: 600; color: var(--brand); background: #fff; border: 1px solid var(--brand); border-radius: 999px; padding: 6px 12px; cursor: default; }
.sv-page .opcal-w-foot { border-top: 1px solid #f0f0f0; padding: 10px 12px; background: #fff; display: flex; gap: 6px; align-items: center; }
.sv-page .opcal-w-attach { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; color: #aaa; }
.sv-page .opcal-w-input { flex: 1; border: 1px solid #e8e8e8; border-radius: 8px; padding: 8px 12px; font-size: 13.5px; color: #888; height: 34px; box-sizing: border-box; display: flex; align-items: center; }
.sv-page .opcal-w-send { width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; flex-shrink: 0; font-size: 15px; font-weight: 700; }

.sv-page .opcal-typing { display: inline-flex; align-items: center; gap: 3px; padding: 11px 13px; background: #fff; border: 1px solid #e8e8e8; border-radius: 12px; border-top-left-radius: 4px; }
.sv-page .opcal-typing i { width: 5px; height: 5px; border-radius: 50%; background: #999; display: inline-block; animation: opcalTypDot 1s infinite; }
.sv-page .opcal-typing i:nth-child(2) { animation-delay: .15s; }
.sv-page .opcal-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes opcalTypDot { 0%, 60%, 100% { opacity: .3; transform: scale(.8); } 30% { opacity: 1; transform: scale(1); } }

@media (max-width: 900px) {
  .sv-page .opcal-track { height: auto; }
  .sv-page .opcal-panel { position: static; opacity: 1; transform: none; transition: none; display: none; }
  .sv-page .opcal-panel.on { display: block; }
  .sv-page .opcal-widget { position: static; width: 100%; margin-top: 20px; box-shadow: var(--pv-sh); }
}
@media (max-width: 640px) {
  .sv-page .opcal-mgrid { gap: 3px; }
  .sv-page .opcal-cell { min-height: 36px; padding: 3px; }
  .sv-page .opcal-tag { font-size: 8px; }
  .sv-page .opcal-frow, .sv-page .opcal-frow.split { grid-template-columns: 1fr; gap: 5px; }
  .sv-page .opcal-flab { padding-top: 0; }
}

/* ══ 11-5 AI 처리 예시(게시판 탭) — 처리 흐름만 톤다운, 답변 참고자료는 마크업에서 제외,
     사이드카드(판단 근거·처리 이력)는 원래 명도 유지 ══ */
.sv-page .aw-flow-muted { opacity: .58; }
.sv-page .aw-flow-muted .lab { font-size: 11px; }
.sv-page .aw-flow-muted .aw-flow-row span { font-size: 11px; padding: 5px 7px; }
.sv-page .aw-flow-muted .aw-flow-sum { font-size: 12.5px; }

/* ══ 12 이어링 AI 처리 과정 — 게시판/챗봇 두 칼럼을 위아래로 구분(.ai) ══ */
.sv-page .ai-cols { display: flex; flex-direction: column; gap: 44px; }
.sv-page .ai-col-head { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 800; color: var(--pv-ink); margin-bottom: 14px; }
.sv-page .ai-col-head .tagno { font-size: 12px; font-weight: 800; color: var(--brand); }
.sv-page .ai-wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .78fr); gap: 30px; align-items: start; margin-top: 8px; }
.sv-page .ai-panel { border: 1px solid var(--pv-line); border-radius: 16px; background: #fff; box-shadow: var(--pv-sh); overflow: hidden; }
.sv-page .ai-inq { padding: 20px 26px; border-bottom: 1px solid var(--pv-line); background: #fff; }
.sv-page .ai-inq .meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 11px; }
.sv-page .ai-inq h4 { margin: 0 0 7px; font-size: var(--fs-subheading); font-weight: 800; color: var(--pv-ink); letter-spacing: -0.015em; }
.sv-page .ai-inq p { margin: 0; font-size: var(--fs-body-primary); color: var(--pv-text); line-height: 1.65; }
.sv-page .aw-doc { padding: 22px 26px 0; }
.sv-page .aw-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 13px; }
.sv-page .aw-title { margin: 0 0 14px; font-size: var(--fs-subheading); font-weight: 800; color: var(--pv-ink); letter-spacing: -0.015em; }
.sv-page .aw-q { padding: 14px 16px; border: 1px dashed var(--pv-line); border-radius: 12px; background: #fafbfc; margin-bottom: 14px; }
.sv-page .aw-q .k { font-size: 12px; font-weight: 800; color: var(--pv-muted); letter-spacing: .08em; margin: 0 0 7px; }
.sv-page .aw-q .v { margin: 0; font-size: 15px; color: var(--pv-ink); line-height: 1.6; }
.sv-page .aw-q .who { display: block; margin-top: 8px; font-size: 13px; color: var(--pv-muted); }
.sv-page .ai-draft.aw-a { margin-bottom: 10px; }
.sv-page .aw-sent { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 14px; color: var(--pv-text2); }
.sv-page .aw-src-lab { font-size: 12px; font-weight: 800; color: var(--pv-muted); letter-spacing: .08em; margin: 0 0 10px; }
.sv-page .aw-flow { padding: 18px 26px 24px; border-top: 1px dashed var(--pv-line); margin-top: 0; }
.sv-page .aw-flow > .lab { font-size: 12px; font-weight: 800; color: var(--pv-muted); letter-spacing: .08em; margin: 0 0 11px; }
.sv-page .aw-flow-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.sv-page .aw-flow-row span { font-size: 12px; font-weight: 700; color: var(--pv-text2); background: #f6f7fa; border-radius: 8px; padding: 6px 9px; white-space: nowrap; }
.sv-page .aw-flow-row span.key { color: var(--brand); background: var(--pv-tint); border: 1px solid var(--brand-100); }
.sv-page .aw-flow-row i { color: var(--pv-muted); font-style: normal; font-size: 12px; }
.sv-page .aw-flow-sum { margin: 13px 0 0; font-size: 14px; color: var(--pv-text2); line-height: 1.62; word-break: keep-all; }
.sv-page .aw-flow-sum b { color: var(--pv-ink); }
.sv-page .ai-src { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.sv-page .ai-src li { border: 1px solid var(--pv-line); border-radius: 10px; padding: 11px 13px; font-size: 14px; line-height: 1.55; color: var(--pv-text); background: #fff; }
.sv-page .ai-src li b { display: block; font-size: 12px; font-weight: 800; color: var(--pv-muted); letter-spacing: .06em; margin-bottom: 3px; }
.sv-page .ai-src li.on { border-color: var(--brand-200); background: var(--pv-tint); }
.sv-page .ai-src li.on b { color: var(--brand); }
.sv-page .ai-src li em { font-style: normal; font-weight: 700; color: var(--pv-ink); }
.sv-page .ai-draft { background: var(--pv-tint); border: 1px solid var(--brand-100); border-radius: 12px; padding: 15px 17px; }
.sv-page .ai-draft .h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 9px; }
.sv-page .ai-draft .h b { font-size: 13px; font-weight: 800; color: var(--brand-dark); }
.sv-page .ai-draft .h span { font-size: 12px; font-weight: 700; color: var(--brand); }
.sv-page .ai-draft p { margin: 0; font-size: 15px; line-height: 1.72; color: var(--pv-ink); white-space: pre-line; }
.sv-page .ai-side { display: flex; flex-direction: column; gap: 16px; }
.sv-page .ai-card { border: 1px solid var(--pv-line); border-radius: 14px; background: #fff; padding: 19px 21px; }
.sv-page .ai-card h6 { margin: 0 0 13px; font-size: 14px; font-weight: 800; color: var(--pv-ink); letter-spacing: .02em; display: flex; align-items: center; gap: 8px; }
.sv-page .ai-kv { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 16px; }
.sv-page .ai-kv div span { display: block; font-size: 12px; color: var(--pv-muted); font-weight: 700; margin-bottom: 3px; }
.sv-page .ai-kv div b { font-size: 15px; font-weight: 800; color: var(--pv-ink); }
.sv-page .ai-kv div b.br { color: var(--brand); }
.sv-page .ai-note { margin: 13px 0 0; padding-top: 13px; border-top: 1px dashed var(--pv-line); font-size: var(--fs-caption); color: var(--pv-text2); line-height: 1.6; word-break: keep-all; }
.sv-page .ai-note b { color: var(--pv-ink); }
.sv-page .ai-log { list-style: none; margin: 0; padding: 0; }
.sv-page .ai-log li { position: relative; padding: 0 0 15px 22px; font-size: 14px; color: var(--pv-text); line-height: 1.5; }
.sv-page .ai-log li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: #fff; border: 2px solid var(--brand-300); box-sizing: border-box; }
.sv-page .ai-log li::after { content: ""; position: absolute; left: 7.5px; top: 15px; bottom: -2px; width: 1px; background: var(--pv-line); }
.sv-page .ai-log li:last-child { padding-bottom: 0; }
.sv-page .ai-log li:last-child::after { display: none; }
.sv-page .ai-log li.done::before { background: var(--brand); border-color: var(--brand); }
.sv-page .ai-log li b { color: var(--pv-ink); font-weight: 800; }
.sv-page .ai-log li small { display: block; font-size: 13px; color: var(--pv-muted); }
.sv-page .ai-chat-panel { padding: 8px 26px 26px; }
.sv-page .kt-chat { border: 1px solid var(--pv-line); border-radius: 14px; overflow: hidden; background: #fff; }
.sv-page .kt-head { display: flex; align-items: center; gap: 10px; padding: 13px 16px; background: var(--brand); color: #fff; }
.sv-page .kt-head .ic { width: 30px; height: 30px; border-radius: 9px; background: rgba(255,255,255,.18); display: grid; place-items: center; font-size: 13px; flex: 0 0 30px; }
.sv-page .kt-head .info b { display: block; font-size: 15px; font-weight: 800; line-height: 1.3; }
.sv-page .kt-head .info span { font-size: 12px; color: rgba(255,255,255,.88); display: inline-flex; align-items: center; gap: 5px; }
.sv-page .kt-head .info span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3ddc84; }
.sv-page .kt-head .end { margin-left: auto; font-size: 13px; font-weight: 700; color: #fff; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.32); border-radius: 999px; padding: 7px 13px; white-space: nowrap; }
.sv-page .kt-body { padding: 18px 16px; background: #fbfbfc; display: flex; flex-direction: column; gap: 3px; min-height: 380px; }
/* ══ 대화 끝(해결 완료)부터 보이도록 기본 스크롤 위치를 맞추고, 위쪽은 그라디언트로
   크롭해 "더 있음"을 암시한다 — 실제 스크롤 가능한 영역이라 위로 스크롤하면
   도입부(인사말·본인확인)까지 그대로 볼 수 있다. 초기 스크롤 위치는 js/services.js
   의 activateAiTab()에서 설정한다. ══ */
.sv-page .kt-scroll-wrap { position: relative; }
.sv-page .kt-scroll-wrap .kt-body { max-height: 660px; overflow-y: auto; scrollbar-width: none; -ms-overflow-style: none; }
.sv-page .kt-scroll-wrap .kt-body::-webkit-scrollbar { display: none; }
.sv-page .kt-scroll-wrap::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 44px; background: linear-gradient(to bottom, #fbfbfc 0%, rgba(251,251,252,0) 100%); pointer-events: none; z-index: 1; }
.sv-page .kt-row { display: flex; gap: 8px; align-items: flex-end; }
.sv-page .kt-row.me { flex-direction: row-reverse; }
.sv-page .kt-row.first { margin-top: 12px; }
.sv-page .kt-av { width: 27px; height: 27px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; flex: 0 0 27px; visibility: hidden; }
.sv-page .kt-row.first .kt-av { visibility: visible; }
.sv-page .kt-group { display: flex; flex-direction: column; gap: 4px; max-width: 76%; }
.sv-page .kt-row.me .kt-group { align-items: flex-end; }
.sv-page .kt-bub { font-size: 15px; line-height: 1.58; padding: 10px 13px; border-radius: 15px; word-break: keep-all; }
.sv-page .kt-bub.ai { background: var(--slate-700); color: #fff; border-bottom-left-radius: 4px; }
.sv-page .kt-bub.ai.kt-info { line-height: 1.85; }
.sv-page .kt-bub.me { background: #fff; border: 1px solid #e2e5ea; color: var(--pv-text); border-bottom-right-radius: 4px; }
.sv-page .kt-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; font-size: 12px; color: var(--pv-muted); padding-bottom: 1px; }
.sv-page .kt-fb { display: inline-flex; gap: 4px; }
.sv-page .kt-fb i { width: 18px; height: 18px; border-radius: 5px; border: 1px solid var(--pv-line); display: grid; place-items: center; font-size: 9.5px; background: #fff; font-style: normal; }
.sv-page .kt-time { font-size: 12px; color: var(--pv-muted); white-space: nowrap; }
.sv-page .kt-quick { display: flex; flex-wrap: wrap; gap: 7px; margin: 4px 0 8px 35px; }
.sv-page .kt-quick span { font-size: 14px; font-weight: 700; color: var(--brand); border: 1.5px solid var(--brand-200); border-radius: 999px; padding: 7px 13px; background: #fff; }
.sv-page .kt-foot { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-top: 1px solid var(--pv-line-2); background: #fff; }
.sv-page .kt-foot .ic2 { color: var(--pv-muted); font-size: 15px; flex: none; }
.sv-page .kt-foot .in { flex: 1; height: 38px; border-radius: 19px; background: #f4f5f7; display: flex; align-items: center; padding: 0 15px; font-size: 13px; color: var(--pv-muted); }
.sv-page .kt-foot .send { width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; flex: 0 0 34px; font-size: 14px; }

/* ══ 13 이어링·이어톡 플랜 선택 타일 (.svc-tile) — 시안 C.
   두 타일의 배경·테두리는 픽셀 단위로 완전히 동일하다.
   구분은 오직 배지·체크 아이콘 색(왼쪽=네이비, 오른쪽=브랜드 핑크)에만 있다. ══ */
.sv-page .svc-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.sv-page .svc-tile { background: #F6F7F9; border: 1px solid #E4E7ED; border-radius: 16px; padding: 32px 30px 30px; display: flex; flex-direction: column; gap: 16px; }
.sv-page .svc-tile-tag { display: inline-flex; align-items: center; align-self: flex-start; font-size: var(--fs-label); font-weight: 800; letter-spacing: .02em; padding: 5px 12px; border-radius: 999px; color: #fff; }
.sv-page .svc-tile.ring .svc-tile-tag { background: var(--pv-human); }
.sv-page .svc-tile.talk .svc-tile-tag { background: var(--brand); }
.sv-page .svc-tile-title { margin: 0; font-size: 25px; font-weight: 800; color: var(--pv-ink); line-height: 1.3; word-break: keep-all; }
.sv-page .svc-tile-desc { margin: -6px 0 0; font-size: 14.5px; color: var(--pv-ink3); line-height: 1.6; word-break: keep-all; }
.sv-page .svc-tile-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.sv-page .svc-tile-checks li { display: flex; align-items: flex-start; gap: 9px; font-size: 14.5px; font-weight: 600; color: var(--pv-ink2); line-height: 1.5; word-break: keep-all; }
.sv-page .svc-tile-check-ic { flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; font-size: 10.5px; color: #fff; }
.sv-page .svc-tile.ring .svc-tile-check-ic { background: var(--pv-human); }
.sv-page .svc-tile.talk .svc-tile-check-ic { background: var(--brand); }
.sv-page .svc-tile-fit { margin: 0; display: flex; align-items: baseline; gap: 6px; font-size: 12px; color: var(--pv-ink4); line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-top: 12px; border-top: 1px solid var(--pv-line); }
.sv-page .svc-tile-fit b { flex: none; font-size: 11px; font-weight: 800; letter-spacing: .04em; color: var(--pv-ink3); }
.sv-page .svc-tile-link { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 13px 20px; border-radius: 10px; font-size: 15px; font-weight: 800; text-decoration: none; }
.sv-page .svc-tile-link.ring { background: #fff; border: 1.5px solid #d5d9e0; color: var(--pv-ink2); }
.sv-page .svc-tile-link.ring:hover { border-color: #b9bfc9; }
.sv-page .svc-tile-link.talk { background: var(--brand); border: 1.5px solid var(--brand); color: #fff; }
.sv-page .svc-tile-link.talk:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.sv-page .svc-tile-arrow { display: inline-block; transition: transform .15s; }
.sv-page .svc-tile-link:hover .svc-tile-arrow { transform: translate(2px, -2px); }

/* ══ 14 이어톡 CS 대행 범위 레인 (.dvC) — Scope 자리 대체 ══ */
.sv-page .dvC-panel { background: #fff; border: 1px solid var(--pv-line); border-radius: 22px; padding: 36px 40px 32px; box-shadow: var(--pv-sh); }
.sv-page .dvC-lane { border-radius: 18px; padding: 22px 26px 26px; }
.sv-page .dvC-lane.ai { background: var(--pv-tint); border: 1px solid var(--brand-200); }
.sv-page .dvC-lane.biz { background: #F7F8FB; border: 1px solid #e4e7ee; }
.sv-page .dvC-lane-lab { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; font-size: 13px; font-weight: 800; letter-spacing: -0.005em; color: #fff; padding: 8px 16px; border-radius: 999px; }
.sv-page .dvC-lane.ai .dvC-lane-lab { background: var(--brand); }
.sv-page .dvC-lane.biz .dvC-lane-lab { background: var(--pv-human); }
.sv-page .dvC-lane-lab .ic { flex: none; width: 16px; height: 16px; display: grid; place-items: center; }
.sv-page .dvC-lane-lab .ic svg { width: 14px; height: 14px; }
.sv-page .dvC-stops { display: flex; flex-wrap: wrap; gap: 10px; }
.sv-page .dvC-stop { display: flex; align-items: center; gap: 10px; flex: 1 1 auto; min-width: 152px; background: #fff; border-radius: 12px; padding: 12px 15px; font-size: 15px; font-weight: 700; color: var(--pv-ink); word-break: keep-all; box-shadow: 0 1px 5px rgba(22,35,61,.06); }
.sv-page .dvC-stop .ic { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; }
.sv-page .dvC-stop .ic svg { width: 14px; height: 14px; }
.sv-page .dvC-lane.ai .dvC-stop .ic { background: var(--pv-tint); color: var(--brand); }
.sv-page .dvC-lane.biz .dvC-stops { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.sv-page .dvC-lane.biz .dvC-stop { min-width: 0; }
.sv-page .dvC-help { position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 50%; color: var(--pv-muted); font-size: 13px; font-style: normal; cursor: help; margin-left: 1px; }
.sv-page .dvC-help .dvC-tip { position: absolute; left: 50%; bottom: calc(100% + 9px); transform: translateX(-50%) translateY(4px); width: max-content; max-width: none; white-space: nowrap; background: var(--pv-ink); color: #fff; font-size: 14px; font-weight: 500; line-height: 1.5; padding: 8px 11px; border-radius: 8px; text-align: left; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .15s ease, transform .15s ease; z-index: 6; }
.sv-page .dvC-help .dvC-tip::after { content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 5px solid transparent; border-top-color: var(--pv-ink); }
.sv-page .dvC-help:hover .dvC-tip, .sv-page .dvC-help:focus .dvC-tip, .sv-page .dvC-help.on .dvC-tip { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.sv-page .dvC-divider { height: 1px; background: var(--pv-line); margin: 22px 0; }

.sv-page .ch.dark { color: #fff; border-color: var(--pv-human); background: var(--pv-human); font-size: 13px; }

/* ══ 15 전체 서비스 흐름 (.flow5) — 가로 5단계 요약 + 아래 상세.
   클릭한 단계의 상세만 아래 패널에 표시. 3단계는 AI 해결/상담사 이관
   분기를 실제로 갈라지는 모양으로 보여준다. ══ */
.sv-page .flow5-rail { display: flex; align-items: stretch; gap: 6px; }
.sv-page .flow5-step {
  flex: 1 1 0; min-width: 0; text-align: left; font: inherit; cursor: pointer;
  background: #fff; border: 1.5px solid var(--pv-line); border-radius: 14px; padding: 16px 16px 15px;
  display: flex; flex-direction: column; gap: 8px; transition: border-color .15s, box-shadow .15s, background .15s;
}
.sv-page .flow5-step:hover { border-color: #d7dbe3; }
.sv-page .flow5-step.on { border-color: var(--brand); background: var(--pv-tint); box-shadow: 0 4px 16px rgba(200,17,90,.10); }
.sv-page .flow5-top { display: flex; align-items: center; justify-content: space-between; }
.sv-page .flow5-no { font-size: 12px; font-weight: 800; color: var(--pv-ink4); letter-spacing: .06em; }
.sv-page .flow5-step.on .flow5-no { color: var(--brand); }
.sv-page .flow5-ic { width: 26px; height: 26px; border-radius: 8px; background: #f3f4f6; color: var(--pv-ink4); display: grid; place-items: center; flex: none; }
.sv-page .flow5-ic svg { width: 15px; height: 15px; }
.sv-page .flow5-step.on .flow5-ic { background: var(--brand); color: #fff; }
.sv-page .flow5-name { font-size: 15px; font-weight: 800; color: var(--pv-ink); word-break: keep-all; line-height: 1.35; }
.sv-page .flow5-line { font-size: var(--fs-body-secondary); color: var(--pv-ink4); line-height: 1.5; word-break: keep-all; }
.sv-page .flow5-arrow { align-self: center; flex: none; color: #c7cdd8; font-weight: 800; font-size: 15px; }

.sv-page .flow5-detail { margin-top: 20px; border: 1px solid var(--pv-line); border-radius: 16px; background: #fff; padding: 26px 28px; }
.sv-page .flow5-p { margin: 0 0 14px; font-size: 16px; color: var(--pv-text2); line-height: 1.68; word-break: keep-all; }
.sv-page .flow5-p b { color: var(--pv-ink); font-weight: 700; }
.sv-page .flow5-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.sv-page .flow5-chips .ch { font-size: 14px; }
.sv-page .flow5-note { margin: 14px 0 0; font-size: var(--fs-caption); color: var(--pv-ink4); line-height: 1.6; word-break: keep-all; }
.sv-page .flow5-micro { margin: 14px 0 0; padding: 14px 16px; background: #fafbfc; border: 1px solid var(--pv-line); border-radius: 12px; }
.sv-page .flow5-micro-k { font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--pv-ink4); margin: 0 0 10px; }
.sv-page .flow5-micro-l { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 4px; }
.sv-page .flow5-micro-l b { font-size: 14px; font-weight: 600; color: var(--pv-ink2); }
.sv-page .flow5-micro-l i { font-style: normal; color: #cfd3d9; font-size: 12px; }

/* 3단계 — 실제로 갈라지는 분기 시각화 */
.sv-page .flow5-fork { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.sv-page .flow5-fork-stem { position: absolute; top: -18px; left: 50%; width: 2px; height: 18px; background: var(--pv-line); transform: translateX(-50%); }
.sv-page .flow5-fork-stem::before, .sv-page .flow5-fork-stem::after { content: ""; position: absolute; top: 100%; width: 50%; height: 16px; border-top: 2px solid var(--pv-line); }
.sv-page .flow5-fork-stem::before { right: 0; border-top-right-radius: 10px; }
.sv-page .flow5-fork-stem::after { left: 0; border-top-left-radius: 10px; }
.sv-page .flow5-fork-b { border-radius: 14px; padding: 18px 20px; border: 1.5px solid var(--pv-line); background: #fff; }
.sv-page .flow5-fork-b.a { border-color: var(--brand-200); background: var(--pv-tint); }
.sv-page .flow5-fork-b.b { border-color: #d5dbe6; background: var(--pv-human-soft); }
.sv-page .flow5-fork-b .k { margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.sv-page .flow5-fork-b.a .k { color: var(--brand); }
.sv-page .flow5-fork-b.b .k { color: var(--pv-human); }
.sv-page .flow5-fork-b .d { margin: 0; font-size: 15px; color: var(--pv-text2); line-height: 1.6; word-break: keep-all; }

@media (max-width: 900px) {
  .sv-page .flow5-line { display: none; }
}
@media (max-width: 700px) {
  /* 가로 5단계를 억지로 줄이지 않고 세로 타임라인으로 전환 */
  .sv-page .flow5-rail { flex-direction: column; gap: 0; }
  .sv-page .flow5-step {
    flex-direction: row; align-items: center; gap: 14px; border-radius: 0; border: none;
    border-bottom: 1px solid var(--pv-line-2); padding: 14px 4px;
  }
  .sv-page .flow5-step::after {
    content: "›"; margin-left: auto; padding-left: 10px; font-size: 20px; font-weight: 700;
    color: var(--pv-ink4); flex: none;
  }
  .sv-page .flow5-step.on::after { color: var(--brand); }
  .sv-page .flow5-step.on { background: transparent; box-shadow: none; border-bottom-color: var(--pv-line-2); }
  .sv-page .flow5-step:last-child { border-bottom: none; }
  .sv-page .flow5-top { flex-direction: row; }
  /* 세로 목록에서는 순서가 이미 위→아래로 보이므로 작은 번호 대신
     아이콘 하나를 키워서 보여준다 — 26px 아이콘 위에 작은 번호가 얹힌
     모양이 행 높이에 비해 왜소하고 배율이 안 맞아 보였다 */
  .sv-page .flow5-no { display: none; }
  .sv-page .flow5-ic { width: 38px; height: 38px; border-radius: 10px; }
  .sv-page .flow5-ic svg { width: 19px; height: 19px; }
  .sv-page .flow5-line { display: block; }
  .sv-page .flow5-arrow { display: none; }
  .sv-page .flow5-fork { grid-template-columns: 1fr; }
  .sv-page .flow5-fork-stem { display: none; }
  .sv-page .flow5-detail { padding: 22px 20px; }
}

/* ══ 16 AI → 상담사 이관 카드(.ai-card.human, .ai-esc-note) — S3 독립 섹션 ══ */
.sv-page .ai-card.human { border-color: #d5dbe6; background: var(--pv-human-soft); }
.sv-page .ai-card.human h6 { color: var(--pv-human); }
.sv-page .ai-card.human p { margin: 0; font-size: 14px; color: var(--pv-text); line-height: 1.65; word-break: keep-all; }
.sv-page .ai-card.human .row { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 11px; }
.sv-page .ai-card-p { margin: 0; font-size: 14px; color: var(--pv-text); line-height: 1.65; word-break: keep-all; }
.sv-page .ai-card-p + .row { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 11px; }
.sv-page .kt-av.human { background: var(--pv-human); }
.sv-page .kt-bub.human { background: var(--pv-human); color: #fff; border-bottom-left-radius: 4px; }
.sv-page .kt-sys { text-align: center; font-size: 14px; color: var(--pv-muted); margin: 10px 0; }
.sv-page .ai-esc-note { padding: 20px 21px; background: var(--pv-human-soft); border: 1px solid #d5dbe6; border-radius: 14px; }
.sv-page .ai-esc-note h4 { margin: 0 0 8px; font-size: 16px; font-weight: 800; color: var(--pv-human); letter-spacing: -0.005em; }
.sv-page .ai-esc-note p { margin: 0 0 14px; font-size: 14px; color: var(--pv-text); line-height: 1.6; word-break: keep-all; }
.sv-page .ai-esc-note .row { display: flex; flex-wrap: wrap; gap: 7px; }

@media (max-width: 900px) {
  .sv-page .ib-grid { grid-template-columns: 118px minmax(0, 1fr) 160px; }
  .sv-page .ib-grid .col-type, .sv-page .ib-grid .col-senti { display: none; }
  .sv-page .oc-grid { grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1fr) 150px; }
  .sv-page .oc-grid .col-amt { display: none; }
  .sv-page .ai-wrap { grid-template-columns: 1fr; }
  .sv-page .ai-src { grid-template-columns: 1fr 1fr; }
  .sv-page .svc-tiles { grid-template-columns: 1fr; }
  .sv-page .dvC-panel { padding: 28px 22px 26px; }
  .sv-page .dvC-lane { padding: 18px 18px 20px; }
  .sv-page .dvC-stop { min-width: 130px; }
  .sv-page .dvC-lane.biz .dvC-stops { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .sv-page .ib-top, .sv-page .ib-grid, .sv-page .oc-grid, .sv-page .ib-foot { padding-left: 16px; padding-right: 16px; }
  .sv-page .ib-head { display: none; }
  .sv-page .ib-grid, .sv-page .oc-grid { gap: 8px 12px; }
  .sv-page .ib-row .stc { flex-direction: row; align-items: center; }
  .sv-page .oc-grid .col-amt { text-align: left; }
  /* 일반 문의 — 상태 배지만 제목·메타 우측으로 */
  .sv-page .ib-grid { grid-template-columns: 1fr auto; }
  .sv-page .ib-grid .src { grid-column: 1 / -1; }
  .sv-page .ib-grid .stc { align-self: center; }
  /* 주문수집 — 상품명·상태를 고객명·주소 우측으로 */
  .sv-page .oc-grid { grid-template-columns: 0.8fr 1.2fr; }
  .sv-page .oc-grid .src { grid-column: 1 / -1; }
  .sv-page .oc-grid .who { grid-row: 2 / 4; align-self: start; }
  .sv-page .oc-grid .prod { grid-column: 2; align-self: end; }
  .sv-page .oc-grid .stc { grid-column: 2; align-self: start; justify-content: flex-end; }
  .sv-page .ib-row { padding: 13px 16px; }
  /* 운영 캘린더 주간 시간표 — 월·화는 살짝 씹힌 것처럼, 토·일은 …으로 감춤 */
  .sv-page .opcal-tgrid { min-width: 0; grid-template-columns: 34px 12px 12px 1fr 1fr 1fr 22px 0; }
  .sv-page .opcal-tcell:nth-child(8n+2), .sv-page .opcal-tcell:nth-child(8n+3) { padding: 0; }
  .sv-page .opcal-tcell.head:nth-child(8n+2) .dow, .sv-page .opcal-tcell.head:nth-child(8n+2) .dn,
  .sv-page .opcal-tcell.head:nth-child(8n+3) .dow, .sv-page .opcal-tcell.head:nth-child(8n+3) .dn { display: none; }
  .sv-page .opcal-tcell.head:nth-child(8n+7) { position: relative; }
  .sv-page .opcal-tcell.head:nth-child(8n+7) .dow, .sv-page .opcal-tcell.head:nth-child(8n+7) .dn { visibility: hidden; }
  .sv-page .opcal-tcell.head:nth-child(8n+7)::after { content: "⋯"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--pv-ink4); font-weight: 800; font-size: 14px; }
  .sv-page .opcal-ev { font-size: 9px; padding: 5px 3px; }
  .sv-page .ai-src { grid-template-columns: 1fr; }
  .sv-page .ai-steps, .sv-page .ai-inq, .sv-page .ai-chat-panel, .sv-page .aw-doc, .sv-page .aw-flow { padding-left: 18px; padding-right: 18px; }
  .sv-page .svc-tile { padding: 20px 18px; }
  .sv-page .dvC-panel { padding: 22px 16px 20px; border-radius: 18px; }
  .sv-page .dvC-lane { padding: 16px 14px 18px; }
  /* 고객사가 직접 처리하는 업무 — 좁은 폭에서는 그리드가 아니라 flex로 2열씩 고정 배치 */
  .sv-page .dvC-lane.biz .dvC-stops { display: flex; flex-wrap: wrap; }
  .sv-page .dvC-lane.biz .dvC-stop { flex: 0 1 calc(50% - 5px); min-width: 0; }
  .sv-page .kt-head .info b { font-size: 13px; }
  .sv-page .kt-head .info span { font-size: 10px; }
  .sv-page .kt-head .end { font-size: 11px; }
  .sv-page .kt-bub { font-size: 13px; }
  .sv-page .kt-meta, .sv-page .kt-time { font-size: 10px; }
  .sv-page .kt-quick span { font-size: 12px; }
  .sv-page .kt-foot .in { font-size: 11px; }
}
