/* 업무지시(tasks.js) — 웹은 관제 무대(어두운 패널), 휴대폰은 mobile.css 의 밝은 카드 */
.m-tabs { grid-template-columns: repeat(5, 1fr); }
.tk-st { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700; }
.tk-st::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 6px var(--c); }

/* 업무 카드(웹) */
.tk-card { display: block; padding: 8px 10px; margin-bottom: 7px; cursor: pointer; border-left: 3px solid var(--c);
  background: linear-gradient(90deg, color-mix(in srgb, var(--c) 16%, transparent), rgba(10, 34, 66, .5)); border-radius: 0; }
.tk-card:hover { outline: 1px solid color-mix(in srgb, var(--c) 70%, transparent); }
.tk-card.late { border-left-color: #ff4d6a; box-shadow: inset 0 0 0 1px rgba(255, 77, 106, .45); }
.tk-card.urgent .tk-c-h b::after { content: "긴급"; margin-left: 6px; padding: 0 5px; font-size: 10.5px; color: #fff; background: #ff4d6a; border-radius: 3px; vertical-align: 1px; }
.tk-card.drag { opacity: .4; }
.tk-c-h { display: flex; gap: 7px; align-items: baseline; } .tk-c-h b { font-size: 13.5px; color: #fff; line-height: 1.35; }
.tk-kind { flex: none; width: 18px; text-align: center; color: var(--c); font-weight: 700; }
.tk-c-f { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 3px; padding-left: 25px; font-size: 11.5px; color: #8fb4d8; }
.tk-c-f em { font-style: normal; color: #ff8a9c; font-weight: 700; }

/* 오늘 업무판(칸반) */
.tk-board .glg-bar input[type=date], .tk-week .glg-bar select { height: 36px; padding: 0 10px; font: inherit; color: #e6f2ff; background: rgba(4, 16, 34, .85); border: 1px solid rgba(70, 200, 255, .35); border-radius: 3px; }
.tk-cols { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tk-col { display: flex; flex-direction: column; min-height: 0; background: rgba(4, 16, 34, .45); border: 1px solid rgba(70, 180, 255, .18); }
.tk-col h4 { margin: 0; display: flex; align-items: baseline; gap: 8px; padding: 9px 12px; font-size: 15px; color: #fff; border-bottom: 1px solid rgba(70, 180, 255, .2); background: rgba(40, 140, 230, .14); }
.tk-col h4 small { font-size: 11.5px; color: #7f9cbc; font-weight: 500; } .tk-col h4 b { margin-left: auto; font-family: var(--num); font-size: 20px; color: #8be9ff; }
.tk-list { flex: 1; min-height: 0; overflow-y: auto; padding: 10px; }

/* 주간 계획표 */
.tk-wt { width: 100%; border-collapse: collapse; table-layout: fixed; }
.tk-wt th, .tk-wt td { border: 1px solid rgba(70, 180, 255, .14); vertical-align: top; }
.tk-wt thead th { position: sticky; top: 0; z-index: 2; padding: 8px; font-size: 13px; color: #b6d2ee; background: #0d2a52; font-weight: 600; }
.tk-wt thead th.today { color: #fff; background: #1b5aa0; } .tk-wt thead th.we { color: #ff9aab; }
.tk-wt th.who { width: 130px; text-align: left; padding: 8px 10px; font-size: 13.5px; color: #fff; background: rgba(10, 34, 66, .85); position: sticky; left: 0; z-index: 1; }
.tk-wt thead th.who { z-index: 3; }
.tk-wt th.who { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-wt th.who small { display: block !important; margin: 1px 0 0 !important; font-size: 11px; color: #7f9cbc; font-weight: 500; overflow: hidden; text-overflow: ellipsis; }
.tk-wt td { padding: 5px; height: 58px; }
.tk-wt td.today { background: rgba(40, 140, 230, .08); }
.tk-wt td.over { background: rgba(70, 227, 255, .18); outline: 1px dashed #46e3ff; outline-offset: -2px; }
.tk-wt .tk-card { padding: 5px 7px; margin-bottom: 4px; } .tk-wt .tk-c-h b { font-size: 12.5px; } .tk-wt .tk-c-f { padding-left: 0; font-size: 11px; }
.tk-wt .tk-kind { display: none; }

/* 반복 업무 */
.hq .ge tr.off td { opacity: .5; }

/* 업무 상세·만들기(모달, 웹·휴대폰 공통 — 앱 테마 색) */
.tk-de-h { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.tk-pre { white-space: pre-wrap; margin-top: 4px; color: var(--ink-2); font-size: 13px; }
.tk-ph { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
.tk-ph img { width: 96px; height: 96px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.tk-tl { list-style: none; margin: 10px 0; padding: 0 0 0 14px; border-left: 2px solid var(--line-2); }
.tk-tl li { position: relative; padding: 2px 0 8px 8px; font-size: 13px; }
.tk-tl li::before { content: ""; position: absolute; left: -21px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.tk-tl li b { margin-right: 6px; } .tk-tl li span { color: var(--ink-3); font-size: 12px; } .tk-tl li p { margin: 2px 0 0; color: var(--ink-2); }
.tk-note { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--ink-2); margin-top: 6px; }
.tk-note textarea { width: 100%; font: inherit; font-size: 14px; }
.tk-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.tk-who > span { display: block; font-size: 12px; color: var(--ink-2); margin-bottom: 6px; }
.tk-team { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; padding: 6px 0; border-top: 1px dashed var(--line); }
.tk-team b { width: 72px; font-size: 12.5px; color: var(--ink-2); }
.tk-team label { display: inline-flex; flex-direction: row; align-items: center; gap: 5px; font-size: 13.5px; color: var(--ink); }
.tk-team label input { width: auto; } .tk-team small { color: var(--ink-3); font-size: 11px; }
.tk-days { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: 12px; color: var(--ink-2); }
.tk-days label { display: inline-flex; flex-direction: row; gap: 4px; align-items: center; font-size: 14px; color: var(--ink); } .tk-days input { width: auto; }

/* 휴대폰 */
.tk-m { border-left-color: var(--c) !important; }
.m-h { margin: 16px 2px 8px; font-size: 15px; color: var(--ink-2); }
.m-sec .tk-acts .btn { flex: 1 1 45%; padding: 12px; font-size: 15px; justify-content: center; text-align: center; }
.m-back { display: block; margin-top: 12px; text-align: center; padding: 12px; }
