/* ============================================================
   맥락의 세 축 다이어그램(:::axes — 사용설명서 how-it-works).
   카테고리(분류)를 정점으로, 아래를 '여러 필요 지식 → 프로젝트 → 여러 산출 지식' 흐름으로.
   지식(정적)은 흐름 양끝(스택 카드 = 여러 개가 들고난다), 프로젝트(동적)는 가운데. (#762 흐름 복원 + 복수감)
   ============================================================ */
.md-axes { margin: 26px 0 30px; display: flex; flex-direction: column; align-items: center; }
.md-axes .md-axes-ic { flex: none; line-height: 1; }
.md-axes .md-axes-nm { font-weight: 800; color: var(--ink); letter-spacing: -.2px; }
.md-axes .md-axes-sub { font-weight: 600; color: var(--muted-2); }

/* 정점 — 카테고리(지식·프로젝트를 담는 분류 컨테이너) */
.md-axes-apex { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  background: var(--bg-tint); border: 1.5px solid var(--line-net, #d9dee6); }
.md-axes-apex .md-axes-ic { font-size: 18px; }
.md-axes-apex .md-axes-nm { font-size: 14.5px; }
.md-axes-apex-hint { font-size: 12px; font-weight: 700; color: var(--muted-2); }
.md-axes-stem { width: 2px; height: 20px; background: var(--line-net, #d9dee6); }

/* 흐름 — 여러 필요 지식 → 프로젝트 → 여러 산출 지식 (정적 → 동적 → 정적) */
.md-axes-flow { display: flex; align-items: stretch; justify-content: center; gap: 16px; flex-wrap: wrap; width: 100%; }
.md-axes-fnode { flex: 1 1 0; min-width: 150px; max-width: 235px; display: flex; flex-direction: column; gap: 6px;
  padding: 15px 16px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(21,35,59,.04); }
.md-axes-fnode .md-axes-ic { font-size: 22px; }
.md-axes-fnode .md-axes-nm { font-size: 14.5px; }
.md-axes-fnode .md-axes-sub { font-size: 12px; line-height: 1.55; }
/* 지식 = 정적(민트) · 프로젝트 = 동적(파랑). 필요 지식은 선택이라 점선으로 '없어도 됨'을 표시. */
.md-axes-fnode.is-req  { border-style: dashed; border-color: color-mix(in srgb, var(--mint, #46c8a0) 50%, var(--line));
  background: color-mix(in srgb, var(--mint, #46c8a0) 5%, var(--bg)); }
.md-axes-fnode.is-prod { border-top: 3px solid var(--mint, #46c8a0); }
.md-axes-fnode.is-dynamic { border-top: 3px solid var(--blue); background: color-mix(in srgb, var(--blue) 4%, var(--bg)); }
/* 스택 — 지식 노드 뒤로 카드 두 장이 비껴 보여 '여러 개'임을 드러낸다(필요/산출 둘 다). */
.md-axes-fnode.is-stack { position: relative; }
.md-axes-fnode.is-stack::before, .md-axes-fnode.is-stack::after {
  content: ''; position: absolute; left: 0; right: 0; top: 0; bottom: 0; border-radius: inherit;
  background: var(--bg); border: 1px solid var(--line); z-index: -1; }
.md-axes-fnode.is-stack::before { transform: translate(5px, 6px); }
.md-axes-fnode.is-stack::after  { transform: translate(10px, 12px); opacity: .55; }
.md-axes-fnode.is-req.is-stack::before, .md-axes-fnode.is-req.is-stack::after {
  border-style: dashed; border-color: color-mix(in srgb, var(--mint, #46c8a0) 50%, var(--line)); }
.md-axes-arrow { flex: none; align-self: center; font-size: 20px; font-weight: 800; color: var(--muted-2); }

/* 좁은 화면 — 세로 스택, 화살표 90° 회전 */
@media (max-width: 640px) {
  .md-axes-flow { flex-direction: column; align-items: stretch; }
  .md-axes-fnode { max-width: none; }
  .md-axes-arrow { transform: rotate(90deg); }
}

/* ── #853 가이드 도식 프리미티브 — :::fig(라벨 화살표 도식) · :::wire(화면 축소 모형) ──
   결: .md-flow(칩)·.md-axes(노드 카드)와 같은 토큰. 화살표 색은 도메인맵 범례(--dmx-*)와 동일 의미. */
.md-fig { margin: 14px 0 16px; display: flex; flex-direction: column; gap: 10px; }
.md-fig-row { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; }
.md-fig-box { display: inline-flex; flex-direction: column; justify-content: center; gap: 2px; min-width: 0;
  padding: 8px 13px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 1px 2px rgba(21,35,59,.04); }
.md-fig-nm { font-size: 13.5px; font-weight: 700; color: var(--ink); line-height: 1.4; }
.md-fig-sub { font-size: 11.5px; color: var(--muted, #6b7a90); line-height: 1.45; }
.md-fig-ar { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  min-width: 46px; flex: 0 1 auto; padding: 0 2px; align-self: center; }
.md-fig-arlab { font-size: 11px; color: var(--muted, #6b7a90); line-height: 1.35; text-align: center; max-width: 180px; }
.md-fig-arline { display: inline-flex; align-items: center; width: 100%; min-width: 38px; height: 0;
  border-top: 2px solid var(--muted-2, #a6b2c8); position: relative; }
/* 화살촉 — 폰트 독립 CSS 삼각형(선 중심 정렬). 옛 ▸ 글리프+top:-0.72em 은 폰트 메트릭 따라 선 아래로 처졌다(#1013). */
.md-fig-arhead { position: absolute; right: -5px; top: 50%; transform: translateY(-50%);
  width: 0; height: 0; font-size: 0; line-height: 0; color: var(--muted-2, #a6b2c8);
  border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 9px solid currentColor; }
/* 화살표 의미색 — 도메인맵 범례와 동일(ok=일치·긍정 파랑 / viol=빨강 / should=주황 점선 / pend=회색 점선 / x=차단) */
.md-fig-ar.is-ok .md-fig-arline { border-top-color: var(--blue); } .md-fig-ar.is-ok .md-fig-arhead { color: var(--blue); }
.md-fig-ar.is-viol .md-fig-arline { border-top-color: #b0503f; } .md-fig-ar.is-viol .md-fig-arhead { color: #b0503f; }
.md-fig-ar.is-should .md-fig-arline { border-top-style: dashed; border-top-color: #c2822f; } .md-fig-ar.is-should .md-fig-arhead { color: #c2822f; }
.md-fig-ar.is-pend .md-fig-arline { border-top-style: dashed; } 
.md-fig-ar.is-x .md-fig-arline { border-top-style: dashed; border-top-color: #b0503f; }
.md-fig-ar.is-x .md-fig-arhead { color: #b0503f; }
.md-fig-cap { font-size: 12px; color: var(--muted, #6b7a90); margin-top: 2px; }
/* fan — 소스 스택 → 공통 화살표 → 타깃 하나 */
.md-fig-fan { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.md-fig-fansrcs { display: flex; flex-direction: column; gap: 6px; flex: 0 1 auto; min-width: 0; }
.md-fig-fan > .md-fig-box { border-top: 3px solid var(--blue); background: color-mix(in srgb, var(--blue) 4%, var(--bg));
  padding: 14px 18px; }
.md-fig-fan .md-fig-ar { min-width: 64px; }
@media (max-width: 700px) { .md-fig-row, .md-fig-fan { flex-direction: column; align-items: stretch; }
  .md-fig-ar { transform: rotate(90deg); min-height: 34px; } }

.md-wire { margin: 14px 0 16px; padding: 12px; border: 1px dashed var(--line); border-radius: 12px;
  background: var(--bg-note, #f7f9fc); display: flex; flex-direction: column; gap: 8px; }
.md-wire-row { display: flex; gap: 8px; align-items: stretch; }
.md-wire-row.is-cols > .md-wire-box { flex: 1 1 0; min-width: 0; }
.md-wire-box { border: 1px solid var(--line); border-radius: 9px; background: var(--bg); padding: 8px 11px;
  display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.md-wire-nm { font-size: 12.5px; font-weight: 700; color: var(--ink); line-height: 1.4; }
.md-wire-sub { font-size: 11px; color: var(--muted, #6b7a90); line-height: 1.4; }
.md-wire-box.is-hl { border-color: var(--blue); background: color-mix(in srgb, var(--blue) 6%, var(--bg));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--blue) 35%, transparent); }
.md-wire-box > .md-wire-row { margin-top: 2px; }
.md-wire > .md-fig-cap { margin: 0; }
@media (max-width: 700px) { .md-wire-row.is-cols { flex-direction: column; } }

/* ── #853 웨이브1 UI 수정 CSS (findings 기반 — 각 스니펫 주석에 finding 번호) ── */
/* fix: 10 프로젝트 체험 CTA 강조 — btn-lg 급 확대 + 하단 중앙 + '약 3분·ESC 중단' 보조 문구 */
.step-cta.step-cta-center { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.btn.btn-lg { padding: 12px 28px; font-size: 16px; }
.step-cta .step-cta-hint { font-size: 12px; color: var(--muted, #7a8699); }

/* fix: 16 인라인 링크 시각 구분 — .ob-banner-sub/.guide-lead 안 앵커가 본문과 같은 색·밑줄 없음 → 밑줄로 구분(코드 변경 불요, 기존 마크업 그대로) */
.ob-banner-sub a, .guide-lead a { text-decoration: underline; text-underline-offset: 2px; }

/* fix: 21 미선택 모드 카드 라디오 가시성 + hover 어포던스 (기존 .mode-card-radio 규칙(styles.css:1023) 뒤에 배치) */
.mode-card-radio { border-color: #AEB6C2; }
.mode-card:hover .mode-card-radio { border-color: var(--blue); }

/* fix: 30 docs-quickstart 탭 3중 테두리 축소 — 내부 흰 패널의 테두리·둥근 모서리 제거, 탭 줄 아래 1px 구분선만 (기존 .md-tabs-body 규칙(styles.css:6874) 뒤에 배치) */
.md-tabs-body { background: transparent; border: 0; border-radius: 0; padding: 14px 8px 6px; }
.md-tabs-bar { border-bottom: 1px solid var(--line-net); }

/* fix: 105 (review.ts #5) — 게이트 카드 통계 줄을 주의색 인포 스트립으로 승격(13px·건수 굵게, 상태문 바로 아래 배치) */
.rq-gate-note { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 10px; padding: 8px 12px; font-size: 13px; color: #6b4e00; background: #fff6e6; border: 1px solid #f0d59a; border-radius: 8px; }
.rq-gate-note b { font-weight: 700; }

/* fix: 108 (review.ts #8) — 게이트 꺼짐 시 드롭다운 라벨 흐림 + '게이트를 켜면 아래 선택이 적용됩니다' 캡션 */
.rq-gate-opts.is-off .rq-opt-label { opacity: .45; }
.rq-gate-caption { margin: 10px 0 0; font-size: 12px; color: var(--ink-sub); }

/* fix: 109 (review.ts #9) — 지식 검토 정책 인트로 줄 길이 제한(2문단 분리와 세트) */
.rq-intro { max-width: 78ch; }

/* fix: 43 learn-overview '할 수 있는 것' 카드 그리드 — 행 높이를 내용 높이에 맞춤(오른쪽 카드 하단 빈 공간 제거) */
.docs-featgrid { align-items: start; }

/* fix: 20 커넥터 폼 비밀 입력창 전폭 — .field 안 text 입력(styles.css:662)과 동일 폭으로 통일, placeholder 잘림 해소(다른 커넥터 비밀 필드 공통 적용) */
.field input[type="password"] { width: 100%; }

/* fix: 37 팀 미선택 빈 상태 문구를 오른쪽 컬럼 수직·수평 중앙 정렬(admin.ts 에서 빈 상태 분기에만 admin-col-center 클래스 부착) */
.admin-col-center { display: flex; align-items: center; justify-content: center; min-height: 100%; }
.admin-col-center > .admin-hint { color: var(--ink-sub); text-align: center; }

/* fix: 42 카테고리 행 오너 팀 드롭다운을 행 오른쪽(수정·삭제 앞) 한 열로 정렬 — 행마다 제각각이던 시작 위치 통일 */
.wikicat-owner { margin-left: auto; }

/* fix: 49 세션 주입 섹션 행(inj-piece)의 ▲▼·편집·삭제 4버튼이 항상 한 줄 유지 — 대신 설명 컬럼(inj-piece-body, flex:1 min-width:0)이 줄바꿈 */
.inj-piece > .admin-actions { flex-shrink: 0; flex-wrap: nowrap; }

/* fix: 51 PostToolUse 3개 필드의 저장 버튼을 자기 textarea 에 바짝 붙이고(우측 정렬) 필드 사이 간격은 키워 시각적 귀속 명확화 */
.inj-moment .field { margin: 0 0 22px; }
.inj-moment .field .admin-actions { margin: 4px 0 0; justify-content: flex-end; }

/* note: finding 5/22/38 용어 통일에 따라 web/docs-content.ts 의 교차 참조 11곳도 '접속 열쇠'→'접속 토큰'으로 일괄 변경(조사 와→과, 를→을 보정 포함, 코드 주석은 유지). finding 40 의 위험 톤은 기존 .btn-text-danger(styles.css:1540)를 재사용해 추가 CSS 불요. */

/* fix: 66 구성원 카드 이메일 잘림 — 카드 최소폭 확대(열 수 자연 감소, 전체 이메일은 title 호버로도 확인) */
.admin-sublist-row .member-row { flex-basis: 250px; min-width: 230px; }

/* fix: 71 좌측 목록 내부 스크롤 표시 — 마지막 행 잘림이 '목록 끝'으로 오해되지 않게 스크롤바 상시 노출 */
.admin-two-cols .admin-sublist { scrollbar-width: thin; }
.admin-two-cols .admin-sublist::-webkit-scrollbar { width: 6px; }
.admin-two-cols .admin-sublist::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }

/* fix: 94 레포 '삭제'(hard delete) 버튼 danger 톤 + '폐기'와 분리 간격 */
.repo-del-btn { color: var(--danger, #D6453C); margin-left: 10px; }
.repo-del-btn:hover { background: var(--bg-danger, #FDECEC); border-color: var(--danger, #D6453C); color: var(--danger, #D6453C); }

/* fix: 102 btn-danger disabled 시 채도 낮춰 활성 버튼처럼 보이지 않게 (미설정 시 테스트/해제는 렌더 자체를 생략하도록 코드도 수정) */
.btn-danger:disabled { background: var(--line); border-color: var(--line); color: var(--muted-2, #888); cursor: default; }

/* fix: 96 용어집 등 docs 표 안 인라인 코드 칩(.env) — 상하 패딩 제거로 베이스라인·행간 정렬 */
.docs-md table .md-code, .docs-body table .md-code { padding: 0 5px; line-height: inherit; vertical-align: baseline; }

/* fix: 111 위변조 검증 버튼을 필터 바 우측 끝으로(같은 줄에 결과 표시) — #1085 에서 .aud-right 로 대체 */

/* fix: 119·121 설정 폼 카드(AI 개인화·조직 정보) 읽기 줄 길이·입력폭 제한 */
.admin-form-narrow p.admin-hint { max-width: 72ch; }
.admin-form-narrow .field input[type="text"] { max-width: 560px; }

/* fix: 132 임베딩 숫자 입력 3개 공통 고정 폭 */
input.emb-num { width: 120px; flex: none; }

/* fix: 135 좌측 목록 메타 줄 한 줄 말줄임(훅 id 가 단어 중간에서 꺾이지 않게) */
.admin-sublist .mini-meta { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* fix: 138 행 액션의 '삭제' 버튼 danger 변형(붉은 텍스트 계열) */
.btn-ghost-danger { color: var(--coral-text); }
.btn-ghost-danger:hover { color: var(--coral); border-color: var(--coral); }

/* fix: 151 로그 경로를 제목 아래 보조 행으로 — storage-calc 안 code 스타일 */
.storage-calc code { font-size: 12px; color: var(--muted); word-break: break-all; background: none; padding: 0; }
/* ── #853 axes 재설계 — 지식 ⇄ 프로젝트 양방향 흐름(필요/산출을 흐름 이름으로) ── */
.md-axes-biflow { display: flex; flex-direction: column; gap: 10px; align-self: center; min-width: 150px; flex: 0 1 auto; }
.md-axes-bi { display: flex; flex-direction: column; align-items: center; gap: 1px; }
.md-axes-bilab { font-size: 11px; color: var(--muted, #6b7a90); white-space: nowrap; }
.md-axes-biar { font-size: 18px; font-weight: 800; line-height: 1; }
.md-axes-biar.to-r { color: var(--mint-deep, #0FA37E); }
.md-axes-biar.to-l { color: var(--blue); }
.md-axes-fnode.is-static { border-top: 3px solid var(--mint, #16C79A); }
@media (max-width: 700px) { .md-axes-biflow { transform: none; } .md-axes-bilab { white-space: normal; text-align: center; } }

/* ── #1107 :::shot v2 — 쉼: 깨끗한 화면 + 파란 번호 마커 / 짚음: 그 영역만 스포트라이트(나머지 딤).
   제품의 둘러보기(guide-tour) 스포트라이트와 같은 시각언어. 색은 블루 단색(§0.5 컬러 예산). ── */
.md-shot { margin: 20px 0 24px; display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 100%; }
.md-shot-stage { position: relative; border: 1px solid var(--line-net); border-radius: 12px; overflow: hidden;
  background: var(--canvas); box-shadow: 0 1px 2px rgba(21,35,59,.04); line-height: 0; }
.md-shot-img { width: 100%; height: auto; display: block; }
/* 스포트라이트 — 영역 링(블루 2px) + 바깥 전체 딤(대형 box-shadow 한 장, overflow 로 클립).
   구멍은 스테이지당 하나(v2.2): 구역을 오가면 딤은 그대로 두고 구멍이 미끄러진다 — 꺼짐/켜짐
   번쩍임 없이 시선만 이동(guide-tour 글라이드와 동일). 좌표 전환은 JS(setOn)가 넣는다. */
.md-shot-hl { position: absolute; z-index: 1; border-radius: 10px; opacity: 0; pointer-events: none;
  box-shadow: 0 0 0 2px var(--blue), 0 0 0 9999px rgba(21, 35, 59, .38);
  transition: opacity var(--dur-base, 150ms) ease, left var(--dur-slow, 250ms) ease, top var(--dur-slow, 250ms) ease,
    width var(--dur-slow, 250ms) ease, height var(--dur-slow, 250ms) ease; }
.md-shot-hl.is-on { opacity: 1; }
/* 구역 히트 영역 — 보이지 않는 포인터 표적(이미지 위 직접 탐색·탭). 시각은 hl·마커가 담당한다. */
.md-shot-hit { position: absolute; z-index: 1; cursor: pointer; }
/* 번호 마커 — 유령 배지(백지 + 블루 숫자), 활성만 블루 채움. 데스크톱(hover)은 쉬는 상태에 아예 숨겨
   화면을 스크린샷 그대로 두고, 이미지를 만지거나 범례를 짚거나 첫 시연(is-demo)일 때만 떠오른다.
   터치(hover 없음)는 탭 표적이라 항상 노출 — 유령 톤이라 화면을 덜 가린다. */
.md-shot-marker { position: absolute; z-index: 2; transform: translate(-42%, -42%); width: 23px; height: 23px;
  padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--blue); cursor: pointer;
  font-family: inherit; font-size: 12px; font-weight: 800; line-height: 23px; text-align: center;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--blue) 42%, transparent), 0 1px 5px rgba(21, 35, 59, .2);
  transition: opacity var(--dur-base, 150ms) ease, transform var(--dur-base, 150ms) ease,
    background-color var(--dur-base, 150ms) ease, color var(--dur-base, 150ms) ease; }
.md-shot-marker.is-on { background: var(--blue); color: #fff;
  box-shadow: 0 0 0 2px #fff, 0 1px 6px rgba(21, 35, 59, .28); }
@media (hover: hover) {
  .md-shot-marker { opacity: 0; pointer-events: none; }
  .md-shot-stage:hover .md-shot-marker, .md-shot-stage.has-on .md-shot-marker,
  .md-shot-stage.is-demo .md-shot-marker, .md-shot-marker:focus-visible { opacity: 1; pointer-events: auto; }
}
/* 활성이 있으면 나머지 마커는 물러난다 — 위 hover 노출(1)보다 뒤에 두어 이긴다. */
.md-shot-stage.has-on .md-shot-marker { opacity: .35; }
.md-shot-stage.has-on .md-shot-marker.is-on { opacity: 1; transform: translate(-42%, -42%) scale(1.08); }
.md-shot-marker:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
/* 캡션 줄 — 왼쪽 캡션, 오른쪽 조작 힌트. */
.md-shot-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  font-size: 12.5px; color: var(--muted-head); line-height: 1.5; }
.md-shot-hint { flex: none; font-size: 12px; color: var(--muted-2); }
/* 좁은 화면 — 힌트를 아래로 내린다(가로로 붙으면 캡션이 한 글자씩 접힌다). */
@media (max-width: 700px) { .md-shot-cap { display: block; } .md-shot-hint { display: block; margin-top: 3px; } }
/* 범례 — 번호와 1:1 부품 목록. 카드가 아니라 조용한 행(hover·활성 = 선택 행 틴트). */
.md-shot-legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 20px; }
.md-shot-part { display: flex; align-items: flex-start; gap: 11px; margin: 0; padding: 10px 12px; border: 0;
  background: none; border-radius: 9px; text-align: left; cursor: pointer; font-family: inherit;
  transition: background-color var(--dur-base, 150ms) ease; }
.md-shot-part:hover, .md-shot-part.is-on { background: var(--bg-sel); }
.md-shot-part:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.md-shot-pnum { flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 999px;
  background: var(--bg-punch); color: var(--blue); font-size: 11.5px; font-weight: 800; line-height: 20px;
  text-align: center; transition: background-color var(--dur-base, 150ms) ease, color var(--dur-base, 150ms) ease; }
.md-shot-part:hover .md-shot-pnum, .md-shot-part.is-on .md-shot-pnum { background: var(--blue); color: #fff; }
.md-shot-pbody { min-width: 0; display: block; }
.md-shot-ptitle { display: block; font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.5; }
.md-shot-pdesc { display: block; font-size: 13px; font-weight: 500; color: var(--ink-sub); line-height: 1.55; margin-top: 2px; }
.md-shot-pdesc + .md-shot-pdesc { margin-top: 4px; }
@media (max-width: 720px) { .md-shot-legend { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .md-shot-hl, .md-shot-marker, .md-shot-part, .md-shot-pnum { transition: none; }
  .md-shot-stage.has-on .md-shot-marker.is-on { transform: translate(-42%, -42%); }
  /* 첫 시연(JS)이 생략되는 환경 — 마커를 상시 노출해 번호 대응이 시연 없이도 읽히게 한다. */
  .md-shot-marker { opacity: 1; pointer-events: auto; }
}

/* ── shot v3(#1107) — 구역 탭 + 요소 콜아웃 패널 ──
   위 화면은 지도(스포트라이트 유지), 아래는 선택한 구역의 확대 크롭 + 말풍선.
   말풍선은 절대배치가 아니라 플로우(가로형=위/아래 행, 세로형=오른쪽 열)라 겹침이 없고,
   안내선(SVG)이 실측 좌표로 말풍선과 화면 속 지점을 잇는다. 색은 블루 단색(컬러 예산 §0.5). */
.md-shotx-tabs { display: flex; flex-wrap: wrap; gap: 2px; margin-top: 16px; border-bottom: 1px solid var(--line); }
.md-shotx-tab { display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px 10px; border: 0; background: none;
  cursor: pointer; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--ink-sub);
  border-bottom: 2px solid transparent; margin-bottom: -1px; border-radius: 6px 6px 0 0;
  transition: color .14s ease, background-color .14s ease; }
.md-shotx-tab:hover { color: var(--ink); background: var(--bg-sel); }
.md-shotx-tab.is-on { color: var(--blue); border-bottom-color: var(--blue); font-weight: 700; }
.md-shotx-tno { display: inline-grid; place-items: center; width: 17px; height: 17px; border-radius: 999px;
  font-size: 10.5px; font-weight: 700; box-shadow: inset 0 0 0 1.2px currentColor; opacity: .72; }
.md-shotx-tab.is-on .md-shotx-tno { background: var(--blue); color: #fff; box-shadow: none; opacity: 1; }
.md-shotx-panel { padding: 16px 2px 4px; }
.md-shotx-lead { margin: 0 0 16px; font-size: 14px; line-height: 1.65; color: var(--ink-sub); }
.md-shotx-body { position: relative; }
.md-shotx-body.is-wide { display: flex; flex-direction: column; gap: 30px; }
/* 말풍선은 JS 가 실측으로 자리를 잡는다(짚는 지점을 따라가되 서로 밀어냄) — 행/열은 그 좌표계일 뿐. */
.md-shotx-row { position: relative; }
.md-shotx-body.is-tall { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 30px; align-items: start; }
.md-shotx-col { position: relative; }
.md-shotx-row .md-shotx-bl, .md-shotx-col .md-shotx-bl { position: absolute; left: 0; top: 0; }
.md-shotx-col .md-shotx-bl { width: 100%; }
/* 확대 크롭 — 같은 스크린샷을 background-position 으로 오려낸다(추가 자산 없음) */
.md-shotx-crop { position: relative; border: 1px solid var(--line); border-radius: 9px; background-repeat: no-repeat;
  background-color: #fff; box-shadow: 0 1px 4px rgba(21, 35, 59, .06); }
.md-shotx-body.is-wide .md-shotx-crop { width: 100%; }
.md-shotx-body.is-tall .md-shotx-crop { height: 400px; max-height: 52vh; }
/* 지점 표시는 속이 빈 고리 — 짚은 자리를 가리지 않고 테두리만 두른다(작은 버튼·글자 위에 놓여도 읽힌다). */
.md-shotx-dot { position: absolute; width: 13px; height: 13px; border-radius: 999px; background: transparent;
  border: 2.5px solid var(--blue); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .95), 0 0 0 3.5px rgba(45, 107, 240, .16);
  transform: translate(-50%, -50%); cursor: default; transition: transform .15s ease, box-shadow .15s ease; z-index: 2; }
.md-shotx-dot.is-hot { transform: translate(-50%, -50%) scale(1.3);
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .95), 0 0 0 5px rgba(45, 107, 240, .28); }
/* 말풍선 — 이름(굵게) + 한두 문장. 짝 지점을 짚으면 함께 밝아진다 */
.md-shotx-bl { position: relative; padding: 10px 13px 11px 27px; border: 1px solid var(--line); border-radius: 9px;
  background: #fff; box-shadow: 0 1px 3px rgba(21, 35, 59, .05); transition: border-color .15s ease, box-shadow .15s ease; }
.md-shotx-bl.is-hot { border-color: rgba(45, 107, 240, .55); box-shadow: 0 2px 10px rgba(45, 107, 240, .14); }
.md-shotx-bn { position: absolute; left: 12px; top: 16.5px; width: 7px; height: 7px; border-radius: 999px; background: var(--blue); }
.md-shotx-bt { display: block; font-size: 13px; font-weight: 700; color: var(--ink); line-height: 1.5; }
.md-shotx-bd { display: block; font-size: 12.5px; font-weight: 500; color: var(--ink-sub); line-height: 1.58; margin-top: 2px; }
/* 안내선 — 말풍선 변에서 화면 속 지점까지, 겹치지 않게 순서 정렬된 직선 */
.md-shotx-net { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.md-shotx-line { fill: none; stroke: rgba(45, 107, 240, .40); stroke-width: 1.4; transition: stroke .15s ease; }
.md-shotx-line.is-hot { stroke: var(--blue); stroke-width: 2; }
/* 좁은 화면 — 실측 배치를 끄고 평범한 세로 스택으로(선은 의미를 잃으므로 숨긴다). */
@media (max-width: 700px) {
  .md-shotx-body.is-tall { grid-template-columns: 1fr; }
  .md-shotx-body.is-wide { gap: 12px; }
  .md-shotx-body.is-tall .md-shotx-crop { height: auto; max-height: none; width: 100%; max-width: 360px; margin: 0 auto; }
  .md-shotx-row, .md-shotx-col { display: flex; flex-direction: column; gap: 10px; height: auto !important; }
  .md-shotx-row .md-shotx-bl, .md-shotx-col .md-shotx-bl { position: static; width: auto !important; }
  .md-shotx-net { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .md-shotx-tab, .md-shotx-dot, .md-shotx-bl, .md-shotx-line { transition: none; }
}

/* 온보딩 connect '지금 하기' 선택 — 중앙 팝업(overlayBox). 웹=추천 / 로컬=개발자용 배지로 구분. */
.ov-back.ob-choice-back { align-items: center; }   /* 세로도 화면 중앙(짧은 선택 팝업이라 위쪽에 붙지 않게) */
.ob-choice-box { max-width: 560px; }
.ob-choice-lead { font-size: 13px; color: var(--ink-sub); margin: 0 0 14px; line-height: 1.5; }
.ob-choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .ob-choice-grid { grid-template-columns: 1fr; } }
.ob-choice-card { text-align: left; display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border: 1.5px solid var(--line-net); border-radius: 14px; background: var(--bg); cursor: pointer; font: inherit; transition: border-color .14s ease, background-color .14s ease, box-shadow .14s ease; }
.ob-choice-card:hover { border-color: var(--blue); background: var(--bg-tint); box-shadow: 0 3px 12px rgba(45,107,240,.12); }
.ob-choice-top { display: flex; align-items: center; gap: 8px; }   /* 배지는 제목 바로 옆(짧아진 워딩에 맞춰 붙임) */
.ob-choice-title { font-size: 16px; font-weight: 800; color: var(--ink); letter-spacing: -.3px; }
/* 배지 — 둘 다 같은 모양(테두리 없는 알약·같은 크기), 색만 다르다: 추천=파랑 강조 · 개발자=중립 회색. */
.ob-choice-badge { flex: none; font-size: 11px; font-weight: 700; line-height: 1.3; border-radius: 999px; padding: 2px 9px; }
.ob-choice-badge.rec { color: var(--blue); background: color-mix(in srgb, var(--blue) 12%, var(--bg)); }
.ob-choice-badge.dev { color: var(--ink-sub); background: var(--bg-tint-2, var(--bg-tint)); }
.ob-choice-desc { font-size: 13px; color: var(--ink-sub); line-height: 1.5; margin: 0; }
/* 인라인 선택박스(#/start 맨 위) — 팝업 카드를 그대로 페이지에 얹고, 고른 카드는 파랑으로 강조. #req */
.ob-choice-head { font-size: 15px; font-weight: 800; color: var(--ink); letter-spacing: -.2px; margin-bottom: 4px; }
.ob-choice-card.sel { border-color: var(--blue); background: color-mix(in srgb, var(--blue) 6%, var(--bg)); box-shadow: 0 0 0 1px var(--blue) inset; }
.ob-choice-card.sel:hover { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue) inset, 0 3px 12px rgba(45,107,240,.12); }

/* ── #1000 시작하기(#/start) — 3블록(① 바로 시작 / ② 상황별 설정 / ③ 더 해보기) + 부모 복귀 ── */
.ob-block-head { display: flex; align-items: center; gap: 10px; }
.ob-block-badge { flex: none; font-size: 10.5px; font-weight: 800; border-radius: 999px; padding: 2px 9px; letter-spacing: -.01em; color: var(--ink-sub); background: var(--bg-tint); }
.ob-block-badge.req { color: var(--blue); background: var(--bg-punch); }
.ob-block-badge.is-done { color: var(--mint-deep, #16a37f); background: rgba(58,157,110,.10); }
/* ② 상황별 설정 카드 — '이런 분께 / 안 해도 되는 경우'로 스스로 판단하게 한다 */
.setup-cards { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.setup-card { border: 1.5px solid var(--line-net); border-radius: 14px; padding: 15px 17px; background: var(--bg); transition: border-color .14s ease, background-color .14s ease; }
.setup-card:hover { border-color: color-mix(in srgb, var(--blue) 40%, var(--line-net)); background: var(--bg-tint); }
.setup-card.is-done { background: rgba(58,157,110,.05); border-color: rgba(58,157,110,.28); }
.setup-card-top { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.setup-card-title { font-size: 14.5px; font-weight: 800; color: var(--ink); letter-spacing: -.2px; }
.setup-card-who, .setup-card-skip { font-size: 13px; line-height: 1.55; margin: 3px 0 0; color: var(--ink-sub); }
.setup-card-who b { color: var(--blue-deep, var(--blue)); font-weight: 700; }
.setup-card-skip b { color: var(--muted-2); font-weight: 700; }
.setup-card-pre { color: var(--muted-2); font-weight: 600; }
.setup-card-act { margin-top: 11px; }
/* 하위 안내 페이지(설정·이관·체험)에서 부모(#/start)로 돌아가는 링크 */
.ob-back { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: var(--blue); text-decoration: none; margin-bottom: 2px; }
.ob-back:hover { text-decoration: underline; text-underline-offset: 2px; }
.ob-back-arrow { font-weight: 800; }
/* 설치 모달 헤더 제목(옛 '전체보기 ↗' 자리) */
.pjv-pm-title { font-size: 15px; font-weight: 800; color: var(--ink); }

