/* ── 파일 미리보기(.ft) — 문서 색 아이콘 · 이미지 썸네일 · 폴더 ── */
.ft { display: block; }
.ft-page { fill: #fff; stroke: var(--line-net); stroke-width: 1; }
.ft-fold { fill: var(--line-net-2); }
.ft-band { fill: var(--muted); }
.ft-label { fill: #fff; font-size: 8.5px; font-weight: 800; letter-spacing: .2px; font-family: ui-sans-serif, system-ui, sans-serif; }
.ft-pdf .ft-band { fill: #E5484D; }
.ft-word .ft-band { fill: #2B6CB0; }
.ft-ppt .ft-band { fill: #E2683C; }
.ft-xls .ft-band { fill: #1F9D63; }
.ft-zip .ft-band { fill: #8A6BB0; }
.ft-av .ft-band { fill: #5A6B85; }
.ft-txt .ft-band { fill: #7A88A3; }
.ft-folder-tab { fill: #7FA8E8; }
.ft-folder-body { fill: #A9C6F2; }
.ft-img { overflow: hidden; border-radius: 7px; background: var(--bg-tint); border: 1px solid var(--line); box-sizing: border-box; }
.ft-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ft-img:not(.loaded) img { opacity: 0; }
.proj-file-card-nm { font-size: 12px; color: var(--ink); text-align: center; line-height: 1.35; word-break: break-all; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 100%; padding: 0 2px; }
.proj-file-card-sz { font-size: 10.5px; color: var(--muted-2); }
.proj-file-card-dt { font-size: 10px; color: var(--muted-2); opacity: .85; font-variant-numeric: tabular-nums; } /* 파일 수정일(#877) — 크기 아래 한 줄 더, 더 옅게 */
/* 업로드 중 카드 — 비활성 아이콘 + 실시간 % + 진행 막대 */
.proj-file-card.uploading { cursor: default; pointer-events: none; }
.proj-file-card.uploading .proj-file-card-ic { opacity: .3; filter: grayscale(1); }
.proj-up-icwrap { position: relative; display: flex; align-items: center; justify-content: center; }
.proj-up-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.proj-up-pct { font-size: 14px; font-weight: 800; color: var(--ink); }
.proj-up-bar { width: 100%; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; margin-top: 4px; }
.proj-up-bar-fill { height: 100%; width: 0; background: var(--blue); transition: width .15s ease; }
/* ── 업로드 진행 + 취소 바(#797) — 세 화면(공유 폴더 카드 · '전체 보기' 모달 · 대시보드 팀 공유 폴더) 공통. ──
   배치 하나당 한 줄. 동시에 여러 배치가 돌면 줄도 여러 개 = '어느 업로드를 끊는지' 헷갈리지 않는다. */
.up-prog-box:empty { display: none; }
.up-prog { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; padding: 10px 14px; background: var(--bg-sel); border: 1px solid var(--line-net); border-radius: 12px; }
.up-prog-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.up-prog-label { font-size: 13px; color: var(--ink-sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.up-prog-bar { height: 6px; border-radius: 999px; background: var(--bg-tint-2); overflow: hidden; }
.up-prog-fill { height: 100%; width: 0; border-radius: 999px; background: var(--blue); transition: width .12s linear; }
.up-prog-cancel { flex-shrink: 0; }
/* '전체 보기' 팝업 — 넓은 모달 + 여러 행 그리드(횡스크롤 없이 다 보임). */
.ov-box-wide { max-width: 920px; }
/* '전체 보기' — 깔끔한 파일 목록(행 호버 시 아이콘 액션). */
.proj-fg-head { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; }
.proj-fg-head .proj-file-search { flex: 1; max-width: none; box-sizing: border-box; }
.proj-fg-actions { display: flex; gap: 6px; flex: none; }
.proj-file-llist { display: flex; flex-direction: column; max-height: 60vh; overflow-y: auto; margin-top: 2px; }
.proj-file-lrow { display: flex; align-items: center; gap: 11px; padding: 9px 8px; cursor: pointer; border-bottom: 1px solid var(--line-row); }
.proj-file-llist > .proj-file-lrow:last-child { border-bottom: none; }
.proj-file-lrow:hover { background: var(--bg-sel); }
.proj-file-lic { flex: none; width: 26px; height: 24px; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 15px; }
.proj-file-lic .fic { width: 18px; height: 18px; }
.proj-file-lic .fic-dir { color: var(--ink-sub); }
.proj-file-lic .ft-file { width: 18px; height: 22px; }
.proj-file-lic .ft-folder { width: 24px; height: auto; }
.proj-file-lic .ft-img { width: 22px; height: 22px; border-radius: 5px; }
.proj-file-lnm { flex: 1; min-width: 0; font-size: 13.5px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.proj-file-lnm.is-dir { font-weight: 600; }
.proj-file-lsz { flex: none; min-width: 62px; text-align: right; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.proj-file-ldt { flex: none; min-width: 118px; text-align: right; font-size: 11.5px; color: var(--muted-2); font-variant-numeric: tabular-nums; } /* 파일 수정 일시 열 — 항상 풀 일시(#1118, 구 컴팩트 #877) */
.proj-file-lacts { flex: none; display: flex; gap: 2px; opacity: 0; transition: opacity .12s ease; margin-left: 2px; width: 88px; justify-content: flex-end; } /* 고정폭(버튼 3개) — 폴더(2개)·파일(3개) 행의 날짜 열을 맞춘다(#1118) */
.proj-file-lrow:hover .proj-file-lacts { opacity: 1; }
/* 열 머리글(#1118) — 이름/크기/수정 일시 이름표 + 클릭 정렬. 스크롤 시 상단 고정. */
.proj-file-lhead { position: sticky; top: 0; z-index: 2; background: var(--bg); cursor: default; padding-top: 2px; padding-bottom: 5px; border-bottom: 1px solid var(--line); }
.proj-file-lhead:hover { background: var(--bg); }
.file-sort-btn { border: none; background: none; padding: 0; font-family: inherit; font-size: 11.5px; font-weight: 700; color: var(--muted); cursor: pointer; }
.file-sort-btn:hover, .file-sort-btn.on { color: var(--ink); }
.file-sort-arrow { font-size: 8px; margin-left: 2px; vertical-align: 1px; }
/* 단색 라인 아이콘 — currentColor 상속, 획굵기만 여기서. (.proj-file-lic / .proj-file-card-ic 가 크기·색 지정) */
.fic { display: block; stroke-width: 1.6px; }
.proj-file-iconbtn { width: 28px; height: 28px; border: none; background: none; border-radius: 7px; cursor: pointer; color: var(--muted); font-size: 14px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; }
.proj-file-iconbtn:hover { background: var(--line); color: var(--ink); }
.proj-file-iconbtn.danger:hover { background: #FDEAE6; color: #D14A32; }
.proj-file-edit { width: 100%; min-height: 52vh; box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; line-height: 1.5; resize: vertical; }
/* #req 프로젝트 공유 폴더 — 마크다운 렌더 미리보기(원문 대신 문서처럼). */
.proj-file-mdwrap { width: 100%; }
.proj-file-md { max-height: 68vh; overflow: auto; box-sizing: border-box; padding: 20px 24px; text-align: left;
  background: var(--bg-tint); border: 1px solid var(--line); border-radius: 8px; scrollbar-width: thin; }
.proj-file-img { max-width: 100%; max-height: 64vh; display: block; margin: 0 auto; border-radius: 8px; }
.proj-file-pdf { width: 100%; height: 74vh; border: none; border-radius: 8px; background: #fff; }
/* 상세 ② 터미널 세션 */
.proj-sess-list { display: flex; flex-direction: column; gap: 8px; }
.proj-sess-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.proj-sess-main { min-width: 0; }
.proj-sess-name { font-size: 14px; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.proj-sess-live { font-size: 11.5px; font-weight: 600; color: #3DBE94; }
.proj-sess-meta { margin-top: 3px; font-size: 12px; color: var(--muted-2); }
.proj-sess-acts { display: flex; gap: 6px; flex: none; align-items: center; }
/* 팀원 프로필 그리드(아바타 폴더) */
.proj-term-card { padding-bottom: 36px; } /* 상단 여백(43px)과 균형 — 상태 아래 ~ 박스 하단 */
.proj-people-grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; padding: 8px 0 4px; }
.proj-person { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 124px; padding: 10px 6px 8px; border-radius: 14px; cursor: pointer; transition: background .12s ease; }
.proj-person:hover { background: var(--bg-sel); }
.proj-person.active { background: var(--bg-tint-2); }
.proj-person.dragging { opacity: .4; }
.proj-person.drop-target { background: var(--bg-tint-2); outline: 2px dashed var(--line-net-2); outline-offset: -2px; }
.proj-avatar { position: relative; width: 76px; height: 76px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 27px; font-weight: 700; box-shadow: 0 2px 5px rgba(21, 35, 59, .2); }
.proj-avatar-badge { position: absolute; top: -2px; right: -2px; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 11px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 2.5px solid var(--bg); box-sizing: border-box; }
.proj-person-name { font-size: 12.5px; font-weight: 600; color: var(--ink); text-align: center; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.proj-person-status { font-size: 12.5px; line-height: 1.35; text-align: center; max-width: 112px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; box-sizing: border-box; }
.proj-person-status:empty { display: none; } /* 상태 안 적은 사람 — 빈 칸이 높이 차지하지 않게 */
.proj-person-status.filled { color: var(--ink-sub); background: var(--bg-tint); padding: 3px 10px; border-radius: 10px; font-weight: 500; }
.proj-person-status.me { cursor: pointer; }
.proj-person-status.empty.me { color: var(--blue); border: 1px dashed var(--line-net-2); padding: 3px 11px; border-radius: 10px; font-size: 11.5px; font-weight: 600; }
.proj-person-status.empty.me:hover { background: var(--bg-tint); border-color: var(--blue); }
.proj-person-status.filled.me:hover { background: var(--bg-tint-2); }
.proj-status-pen { color: var(--muted-2); font-size: 10px; }
.proj-person-status.filled.me:hover .proj-status-pen { color: var(--blue); }
/* 팀원은 아니지만 이 프로젝트에서 세션을 연 사람(#1088) — 프로필은 뜨되 팀원과 헷갈리지 않게 옅게 표시 */
.proj-person-status.guest { color: var(--muted-2); font-size: 11.5px; font-weight: 600; }
.proj-people-panel { margin-top: 0; }
.proj-people-panel:empty { display: none; }
.proj-panel-head { display: flex; align-items: center; gap: 4px; font-size: 13.5px; color: var(--ink); padding: 6px 2px 10px; border-top: 1px solid var(--line); margin-top: 0; }
.proj-panel-cnt { font-size: 12px; font-weight: 700; color: var(--muted-2); }
.proj-sess-auto { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink); cursor: pointer; }
.proj-sess-auto input { width: auto; flex: none; }
/* 상세 ③ 타임라인 */
.proj-tl-filter { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.proj-tl-chip { font-size: 12.5px; font-weight: 600; color: var(--ink-sub); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 3px 11px; cursor: pointer; }
.proj-tl-chip.active { background: var(--bg-sel); color: var(--ink); border-color: var(--line-net-2); }
.proj-tl-list { display: flex; flex-direction: column; }
.proj-tl-row { display: flex; gap: 10px; padding: 9px 2px; border-top: 1px solid var(--line-row); }
.proj-tl-row:first-child { border-top: none; }
.proj-tl-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; margin-top: 6px; background: var(--muted-2); }
.proj-tl-dot.tone-mint { background: #3DBE94; }
.proj-tl-dot.tone-blue { background: var(--blue); }
.proj-tl-dot.tone-coral { background: #E8826B; }
.proj-tl-dot.tone-teal { background: #2BA6A6; }
.proj-tl-main { min-width: 0; flex: 1; }
.proj-tl-summary { font-size: 13.5px; color: var(--ink); word-break: break-word; }
.proj-tl-meta { margin-top: 3px; font-size: 12px; color: var(--muted-2); }
.proj-tl-note { display: flex; gap: 7px; font-size: 12px; color: var(--ink-sub); line-height: 1.55; margin: 8px 0 2px; background: var(--bg-tint); border-radius: 8px; padding: 9px 11px; }
.proj-tl-note-ic { flex: none; color: var(--muted-2); }
.proj-tl-more { margin-top: 10px; }

/* 작업(activity) 행·상세(.act-row / .act-doc)는 08-activity.css 로 옮겼다(#1610) —
   렌더러가 web/activity-view.ts 하나인데 스타일만 파일 업로드 CSS 에 얹혀 있어 찾을 수 없었다. */

/* 전체 작업 로그 머리 — 지금 몇 개를 보고 있는지 + 조작 힌트(6개씩 끊어 보여주던 것 폐지). */
.proj-tl-count { font-size: 11.5px; color: var(--muted); padding: 2px 2px 8px; }

/* 붙여넣기 이름 지정 팝업 — 동작 안내 + [이름][.확장자 고정태그]. */
.paste-action { margin: 0 0 14px; font-size: 13.5px; color: var(--ink-sub); line-height: 1.55; }
.paste-action b { color: var(--ink); font-weight: 700; }
.paste-name-row { display: flex; align-items: stretch; gap: 8px; }
.paste-name-row input { flex: 1; min-width: 0; }
.paste-ext { flex: none; display: inline-flex; align-items: center; padding: 0 12px; font-size: 13px; font-weight: 700; color: var(--ink-sub); background: var(--bg-tint); border: 1px solid var(--line); border-radius: 9px; }

/* 공유 폴더 카드 — 선택(일괄삭제) 모드 체크박스 + 선택 강조. */
.proj-file-card { position: relative; }
.proj-file-card.select-mode { cursor: pointer; }
.proj-file-check { position: absolute; top: 6px; right: 10px; width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid var(--line-net-2); background: var(--bg); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: #fff; line-height: 1; }
.proj-file-card.selected { background: var(--bg-sel); box-shadow: inset 0 0 0 1.5px var(--blue); }
.proj-file-card.selected .proj-file-check { background: var(--blue); border-color: var(--blue); }

