/* ─────────────────────────────────────────────────────────────────────────────
   37-projects-hub.css — 프로젝트 상세 = 도구 위젯 허브 (#3916, 2026-09-14, 원준 결정)

   원안(안 5 「허브」)의 카드 문법(아이콘 타일 30 · 이름 · 수 · 열기 → · 바닥 줄)을 그대로 두고, 카드를 **위젯**으로 만든다.
    · 격자 3열 × 260px 행(dense). 크기는 가로 --w(1~3) × 세로 --h(1~6) 칸을 자유롭게(#4164) — 크기가 곧 뷰다:
      1×1 «한눈» · 1×N·2×1 «목록»(줄 수가 h 만큼) · 3×1 «띠» · 2×2 이상 «전체».
    · «전체»·«띠» 는 기존 섹션 렌더러(태스크 표·세션·본문·폴더·지식 흐름·타임라인)를 카드 안에 그대로 앉힌다 — 카드 크롬만 벗긴다.
    · 배치 편집(안 A): 손잡이(⋮⋮)·숨기기(×)·[w×h] 격자 고르기·오른쪽 아래 모서리 끌기 · 「＋ 위젯」 슬롯 · 프리셋. 저장은 web/projects/detail-hub.ts.
    · ≤900px: 한 열 — --w·--h 를 버리고 내용 높이로 선다(뷰는 JS 가 고른다: «전체»·«띠» → «목록»).
   토큰만 쓴다(01-base/90-dark). 그림자는 떠 있는 것(끌리는 카드·프리셋 창)에만.
   ───────────────────────────────────────────────────────────────────────────── */

/* ── 머리: 뒤로 줄은 기존(.proj-detail-back) · 제목(h1) 아래 «속성 띠» — 2열 표 대신 칩 한 줄 ── */
.pjh-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 2px 0 18px; }
/* 칩 한 벌은 한 물건이다(#4135) — 값이 있든 없든 높이 30 · 아이콘 15 · 글자 13/600. 안에 앉는 컨트롤(상태 알약·리스트·팀원·기간·우선순위·태그·
   선행/후속)은 표·모달용 크롬(테두리·패딩·글자 크기·너비 100%·최소 높이)을 달고 와서 칩 높이를 28~36 으로 튀게 했다 → 여기서 전부 걷는다. */
.pjh-fact { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 9px 0 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); font-size: 13px; font-weight: 600; line-height: 1; color: var(--ink); white-space: nowrap; }
.pjh-fact:hover { border-color: var(--line-net); }
.pjh-fact > svg.pjh-ic { width: 15px; height: 15px; color: var(--muted-2); }
.pjh-fact-k { font-size: 12.5px; font-weight: 600; color: var(--muted-2); }
/* 전역 `.empty svg { display:block; margin:0 auto 14px }`(03-components) 가 빈 칩의 선 아이콘·컨트롤 아이콘에 새어 아이콘이 위로 붙던 것 — 칩 안 svg 는 제자리. */
.pjh-fact svg, .pjh-fact.empty svg, .pjh-fact .pjv-cell-ico { display: inline-block; margin: 0; }
/* 안쪽 컨트롤 — 크롬을 걷고 칩 글자에 맞춘다 */
.pjh-fact .pjv-cell-btn { width: auto; height: auto; min-height: 0; justify-content: flex-start; gap: 6px; padding: 0 2px; border-radius: 6px; font-size: 13px; font-weight: 600; color: var(--ink); box-shadow: none; }
.pjh-fact .pjv-cell-btn:hover { background: var(--bg-tint-2); box-shadow: none; }
.pjh-fact .pjv-tm-statuspill { min-height: 0; border: 0; background: transparent; padding: 0 2px; font-size: 13px; font-weight: 700; letter-spacing: 0; }
.pjh-fact .pjv-tm-statuspill:hover { background: var(--bg-tint-2); }
.pjh-fact .pjv-tm-dates { gap: 3px; }
.pjh-fact .pjv-tm-datebtn { min-height: 0; padding: 0 2px; font-size: 13px; font-weight: 600; }
.pjh-fact .pjv-tm-datearrow { font-size: 11px; }
.pjh-fact .pjv-asg-faces { gap: 0; }
.pjh-fact .pjv-ava { width: 20px; height: 20px; font-size: 9.5px; box-shadow: 0 0 0 2px var(--bg); }
.pjh-fact .pjv-asg-faces .pjv-ava + .pjv-ava { margin-left: -6px; }
.pjh-fact .pjv-asg-mname { font-weight: 600; }
.pjh-fact .pjv-list-dot.sm { width: 8px; height: 8px; }
/* 우선순위 — 값의 이모지 깃발(⚑)은 숨기고 칩의 선 깃발이 그 색을 입는다(깃발이 둘 서던 것). 색은 표의 .pjv-flag 와 같은 토큰. */
.pjh-fact .pjv-flag-glyph { display: none; }
.pjh-fact .pjv-flag-label { font-size: 13px; font-weight: 600; }
.pjh-fact.pr-urgent > svg.pjh-ic { color: var(--coral-text); }
.pjh-fact.pr-high > svg.pjh-ic { color: var(--warn-deep); }
.pjh-fact.pr-normal > svg.pjh-ic { color: var(--blue); }
.pjh-fact.pr-low > svg.pjh-ic { color: var(--muted-2); }
.pjh-fact .pjv-tm-tags { gap: 4px; min-height: 0; }
.pjh-fact .pjv-tm-tag { font-size: 12px; padding: 1px 3px 1px 7px; border-radius: 5px; }
.pjh-fact .pjv-tm-valbtn { min-height: 0; padding: 0 4px; font-size: 13px; font-weight: 600; color: var(--muted-2); }
.pjh-fact .pjv-proj-edges { display: inline-flex; flex-wrap: nowrap; align-items: center; gap: 3px; min-height: 0; padding: 0; }
.pjh-fact .pjv-edge-chip { background: transparent; border: 0; padding: 0; gap: 1px; }
.pjh-fact .pjv-edge-chip-link { max-width: 220px; font-size: 13px; font-weight: 600; color: var(--ink); }
.pjh-fact .pjv-edge-chip-x { padding: 2px 3px; font-size: 10px; color: var(--muted-3); }
.pjh-fact .pjv-edge-chip-x:hover { color: var(--ink); background: var(--bg-sel); }
.pjh-fact .pjv-edge-add { min-height: 0; border: 0; background: transparent; padding: 0 3px; font-size: 13px; font-weight: 600; color: var(--muted-2); }
.pjh-fact .pjv-edge-add:hover { color: var(--blue); background: var(--bg-tint-2); }
.pjh-fact .pjv-tm-field-val { min-width: 0; }
/* 빈 칩 — 점선 테두리에 아이콘 + 이름표만. 안쪽 컨트롤(리스트·팀원·우선순위 단추 · 기간 단추 · 태그/선행/후속의 ＋)은 자기 자리표시를 그리지 않고
   칩 전체를 덮는 투명한 누름 자리가 된다 — 이름표가 이미 그 말을 하고, 아이콘이 둘 나란히 서던 것(팀원 옆 사람+, 우선순위 옆 깃발)을 걷는다.
   기간은 시작일 단추 하나만 남긴다(고르면 칩이 값으로 다시 그려져 마감이 눌린다). */
.pjh-fact.empty { border-style: dashed; cursor: pointer; }
.pjh-fact.empty:hover { border-style: solid; border-color: var(--line-net-2); background: var(--bg-tint); }
.pjh-fact.empty .pjh-fact-k { color: var(--muted-2); }
.pjh-fact.empty .pjv-cell-btn.empty, .pjh-fact.empty .pjv-tm-dates, .pjh-fact.empty .pjv-tm-tags, .pjh-fact.empty .pjv-proj-edges {
  position: absolute; inset: 0; width: auto; height: auto; margin: 0; padding: 0; border-radius: inherit; opacity: 0; }
.pjh-fact.empty .pjv-tm-dates > .pjv-tm-datearrow, .pjh-fact.empty .pjv-tm-dates > .pjv-tm-datebtn:last-child { display: none; }
.pjh-fact.empty .pjv-tm-datebtn, .pjh-fact.empty .pjv-tm-valbtn, .pjh-fact.empty .pjv-edge-add { flex: 1; width: 100%; height: 100%; }
.pjh-fact.empty:has(:focus-visible) { outline: 2px solid var(--blue); outline-offset: 1px; }


/* ══ 위젯(#4135 3차, 2026-09-26) — 한 벌의 규칙. 기준은 프로젝트 탭 «열기» 본문 섹션의 결(13-projects.css · 14-files-upload.css):
   글자 14/12.5/12 세 단 · 줄 36px · 얼굴 20px · 선은 줄 사이 line-row 하나뿐 · 빈 자리는 tint 카드 · 아이콘은 크게.
   덧씌우기 블록을 쌓지 않는다 — 고칠 땐 여기 값을 바꾼다. ══ */

/* ── 격자 · 카드 ── */
.pjh-grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 260px; gap: 16px; grid-auto-flow: dense; margin-bottom: 24px; }
.pjh-w { position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 18px 20px 14px; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.pjh-w { grid-column: span var(--w, 1); grid-row: span var(--h, 1); }

/* 머리 — 아이콘 타일 28 · 이름 15/800 · 부제 12.5 · 오른쪽 «⚙ 보기»·«열기 →» */
.pjh-wh { display: flex; align-items: center; gap: 9px; flex: none; min-width: 0; height: 28px; }
.pjh-wh-ic { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--bg-tint-2); color: var(--ink-sub); }
.pjh-wh-ic.blue { background: var(--bg-punch); color: var(--blue); }
.pjh-wh-ic.mint { background: var(--bg-success); color: var(--mint-deep); }
.pjh-wh-ic.amber { background: var(--warn-bg); color: var(--warn-deep); }
.pjh-wh-ic > svg { width: 15px; height: 15px; }
.pjh-wh-name { font-size: 15px; font-weight: 800; letter-spacing: -.2px; white-space: nowrap; color: var(--ink); }
.pjh-wh-sub { min-width: 0; font-size: 12.5px; font-weight: 600; color: var(--muted-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pjh-wh-acts { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; flex: none; }
.pjh-open { display: inline-flex; align-items: center; gap: 3px; height: 26px; border: 0; background: none; padding: 0 6px; border-radius: 7px; font: inherit; font-size: 12.5px; font-weight: 700; color: var(--blue); cursor: pointer; }
.pjh-open:hover { background: var(--bg-punch); }
.pjh-cfg { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 9px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); font: inherit; font-size: 12px; font-weight: 700; color: var(--ink-sub); cursor: pointer; white-space: nowrap; }
.pjh-cfg:hover, .pjh-cfg.on { color: var(--ink); background: var(--bg-tint); }

/* 몸통 · 바닥 */
.pjh-wb { position: relative; flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 8px; }
.pjh-wf { margin-top: auto; flex: none; display: flex; align-items: center; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line-row); font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; }
.pjh-wf-txt { display: inline-flex; align-items: center; gap: 5px; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.pjh-wf .pjh-ic { color: var(--muted-2); }
.pjh-wf > .btn { margin-left: auto; flex: none; }
.pjh-wf > .btn ~ .btn { margin-left: 0; }   /* 사이에 숨은 input(업로드 고르기)이 있어도 단추들은 오른쪽에 붙는다 */
.pjh-wf > .btn, .pjh-wf .btn-sm { height: 26px; padding: 0 8px; border: 0; background: none; border-radius: 7px; color: var(--ink-sub); font-size: 12.5px; font-weight: 700; box-shadow: none; }
.pjh-wf > .btn:hover, .pjh-wf .btn-sm:hover { background: var(--bg-punch); color: var(--blue); box-shadow: none; }
.pjh-wf > .btn.btn-ghost > .pjh-ic { width: 13px; height: 13px; }
.pjh-wf .pjh-sbtn { height: 26px; }
.pjh-ic { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* 공용 글 — 한 문장 안내(빈 상태) · 묶음 머리 · «… N개 더» · 세션 점 */
.pjh-stat { font-size: 13px; line-height: 1.55; color: var(--ink-sub); }
.pjh-stat b { color: var(--ink); }
.pjh-wb > .pjh-stat, .pjh-kcol > .pjh-stat, .pjh-kside > .pjh-stat, .pjh-kn-normal > .pjh-stat { padding: 10px 12px; border-radius: 10px; background: var(--bg-tint); color: var(--ink-sub); }
.pjh-grp { display: flex; align-items: center; gap: 6px; min-height: 28px; margin-top: 6px; font-size: 12.5px; color: var(--ink); flex: none; }
.pjh-grp:first-child { margin-top: 0; }
.pjh-grp b { font-weight: 800; letter-spacing: -.1px; }
.pjh-grp-n { color: var(--muted-2); font-weight: 600; }
.pjh-grp-h { color: var(--muted-2); font-weight: 500; font-size: 12px; }
.pjh-grp.sub { margin-top: 4px; }
.pjh-more, .pjv-more-row { display: block; width: 100%; flex: none; border: 0; background: none; padding: 0 8px; min-height: 30px; font: inherit; font-size: 12.5px; font-weight: 600; color: var(--muted-2); cursor: pointer; text-align: left; }
.pjv-more-row { padding-left: 30px; }
.pjh-more:hover, .pjv-more-row:hover { color: var(--blue); }
.pjh-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--muted-3-line); }
.pjh-dot.busy { background: var(--blue); animation: pjh-busy 1.1s ease-in-out infinite; }
.pjh-dot.wait { background: var(--warn); box-shadow: 0 0 0 3px color-mix(in srgb, var(--warn) 22%, transparent); }
.pjh-dot.done { background: var(--mint); opacity: .6; }
.pjh-dot.off { background: none; border: 1.5px solid var(--muted-3-line); }
.pjh-pulse { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.pjh-pulse::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--mint); opacity: .18; animation: pjh-breathe 2.8s ease-in-out infinite; }
@keyframes pjh-busy { 50% { opacity: .35; } }
@keyframes pjh-breathe { 50% { inset: -6px; opacity: .07; } }
@media (prefers-reduced-motion: reduce) { .pjh-dot.busy, .pjh-pulse::after { animation: none; } }
.pjh-w.drop-active { outline: 2px dashed var(--line-net-2); outline-offset: -4px; background: var(--bg-tint); }
/* 옛 부품(kit 의 row/big/ring — 지금은 안 쓰지만 공장이 남아 있다) */
.pjh-row { display: flex; align-items: center; gap: 9px; padding: 6px 2px; border-bottom: 1px solid var(--line-row); font-size: 13px; color: var(--ink); min-width: 0; }
.pjh-big { display: flex; align-items: baseline; gap: 2px; font-size: 26px; font-weight: 800; letter-spacing: -.9px; color: var(--ink); }
.pjh-ring { flex: none; }

/* 도구 줄 칩(2칸 이상) — 26px 알약 · 12.5 · 값만 진하게 */
.pjh-tools { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; flex: none; }
.pjh-chip { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font: inherit; font-size: 12.5px; font-weight: 600; color: var(--muted); cursor: pointer; white-space: nowrap; }
.pjh-chip b { font-weight: 700; color: var(--ink); }
.pjh-chip:hover { background: var(--bg-tint); }
.pjh-chip .pjh-ic { width: 12px; height: 12px; color: var(--muted-3); }
/* 팝아웃(⚙ 보기) */
.pjh-pop { padding: 10px 12px; min-width: 240px; }
.pjh-pop-h { font-size: 11.5px; font-weight: 800; color: var(--muted-2); letter-spacing: .2px; margin: 0 0 6px; }
.pjh-pop-r { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 32px; font-size: 13px; color: var(--ink-sub); }
.pjh-seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.pjh-seg button { border: 0; background: none; padding: 4px 10px; font: inherit; font-size: 12.5px; font-weight: 600; color: var(--muted); cursor: pointer; }
.pjh-seg button + button { border-left: 1px solid var(--line); }
.pjh-seg button.on { background: var(--ink); color: var(--bg); }
.pjh-search-in { width: 100%; box-sizing: border-box; margin: 2px 0 6px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 13px; background: var(--bg); color: var(--ink); }
/* 작은 단추(입장 · 편집 · 열기 · 내려받기) */
.pjh-sbtn { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border: 0; border-radius: 8px; background: var(--ink); color: var(--bg); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.pjh-sbtn .pjh-ic { width: 12px; height: 12px; }
.pjh-sbtn.ghost { background: var(--bg); color: var(--ink-sub); border: 1px solid var(--line); }
.pjh-sbtn.ghost:hover { background: var(--bg-tint); color: var(--ink); }

/* ── 태스크(detail-tasks 의 줄을 위젯 안에서) — 프로젝트 탭과 같은 문법: 묶음 머리 글자 13.5/800 + 상태 원 · 줄 36 · 이름 14 · 얼굴 20 · 줄 사이 line-row ── */
.pjh-wb > .pjv-tasks-embedded { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; margin: 0; padding: 0; border: 0; background: transparent; }
.pjh-wb > .pjv-tasks-embedded .pjv-tasks-body { flex: 1; min-height: 0; overflow: hidden; }
.pjh-wb > .pjv-tasks-embedded .pjv-empty-hint { display: none; }
.pjh-wb > .pjv-tasks-embedded .pjv-tgroup { margin-top: 10px; }
.pjh-wb > .pjv-tasks-embedded .pjv-tgroup:first-child { margin-top: 0; }
.pjh-wb > .pjv-tasks-embedded .pjv-tgroup-head { padding: 0 2px 4px; min-height: 30px; border-bottom: 0; gap: 6px; }
.pjh-wb > .pjv-tasks-embedded .pjv-tgroup-head .pjv-trow-title-cell { gap: 7px; padding-left: 26px; position: relative; }
.pjh-wb > .pjv-tasks-embedded .pjv-tgroup-head .pjv-row-check { position: absolute; left: 2px; top: 50%; margin-top: -8px; opacity: 0; }
.pjh-wb > .pjv-tasks-embedded .pjv-tgroup-head:hover .pjv-row-check { opacity: 1; }
.pjh-wb > .pjv-tasks-embedded .pjv-tgroup-label { font-size: 13.5px; font-weight: 800; letter-spacing: -.1px; color: var(--ink); }
.pjh-wb > .pjv-tasks-embedded .pjv-tgroup-count { font-size: 12.5px; font-weight: 600; color: var(--muted-2); }
.pjh-wb > .pjv-tasks-embedded .pjv-tgroup-caret { width: 16px; height: 16px; font-size: 9px; color: var(--muted-3); }
.pjh-wb > .pjv-tasks-embedded .pjv-colhead { font-size: 12px; font-weight: 600; color: var(--muted-2); letter-spacing: .1px; padding: 0 0 0 4px; }
.pjh-wb > .pjv-tasks-embedded .pjv-thcol-menu, .pjh-wb > .pjv-tasks-embedded .pjv-col-resize, .pjh-wb > .pjv-tasks-embedded .pjv-col-resize::after, .pjh-wb > .pjv-tasks-embedded .pjv-tgroup-head .pjv-tcell-add > * { display: none; }
.pjh-wb > .pjv-tasks-embedded .pjv-tgroup-body { padding-top: 0; }
.pjh-wb > .pjv-tasks-embedded .pjv-trow-wrap > .pjv-trow { min-height: 36px; padding: 0 4px; border-bottom: 0; border-top: 1px solid var(--line-row); border-radius: 8px; }
.pjh-wb > .pjv-tasks-embedded .pjv-tgroup-body > .pjv-trow-wrap:first-child > .pjv-trow { border-top: 0; }
.pjh-wb > .pjv-tasks-embedded .pjv-trow:hover { background: var(--bg-tint); }
.pjh-wb > .pjv-tasks-embedded .pjv-trow-title-cell { gap: 9px; padding-left: 26px; position: relative; }
.pjh-wb > .pjv-tasks-embedded .pjv-trow-title { font-size: 14px; font-weight: 500; color: var(--ink); }
.pjh-wb > .pjv-tasks-embedded .pjv-trow-caret, .pjh-wb > .pjv-tasks-embedded .pjv-trow-caret.empty, .pjh-wb > .pjv-tasks-embedded .pjv-row-grip, .pjh-wb > .pjv-tasks-embedded .pjv-cell-ico { display: none; }
.pjh-wb > .pjv-tasks-embedded .pjv-row-check { position: absolute; left: 2px; top: 50%; margin-top: -8px; opacity: 0; }
.pjh-wb > .pjv-tasks-embedded .pjv-trow:hover .pjv-row-check, .pjh-wb > .pjv-tasks-embedded .pjv-row-check.on, .pjh-wb > .pjv-tasks-embedded .pjv-row-check[aria-checked="true"] { opacity: 1; }
.pjh-wb > .pjv-tasks-embedded svg.pjv-status-ic.sm { width: 16px; height: 16px; }
.pjh-wb > .pjv-tasks-embedded svg.pjv-status-ic circle { stroke-dasharray: none; stroke-width: 1.8; }
.pjh-wb > .pjv-tasks-embedded .pjv-status-dot.sm { width: 16px; height: 16px; border-width: 1.6px; font-size: 0; border-style: solid; border-color: var(--muted-3-line); }
.pjh-wb > .pjv-tasks-embedded .pjv-status-dot.sm.inprog { background: linear-gradient(90deg, var(--blue) 50%, transparent 50%); border-color: currentColor; }
.pjh-wb > .pjv-tasks-embedded .pjv-status-dot.sm.done { border-color: currentColor; }
.pjh-wb > .pjv-tasks-embedded .pjv-trow-subcount { font-size: 11.5px; font-weight: 600; color: var(--muted-2); background: none; padding: 0; }
.pjh-wb > .pjv-tasks-embedded .pjv-trow-tags .pjv-trow-tag { font-size: 11.5px; line-height: 18px; padding: 0 7px; }
.pjh-wb > .pjv-tasks-embedded .pjv-tcell { justify-content: flex-start; overflow: hidden; }
.pjh-wb > .pjv-tasks-embedded .pjv-cell-btn { padding: 0 4px; height: 100%; font-size: 12.5px; color: var(--muted); }
.pjh-wb > .pjv-tasks-embedded .pjv-cell-btn:hover { box-shadow: none; background: var(--bg-tint-2); border-radius: 6px; }
.pjh-wb > .pjv-tasks-embedded .pjv-cell-btn.empty { visibility: hidden; }
.pjh-wb > .pjv-tasks-embedded .pjv-trow:hover .pjv-cell-btn.empty { visibility: visible; }
.pjh-wb > .pjv-tasks-embedded .pjv-ava { width: 20px; height: 20px; font-size: 9.5px; font-weight: 700; }
.pjh-wb > .pjv-tasks-embedded .pjv-asg-faces { gap: 2px; }
.pjh-wb > .pjv-tasks-embedded .pjv-asg-name { margin-left: 5px; font-size: 12.5px; color: var(--ink-sub); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pjh-wb > .pjv-tasks-embedded .pjv-due-text { font-size: 12.5px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.pjh-wb > .pjv-tasks-embedded .pjv-due-text.overdue { color: var(--danger-ink); }
.pjh-wb > .pjv-tasks-embedded .pjv-flag-glyph { font-size: 12.5px; }
.pjh-wb > .pjv-tasks-embedded .pjv-flag-label { font-size: 12px; font-weight: 700; }
.pjh-wb > .pjv-tasks-embedded .pjv-trow-more { width: 24px; height: 24px; font-size: 15px; }
.pjh-wb > .pjv-tasks-embedded .pjv-row-actions { gap: 2px; padding-left: 22px; margin-right: 6px; }
.pjh-wb > .pjv-tasks-embedded .pjv-row-act { width: 24px; height: 24px; }
.pjh-wb > .pjv-tasks-embedded .pjv-act-ic { width: 14px; height: 14px; }
.pjh-wb > .pjv-tasks-embedded .pjv-addrow { padding: 0; }
.pjh-wb > .pjv-tasks-embedded .pjv-addrow-trigger { min-height: 34px; padding: 0 8px 0 26px; font-size: 13.5px; font-weight: 500; color: var(--muted); gap: 7px; border-radius: 8px; }
.pjh-wb > .pjv-tasks-embedded .pjv-addrow-trigger:hover { background: var(--bg-tint); color: var(--ink-sub); }
.pjh-wb > .pjv-tasks-embedded .pjv-addrow-plus { font-size: 15px; color: var(--muted-2); }
.pjh-wb > .pjv-tasks-embedded .pjv-addrow.editing, .pjh-wb > .pjv-tasks-embedded .pjv-tasks-card .pjv-addrow.editing { min-height: 36px; background: var(--bg-tint); border-radius: 8px; padding: 0 4px; }
.pjh-wb > .pjv-tasks-embedded .pjv-addrow-input { font-size: 14px; padding: 6px 8px; }
.pjh-wb > .pjv-tasks-embedded .pjv-more-row { min-height: 30px; padding: 0 8px 0 26px; font-size: 12.5px; }

/* ── 세션 — 줄 36 · 이름 14/600 · 태스크 칩 · 열은 12.5 muted · 1×1 «지금» 카드 · 3×2 옆 칸 ── */
.pjh-slist { display: flex; flex-direction: column; min-height: 0; overflow: hidden; flex: 1; }
.pjh-sg { display: grid; align-items: center; min-height: 28px; margin-top: 8px; font-size: 12.5px; color: var(--ink); }
.pjh-sg:first-child { margin-top: 0; }
.pjh-sg-l { display: flex; align-items: center; gap: 6px; min-width: 0; font-weight: 800; letter-spacing: -.1px; padding-left: 2px; }
.pjh-sg-n { color: var(--muted-2); font-weight: 600; }
.pjh-sg .pjh-sr-c { font-size: 12px; font-weight: 600; color: var(--muted-2); }
.pjh-sr { display: grid; align-items: center; min-height: 36px; border-top: 1px solid var(--line-row); border-radius: 8px; font-size: 14px; color: var(--ink); }
.pjh-sg + .pjh-sr { border-top: 0; }
.pjh-sr:hover { background: var(--bg-tint); }
.pjh-sr:hover + .pjh-sr { border-top-color: transparent; }
.pjh-sr.on { background: var(--bg-sel); box-shadow: inset 2px 0 0 var(--blue); }
.pjh-sr-t { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 0 8px 0 4px; }
.pjh-sr-n { flex: 0 1 auto; min-width: 48px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pjh-tb { flex: none; display: inline-flex; align-items: center; gap: 4px; max-width: 44%; height: 20px; padding: 0 7px; border: 0; border-radius: 6px; background: var(--bg-tint-2); color: var(--ink-sub); font: inherit; font-size: 11.5px; font-weight: 600; overflow: hidden; white-space: nowrap; cursor: pointer; }
.pjh-tb > span { overflow: hidden; text-overflow: ellipsis; }
.pjh-tb:hover { color: var(--blue); }
.pjh-tb .pjh-ic { width: 11px; height: 11px; }
.pjh-sr-acts { flex: none; display: none; gap: 4px; margin-left: 2px; }
.pjh-sr:hover .pjh-sr-acts, .pjh-sr.on .pjh-sr-acts, .pjh-sr-acts:focus-within { display: inline-flex; }
@media (hover: none) { .pjh-sr-acts { display: inline-flex; } }
.pjh-sr-c { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; padding-right: 4px; min-width: 0; }
.pjh-sr-c .pjv-ava { width: 20px; height: 20px; font-size: 9.5px; flex: none; }
.pjh-sr-cn { overflow: hidden; text-overflow: ellipsis; }
.pjh-sr-one { border-top: 0; margin-top: 4px; }
.pjh-now { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border: 1px solid var(--line-net); border-radius: 12px; background: var(--bg-tint); }
.pjh-now.wait { border-color: var(--warn); background: var(--warn-bg); }
.pjh-now.live { border-color: var(--ok-line-2); background: var(--bg-success); }
.pjh-now-t { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--ink); min-width: 0; }
.pjh-now-t .pjh-sr-n { min-width: 0; }
.pjh-now-t .pjv-ava { width: 20px; height: 20px; font-size: 9.5px; flex: none; margin-left: auto; }
.pjh-now-l { font-size: 13px; line-height: 1.5; color: var(--ink-sub); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pjh-now-m { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted-2); white-space: nowrap; overflow: hidden; }
.pjh-now-m > span:not(:last-child) { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.pjh-now-m > span:last-child { flex: none; }
.pjh-two-s { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; min-height: 0; flex: 1; }
.pjh-side { border-left: 1px solid var(--line-row); padding-left: 16px; display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.pjh-side-l { font-size: 12px; font-weight: 700; color: var(--muted-2); letter-spacing: .2px; flex: none; }
.pjh-side-t { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; color: var(--ink); min-width: 0; flex: none; }
.pjh-kv { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 12.5px; color: var(--muted); flex: none; }
.pjh-kv b { color: var(--ink-sub); font-weight: 600; }
.pjh-stail { flex: none; max-height: 46%; min-height: 44px; overflow: auto; font-size: 12.5px; line-height: 1.55; color: var(--ink-sub); white-space: pre-wrap; word-break: break-word; background: var(--bg-tint); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; }
.pjh-stail-me { color: var(--muted-2); }
.pjh-stail-ai { color: var(--ink); }
.pjh-side-acts { display: flex; gap: 6px; flex: none; margin-top: auto; }
.pjh-side .pjh-stat { flex: none; }
.pjh-side .pjh-kres { flex: none; }

/* ── 본문 — 읽기 14/24 · 머리말 · 인용은 tint 상자 · 두 단은 차례로 · 코멘트 칸 ── */
.pjh-body-col { display: flex; flex-direction: column; gap: 8px; min-height: 0; flex: 1; }
.pjh-bh { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex: none; min-height: 26px; font-size: 12.5px; color: var(--muted); }
.pjh-bh .pjh-sbtn.ghost { height: 26px; padding: 0 9px; font-size: 12px; }
.pjh-body-content { display: flex; flex-direction: column; flex: 1; min-height: 0; position: relative; }
.pjh-body-content::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 36px; background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none; }
.pjh-read { flex: 1; min-height: 0; overflow: auto; position: relative; font-size: 14px; line-height: 24px; color: var(--ink); padding-right: 6px; word-break: keep-all; overflow-wrap: anywhere; }
.pjh-read.clip { overflow: hidden; }
.pjh-read > .md { line-height: 24px; }
.pjh-read > .md > :first-child { margin-top: 0; }
.pjh-read > .md h1 { font-size: 18px; font-weight: 800; letter-spacing: -.3px; line-height: 1.35; margin: 0 0 8px; }
.pjh-read > .md h2 { font-size: 14.5px; font-weight: 800; letter-spacing: -.1px; margin: 14px 0 4px; }
.pjh-read > .md h3 { font-size: 14px; font-weight: 700; margin: 10px 0 2px; }
.pjh-read > .md p { margin: 0 0 8px; color: var(--ink-sub); }
.pjh-read > .md ul, .pjh-read > .md ol { margin: 0 0 8px; padding-left: 20px; color: var(--ink-sub); }
.pjh-read > .md li { margin: 2px 0; }
.pjh-read > .md blockquote { margin: 0 0 10px; padding: 10px 12px; border: 0; border-radius: 10px; background: var(--bg-tint); color: var(--ink-sub); font-size: 13.5px; line-height: 22px; }
.pjh-read > .md code { font-size: 12.5px; }
.pjh-read.cols2 { display: flex; flex-direction: column; overflow: hidden; }
.pjh-read.cols2 > .md { flex: 1; min-height: 0; column-count: 2; column-gap: 32px; column-fill: auto; column-rule: 1px solid var(--line-row); }
.pjh-read.cols2 > .md h1 { column-span: all; }
.pjh-read.cols2 > .md h1, .pjh-read.cols2 > .md h2, .pjh-read.cols2 > .md h3 { break-after: avoid-column; break-inside: avoid; }
.pjh-read.cols2 > .md blockquote { break-inside: avoid; }
.pjh-edit-host { flex: 1; min-height: 0; overflow: auto; }
.pjh-two-b { display: grid; gap: 16px; min-height: 0; flex: 1; }
.pjh-cmt-col { display: flex; flex-direction: column; gap: 8px; min-height: 0; border-left: 1px solid var(--line-row); padding-left: 16px; }
.pjh-two-b > .pjh-cmt-col { flex: none; }
.pjh-body-col + .pjh-cmt-col:not(.pjh-two-b > *) { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-row); padding-top: 10px; }
.pjh-cmt-h { display: flex; align-items: center; gap: 6px; height: 26px; font-size: 12.5px; font-weight: 700; color: var(--muted); flex: none; }
.pjh-cmt-h b { color: var(--ink); }
.pjh-cmt-list { flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; gap: 4px; }
.pjh-cmt-list > .pjh-stat { padding: 10px 12px; border-radius: 10px; background: var(--bg-tint); }
.pjh-cm { display: flex; gap: 10px; align-items: flex-start; padding: 4px 0; }
.pjh-cm + .pjh-cm { padding-top: 10px; border-top: 1px solid var(--line-row); }
.pjh-cm .pjv-ava { width: 22px; height: 22px; font-size: 10px; flex: none; }
.pjh-cm-b { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pjh-cm-h { display: flex; align-items: baseline; gap: 6px; font-size: 13px; }
.pjh-cm-h b { font-weight: 700; color: var(--ink); }
.pjh-cm-h span { color: var(--muted-2); font-size: 12px; }
.pjh-cm-t { font-size: 13px; line-height: 1.55; color: var(--ink-sub); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pjh-composer { display: flex; align-items: center; gap: 6px; flex: none; height: 36px; padding: 0 6px 0 12px; border: 1px solid var(--line-net); border-radius: 10px; background: var(--bg-tint); }
.pjh-composer-in { flex: 1; min-width: 0; resize: none; padding: 0; border: 0; background: none; font: inherit; font-size: 13px; line-height: 1.4; color: var(--ink); }
.pjh-composer-in:focus { outline: none; }
.pjh-composer .pjh-sbtn { width: 26px; height: 26px; padding: 0; justify-content: center; border-radius: 7px; }
.pjh-pill { display: inline-flex; align-items: center; height: 18px; padding: 0 7px; border-radius: 9px; font-size: 11px; font-weight: 700; margin-left: 4px; }
.pjh-pill.new { background: var(--blue); color: #fff; }

/* ── 지식 — 검색 34px tint · 필요/산출은 프로젝트 탭과 같은 tint 카드 · 줄 36 · 추천은 점선 줄 ── */
.pjh-search { display: flex; align-items: center; gap: 8px; flex: none; height: 34px; padding: 0 12px; border: 1px solid var(--line-net); border-radius: 10px; background: var(--bg-tint); color: var(--muted-2); }
.pjh-search .pjh-search-in { margin: 0; padding: 0; border: 0; background: none; height: 32px; font-size: 13px; }
.pjh-search .pjh-search-in:focus { outline: none; }
.pjh-search:focus-within { border-color: var(--blue); background: var(--bg); }
.pjh-kn-normal, .pjh-kres { display: flex; flex-direction: column; gap: 4px; min-height: 0; overflow: hidden; flex: 1; }
.pjh-kn-normal[hidden], .pjh-kres[hidden] { display: none; }
.pjh-kr { display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 6px; border-top: 1px solid var(--line-row); border-radius: 8px; font-size: 13.5px; color: var(--ink); }
.pjh-grp + .pjh-kr, .pjh-kr:first-child, .pjh-stat + .pjh-kr, .pjh-krec > .pjh-kr:first-child { border-top: 0; }
.pjh-kr:hover { background: var(--bg-tint); }
.pjh-kr .pjh-ic { color: var(--muted-2); }
.pjh-kr.rec { color: var(--ink-sub); }
.pjh-kr-b { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.pjh-kr-t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: inherit; text-decoration: none; font-weight: 600; }
.pjh-kr-t:hover { color: var(--blue); }
.pjh-kr-s { font-size: 11.5px; color: var(--muted-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pjh-kr-x { flex: none; width: 20px; height: 20px; border: 0; background: none; color: var(--muted-3); font-size: 11px; cursor: pointer; opacity: 0; border-radius: 5px; }
.pjh-kr:hover .pjh-kr-x, .pjh-kc:hover .pjh-kr-x { opacity: 1; }
.pjh-kr-x:hover { color: var(--coral-text); background: var(--danger-bg); }
.pjh-kn-rel { flex: none; font-size: 11.5px; font-weight: 700; color: var(--muted-2); }
.pjh-kn-pct { flex: none; font-size: 12px; font-weight: 700; color: var(--mint-deep); font-variant-numeric: tabular-nums; }
.pjh-kn-link { flex: none; border: 0; background: none; padding: 3px 6px; border-radius: 6px; font: inherit; font-size: 12.5px; font-weight: 700; color: var(--blue); cursor: pointer; }
.pjh-kn-link:hover { background: var(--bg-punch); }
.pjh-krec-wait { font-size: 12px; color: var(--muted-3); padding: 6px 6px 0; }
.pjh-kc { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); flex: none; }
.pjh-kc-h { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 13.5px; }
.pjh-kc-h .pjh-kr-t { font-weight: 700; }
.pjh-kc-s { font-size: 12.5px; color: var(--muted); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pjh-kc-d { font-size: 11.5px; color: var(--muted-2); }
.pjh-kc.find { min-height: 46px; align-items: center; justify-content: center; flex-direction: row; gap: 6px; border: 1.5px dashed var(--line-net); background: none; color: var(--muted-2); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.pjh-kc.find:hover { color: var(--blue); border-color: var(--blue); }
.pjh-two-k { display: grid; gap: 12px; min-height: 0; flex: 1; }
.pjh-kcol, .pjh-kside { display: flex; flex-direction: column; gap: 4px; min-width: 0; min-height: 0; overflow: hidden; padding: 10px 12px 12px; border-radius: 12px; background: var(--bg-tint); border: 1px solid var(--line-net); }
.pjh-kcol.prod, .pjh-kside.prod { background: var(--bg-success); border-color: var(--ok-line-2); }
.pjh-kcol .pjh-kr, .pjh-kside .pjh-kr { border-top-color: color-mix(in srgb, var(--line-net) 70%, transparent); }
.pjh-kcol .pjh-kr:hover, .pjh-kside .pjh-kr:hover { background: color-mix(in srgb, var(--bg) 60%, transparent); }
.pjh-kcol .pjh-kc, .pjh-kside .pjh-kc { border-color: var(--line-net); }
.pjh-kcol > .pjh-stat, .pjh-kside > .pjh-stat { padding: 4px 0 0; background: none; }
.pjh-klabel { display: flex; align-items: center; gap: 6px; min-height: 26px; font-size: 13px; font-weight: 800; letter-spacing: -.1px; color: var(--ink); flex: none; }
.pjh-klabel .pjh-grp-n { margin-left: 2px; }
.pjh-kflow { display: grid; grid-template-columns: minmax(0, 1fr) 112px minmax(0, 1fr); gap: 12px; min-height: 0; flex: 1; align-items: stretch; }
.pjh-kmid { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--muted); text-align: center; }
.pjh-kpj { padding: 8px 12px; border: 0; border-radius: 10px; background: var(--ink); color: var(--bg); font-size: 12.5px; font-weight: 800; }
.pjh-kpj-m { font-size: 12px; color: var(--muted); }
.pjh-karrow svg { width: 36px; height: 14px; color: var(--muted-3); display: block; }

/* ── 폴더 — 낱장은 프로젝트 탭과 같은 큰 아이콘(폴더 54 · 문서 40×48 · 사진 56) · 줄은 36 · 나무 30 · 끌어다 놓기 점선 ── */
.pjh-frl { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.pjh-fr { display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 6px; border-top: 1px solid var(--line-row); border-radius: 8px; font-size: 13.5px; color: var(--ink); cursor: pointer; }
.pjh-fr:first-child, .pjh-grp + .pjh-fr { border-top: 0; }
.pjh-fr:hover, .pjh-fr.on { background: var(--bg-tint); }
.pjh-fr:hover + .pjh-fr { border-top-color: transparent; }
.pjh-fr.back { color: var(--muted-2); }
.pjh-fr-th { flex: none; width: 24px; display: grid; place-items: center; }
.pjh-fr-th .ft, .pjh-fr-th .ft-file { width: 20px; height: 24px; }
.pjh-fr-th .ft-folder { width: 24px; height: 20px; }
.pjh-fr-th .ft-img { width: 24px; height: 24px; border-radius: 5px; }
.pjh-fr-b { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.pjh-fr-n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; font-weight: 600; }
.pjh-fr-m { font-size: 11.5px; color: var(--muted-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pjh-fr-r { flex: none; font-size: 12px; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.pjh-fgrid { display: grid; gap: 8px; align-content: start; min-height: 0; overflow: hidden; }
.pjh-fgrid.tall { flex: 1; }
.pjh-fc { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px 8px; border: 1px solid transparent; border-radius: 10px; cursor: pointer; min-width: 0; }
.pjh-fc:hover { background: var(--bg-tint); }
.pjh-fc.on { background: var(--bg-sel); border-color: var(--line-net); }
.pjh-fc-ic { height: 56px; display: grid; place-items: center; }
.pjh-fc-ic .ft, .pjh-fc-ic .ft-file { width: 40px; height: 48px; }
.pjh-fc-ic .ft-folder { width: 54px; height: 45px; }
.pjh-fc-ic .ft-img { width: 56px; height: 56px; border-radius: 8px; }
.pjh-fc-n { width: 100%; font-size: 12.5px; font-weight: 600; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.pjh-fc-m { width: 100%; font-size: 11.5px; color: var(--muted-2); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pjh-fc.drop { justify-content: center; gap: 5px; border: 1.5px dashed var(--line-net); color: var(--muted-2); font-size: 12.5px; font-weight: 600; cursor: pointer; }
.pjh-fc.drop:hover { background: none; border-color: var(--blue); color: var(--blue); }
.pjh-drop { display: flex; align-items: center; justify-content: center; gap: 6px; flex: none; min-height: 34px; border: 1.5px dashed var(--line-net); border-radius: 10px; color: var(--muted-2); font-size: 12.5px; font-weight: 600; }
.pjh-two-f { display: grid; gap: 14px; min-height: 0; flex: 1; }
.pjh-tree { display: flex; flex-direction: column; gap: 2px; min-height: 0; overflow: hidden; }
.pjh-tree-r { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 9px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--ink-sub); cursor: pointer; white-space: nowrap; overflow: hidden; }
.pjh-tree-r .pjh-ic { color: #7FA8E8; }
.pjh-tree-r.sub { padding-left: 26px; }
.pjh-tree-r:hover { background: var(--bg-tint); }
.pjh-tree-r.on { background: var(--bg-sel); color: var(--ink); }
.pjh-tree-n { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.pjh-tree-c { margin-left: auto; color: var(--muted-2); font-size: 11.5px; font-weight: 500; }
.pjh-fmain { display: flex; flex-direction: column; gap: 10px; min-width: 0; min-height: 0; }
.pjh-crumb { display: flex; align-items: center; gap: 6px; height: 28px; font-size: 13px; font-weight: 600; color: var(--muted); flex: none; }
.pjh-crumb b { color: var(--ink); }
.pjh-crumb-sp { margin-left: auto; display: inline-flex; gap: 6px; }
.pjh-crumb .btn-sm { height: 26px; padding: 0 9px; font-size: 12px; }
.pjh-prog { flex: none; }
.pjh-prev-ic { display: grid; place-items: center; height: 112px; border-radius: 12px; background: var(--bg-tint); }
.pjh-prev-ic .ft, .pjh-prev-ic .ft-file { width: 60px; height: 72px; } .pjh-prev-ic .ft-folder { width: 80px; height: 66px; } .pjh-prev-ic .ft-img { width: 100%; height: 112px; border-radius: 12px; }
.pjh-th { display: contents; }

/* ── 타임라인 — 기록 줄은 프로젝트 탭과 같은 결(종류 점 · 요약 / 사람 · 시각) · 레인은 선 없이 tint 열 ── */
.pjh-ev { display: flex; align-items: flex-start; gap: 9px; padding: 8px 4px; border-top: 1px solid var(--line-row); border-radius: 8px; cursor: pointer; }
.pjh-ev:first-child, .pjh-grp + .pjh-ev, .pjh-det-h + .pjh-ev { border-top: 0; }
.pjh-ev:hover { background: var(--bg-tint); }
.pjh-ev:hover + .pjh-ev { border-top-color: transparent; }
.pjh-ev-t { display: none; }
.pjh-ev .pjv-ava, .pjh-ev-agent { display: none; }
.pjh-ev-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; margin-top: 7px; background: var(--muted-3-line); }
.pjh-ev-dot.feature, .pjh-ev-dot.docs { background: var(--mint); }
.pjh-ev-dot.fix { background: var(--coral); }
.pjh-ev-dot.decision, .pjh-ev-dot.review { background: var(--blue-fill); }
.pjh-ev-dot.research, .pjh-ev-dot.chore { background: var(--teal, var(--muted-2)); }
.pjh-ev-b { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.pjh-ev-s { display: flex; align-items: baseline; gap: 7px; min-width: 0; font-size: 13.5px; font-weight: 500; color: var(--ink); }
.pjh-ev-s > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pjh-ev-ty { flex: none; font-size: 12px; font-weight: 700; color: var(--ink-sub); }
.pjh-ev-m { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted-2); white-space: nowrap; overflow: hidden; }
.pjh-lane { display: flex; flex-direction: column; flex: none; }
.pjh-lane-h, .pjh-lane-r { display: grid; grid-template-columns: 100px repeat(var(--n, 7), minmax(0, 1fr)); align-items: center; }
.pjh-lane-h { min-height: 22px; font-size: 11.5px; font-weight: 700; color: var(--muted-2); }
.pjh-lane-d { text-align: center; padding: 3px 0; }
.pjh-lane-d.wk { color: var(--muted-3); }
.pjh-lane-d.today { color: var(--ink); background: var(--bg-tint-2); border-radius: 8px 8px 0 0; }
.pjh-lane-r { min-height: 36px; border-top: 1px solid var(--line-row); }
.pjh-lane-lab { display: flex; align-items: center; gap: 7px; min-width: 0; font-size: 13px; font-weight: 600; color: var(--ink-sub); padding-right: 6px; }
.pjh-lane-lab .pjv-ava { width: 20px; height: 20px; font-size: 9.5px; flex: none; }
.pjh-lane-nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pjh-lane-c { height: 36px; display: grid; place-items: center; }
.pjh-lane-c.wk { background: color-mix(in srgb, var(--bg-tint) 70%, transparent); }
.pjh-lane-c.today { background: var(--bg-tint-2); }
.pjh-lane-r:last-child .pjh-lane-c.today { border-radius: 0 0 8px 8px; }
.pjh-lane.short .pjh-lane-c, .pjh-lane.short .pjh-lane-r { height: 30px; min-height: 30px; }
.pjh-lane-dot { display: block; border-radius: 50%; cursor: pointer; opacity: .92; }
.pjh-lane-dot.s1 { width: 8px; height: 8px; } .pjh-lane-dot.s2 { width: 12px; height: 12px; } .pjh-lane-dot.s3 { width: 16px; height: 16px; } .pjh-lane-dot.s4 { width: 20px; height: 20px; }
.pjh-lane-dot.on { outline: 2px solid var(--ink); outline-offset: 2px; }
.pjh-lane-dot:hover { opacity: 1; transform: scale(1.15); }
.pjh-lane-det { display: flex; flex-direction: column; min-height: 0; overflow: hidden; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line-row); }
.pjh-det-h { display: flex; align-items: center; gap: 8px; height: 28px; font-size: 13px; font-weight: 800; color: var(--ink); flex: none; }
.pjh-det-h .pjv-ava { width: 20px; height: 20px; font-size: 9.5px; }
.pjh-det-h span { color: var(--muted-2); font-weight: 500; }
.pjh-legend { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--muted); flex: none; }
.pjh-legend > span { display: inline-flex; align-items: center; gap: 5px; }
.pjh-legend i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.pjh-legend-h { margin-left: auto; color: var(--muted-2); }

/* ── 열기 = 도구 전폭 ── */
.pjh-focus-bar { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 13.5px; font-weight: 600; color: var(--ink-sub); }
.pjh-focus-bar b { color: var(--ink); font-weight: 800; }
.pjh-focus { margin-bottom: 24px; }

/* ── 좁은 폭(한 열) — 두 칸 짜임은 한 칸으로, 카드 높이는 격자 칸 수까지만(긴 본문은 안에서 스크롤) ── */
@media (max-width: 900px) {
  .pjh-two-b, .pjh-two-k, .pjh-two-f, .pjh-two-s, .pjh-kflow { grid-template-columns: minmax(0, 1fr); }
  .pjh-kmid, .pjh-tree, .pjh-side { display: none; }
  .pjh-w { max-height: calc(var(--h, 1) * 276px - 16px); }
}
/* 폴더 1×1 — 한 줄짜리 줄 셋(32px) + 끌어다 놓기 34 = 138px 안 */
.pjh-frl.short .pjh-fr { min-height: 32px; }
.pjh-frl.short .pjh-fr-m { display: none; }
/* ── 열기 = 도구 전폭(XL 의 확장) ── */
.pjh-focus-bar { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 13.5px; font-weight: 600; color: var(--ink-sub); }
.pjh-focus-bar b { color: var(--ink); font-weight: 800; }
.pjh-focus { margin-bottom: 24px; }

/* ── 배치 편집(안 A) ── */
.pjh-edbar { display: flex; align-items: center; gap: 10px; margin: -6px 0 14px; padding: 9px 12px 9px 14px; border: 1px solid var(--line-note); border-radius: 10px; background: var(--bg-note); font-size: 13px; color: var(--ink-note); }
.pjh-edbar b { font-weight: 800; }
.pjh-edbar-r { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; flex: none; }
.pjh-sw { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 0; font: inherit; font-size: 12.5px; font-weight: 600; color: var(--ink-sub); cursor: pointer; white-space: nowrap; }
.pjh-sw i { position: relative; display: inline-block; width: 34px; height: 20px; border-radius: 999px; background: var(--muted-3-line); transition: background 150ms ease; }
.pjh-sw i::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); transition: transform 150ms ease; }
.pjh-sw[aria-checked="true"] i { background: var(--blue-fill); }
.pjh-sw[aria-checked="true"] i::after { transform: translateX(14px); }
.pjh-preset { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 9px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); font: inherit; font-size: 12.5px; font-weight: 700; color: var(--ink); cursor: pointer; }
.pjh-preset:hover { border-color: var(--blue); }
.pjh-grid.edit .pjh-w { padding-top: 44px; outline: 1.5px dashed var(--line-net-2); outline-offset: -1px; cursor: grab; }
.pjh-grid.edit .pjh-w.dragging { opacity: .45; }
.pjh-grid.edit .pjh-w.over { outline: 2px solid var(--blue); }
.pjh-grid.edit .pjh-open { display: none; }
.pjh-grid.edit .pjh-w * { pointer-events: none; }
.pjh-grid.edit .pjh-edtools, .pjh-grid.edit .pjh-edtools * { pointer-events: auto; }
.pjh-edtools { position: absolute; left: 12px; right: 12px; top: 10px; display: flex; align-items: center; gap: 6px; }
.pjh-grip { flex: none; width: 20px; height: 22px; border-radius: 5px; color: var(--muted-2); background-image: radial-gradient(currentColor 1.3px, transparent 1.3px); background-size: 6px 6px; background-position: 4px 5px; cursor: grab; }
.pjh-grip:hover { background-color: var(--bg-tint-2); }
.pjh-edtools-sp { flex: 1; }
.pjh-hide { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border: 0; border-radius: 6px; background: none; color: var(--muted-2); cursor: pointer; }
.pjh-hide:hover { background: var(--danger-bg); color: var(--coral-text); }
/* 크기 단추 [w×h] → 격자 고르기(표 삽입 격자 문법) */
.pjh-szbtn { flex: none; min-width: 44px; height: 24px; padding: 0 8px; border: 1px solid var(--line); border-radius: 7px; background: var(--bg); font: inherit; font-size: 11.5px; font-weight: 800; color: var(--blue); font-variant-numeric: tabular-nums; cursor: pointer; }
.pjh-szbtn:hover { border-color: var(--blue); background: var(--bg-punch); }
.pjh-szg-pop { padding: 10px; }
.pjh-szg { display: grid; gap: 4px; width: 108px; }
.pjh-szg button { height: 22px; border: 1px solid var(--line-net); border-radius: 4px; background: var(--bg); padding: 0; cursor: pointer; }
.pjh-szg button.on { border-color: var(--blue); background: var(--bg-punch); }
.pjh-szg-l { margin-top: 8px; font-size: 12px; font-weight: 700; color: var(--ink-sub); text-align: center; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* 오른쪽 아래 모서리 끌기 — 칸 단위로 끊어 그 자리에서 크기가 바뀐다 */
.pjh-rsz { position: absolute; right: 3px; bottom: 3px; width: 18px; height: 18px; border-radius: 5px; cursor: nwse-resize; touch-action: none;
  background: linear-gradient(135deg, transparent 0 52%, var(--muted-2) 52% 60%, transparent 60% 70%, var(--muted-2) 70% 78%, transparent 78%); opacity: .7; }
.pjh-rsz:hover { opacity: 1; background-color: var(--bg-tint-2); }
.pjh-grid.edit .pjh-rsz { pointer-events: auto; }
.pjh-w.resizing { outline: 2px solid var(--blue) !important; z-index: 2; }
.pjh-rsz-tip { position: absolute; right: 26px; bottom: 6px; padding: 3px 8px; border-radius: 6px; background: var(--ink); color: var(--bg); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; pointer-events: none; }
.pjh-slot { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; min-height: 56px; margin: 0 0 24px; padding: 8px 12px; border: 1.5px dashed var(--line-net-2); border-radius: 14px; font-size: 13px; font-weight: 600; color: var(--muted-2); }
.pjh-slot .btn-sm { padding: 3px 10px; }

/* 프리셋 팝오버 — 격자 미니어처 */
.pjh-preset-pop { min-width: 300px; padding: 6px; }
.pjh-preset-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px 8px; border: 0; border-radius: 8px; background: none; font: inherit; font-size: 13px; text-align: left; color: var(--ink); cursor: pointer; }
.pjh-preset-row:hover { background: var(--bg-tint-2); }
.pjh-preset-row.on { background: var(--bg-sel); font-weight: 700; }
.pjh-pm { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 8px; grid-auto-flow: dense; gap: 2px; width: 48px; flex: none; }
.pjh-pm i { display: block; border-radius: 2px; background: var(--muted-3-line); }
.pjh-pm i.a { background: var(--blue); opacity: .7; }

/* ── 좁은 폭: 한 열 · 편집 숨김 ── */
@media (max-width: 900px) {
  .pjh-grid { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
  .pjh-w { grid-column: span 1; grid-row: auto; min-height: 200px; }
  .pjh-fleet { grid-template-columns: minmax(0, 1fr); }
  .pjh-two { grid-template-columns: minmax(0, 1fr); }
  .pjh-edit-btn, .pjh-edbar { display: none; }
}

/* 상세 모달(.pjv-pm 1100) 안에서도 3열이 선다 — 폭 1048 ≈ 열 330(별도 규칙 없음). */

/* ── 뒤로 줄 오른쪽 = [배치 편집] + [⚙ 세부 설정] · 편집 중엔 단추가 눌린 채로 ── */
.proj-detail-actions { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; }
.pjh-edit-btn { display: inline-flex; align-items: center; gap: 5px; }
.pjh-edit-btn.active { background: var(--bg-punch); color: var(--blue); border-color: var(--blue); }
.pjh-wf-acts .btn-sm { padding: 3px 10px; font-size: 12.5px; }
.pjh-wf-acts { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; flex: none; }
.pjh-hidden-sec { display: none !important; }
.pjh-slot.over { border-color: var(--blue); background: var(--bg-punch); }
.pjh-w.dragging { opacity: .45; }
/* ── 3차 보정(캡처 확인) — 폴더 줄 아이콘은 24px 안에 · 줄은 두 줄(이름/메타)이라 40px · 나무 줄은 줄어들지 않는다 · 지식 한 줄 높이 두 단은 촘촘하게 ── */
.pjh-fr { min-height: 40px; }
.pjh-frl.short .pjh-fr { min-height: 32px; }
.pjh-fr-th .pjh-fc-ic { width: 24px; height: 24px; }
.pjh-fr-th .pjh-fc-ic .ft, .pjh-fr-th .pjh-fc-ic .ft-file { width: 20px; height: 24px; }
.pjh-fr-th .pjh-fc-ic .ft-folder { width: 24px; height: 20px; }
.pjh-fr-th .pjh-fc-ic .ft-img { width: 24px; height: 24px; border-radius: 5px; }
.pjh-prev-ic .pjh-fc-ic { height: 100%; width: 100%; }
.pjh-prev-ic .pjh-fc-ic .ft, .pjh-prev-ic .pjh-fc-ic .ft-file { width: 60px; height: 72px; }
.pjh-prev-ic .pjh-fc-ic .ft-folder { width: 80px; height: 66px; }
.pjh-prev-ic .pjh-fc-ic .ft-img { width: 100%; height: 112px; border-radius: 12px; }
.pjh-tree-r { flex: none; }
.pjh-two-k .pjh-kcol { padding: 8px 12px 10px; }
.pjh-two-k .pjh-grp { min-height: 24px; }
.pjh-two-k .pjh-kr { min-height: 32px; }
.pjh-two-k .pjh-stat { line-height: 1.45; }
/* 폴더 줄 아이콘은 28px(24 는 띠 글자가 안 읽힌다) · 한 줄 높이 카드(.pjh-h1)의 나무 줄은 26px */
.pjh-fr-th { width: 28px; }
.pjh-fr-th .pjh-fc-ic { width: 28px; height: 28px; }
.pjh-fr-th .pjh-fc-ic .ft, .pjh-fr-th .pjh-fc-ic .ft-file { width: 24px; height: 28px; }
.pjh-fr-th .pjh-fc-ic .ft-folder { width: 28px; height: 23px; }
.pjh-fr-th .pjh-fc-ic .ft-img { width: 28px; height: 28px; border-radius: 6px; }
.pjh-h1 .pjh-tree-r { height: 26px; font-size: 12.5px; }
.pjh-h1 .pjh-tree { gap: 0; }
