/* ─────────────────────────────────────────────────────────────────────────────
   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); }
/* 초안 칩(#4170) — 점선 테두리 «초안» + 누르는 «목록에 올리기». 목록의 초안 묶음 알약과 같은 말씨. */
.pjh-fact.pjh-fact-draft { gap: 8px; padding: 0 4px 0 9px; border-style: dashed; border-color: var(--muted-2); }
.pjh-draft-k { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.pjh-draft-up { height: 22px; padding: 0 8px; border: 0; border-radius: 6px; background: var(--bg-tint-2); font: inherit; font-size: 12.5px; font-weight: 600; color: var(--ink); cursor: pointer; }
.pjh-draft-up:hover { background: var(--line); }
.pjh-draft-up:disabled { opacity: .5; cursor: default; }
.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: var(--ic-stroke); 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-w .pjv-tasks-embedded { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; margin: 0; padding: 0; border: 0; background: transparent; }
.pjh-w .pjv-tasks-embedded .pjv-tasks-body { flex: 1; min-height: 0; overflow: hidden; }
.pjh-w .pjv-tasks-embedded .pjv-empty-hint { display: none; }
.pjh-w .pjv-tasks-embedded .pjv-tgroup { margin-top: 10px; }
.pjh-w .pjv-tasks-embedded .pjv-tgroup:first-child { margin-top: 0; }
.pjh-w .pjv-tasks-embedded .pjv-tgroup-head { padding: 0 2px 4px; min-height: 30px; border-bottom: 0; gap: 6px; }
.pjh-w .pjv-tasks-embedded .pjv-tgroup-head .pjv-trow-title-cell { gap: 7px; padding-left: 26px; position: relative; }
.pjh-w .pjv-tasks-embedded .pjv-tgroup-head .pjv-row-check { position: absolute; left: 2px; top: 50%; margin-top: -8px; opacity: 0; }
.pjh-w .pjv-tasks-embedded .pjv-tgroup-head:hover .pjv-row-check { opacity: 1; }
.pjh-w .pjv-tasks-embedded .pjv-tgroup-label { font-size: 13.5px; font-weight: 800; letter-spacing: -.1px; color: var(--ink); }
.pjh-w .pjv-tasks-embedded .pjv-tgroup-count { font-size: 12.5px; font-weight: 600; color: var(--muted-2); }
.pjh-w .pjv-tasks-embedded .pjv-tgroup-caret { width: 16px; height: 16px; font-size: 9px; color: var(--muted-3); }
.pjh-w .pjv-tasks-embedded .pjv-colhead { font-size: 12px; font-weight: 600; color: var(--muted-2); letter-spacing: .1px; padding: 0 0 0 4px; }
.pjh-w .pjv-tasks-embedded .pjv-thcol-menu, .pjh-w .pjv-tasks-embedded .pjv-col-resize, .pjh-w .pjv-tasks-embedded .pjv-col-resize::after, .pjh-w .pjv-tasks-embedded .pjv-tgroup-head .pjv-tcell-add > * { display: none; }
.pjh-w .pjv-tasks-embedded .pjv-tgroup-body { padding-top: 0; }
.pjh-w .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-w .pjv-tasks-embedded .pjv-tgroup-body > .pjv-trow-wrap:first-child > .pjv-trow { border-top: 0; }
.pjh-w .pjv-tasks-embedded .pjv-trow:hover { background: var(--bg-tint); }
.pjh-w .pjv-tasks-embedded .pjv-trow-title-cell { gap: 9px; padding-left: 26px; position: relative; }
.pjh-w .pjv-tasks-embedded .pjv-trow-title { font-size: 14px; font-weight: 500; color: var(--ink); }
.pjh-w .pjv-tasks-embedded .pjv-trow-caret, .pjh-w .pjv-tasks-embedded .pjv-trow-caret.empty, .pjh-w .pjv-tasks-embedded .pjv-row-grip, .pjh-w .pjv-tasks-embedded .pjv-cell-ico { display: none; }
.pjh-w .pjv-tasks-embedded .pjv-row-check { position: absolute; left: 2px; top: 50%; margin-top: -8px; opacity: 0; }
.pjh-w .pjv-tasks-embedded .pjv-trow:hover .pjv-row-check, .pjh-w .pjv-tasks-embedded .pjv-row-check.on, .pjh-w .pjv-tasks-embedded .pjv-row-check[aria-checked="true"] { opacity: 1; }
.pjh-w .pjv-tasks-embedded svg.pjv-status-ic.sm { width: 16px; height: 16px; }
.pjh-w .pjv-tasks-embedded svg.pjv-status-ic circle { stroke-dasharray: none; stroke-width: 1.8; }
.pjh-w .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-w .pjv-tasks-embedded .pjv-status-dot.sm.inprog { background: linear-gradient(90deg, var(--blue) 50%, transparent 50%); border-color: currentColor; }
.pjh-w .pjv-tasks-embedded .pjv-status-dot.sm.done { border-color: currentColor; }
.pjh-w .pjv-tasks-embedded .pjv-trow-subcount { font-size: 11.5px; font-weight: 600; color: var(--muted-2); background: none; padding: 0; }
.pjh-w .pjv-tasks-embedded .pjv-trow-tags .pjv-trow-tag { font-size: 11.5px; line-height: 18px; padding: 0 7px; }
.pjh-w .pjv-tasks-embedded .pjv-tcell { justify-content: flex-start; overflow: hidden; }
.pjh-w .pjv-tasks-embedded .pjv-cell-btn { padding: 0 4px; height: 100%; font-size: 12.5px; color: var(--muted); }
.pjh-w .pjv-tasks-embedded .pjv-cell-btn:hover { box-shadow: none; background: var(--bg-tint-2); border-radius: 6px; }
.pjh-w .pjv-tasks-embedded .pjv-cell-btn.empty { visibility: hidden; }
.pjh-w .pjv-tasks-embedded .pjv-trow:hover .pjv-cell-btn.empty { visibility: visible; }
.pjh-w .pjv-tasks-embedded .pjv-ava { width: 20px; height: 20px; font-size: 9.5px; font-weight: 700; }
.pjh-w .pjv-tasks-embedded .pjv-asg-faces { gap: 2px; }
.pjh-w .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-w .pjv-tasks-embedded .pjv-due-text { font-size: 12.5px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.pjh-w .pjv-tasks-embedded .pjv-due-text.overdue { color: var(--danger-ink); }
.pjh-w .pjv-tasks-embedded .pjv-flag-glyph { font-size: 12.5px; }
.pjh-w .pjv-tasks-embedded .pjv-flag-label { font-size: 12px; font-weight: 700; }
.pjh-w .pjv-tasks-embedded .pjv-trow-more { width: 24px; height: 24px; font-size: 15px; }
.pjh-w .pjv-tasks-embedded .pjv-row-actions { gap: 2px; padding-left: 22px; margin-right: 6px; }
.pjh-w .pjv-tasks-embedded .pjv-row-act { width: 24px; height: 24px; }
.pjh-w .pjv-tasks-embedded .pjv-act-ic { width: 14px; height: 14px; }
.pjh-w .pjv-tasks-embedded .pjv-addrow { padding: 0; }
.pjh-w .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-w .pjv-tasks-embedded .pjv-addrow-trigger:hover { background: var(--bg-tint); color: var(--ink-sub); }
.pjh-w .pjv-tasks-embedded .pjv-addrow-plus { font-size: 15px; color: var(--muted-2); }
.pjh-w .pjv-tasks-embedded .pjv-addrow.editing, .pjh-w .pjv-tasks-embedded .pjv-tasks-card .pjv-addrow.editing { min-height: 36px; background: var(--bg-tint); border-radius: 8px; padding: 0 4px; }
.pjh-w .pjv-tasks-embedded .pjv-addrow-input { font-size: 14px; padding: 6px 8px; }
.pjh-w .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; }

/* ── 폴더 — 낱장은 시안(hub-widgets-review.html .th/.tcard/.frow): 4:3 tint 타일 + 확장자 알약 / 사진은 채움 / 폴더는 앰버 타일 · 이름·메타는 왼쪽 · 줄 40(1×1 은 32) · 나무 30 · 끌어다 놓기 점선 ── */
.pjh-frl { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.pjh-fr { display: flex; align-items: center; gap: 10px; min-height: 40px; 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: 28px; }
.pjh-fr-th .pjh-th { width: 28px; height: 28px; aspect-ratio: auto; border-radius: 6px; }
.pjh-fr-th .pjh-th-ext { font-size: 8px; padding: 0 3px; letter-spacing: .1px; }
.pjh-fr-th .pjh-th.fd .ft-folder { width: 62%; }
.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-frl.short .pjh-fr { min-height: 32px; }
.pjh-frl.short .pjh-fr-m { display: none; }
.pjh-th { width: 100%; aspect-ratio: 4 / 3; display: grid; place-items: center; border-radius: 8px; overflow: hidden; background: var(--bg-tint); border: 1px solid var(--line-row); box-sizing: border-box; }
.pjh-th.img { border: 0; background: var(--bg-tint-2); }
.pjh-th.img .ft-img, .pjh-th.img img { width: 100%; height: 100%; object-fit: cover; border: 0; border-radius: 0; background: none; }
.pjh-th.fd { background: var(--warn-bg); border: 0; }
.pjh-th.fd .ft-folder { width: 48%; height: auto; }
.pjh-th-ext { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 10px; font-weight: 800; letter-spacing: .3px; color: var(--muted); padding: 2px 6px; border-radius: 4px; background: var(--bg); border: 1px solid var(--line); }
.pjh-fgrid { display: grid; gap: 10px; align-content: start; min-height: 0; overflow: hidden; }
.pjh-fgrid.tall { flex: 1; }
.pjh-fc { display: flex; flex-direction: column; align-items: stretch; gap: 5px; padding: 0; border: 0; border-radius: 0; cursor: pointer; min-width: 0; }
.pjh-fc:hover .pjh-fc-n { color: var(--blue); }
.pjh-fc.on .pjh-th { outline: 2px solid var(--blue); outline-offset: 2px; }
.pjh-fc-n { width: 100%; font-size: 12.5px; font-weight: 600; text-align: left; 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: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pjh-fc.drop { align-items: center; justify-content: center; gap: 5px; padding: 8px; border: 1.5px dashed var(--line-net); border-radius: 9px; color: var(--muted-2); font-size: 12.5px; font-weight: 600; cursor: pointer; }
.pjh-fc.drop:hover { 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 { flex: none; 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: var(--warn-deep); }
.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: block; }
.pjh-prev-ic .pjh-th { aspect-ratio: 16 / 10; border-radius: 12px; }
.pjh-prev-ic .pjh-th-ext { font-size: 13px; padding: 4px 10px; border-radius: 6px; }

/* ── 타임라인 — 기록 줄은 프로젝트 탭과 같은 결(종류 점 · 요약 / 사람 · 시각) · 레인은 선 없이 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-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; }
.pjh-fr-th { width: 28px; }
.pjh-h1 .pjh-tree-r { height: 26px; font-size: 12.5px; }
.pjh-h1 .pjh-tree { gap: 0; }

/* ── 본문 머리의 안내 칩 — 서버가 본문 첫 인용으로 쓴 «자동 생성 · 사람이 만듦» 안내문을 본문에서 들어내 칩 하나로(원준: 자리를 너무 먹는다). 올리면 원문. ── */
.pjh-notes { position: relative; display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; min-width: 0; }
.pjh-bh .pjh-notes { margin-left: 4px; }
.pjh-body-col > .pjh-notes { flex: none; margin-bottom: 2px; }
.pjh-note { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 999px; background: var(--bg-tint-2); color: var(--ink-sub); font-size: 11.5px; font-weight: 600; white-space: nowrap; cursor: default; outline: 0; }
.pjh-note.named { background: var(--bg-punch); color: var(--blue); }
.pjh-note .pjh-ic { width: 11px; height: 11px; }
.pjh-notes::after { content: attr(data-tip); position: absolute; left: 0; top: calc(100% + 6px); z-index: 5; width: max-content; max-width: min(340px, 80vw); padding: 8px 11px; border-radius: 8px; background: var(--ink); color: var(--bg); font-size: 12px; font-weight: 500; line-height: 1.5; white-space: pre-line; opacity: 0; pointer-events: none; transition: opacity 120ms ease; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
.pjh-notes[data-tip]:not([data-tip=""])::after { opacity: 1; }
.pjh-bh-l { display: inline-flex; align-items: center; gap: 8px; min-width: 0; flex-wrap: wrap; }
.pjh-w1 .pjh-notes::after { max-width: 236px; }   /* 1칸 폭 카드 안에서 툴팁이 오른쪽 가장자리에 잘리지 않게 */

/* ══ 목록은 자르지 않는다 — 위젯 안에서 스크롤(#4135, 2026-09-27 원준). 얇은 스크롤 막대. ══ */
.pjh-w .pjv-tasks-embedded .pjv-tasks-body, .pjh-mmain > .pjv-tasks-embedded .pjv-tasks-body { overflow-y: auto; overflow-x: hidden; }
.pjh-slist, .pjh-feed, .pjh-lane-det, .pjh-cmt-list { overflow-y: auto; overflow-x: hidden; }
.pjh-frl { flex: 1 1 auto; overflow-y: auto; overflow-x: hidden; }
.pjh-frl.short { flex: none; overflow: hidden; }
.pjh-fgrid.tall { overflow-y: auto; overflow-x: hidden; padding: 2px; margin: -2px; }
.pjh-feed { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.pjh-w :is(.pjv-tasks-body, .pjh-slist, .pjh-feed, .pjh-lane-det, .pjh-cmt-list, .pjh-frl, .pjh-fgrid, .pjh-read, .pjh-rail, .pjh-side, .pjh-kside) { scrollbar-width: thin; scrollbar-color: var(--line-net) transparent; }
.pjh-ev.on { background: var(--bg-sel); box-shadow: inset 2px 0 0 var(--blue); }

/* ══ 「열기」 = 모달(화면을 옮기지 않는다). 넓은 자리 — 도구마다 전체 뷰: 가렸던 열·메타·전체 목록을 다 드러낸다. ══ */
.pjh-mback { position: fixed; inset: 0; z-index: 210; display: flex; align-items: center; justify-content: center; padding: 4vh 24px; background: rgba(var(--shadow-ink), .5); }
.pjh-w.pjh-modal { width: min(1320px, 96vw); height: min(90vh, 960px); max-height: none; padding: 20px 24px 16px; gap: 14px; border-radius: 16px; border-color: var(--line-net); box-shadow: 0 24px 70px rgba(20, 35, 59, .30); grid-column: auto; grid-row: auto; }
.pjh-mh { height: 32px; }
.pjh-mh .pjh-wh-ic { width: 32px; height: 32px; border-radius: 9px; }
.pjh-mh .pjh-wh-name { font-size: 17px; letter-spacing: -.3px; }
.pjh-mh .pjh-wh-sub { font-size: 13px; }
.pjh-mx { flex: none; display: grid; place-items: center; width: 32px; height: 32px; margin-left: 2px; border: 0; border-radius: 8px; background: none; color: var(--muted); cursor: pointer; }
.pjh-mx:hover { background: var(--bg-tint-2); color: var(--ink); }
.pjh-mb { gap: 12px; }
.pjh-mf { padding-top: 12px; }
.pjh-mtwo { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; flex: 1; min-height: 0; }
.pjh-mtwo > * { min-height: 0; min-width: 0; }
.pjh-mmain { display: flex; flex-direction: column; min-height: 0; }
.pjh-mmain > .pjv-tasks-embedded { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; margin: 0; padding: 0; border: 0; background: transparent; }
.pjh-mmain > .pjv-tasks-embedded .pjv-tasks-body { flex: 1; min-height: 0; }
.pjh-mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 11.5px; word-break: break-all; color: var(--muted); }
.pjh-chip.on { background: var(--bg-punch); border-color: var(--line-net); color: var(--blue); }
.pjh-chip.on b { color: var(--blue); }
.pjh-tools-find { flex: 0 1 260px; height: 28px; margin-left: 4px; }
.pjh-tools-find .pjh-search-in { height: 26px; }
.pjh-tools-n { margin-left: auto; font-size: 12.5px; color: var(--muted-2); }
/* 옆 레일(태스크 «한눈에») */
.pjh-rail { display: flex; flex-direction: column; gap: 16px; min-height: 0; overflow-y: auto; border-left: 1px solid var(--line-row); padding-left: 22px; }
.pjh-rail-sec { display: flex; flex-direction: column; gap: 2px; flex: none; }
.pjh-rail-h { font-size: 12px; font-weight: 700; letter-spacing: .2px; color: var(--muted-2); margin-bottom: 4px; }
.pjh-rail-prog { display: flex; align-items: center; gap: 14px; padding: 4px 0 8px; }
.pjh-rail-big { font-size: 24px; font-weight: 800; letter-spacing: -.6px; color: var(--ink); line-height: 1.2; }
.pjh-rail-big small { font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--muted-2); }
.pjh-rail-fine { font-size: 12.5px; color: var(--muted-2); line-height: 1.5; }
.pjh-rail-r { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 32px; padding: 0 8px; margin: 0 -8px; border: 0; border-radius: 8px; background: none; font: inherit; font-size: 13.5px; color: var(--ink-sub); text-align: left; box-sizing: content-box; }
button.pjh-rail-r { cursor: pointer; }
button.pjh-rail-r:hover { background: var(--bg-tint); color: var(--ink); }
.pjh-rail-r.on { background: var(--bg-sel); color: var(--ink); box-shadow: inset 2px 0 0 var(--blue); }
.pjh-rail-r b { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.pjh-rail-r.danger b { color: var(--danger-ink); }
.pjh-rail-k { display: inline-flex; align-items: center; gap: 7px; min-width: 0; overflow: hidden; }
.pjh-rail-k .pjh-ic { color: var(--muted-2); flex: none; }
.pjh-rail-tn { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pjh-rail-who { display: inline-flex; align-items: center; gap: 7px; min-width: 0; }
.pjh-rail-who .pjv-ava { width: 20px; height: 20px; font-size: 9.5px; flex: none; }
/* 모달 안 — 넓으니 풀어 놓는다 */
.pjh-modal .pjh-two-s, .pjh-modal .pjh-two-b, .pjh-modal .pjh-two-f { gap: 22px; }
.pjh-modal .pjh-side, .pjh-modal .pjh-cmt-col { padding-left: 22px; overflow-y: auto; }
.pjh-modal .pjh-stail { max-height: none; flex: 0 1 auto; overflow: visible; }
.pjh-modal .pjh-kv { gap: 6px 14px; font-size: 13px; }
.pjh-modal .pjh-read.full { font-size: 15px; line-height: 27px; padding-right: 10px; }
.pjh-modal .pjh-read.full > .md { max-width: 760px; line-height: 27px; }
.pjh-modal .pjh-read.full > .md h1 { font-size: 22px; } .pjh-modal .pjh-read.full > .md h2 { font-size: 17px; margin-top: 20px; } .pjh-modal .pjh-read.full > .md h3 { font-size: 15.5px; }
.pjh-modal .pjh-read.full > .md p, .pjh-modal .pjh-read.full > .md ul, .pjh-modal .pjh-read.full > .md ol { margin-bottom: 12px; }
.pjh-modal .pjh-cm-t, .pjh-modal .pjh-kc-s { display: block; -webkit-line-clamp: unset; overflow: visible; }
.pjh-modal .pjh-kside { overflow-y: auto; padding: 14px 16px 16px; gap: 8px; }
.pjh-modal .pjh-kc { padding: 12px 14px; }
.pjh-modal .pjh-kflow { grid-template-columns: minmax(0, 1fr) 128px minmax(0, 1fr); }
.pjh-modal .pjh-tree-r { height: 32px; font-size: 13.5px; }
.pjh-modal .pjh-fgrid { gap: 14px; }
.pjh-modal .pjh-lane-h, .pjh-modal .pjh-lane-r { grid-template-columns: 120px repeat(var(--n, 30), minmax(0, 1fr)); }
.pjh-modal .pjh-lane-d { font-size: 11px; }
.pjh-crumb-b { border: 0; background: none; padding: 2px 6px; margin: 0 -2px; border-radius: 6px; font: inherit; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; }
.pjh-crumb-b:hover { background: var(--bg-tint); color: var(--ink); }
.pjh-crumb-b.on { color: var(--ink); font-weight: 700; }
.pjh-crumb-k { font-size: 12px; color: var(--muted-2); align-self: center; }
.pjh-tl-h { display: flex; align-items: center; gap: 7px; flex: none; }
.pjh-tl-h .pjh-ev-dot { margin-top: 0; }
.pjh-tl-t { font-size: 16px; font-weight: 800; letter-spacing: -.2px; line-height: 1.4; color: var(--ink); flex: none; overflow-wrap: anywhere; }
.pjh-tl-s { font-size: 13.5px; line-height: 1.55; color: var(--ink-sub); flex: none; }
@media (max-width: 900px) {
  .pjh-mback { padding: 0; }
  .pjh-w.pjh-modal { width: 100vw; height: 100vh; height: 100dvh; border-radius: 0; padding: 16px 16px 12px; }
  .pjh-mtwo { grid-template-columns: minmax(0, 1fr) !important; }
  .pjh-rail { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-row); padding-top: 14px; }
  .pjh-modal .pjh-mb { overflow-y: auto; }
  .pjh-modal .pjh-two-s, .pjh-modal .pjh-two-b, .pjh-modal .pjh-two-f, .pjh-modal .pjh-kflow { grid-template-columns: minmax(0, 1fr) !important; flex: none; }
  .pjh-modal .pjh-side, .pjh-modal .pjh-cmt-col { display: flex; border-left: 0; padding-left: 0; border-top: 1px solid var(--line-row); padding-top: 14px; overflow: visible; }
  .pjh-modal .pjh-mtwo { flex: none; }
  .pjh-modal .pjh-tree { display: flex; flex-direction: row; flex-wrap: wrap; }
}
/* 모달 폭은 화면 틀(≈1000px) 안 — 목록이 주인이다: 태스크 요약은 위 띠로, 폴더는 나무 없이, 지식 가운데는 화살표만 */
.pjh-sum { display: flex; align-items: stretch; gap: 10px; flex: none; flex-wrap: wrap; }
.pjh-sum-g { display: flex; flex-direction: column; gap: 4px; padding: 10px 14px; border-radius: 12px; background: var(--bg-tint); border: 1px solid var(--line-net); min-width: 0; }
.pjh-sum-g.prog { flex-direction: row; align-items: center; gap: 12px; }
.pjh-sum-g .pjh-rail-h { margin-bottom: 0; }
.pjh-sum-big { font-size: 20px; font-weight: 800; letter-spacing: -.5px; line-height: 1.2; color: var(--ink); }
.pjh-sum-big small { font-size: 12.5px; font-weight: 600; letter-spacing: 0; color: var(--muted-2); }
.pjh-sum-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pjh-sum-c { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); font: inherit; font-size: 12.5px; font-weight: 600; color: var(--ink-sub); cursor: pointer; white-space: nowrap; }
.pjh-sum-c:hover { border-color: var(--line-net); color: var(--ink); }
.pjh-sum-c b { font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.pjh-sum-c.on { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.pjh-sum-c.on b { color: var(--bg); }
.pjh-sum-c.danger b { color: var(--danger-ink); }
.pjh-sum-c.on.danger b { color: var(--bg); }
.pjh-sum-c .pjv-ava { width: 18px; height: 18px; font-size: 9px; }
.pjh-sum-k { display: inline-flex; align-items: center; gap: 6px; }
.pjh-crumb { flex-wrap: nowrap; min-width: 0; }
.pjh-crumb-sp { flex: none; align-items: center; }
.pjh-seg button { white-space: nowrap; }
.pjh-modal .pjh-kflow { grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr); gap: 8px; }
.pjh-modal .pjh-kmid .pjh-kpj, .pjh-modal .pjh-kmid .pjh-kpj-m, .pjh-modal .pjh-kmid .pjh-karrow + .pjh-kpj ~ .pjh-karrow { display: none; }
.pjh-modal .pjh-kc-h .pjh-kr-t, .pjh-modal .pjh-side .pjh-kr .pjh-kr-t { white-space: normal; overflow: visible; line-height: 1.4; }
.pjh-modal .pjh-side .pjh-kr { min-height: 40px; padding: 6px; align-items: flex-start; }
.pjh-modal .pjh-side .pjh-kr > .pjh-ic { margin-top: 3px; }
.pjh-modal .pjh-klabel { flex-wrap: wrap; }

/* ══ 모달 2차 보정(캡처 확인, 2026-09-27) ══ */
/* 세션 — 줄이 둘(이름 / 도는 자리 · 태스크): 이름 열이 넓게 선다. 고른 줄의 [입장] 은 옆 칸에 있으니 줄에는 올렸을 때만. */
.pjh-sr.two { min-height: 54px; }
.pjh-sr-t.two { flex-direction: column; align-items: stretch; justify-content: center; gap: 1px; padding: 7px 10px 7px 8px; }
.pjh-sr-l1 { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 24px; }
.pjh-sr-l1 .pjh-sr-n { min-width: 0; }
.pjh-sr-l2 { display: flex; align-items: center; gap: 8px; min-width: 0; padding-left: 16px; font-size: 12.5px; color: var(--muted); }
.pjh-sr-node { display: inline-flex; align-items: center; gap: 5px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pjh-sr-node > span { overflow: hidden; text-overflow: ellipsis; }
.pjh-sr-node .pjh-ic { flex: none; color: var(--muted-2); }
.pjh-sr-l2 .pjh-tb { max-width: 60%; }
.pjh-modal .pjh-sr.on:not(:hover) .pjh-sr-acts { display: none; }
.pjh-modal .pjh-sg { min-height: 30px; }
.pjh-modal .pjh-sg-l { white-space: nowrap; padding-left: 8px; }
/* 지식 — 위: 필요 → 산출(내용만큼, 넘치면 단 안에서 스크롤) / 아래 전폭: 찾기 + 추천 */
.pjh-kmodal { display: flex; flex-direction: column; gap: 18px; flex: 1; min-height: 0; }
.pjh-kmodal > .pjh-kn-normal { flex: none; overflow: visible; }
.pjh-kmodal .pjh-kflow { flex: none; }
.pjh-kmodal .pjh-kflow > .pjh-kside { min-height: 148px; max-height: 42vh; }
.pjh-kfind { display: flex; flex-direction: column; gap: 8px; flex: 1 1 0; min-height: 0; overflow-y: auto; overflow-x: hidden; padding: 16px 2px 2px; border-top: 1px solid var(--line-row); scrollbar-width: thin; scrollbar-color: var(--line-net) transparent; }
.pjh-kfind > * { flex: none; }
.pjh-kfind-h { display: flex; align-items: baseline; gap: 10px; min-width: 0; font-size: 13px; color: var(--muted-2); }
.pjh-kfind-h b { flex: none; font-size: 14px; font-weight: 800; letter-spacing: -.1px; color: var(--ink); }
.pjh-kfind-h span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pjh-kfind .pjh-search { height: 38px; }
.pjh-kfind .pjh-search .pjh-search-in { font-size: 14px; }
.pjh-kfind .pjh-kres, .pjh-kfind .pjh-krec { flex: none; overflow: visible; display: flex; flex-direction: column; gap: 0; }
.pjh-kfind .pjh-kres[hidden], .pjh-kfind .pjh-krec[hidden] { display: none; }
.pjh-kfind .pjh-kr { min-height: 44px; padding: 8px 10px; gap: 10px; align-items: flex-start; font-size: 14px; }
.pjh-kfind .pjh-kr > .pjh-ic { margin-top: 3px; flex: none; }
.pjh-kfind .pjh-kr .pjh-kr-t { white-space: normal; overflow: visible; line-height: 1.45; overflow-wrap: anywhere; }
.pjh-kfind .pjh-kr .pjh-kr-s { white-space: normal; font-size: 12.5px; line-height: 1.5; margin-top: 2px; color: var(--muted); }
.pjh-kfind .pjh-kn-pct { margin-top: 2px; font-size: 12.5px; }
.pjh-kfind .pjh-kn-link, .pjh-kfind .pjh-kn-rel { margin-top: -1px; white-space: nowrap; }
.pjh-kfind .pjh-kn-link { padding: 4px 10px; border: 1px solid var(--line-net); border-radius: 8px; background: var(--bg); }
.pjh-kfind .pjh-kn-link:hover { border-color: var(--blue); background: var(--bg-punch); }
/* 폴더 — 모달 낱장 이름은 두 줄까지(넓으니 자르지 않는다) */
.pjh-modal .pjh-fc-n { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.35; overflow-wrap: anywhere; }
/* 좁은 화면의 모달 — 요약 띠는 한 줄(옆으로 민다) · 레인 이름 칸은 얼굴+짧은 이름 · 지식은 위아래로 흐른다 */
@media (max-width: 900px) {
  .pjh-modal .pjh-sum { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .pjh-modal .pjh-sum::-webkit-scrollbar { display: none; }
  .pjh-modal .pjh-sum-g { flex: none; }
  .pjh-modal .pjh-sum-row { flex-wrap: nowrap; }
  .pjh-modal .pjh-tools { flex-wrap: wrap; }
  .pjh-modal .pjh-tools-find { flex: 1 1 100%; margin-left: 0; }
  .pjh-modal .pjh-lane-h, .pjh-modal .pjh-lane-r { grid-template-columns: 84px repeat(var(--n, 14), minmax(0, 1fr)); }
  .pjh-modal .pjh-lane-d { font-size: 10.5px; white-space: nowrap; }
  .pjh-modal .pjh-legend-h { margin-left: 0; }
  .pjh-kmodal { flex: none; }
  .pjh-kmodal .pjh-kflow > .pjh-kside { max-height: none; min-height: 0; }
  .pjh-kfind { flex: none; overflow: visible; }
  .pjh-kfind-h { flex-direction: column; align-items: flex-start; gap: 2px; }
  .pjh-kfind-h span { white-space: normal; }
  .pjh-modal .pjh-slist { flex: none; overflow: visible; }
  .pjh-modal .pjh-mb { overflow-x: hidden; }
  /* 셸이 화면 틀 오른쪽 위에 얹는 «새 탭에서 열기»(.v2-frame-pop) 와 닫기 단추가 붙지 않게 머리를 안으로 들인다 */
  .pjh-modal .pjh-mh { padding-right: 28px; }
  /* 손가락 화면 — 올려야 나오는 고르기 칸 자리(26px)를 비워 두지 않는다 */
  .pjh-modal .pjv-tasks-embedded .pjv-trow-title-cell, .pjh-modal .pjv-tasks-embedded .pjv-tgroup-head .pjv-trow-title-cell { padding-left: 2px; }
  .pjh-modal .pjv-tasks-embedded .pjv-row-check { display: none; }
  .pjh-modal .pjv-tasks-embedded .pjv-addrow-trigger { padding-left: 4px; }
}
.pjh-kfind .pjh-kr .pjh-kr-s { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ══ 공유 폴더 = 곁칸 «자료» 와 한 벌(#4135, 2026-09-27 원준: «미리보기가 하나도 안 뜬다 · 곁칸이랑 같은 디자인으로») ══
   그림(.pn-fic · .pn-fcard · .pn-folder)은 42-v2-panes.css 의 것을 그대로 쓴다. 여기는 허브에 앉히는 자리와 크기만. */
/* 위젯 낱장 — 곁칸 카드 그대로, 위젯에선 한 번 눌러 연다 */
.pjh-fcard { cursor: pointer; min-width: 0; }
.pjh-fcard .pn-fname { width: 100%; font-size: 12.5px; }
.pjh-fcard .pn-fmeta { font-size: 11.5px; }
.pjh-fgrid.auto { grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 6px; }
.pjh-fgrid.tall { padding: 1px; margin: -1px; }
.pjh-fgrid .pjh-fc.drop { align-self: start; aspect-ratio: 1 / .82; margin: 8px 5px 0; }
/* 한 줄 높이(2×1 · 3×1) — 몸통이 138px 라 미리보기 높이를 정해 두고 이름은 한 줄 */
.pjh-h1 .pjh-fgrid { gap: 4px; }
.pjh-h1 .pjh-fcard { padding: 5px 4px 4px; gap: 4px; }
.pjh-h1 .pjh-fcard .pn-fic { aspect-ratio: auto; height: 74px; }
.pjh-h1 .pjh-fcard .pn-fname { -webkit-line-clamp: 1; word-break: break-all; }
.pjh-h1 .pjh-fgrid .pjh-fc.drop { aspect-ratio: auto; height: 74px; margin: 5px 4px 0; }
/* 줄 — 미리보기 44×36(곁칸 뷰어 목록과 같은 크기). 1×1 은 줄이 낮아 20px 아이콘 */
.pjh-fr { min-height: 46px; }
.pjh-fr-th { width: 44px; display: flex; align-items: center; justify-content: center; }
.pjh-fr-th .pn-fic.dir.pv { border: 0; background: none; }
.pjh-frl.short .pjh-fr { min-height: 32px; }
.pjh-frl.short .pjh-fr-th { width: 20px; }
.pjh-tree-r .pn-fic.dir.sm { flex: none; }
/* 경로 줄 — 여러 단계 들어가도 넘치지 않는다: 조각이 줄어들고, 오른쪽 단추는 제 폭을 지킨다 */
.pjh-crumb { overflow: hidden; }
.pjh-crumb-b { flex: 0 1 auto; min-width: 28px; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pjh-crumb > .pjh-ic { flex: none; }
.pjh-fmain { overflow: hidden; }
/* 옆 칸 «고른 것» — 위젯(3×2)과 모달이 같이 쓴다 */
.pjh-fside { overflow-y: auto; overflow-x: hidden; gap: 10px; }
.pjh-fside-n { flex: none; font-size: 14.5px; font-weight: 700; letter-spacing: -.1px; line-height: 1.4; color: var(--ink); overflow-wrap: anywhere; }
.pjh-fside-acts { margin-top: 2px; flex-wrap: wrap; }
.pjh-fside-acts:empty { display: none; }
.pjh-fside-tip { flex: none; display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border-radius: 10px; background: var(--bg-tint); font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.pjh-fside-tip b { color: var(--ink-sub); font-weight: 700; }
.pjh-fside-list { flex: 0 1 auto; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; border: 1px solid var(--line-row); border-radius: 10px; padding: 4px 8px; }
.pjh-fside-li { display: flex; align-items: center; gap: 8px; min-height: 30px; font-size: 13px; border-top: 1px solid var(--line-row); }
.pjh-fside-li:first-child { border-top: 0; }
.pjh-fside-lin { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; color: var(--ink); }
.pjh-fside-lis { flex: none; font-size: 12px; color: var(--muted-2); font-variant-numeric: tabular-nums; }
/* 내용 미리보기 — 같은 렌더러(lib/file-preview)의 결과를 이 칸 크기로 */
.pjh-fprev { position: relative; flex: 1 1 200px; min-height: 180px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); scrollbar-width: thin; scrollbar-color: var(--line-net) transparent; }
.pjh-fprev.dir { flex: none; min-height: 0; height: 148px; display: grid; place-items: center; border: 0; background: var(--bg-tint); overflow: hidden; }
.pjh-fprev.dir .pn-folder { width: 104px; }
.pjh-fprev.page { overflow: hidden; background: #fff; }
.pjh-fprev-page { position: absolute; left: 0; top: 0; border: 0; background: #fff; transform-origin: top left; pointer-events: none; }
.pjh-fprev-msg { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 176px; height: 100%; box-sizing: border-box; padding: 16px; text-align: center; font-size: 12.5px; line-height: 1.5; color: var(--muted-2); }
.pjh-fprev-tools { position: sticky; top: 0; z-index: 1; display: flex; justify-content: flex-end; gap: 6px; padding: 6px 8px; background: var(--surface); border-bottom: 1px solid var(--line-row); }
.pjh-fprev-body { padding: 12px 14px; box-sizing: border-box; min-height: 100%; }
.pjh-fprev .fp-code { border: 0; border-radius: 0; background: none; padding: 0; font-size: 12px; line-height: 1.6; overflow: visible; max-height: none; white-space: pre-wrap; word-break: break-word; }
.pjh-fprev .fp-code:not(.is-code) { font-size: 13px; line-height: 1.7; }
.pjh-fprev .fp-md { font-size: 13.5px; line-height: 1.7; max-height: none; overflow: visible; }
.pjh-fprev .fp-md h1 { font-size: 18px; } .pjh-fprev .fp-md h2 { font-size: 15.5px; } .pjh-fprev .fp-md h3 { font-size: 14px; }
.pjh-fprev .fp-doc { font-size: 13px; line-height: 1.7; }
.pjh-fprev .fp-img, .pjh-fprev .fp-video { max-width: 100%; max-height: none; height: auto; border-radius: 6px; }
.pjh-fprev .fp-msg { padding: 28px 12px; font-size: 12.5px; }
.pjh-fprev.k-img .pjh-fprev-body { display: grid; place-items: center; background: var(--bg-tint); }
.pjh-fprev.k-pdf { overflow: hidden; }
.pjh-fprev.k-pdf .pjh-fprev-body { padding: 0; height: 100%; }
.pjh-fprev.k-pdf .fp-pdf, .pjh-fprev.k-pdf iframe { width: 100%; height: 100%; min-height: 0; border: 0; border-radius: 0; display: block; }
.pjh-fprev .fp-tablewrap { max-height: none; }
/* 위젯(3×2) 옆 칸은 낮다 — 미리보기 · 이름 · 종류·크기·수정 · 단추까지. 위치·경로는 모달에서 */
.pjh-w:not(.pjh-modal) .pjh-fside { padding-left: 16px; }
.pjh-w:not(.pjh-modal) .pjh-fside .pjh-kv > :nth-child(n+7) { display: none; }
.pjh-w:not(.pjh-modal) .pjh-fside .pjh-fprev { min-height: 150px; }
.pjh-w:not(.pjh-modal) .pjh-fside .pjh-fprev.dir { height: 110px; }
.pjh-w:not(.pjh-modal) .pjh-fside .pjh-fside-tip { display: none; }
/* 모달 — 왼쪽: 곁칸 «자료» 부품 그대로(테두리 안) · 오른쪽: 고른 것 */
.pjh-fm { display: grid; grid-template-columns: minmax(0, 1fr) clamp(300px, 34%, 440px); gap: 20px; flex: 1; min-height: 0; }
.pjh-fm > * { min-width: 0; min-height: 0; }
.pjh-fm-main { display: flex; flex-direction: column; border: 1px solid var(--line-net); border-radius: 12px; overflow: hidden; background: var(--bg); }
.pjh-fm-main > .pn-part { flex: 1; min-height: 0; }
.pjh-modal .pjh-fside { padding-left: 20px; }
.pjh-modal .pn-fhead { padding: 12px 14px 8px; gap: 8px; }
.pjh-modal .pn-fcrumb { font-size: 13px; max-width: 180px; }
.pjh-modal .pn-fbody { padding: 4px 14px 18px; }
.pjh-modal .pn-fname { font-size: 12.5px; }
.pjh-modal .pn-fmeta { font-size: 11.5px; }
.pjh-modal .pn-fnote { margin: 12px 14px 0; }
.pjh-modal .pn-fnote p { font-size: 12.5px; }
.pjh-modal .pn-frow2 { font-size: 13.5px; padding: 7px 9px; }
.pjh-modal .pn-fcol { font-size: 12px; }
.pjh-modal .pn-fcol.k { width: 56px; } .pjh-modal .pn-fcol.s { width: 70px; } .pjh-modal .pn-fcol.d { width: 78px; }
@media (max-width: 900px) {
  .pjh-fm { grid-template-columns: minmax(0, 1fr); flex: none; gap: 14px; }
  .pjh-fm-main { height: 62vh; min-height: 320px; }
  .pjh-modal .pjh-fside { padding-left: 0; overflow: visible; }
  .pjh-modal .pjh-fside .pjh-fprev { flex: none; height: 260px; }
}
/* 올리는 중이 아닐 땐 진행 줄 자리가 간격을 먹지 않는다(1×1 몸통이 9px 넘치던 것) */
.pjh-prog:empty { display: none; }

/* ══ 작업 타임라인 — 전면 재구성(#4135, 2026-09-27 원준: «점 크기는 누가 더 많이 했는지 비교하는 용도밖에 안 된다 — 누가 어떤 작업을
   하는지 보는 역할이어야지»). 단위는 «사람 + 그 사람이 한 작업의 내용». 양을 그리는 것(점 크기·막대)은 없다. ══ */
/* 작업 한 줄 — 앞: 얼굴(사람이 섞인 자리) 또는 종류 점 · 큰 글: 내용 · 오른쪽: 때 · 작은 글: 이름 · 중분류 · 태스크 */
.pjh-wk { display: flex; align-items: flex-start; gap: 9px; min-width: 0; padding: 7px 8px; border-radius: 8px; cursor: pointer; outline: 0; }
.pjh-wk:hover { background: var(--bg-tint); }
.pjh-wk:focus-visible { box-shadow: inset 0 0 0 2px var(--blue); }
.pjh-wk.on { background: var(--bg-sel); box-shadow: inset 2px 0 0 var(--blue); }
.pjh-wk > .pjh-ev-dot { margin-top: 7px; }
.pjh-wk > .pjv-ava { flex: none; width: 20px; height: 20px; font-size: 9.5px; margin-top: 1px; }
.pjh-wk-b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.pjh-wk-t { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.pjh-wk-x { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 500; line-height: 1.45; color: var(--ink); overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pjh-wk.one .pjh-wk-x { display: block; white-space: nowrap; text-overflow: ellipsis; }
.pjh-wk.on .pjh-wk-x { font-weight: 600; }
.pjh-wk-w { flex: none; font-size: 12px; color: var(--muted-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pjh-wk-m { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; }
.pjh-wk-m > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.pjh-wk-who { flex: none; font-weight: 600; color: var(--ink-sub); }
.pjh-wk-k { display: inline-flex; align-items: center; gap: 5px; flex: none; max-width: 60%; }
.pjh-wk-sep { flex: none; color: var(--muted-3); }
.pjh-wk-m .pjh-tb { flex: 0 1 auto; min-width: 0; max-width: none; }
.pjh-ev-dot.sm { width: 6px; height: 6px; margin-top: 0; flex: none; }
/* 1×1 — 최근 작업 넷(한 줄씩) */
.pjh-wlist { display: flex; flex-direction: column; gap: 1px; min-height: 0; overflow: hidden; }
.pjh-wlist .pjh-wk { padding: 6px 6px; }
/* 흐름(1×N · 모달 시간순) — 날 머리 아래 두 줄짜리 줄 */
.pjh-wfeed { gap: 1px; }
.pjh-wfeed .pjh-grp { margin-top: 10px; padding-left: 6px; }
.pjh-wfeed .pjh-grp:first-child { margin-top: 0; }
/* 사람 머리 — 얼굴 · 이름 · 마지막으로 일한 때 */
.pjh-bd-p { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 0 8px; font-size: 13.5px; font-weight: 700; letter-spacing: -.1px; color: var(--ink); white-space: nowrap; }
.pjh-bd-p .pjv-ava { flex: none; width: 22px; height: 22px; font-size: 10px; }
.pjh-bd-pn { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.pjh-bd-p small { flex: none; font-size: 12px; font-weight: 500; letter-spacing: 0; color: var(--muted-2); }
.pjh-bd-faces { display: inline-flex; flex: none; }
.pjh-bd-faces .pjv-ava + .pjv-ava { margin-left: -6px; box-shadow: 0 0 0 2px var(--bg); }
/* 날 × 사람 판 — 왼쪽 축(64px)은 날, 열은 사람. 줄 사이 선은 날 사이에만. */
.pjh-bd { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; display: flex; flex-direction: column; scrollbar-width: thin; scrollbar-color: var(--line-net) transparent; }
.pjh-bd-h, .pjh-bd-r { display: grid; column-gap: 8px; flex: none; }
.pjh-bd-h { position: sticky; top: 0; z-index: 2; align-items: center; min-height: 38px; padding-bottom: 6px; background: var(--bg); border-bottom: 1px solid var(--line-row); }
.pjh-bd-r { padding: 8px 0; border-top: 1px solid var(--line-row); }
.pjh-bd-h + .pjh-bd-r { border-top: 0; }
.pjh-bd-d { position: sticky; top: 46px; align-self: start; display: flex; flex-direction: column; gap: 1px; padding: 7px 0 0 4px; }
.pjh-bd-d b { font-size: 13px; font-weight: 800; letter-spacing: -.1px; color: var(--ink); }
.pjh-bd-d span { font-size: 11.5px; color: var(--muted-2); white-space: nowrap; }
.pjh-bd-r.today .pjh-bd-d b { color: var(--blue); }
.pjh-bd-c { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
/* 사람별 최근(2×1 · 3×1) — 사람마다 한 열, 그 사람의 최근 작업 셋 */
.pjh-pl { flex: 1; min-height: 0; display: grid; column-gap: 0; overflow: hidden; }
.pjh-pl-c { min-width: 0; display: flex; flex-direction: column; gap: 1px; padding: 0 12px; }
.pjh-pl-c:first-child { padding-left: 0; }
.pjh-pl-c:last-child { padding-right: 0; }
.pjh-pl-c + .pjh-pl-c { border-left: 1px solid var(--line-row); }
.pjh-pl .pjh-bd-p { min-height: 28px; padding: 0 6px; margin-bottom: 3px; }
.pjh-pl .pjh-wk { padding: 6px 6px; }
/* 고른 작업의 속 */
.pjh-wside { overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; scrollbar-color: var(--line-net) transparent; }
.pjh-wd-who { flex: none; display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13px; color: var(--muted); }
.pjh-wd-who .pjv-ava { flex: none; width: 24px; height: 24px; font-size: 10.5px; }
.pjh-wd-who b { flex: none; font-size: 14px; font-weight: 700; color: var(--ink); }
.pjh-wd-who span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; color: var(--muted-2); }
.pjh-wd-kind { font-size: 12.5px; color: var(--muted); }
.pjh-wd-body { flex: none; max-height: none; overflow: visible; white-space: pre-wrap; font-size: 13px; line-height: 1.6; }
.pjh-wside .pjh-kv .pjh-tb { justify-self: start; max-width: 100%; }
.pjh-wside .pjh-kr .pjh-kr-t { white-space: normal; overflow: visible; line-height: 1.4; }
.pjh-wside .pjh-kr { min-height: 36px; padding: 6px; align-items: flex-start; }
.pjh-wside .pjh-kr > .pjh-ic { margin-top: 3px; }
.pjh-w:not(.pjh-modal) .pjh-wside { padding-left: 16px; }
/* 모달 — 판 | 옆 칸 */
.pjh-wtwo { grid-template-columns: minmax(0, 1fr) clamp(320px, 36%, 440px); }
.pjh-tools-r { margin-left: auto; }
.pjh-modal .pjh-bd-h { min-height: 42px; }
.pjh-modal .pjh-bd-d { top: 50px; }
.pjh-modal .pjh-wk { padding: 8px 10px; }
@media (max-width: 900px) {
  .pjh-modal .pjh-wtwo .pjh-wfeed { flex: none; overflow: visible; }
}

/* ── 프로젝트 상세 머리의 [＋ 세션](#4135) — 세션 화면 문패의 [＋ 세션] 과 같은 단추(크기·채움·그림자) ── */
.proj-detail-newsess { gap: 6px; box-shadow: 0 1px 2px rgba(45,107,240,.30), 0 2px 8px rgba(45,107,240,.16); }
.proj-detail-newsess:hover { box-shadow: 0 1px 2px rgba(45,107,240,.34), 0 4px 12px rgba(45,107,240,.22); }
.proj-detail-newsess .pjh-ic { width: 15px; height: 15px; }
