/* ============================================================================
   제이웍스 디자인 층 — 1030 다시 정리(flex 결). 모듈 스타일 뒤에 읽는다(index.html 맨 끝).
   · 중립 회색 + 거의 검정 글씨. 강조는 보라(--accent) — 주 버튼 · 지금 위치 · 숫자 강조 정도에만
   · 흰 면 + 옅은 선 + 아주 옅은 그림자. 모서리 큼직(카드 16 · 버튼 10)
   · 상태는 연한 바탕 칩(초록 승인 · 파랑 진행 · 노랑 대기 · 빨강 반려 · 회색 끝)
   · 탭은 밑줄, 왼쪽 메뉴는 회색 바탕 선택 + 굵은 글씨
   (모듈 모양 — 대화 · 달력 · 표 · 녹음 — 은 각 모듈 css 가 정한다)
   ============================================================================ */
:root {
  color-scheme: light;
  --bg: #f7f7f8;
  --panel: #ffffff;
  --soft: #f4f4f6;
  --text: #18181b;
  --text-2: #3f3f46;
  --muted: #71717a;
  --faint: #a1a1aa;
  --line: #ececf0;
  --line-strong: #dcdce2;
  --accent: #6c4cf5;
  --accent-hover: #5b3ce0;
  --on-accent: #ffffff;
  --tint: #f2eeff;
  --blue: #2468e8;
  --blue-bg: #eaf1ff;
  --green: #138a5b;
  --green-bg: #e7f7ef;
  --amber: #a36400;
  --amber-bg: #fff4e0;
  --red: #d93b3b;
  --red-bg: #fdecec;
  --purple: #6c4cf5;
  --purple-bg: #f2eeff;
  --radius: 16px;
  --radius-btn: 10px;
  --side-w: 232px;
  --head-h: 60px;
  --nav-h: 62px;          /* 하단 탭 높이 — --bottom-h(탭 + 새 버전 막대)는 app.css 가 셈한다 */
  --border-card: #ececf0;
  --border-control: #e1e1e7;
  --shadow-sm: 0 1px 2px rgba(16, 16, 24, .04);
  --shadow-md: 0 6px 20px rgba(16, 16, 24, .06), 0 1px 2px rgba(16, 16, 24, .04);
}
body { font-size: 14px; line-height: 1.55; letter-spacing: -.25px; color: var(--text); background: var(--bg); }
.main:focus { outline: none; }
a { color: var(--accent); }

/* ── 틀 : 위쪽 바 · 왼쪽 메뉴 ── */
.app-header { background: var(--glass); backdrop-filter: saturate(1.4) blur(8px); border-bottom-color: var(--line); }
.brand { font-size: 19px; font-weight: 800; letter-spacing: -.6px; color: var(--text); }
.brand small { color: var(--faint); font-weight: 500; }
.icon-btn { color: var(--text-2); border-radius: 10px; }
.icon-btn:hover { background: var(--soft); color: var(--text); }
.avatar { background: var(--soft); color: var(--text-2); font-weight: 650; }
.avatar-btn:hover { background: var(--soft); }
.badge { background: #ff4d4f; box-shadow: 0 0 0 2px var(--panel); }

.side { background: var(--panel); border-right-color: var(--line); padding: 18px 12px; }
.side-org { padding: 6px 10px 16px; margin-bottom: 6px; border-bottom-color: var(--line); font-size: 15px; font-weight: 750; letter-spacing: -.4px; }
.side-org .sub { font-size: 12px; color: var(--faint); }
.nav-label { padding: 18px 10px 6px; color: var(--faint); font-size: 11.5px; font-weight: 600; letter-spacing: 0; }
.nav-item { min-height: 38px; padding: 7px 10px; gap: 11px; border-radius: 9px; color: var(--text-2); font-weight: 500; font-size: 14px; }
.nav-item svg { width: 19px; height: 19px; color: var(--faint); }
.nav-item:hover { background: var(--soft); color: var(--text); }
.nav-item[aria-current="page"] { background: var(--soft); color: var(--text); font-weight: 700; box-shadow: none; }
.nav-item[aria-current="page"] svg { color: var(--accent); }
.nav-count { background: var(--tint); color: var(--accent); border-radius: 10px; }
.bottom-nav { border-top-color: var(--line); background: var(--glass); backdrop-filter: blur(8px); }
.bottom-nav a { color: var(--faint); }
.bottom-nav a[aria-current="page"] { color: var(--text); }
.bottom-nav a[aria-current="page"] svg { color: var(--accent); }

/* ── 페이지 머리 ── */
.page-head h2 { font-weight: 800; letter-spacing: -.8px; color: var(--text); }
.page-head .sub { margin-top: 4px; color: var(--muted); }
.sub { font-size: 13px; color: var(--muted); }

/* ── 버튼 ── */
.btn { border: 1px solid var(--border-control); background: var(--panel); color: var(--text-2); font-weight: 600; box-shadow: var(--shadow-sm); }
.btn:hover { background: var(--soft); color: var(--text); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 650; box-shadow: 0 1px 2px color-mix(in srgb, var(--accent) 28%, transparent); }
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; filter: none; }
.btn.ghost { border-color: transparent; background: transparent; color: var(--text-2); box-shadow: none; }
.btn.ghost:hover { background: var(--soft); color: var(--text); }
.btn.danger { background: var(--red-bg); color: var(--red); border-color: transparent; box-shadow: none; }
.btn.danger:hover { background: #fbdcdc; }
.btn:focus-visible, .nav-item:focus-visible, .row-btn:focus-visible, .tab:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 35%, transparent); outline-offset: 2px; }

/* ── 카드 · 표 상자 ── */
.card, .table-box { border-color: var(--border-card); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card-head h3 { font-size: 16px; font-weight: 750; letter-spacing: -.4px; }
.card-head .btn.ghost { color: var(--muted); font-weight: 550; }
.line-row, .table td, .dv-row { border-color: var(--line); }
.line-row .title { font-weight: 650; overflow-wrap: anywhere; }
.count-big { color: var(--text); font-size: 28px; font-weight: 800; letter-spacing: -1px; }
.stat-value { font-weight: 800; color: var(--text); }

/* ── 상태 칩 · 태그 ── */
.chip, .tag { border-radius: 6px; font-weight: 650; padding: 2px 8px; font-size: 12px; }
.chip { background: var(--blue-bg); color: var(--blue); }
.chip.ok { background: var(--green-bg); color: var(--green); }
.chip.pending { background: var(--amber-bg); color: var(--amber); }
.chip.reject { background: var(--red-bg); color: var(--red); }
.chip.muted { background: var(--soft); color: var(--muted); }
.chip.purple { background: var(--tint); color: var(--accent); }
.tag { background: var(--soft); color: var(--text-2); }

/* ── 표 ── */
.table { font-size: 14px; }
.table th { font-size: 12px; font-weight: 600; color: var(--muted); background: var(--panel); border-bottom: 1px solid var(--line); }
.table td { padding-top: 13px; padding-bottom: 13px; }
.table tbody tr:hover { background: var(--hover); }
.table .title-cell { font-weight: 650; }
.table-cap { background: var(--panel); font-weight: 750; letter-spacing: -.3px; }
.table-cap small { color: var(--faint); }

/* ── 입력 ── */
.input, .select, .textarea { border-color: var(--border-control); border-radius: 10px; background: var(--panel); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--line-strong); }
.input:focus, .select:focus, .textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent); }
.input::placeholder, .textarea::placeholder { color: var(--faint); opacity: 1; }
.field > span { color: var(--text-2); font-weight: 600; }

/* ── 안내 · 빈 목록 ── */
.alert.info { background: var(--panel); border: 1px solid var(--line); color: var(--text-2); box-shadow: var(--shadow-sm); }
.alert.warn { border: 1px solid #f6dfb4; }
.empty { color: var(--muted); padding: 36px 16px; }
.empty strong { font-weight: 700; }

/* ── 홈 바로가기 · 아이콘 상자 ── */
.shortcuts a, .shortcuts button { border-color: var(--border-card); border-radius: 14px; font-weight: 600; color: var(--text); box-shadow: var(--shadow-sm); transition: box-shadow .15s, transform .15s; }
.shortcuts a:hover, .shortcuts button:hover { background: var(--panel); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.icon-badge { background: var(--tint); color: var(--accent); border-radius: 10px; }

/* ── 탭(밑줄) ── */
.tabs:not(.hide-pc) { display: flex; width: 100%; gap: 22px; padding: 0; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.tabs:not(.hide-pc) .tab { min-height: 42px; padding: 8px 2px; border: 0; border-radius: 0; background: transparent; color: var(--muted); font-size: 14px; font-weight: 550; }
.tabs:not(.hide-pc) .tab[aria-selected="true"] { background: transparent; color: var(--text); font-weight: 750; box-shadow: inset 0 -2px var(--text); }
.tabs:not(.hide-pc) .tab:hover { background: transparent; color: var(--text); }

/* ── 모듈 손질(색만) ── */
.m-filter { border-radius: 10px; border-color: var(--border-control); color: var(--muted); }
.m-prev { font-size: 13px; }
.m-list .table tbody tr.is-open { background: var(--tint); }
.m-folders { margin-bottom: 12px; }
.chat-search .input { background: var(--soft); border-color: transparent; }
.kb-wrap { background: var(--soft); border-color: var(--border-card); }
.sheet, .pop { border-color: var(--border-card); box-shadow: 0 20px 50px rgba(16, 16, 24, .16); }
.login .card { box-shadow: var(--shadow-md); }
.oc li::before, .oc li::after, .oc ul ul::before { border-color: var(--line-strong) !important; }

/* ── 2단계 · 공통 부품 (1030) ─────────────────────────────── */
/* 얼굴 — 사무실 아바타 머리(faces.js). 크기 xs 20 · sm 28 · 기본 36 · lg 52 */
.avatar.face { padding: 0; overflow: hidden; background: var(--tint); border-radius: 38%; }
.avatar.face img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; image-rendering: pixelated; }
.avatar.xs { width: 22px; height: 22px; font-size: 9.5px; }
.avatar.sm { width: 30px; height: 30px; font-size: 11px; }
.avatar.lg { width: 52px; height: 52px; font-size: 16px; }
.avatar:not(.face) { background: var(--soft); color: var(--text-2); }
.line-row > .avatar { width: 38px; height: 38px; }
/* 얼굴 + 이름 */
.person { display: inline-flex; align-items: center; gap: 8px; min-width: 0; vertical-align: middle; }
.person-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.person-nm { font-weight: 650; color: var(--text); white-space: nowrap; }
.person-sub { font-size: 12px; color: var(--muted); }
.row-btn .person { text-align: left; }

/* 목록 줄 앞 아이콘 타일 — 기본 보라, 색 이름으로 바꾼다 */
.tile { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 12px; background: var(--tint); color: var(--accent); }
.tile svg { width: 19px; height: 19px; }
.tile.blue { background: var(--blue-bg); color: var(--blue); }
.tile.green { background: var(--green-bg); color: var(--green); }
.tile.amber { background: var(--amber-bg); color: var(--amber); }
.tile.red { background: var(--red-bg); color: var(--red); }
.tile.gray { background: var(--soft); color: var(--muted); }
.line-row { gap: 12px; }
.line-row:is(a, button):hover .title { color: var(--accent); }
.line-row > svg:last-child { color: var(--faint); }

/* 빈 화면 — 옅은 동그라미 그림 + 굵은 한 줄 + 회색 설명 */
.empty { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 34px 16px 30px; font-size: 13px; }
.empty::before { content: ""; width: 52px; height: 52px; margin-bottom: 10px; border-radius: 50%;
  background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23a1a1aa%27 stroke-width=%271.7%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M4 13.5 6.5 6A2 2 0 0 1 8.4 4.6h7.2A2 2 0 0 1 17.5 6l2.5 7.5V18a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2z%27/%3E%3Cpath d=%27M4 13.5h4.5l1.2 2h4.6l1.2-2H20%27/%3E%3C/svg%3E") center / 26px no-repeat; }
.empty strong { font-size: 14.5px; color: var(--text); margin-bottom: 2px; }
.table .empty { padding: 40px 16px 36px; }

/* 표의 휴대폰 목록(ui.table item) — PC 는 표, 좁은 화면은 한 줄 목록 */
.m-rows { display: none; margin: 0; padding: 0; list-style: none; }
.m-rows li { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-top: 1px solid var(--line); cursor: pointer; }
.m-rows li:first-child { border-top: 0; }
.m-rows li:active { background: var(--soft); }
.m-rows .grow { flex: 1; min-width: 0; }
.m-rows .title { font-weight: 650; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-rows .sub { margin-top: 2px; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-rows .end { flex: none; }
.m-rows .avatar { width: 38px; height: 38px; }
@media (max-width: 899px) {
  .table-box.has-m .table { display: none; }
  .table-box.has-m .m-rows { display: block; }
}

/* ── 3단계 · 화면별 (1030) ── */
/* 홈 요약 숫자 — 타일 · 이름 · 큰 숫자 · 회색 한 줄. 누르면 그 화면 */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-bottom: 16px; }
.kpi { display: flex; align-items: flex-start; gap: 12px; min-width: 0; padding: 16px 18px; border: 1px solid var(--border-card); border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow-sm); color: inherit; text-decoration: none; transition: box-shadow .15s, transform .15s; }
.kpi:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.kpi > div { min-width: 0; }
.kpi-label { font-size: 13px; font-weight: 600; color: var(--muted); }
.kpi-value { margin-top: 2px; font-size: 24px; font-weight: 800; letter-spacing: -.8px; color: var(--text); line-height: 1.25; font-variant-numeric: tabular-nums; }
.kpi-value small { margin-left: 2px; font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.kpi-sub { margin-top: 2px; font-size: 12px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 899px) {
  .kpis { grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
  .kpi { flex-direction: column; gap: 8px; padding: 14px; }
  .kpi .tile { width: 32px; height: 32px; border-radius: 10px; }
  .kpi .tile svg { width: 17px; height: 17px; }
  .kpi-value { font-size: 21px; }
}

/* 날짜 타일(ui.dateTile) — 큰 날짜 + 요일. 토 파랑 · 일 빨강 */
.date-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--soft); line-height: 1.05; }
.date-tile b { font-size: 16px; font-weight: 800; color: var(--text); letter-spacing: -.5px; font-variant-numeric: tabular-nums; }
.date-tile small { font-size: 10.5px; font-weight: 600; color: var(--muted); }
.date-tile.sat small { color: var(--blue); }
.date-tile.sun small { color: var(--red); }
.m-rows .title .chip { vertical-align: 1px; }
.m-rows .end { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.m-rows .end .btn { min-height: 34px; padding: 4px 8px; font-size: 13px; }
.att-today-row { border-top: 0 !important; padding-top: 0 !important; }

/* 결재함 — 문서 칸이 좁아 제목이 여러 줄로 꺾이지 않게 */
@media (min-width: 900px) { .table td.apv-title { min-width: 300px; } }

/* 결재선 — 얼굴 + 이름 */
.step-who { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.step-dot { box-shadow: 0 0 0 4px var(--panel); }

/* 출근 현황 · 조직도 — 얼굴 오른쪽 아래에 상태 점. 출근 전은 얼굴을 옅게 */
.att-board-list li, .att-pill-btn { padding-left: 5px; }
.att-board-list li { gap: 7px; background: var(--panel); border-color: var(--line); }
.att-board-list li.on { background: var(--green-bg); border-color: #cdeedd; }
.att-board-list .avatar + .dot, .oc-person .avatar + .dot { width: 9px; height: 9px; margin: 14px 0 0 -14px; box-shadow: 0 0 0 2px var(--panel); }
.att-board-list li.on .avatar + .dot { box-shadow: 0 0 0 2px var(--green-bg); }
.oc-person.on .avatar + .dot { box-shadow: 0 0 0 2px var(--panel); }
.att-board-list li:not(.on) .avatar.face img, .oc-person.off .avatar.face img { opacity: .55; filter: grayscale(.6); }
.oc-tag { padding-left: 34px; }

/* 업무일지 — 이름 칸 얼굴 */
.jw-table .jw-who { width: 150px; }
.jw-table .jw-who .jw-face { float: left; margin: 1px 8px 0 0; }
.jw-mwho > .avatar { float: left; margin: 2px 8px 0 0; }
.td-who > .avatar { margin-right: 2px; }

/* 숫자 카드 */
.stats .card { box-shadow: var(--shadow-sm); }
.stats .card .sub { font-weight: 550; }
.stat-value { letter-spacing: -.8px; }

@media (min-width: 900px) {
  .main { max-width: none; width: 100%; margin: 0; padding: 26px 32px 36px; }
  .page-head { margin-bottom: 20px; align-items: center; }
  .page-head h2 { font-size: 26px; }
  .card { padding: 20px 22px; }
  .card-head { margin-bottom: 12px; }
  .line-row { padding: 13px 0; }
  .table-cap { padding: 15px 20px; }
  .table th, .table td { padding-left: 20px; padding-right: 12px; }
  .shortcuts { margin: 16px 0 22px; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .shortcuts a, .shortcuts button { min-height: 56px; }
  .grid { gap: 20px; }
  .grid > .col { gap: 20px; }
  .grid.two.home-grid { grid-template-columns: minmax(0, 1fr) minmax(300px, 360px); }
  .m-filter { min-height: 38px; }
}
@media (max-width: 899px) {
  :root { --head-h: 54px; }
  .main { padding: 16px 14px calc(var(--bottom-h) + 20px + env(safe-area-inset-bottom)); }
  .brand { font-size: 17px; }
  .icon-btn { width: 44px; height: 44px; }
  .page-head { flex-wrap: wrap; gap: 8px 12px; margin-bottom: 14px; }
  .page-head > div:first-child { flex: 1 1 150px; }
  .page-head h2 { font-size: 22px; white-space: normal; overflow-wrap: anywhere; }
  .page-head .actions { margin-left: auto; max-width: 100%; flex-wrap: wrap; }
  .page-head .actions .btn, .btn, .m-filter { min-height: 44px; }
  .input, .select { min-height: 44px; font-size: 16px; }
  .tabs:not(.hide-pc) { gap: 18px; }
  .tabs:not(.hide-pc) .tab, .tabs.hide-pc .tab { min-height: 44px; }
  .tabs.hide-pc .tab[aria-selected="true"] { color: var(--text); box-shadow: inset 0 -2px var(--text); }
  .card { padding: 16px; border-radius: 14px; }
  .grid, .grid > .col { gap: 12px; }
  .table tr { padding: 13px 14px; }
  .field > span, .m-prev { font-size: 13px; }
  .bottom-nav a { font-size: 11px; min-height: 48px; }
}

/* ============================================================================
   4단계 · 구조(1030 「색만 바뀌었다」) — flex 처럼 회색 틀 위에 흰 작업판 하나 · 문서함 3줄 목록 · 시간 막대 · 프로필 머리
   ============================================================================ */
.avatar.xl { width: 88px; height: 88px; font-size: 26px; border-radius: 34%; }

/* ── PC 틀 : 바탕 회색, 왼쪽 메뉴 · 위쪽 바는 바탕 위에 그대로, 화면은 흰 판(모서리 둥글게) ── */
@media (min-width: 900px) {
  :root { --frame: #f0f0f3; }
  body { background: var(--frame); }
  .app-header { background: var(--frame); border-bottom: 0; backdrop-filter: none; padding: 0 18px 0 20px; }
  .side { background: var(--frame); border-right: 0; padding: 4px 12px 20px 14px; }
  .side-org { margin: 0 0 8px; padding: 12px 14px; border: 0; border-radius: 14px; background: var(--panel); box-shadow: var(--shadow-sm); }
  .nav-item:hover { background: rgba(24, 24, 27, .05); }
  .nav-item[aria-current="page"] { background: var(--panel); box-shadow: 0 1px 3px rgba(16, 16, 24, .08); }
  .main { width: auto; margin: 0 14px 14px 0; min-height: calc(100dvh - var(--head-h) - 14px);
    padding: 34px 40px 44px; background: var(--panel); border-radius: 22px; box-shadow: 0 0 0 1px var(--line), 0 2px 8px rgba(16, 16, 24, .04); }
  .page-head { margin-bottom: 22px; }
  .page-head h2 { font-size: 28px; letter-spacing: -1px; }
  /* 흰 판 안의 카드 — 그림자 없이 선만 */
  .main .card, .main .table-box, .main .kpi { box-shadow: none; }
  .main .kpi:hover { box-shadow: var(--shadow-md); }
  .main .card, .main .table-box { border-color: var(--border-card); }
  .main .alert.info { box-shadow: none; background: var(--soft); border-color: transparent; }
}

/* ── 문서함 3줄 목록(결재함) ── */
.doc-list { margin: 0; padding: 0; list-style: none; }
.doc-list li { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-top: 1px solid var(--line); cursor: pointer; }
.doc-list li:first-child { border-top: 0; }
.doc-list li:hover { background: var(--hover); }
.doc-list li:hover .doc-title { color: var(--accent); }
.doc-list li:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 35%, transparent); outline-offset: -3px; }
.doc-list .avatar, .doc-list .tile { width: 42px; height: 42px; align-self: flex-start; margin-top: 2px; }
.doc-list .grow { flex: 1; min-width: 0; }
.doc-list > li > svg { width: 18px; height: 18px; flex: none; color: var(--faint); }
.doc-top { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.doc-top strong { font-weight: 700; color: var(--text); }
.doc-top .chip { padding: 1px 6px; font-size: 11px; }
.doc-date { color: var(--faint); font-size: 12.5px; }
.doc-title { margin-top: 3px; font-size: 15px; font-weight: 650; color: var(--text); letter-spacing: -.3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.doc-meta { margin-top: 3px; font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 899px) {
  .doc-list li { padding: 14px; gap: 12px; }
  .doc-list > li > svg { display: none; }
  .doc-title { font-size: 14.5px; }
}

/* ── 오늘 근무 시간 막대(att-timeline.js) ── */
.tl { display: flex; flex-direction: column; }
.tl-row { display: grid; grid-template-columns: 200px minmax(0, 1fr); align-items: center; min-height: 58px; border-top: 1px solid var(--line); }
.tl-row.tl-head { min-height: 30px; border-top: 0; color: var(--faint); font-size: 12px; font-weight: 600; }
.tl-row.fixable { cursor: pointer; }
.tl-row.fixable:hover { background: var(--hover); }
.tl-who { display: flex; align-items: center; gap: 10px; min-width: 0; padding-right: 12px; }
.tl-who > div { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.tl-who strong { font-size: 14px; font-weight: 650; }
.tl-who span { font-size: 12px; color: var(--muted); }
.tl-track { position: relative; height: 40px; }
.tl-head .tl-track { height: 22px; }
.tl-h { position: absolute; top: 2px; transform: translateX(-50%); white-space: nowrap; }
.tl-h:first-child { transform: none; }
.tl-grid { position: absolute; top: -9px; bottom: -9px; width: 1px; background: var(--line); }
.tl-now { position: absolute; top: -9px; bottom: -9px; width: 2px; margin-left: -1px; background: var(--red); opacity: .7; z-index: 2; }
.tl-bar { position: absolute; top: 3px; bottom: 3px; display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 0 10px; overflow: hidden;
  border-radius: 8px; border: 1px solid; font-size: 12px; line-height: 1.25; white-space: nowrap; z-index: 1; }
.tl-bar b { font-weight: 700; }
.tl-bar small { font-size: 11.5px; opacity: .85; }
.tl-bar.office { background: #e3f6f3; border-color: #bfe7e0; color: #0f766e; }
.tl-bar.home { background: var(--tint); border-color: #ddd3fd; color: var(--accent); }
.tl-bar.out { background: #fff6dc; border-color: #f7e2a4; color: #946200; }
.tl-bar.live { border-right-style: dashed; }
.tl-bar.off { background: repeating-linear-gradient(135deg, #f4f4f6 0 6px, #ececf0 6px 12px); border-color: #e4e4e9; color: var(--muted); }
.tl-bar.off.absent { color: var(--red); }
.tl-none { position: absolute; left: 8px; top: 50%; transform: translateY(-50%); font-size: 12px; color: var(--faint); }
.att-board .tl { margin-bottom: 4px; }

/* ── 프로필 머리(내 인사정보) ── */
.profile { position: relative; margin-bottom: 18px; border: 1px solid var(--border-card); border-radius: var(--radius); background: var(--panel); overflow: hidden; }
.profile-cover { height: 96px; background: linear-gradient(120deg, #ece7ff 0%, #e6f0ff 45%, #e3f6f3 100%); }
.profile-main { display: flex; align-items: flex-start; gap: 18px; padding: 14px 24px 20px; }
.profile-main .avatar { margin-top: -54px; box-shadow: 0 0 0 4px var(--panel); }
.profile-txt h3 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.6px; }
.profile-txt p { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; }
.profile-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
@media (max-width: 899px) {
  .profile-cover { height: 72px; }
  .profile-main { gap: 12px; padding: 10px 16px 16px; }
  .profile-main .avatar.xl { width: 68px; height: 68px; margin-top: -44px; }
  .profile-txt h3 { font-size: 19px; }
}
