/* tasks.css — Task management + Kanban board UI
   All styles use --kat-* CSS variables from the Katalyst theme.
   Classes: .tk-* for task list/detail, .kb-* for kanban board.
*/

/* ── Page wrapper ────────────────────────────────────────────────────── */
.tk-page {
  padding: 0;
  color: var(--kat-text);
}

/* ── Card ────────────────────────────────────────────────────────────── */
.tk-card {
  background: var(--kat-bg-elevated);
  border: 1px solid var(--kat-border);
  border-radius: 14px;
  overflow: hidden;
}

/* ── Buttons ─────────────────────────────────────────────────────────── */
.tk-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--kat-text);
  background: var(--kat-bg-hover);
  border: 1px solid var(--kat-border);
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s, border-color .15s;
  white-space: nowrap;
  text-decoration: none;
}
.tk-btn:hover { background: var(--kat-bg-base); border-color: var(--kat-gold); color: var(--kat-text-strong); }

.tk-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--kat-on-gold, #ffffff);
  background: var(--kat-gold);
  border: 1px solid var(--kat-gold);
  border-radius: 8px;
  cursor: pointer;
  transition: opacity .15s;
  white-space: nowrap;
}
.tk-btn-primary:hover { opacity: .88; }
.tk-btn-primary:disabled { opacity: .55; cursor: not-allowed; }

.tk-btn-danger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: .82rem;
  font-weight: 500;
  color: #dc2626;
  background: rgba(252,165,165,.1);
  border: 1px solid rgba(252,165,165,.3);
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s;
  white-space: nowrap;
}
.tk-btn-danger:hover { background: rgba(252,165,165,.18); }

.tk-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--kat-text-muted);
  background: transparent;
  border: 1px solid var(--kat-border);
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: background .15s, color .15s;
}
.tk-icon-btn:hover { background: var(--kat-bg-hover); color: var(--kat-text-strong); }

/* ── Toolbar ─────────────────────────────────────────────────────────── */
.tk-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--kat-border);
}

.tk-search {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 180px;
  max-width: 320px;
}
.tk-search > i {
  position: absolute;
  left: 10px;
  color: var(--kat-text-muted);
  pointer-events: none;
}
.tk-search > input {
  padding-left: 32px;
  width: 100%;
}

.tk-input {
  background: var(--kat-bg-base);
  border: 1px solid var(--kat-border);
  border-radius: 8px;
  color: var(--kat-text);
  font-size: .82rem;
  padding: 7px 10px;
  outline: none;
  transition: border-color .15s;
}
.tk-input:focus { border-color: var(--kat-gold); }
.tk-input::placeholder { color: var(--kat-text-muted); }

.tk-select {
  background: var(--kat-bg-base);
  border: 1px solid var(--kat-border);
  border-radius: 8px;
  color: var(--kat-text);
  font-size: .82rem;
  padding: 7px 10px;
  outline: none;
  cursor: pointer;
  transition: border-color .15s;
  appearance: auto;
}
.tk-select:focus { border-color: var(--kat-gold); }

/* ── Bulk action bar ─────────────────────────────────────────────────── */
.tk-bulkbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(var(--kat-gold-rgb, 78, 125, 45), .07);
  border-bottom: 1px solid var(--kat-border);
}
.tk-bulkbar__count {
  font-size: .82rem;
  font-weight: 600;
  color: var(--kat-gold);
  margin-right: 4px;
}

/* ── Columns / preset dropdowns ──────────────────────────────────────── */
.tk-cols-wrap,
.tk-presets-wrap {
  position: relative;
}

/* ── Mobile filter button / count badge ──────────────────────────────── */
@media (min-width: 768px) {
  .tk-mobile-filter-btn { display: none !important; }
}
.tk-mobile-filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: var(--kat-gold);
  color: var(--kat-on-gold, #ffffff);
  border-radius: 9px;
  font-size: .7rem;
  font-weight: 700;
}

/* ── Mobile filter bottom sheet ──────────────────────────────────────── */
.tk-filter-sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(var(--kat-shadow-rgb), 0.22);
  z-index: 1040;
  backdrop-filter: blur(2px);
}
.tk-filter-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  background: var(--kat-bg-elevated);
  border-radius: 18px 18px 0 0;
  border-top: 1px solid var(--kat-border);
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  transform: translateY(0);
  transition: transform .25s ease;
}
.tk-filter-sheet[hidden] { display: none; }
.tk-filter-sheet__handle {
  width: 40px;
  height: 4px;
  background: var(--kat-border);
  border-radius: 2px;
  margin: 10px auto 4px;
  flex-shrink: 0;
}
.tk-filter-sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  border-bottom: 1px solid var(--kat-border);
  flex-shrink: 0;
}
.tk-filter-sheet__body {
  overflow-y: auto;
  flex: 1;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tk-filter-sheet__foot {
  display: flex;
  gap: 8px;
  padding: 12px 18px;
  border-top: 1px solid var(--kat-border);
  flex-shrink: 0;
}

/* ── Empty state ─────────────────────────────────────────────────────── */
.tk-empty__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--kat-bg-hover);
  border: 1px solid var(--kat-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--kat-text-muted);
  margin: 0 auto 14px;
}
.tk-empty__title {
  color: var(--kat-text-strong);
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 6px;
}
.tk-empty__msg {
  color: var(--kat-text-muted);
  font-size: .84rem;
  margin: 0 0 16px;
}

/* ── Task table rows (generated by tasks-list.js) ────────────────────── */
.tk-table {
  width: 100%;
  border-collapse: collapse;
}
.tk-table-head th {
  padding: 8px 12px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--kat-text-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  border-bottom: 1px solid var(--kat-border);
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}
.tk-table-head th:hover { color: var(--kat-text-strong); }
.tk-row {
  border-bottom: 1px solid var(--kat-border);
  transition: background .12s;
}
.tk-row:hover { background: var(--kat-bg-hover); }
.tk-cell {
  padding: 10px 12px;
  font-size: .83rem;
  color: var(--kat-text);
  vertical-align: middle;
}
.tk-row-title {
  font-weight: 500;
  color: var(--kat-text-strong);
  cursor: pointer;
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tk-row-title:hover { color: var(--kat-gold); }

/* ── Status / priority badges ────────────────────────────────────────── */
.tk-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .73rem;
  font-weight: 600;
  white-space: nowrap;
}
.tk-status--backlog  { background: rgba(100,116,139,.15); color: #94a3b8; }
.tk-status--todo     { background: rgba(99,102,241,.15);  color: #818cf8; }
.tk-status--in_progress { background: rgba(59,130,246,.15); color: #2563eb; }
.tk-status--in_review   { background: rgba(245,158,11,.15); color: #b45309; }
.tk-status--done     { background: rgba(34,197,94,.15);  color: #15803d; }
.tk-status--archived { background: rgba(100,116,139,.1); color: #64748b; }

.tk-priority {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .73rem;
  font-weight: 600;
  white-space: nowrap;
}
.tk-priority--urgent { color: #dc2626; }
.tk-priority--high   { color: #fb923c; }
.tk-priority--medium { color: #b45309; }
.tk-priority--low    { color: #94a3b8; }

.tk-label-chip {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 12px;
  font-size: .7rem;
  font-weight: 600;
  margin: 1px;
}
.tk-assignee-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--kat-bg-hover);
  border: 1px solid var(--kat-border);
  font-size: .65rem;
  font-weight: 700;
  color: var(--kat-gold);
  text-transform: uppercase;
}

/* ── Kanban Board ─────────────────────────────────────────────────────── */
.kb-board {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 20px;
  align-items: flex-start;
  min-height: 400px;
}
.kb-board::-webkit-scrollbar { height: 6px; }
.kb-board::-webkit-scrollbar-thumb { background: var(--kat-border); border-radius: 3px; }

.kb-col {
  flex: 0 0 280px;
  background: var(--kat-bg-elevated);
  border: 1px solid var(--kat-border);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 200px);
}
.kb-col__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--kat-border);
  flex-shrink: 0;
}
.kb-col__title {
  font-size: .82rem;
  font-weight: 700;
  color: var(--kat-text-strong);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.kb-col__count {
  font-size: .72rem;
  font-weight: 600;
  color: var(--kat-text-muted);
  background: var(--kat-bg-hover);
  border-radius: 10px;
  padding: 2px 8px;
}
.kb-col__body {
  overflow-y: auto;
  flex: 1;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 80px;
}
.kb-col__body::-webkit-scrollbar { width: 4px; }
.kb-col__body::-webkit-scrollbar-thumb { background: var(--kat-border); border-radius: 2px; }

.kb-card {
  background: var(--kat-bg-base);
  border: 1px solid var(--kat-border);
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s, transform .1s;
  user-select: none;
}
.kb-card:hover {
  border-color: var(--kat-gold);
  box-shadow: 0 2px 12px rgba(var(--kat-shadow-rgb), 0.1);
  transform: translateY(-1px);
}
.kb-card.sortable-ghost {
  opacity: .4;
}
.kb-card.sortable-drag {
  opacity: .9;
  box-shadow: 0 8px 24px rgba(var(--kat-shadow-rgb), 0.16);
}
.kb-card__title {
  font-size: .83rem;
  font-weight: 500;
  color: var(--kat-text-strong);
  margin: 0 0 6px;
  line-height: 1.4;
}
.kb-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: .72rem;
  color: var(--kat-text-muted);
}
.kb-card__labels {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-top: 5px;
}

/* ── Pagination ───────────────────────────────────────────────────────── */
.tk-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--kat-border);
  font-size: .8rem;
  color: var(--kat-text-muted);
}
.tk-pager__btns {
  display: flex;
  gap: 4px;
}
.tk-pager__btn {
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--kat-border);
  background: var(--kat-bg-hover);
  color: var(--kat-text);
  font-size: .78rem;
  cursor: pointer;
  transition: background .12s;
}
.tk-pager__btn:hover { background: var(--kat-bg-base); border-color: var(--kat-gold); }
.tk-pager__btn--active { background: var(--kat-gold); color: var(--kat-on-gold, #ffffff); border-color: var(--kat-gold); font-weight: 600; }
.tk-pager__btn:disabled { opacity: .4; cursor: default; }

/* ── Task detail inline content (task-detail.js fills the modal) ──────── */
.tk-detail-wrap {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 0;
  min-height: 400px;
}
@media (max-width: 768px) {
  .tk-detail-wrap { grid-template-columns: 1fr; }
}
.tk-detail-main {
  padding: 20px 24px;
  border-right: 1px solid var(--kat-border);
  overflow-y: auto;
}
.tk-detail-sidebar {
  padding: 20px 18px;
  overflow-y: auto;
}
.tk-detail-title-input {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--kat-text-strong);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  outline: none;
  width: 100%;
  padding: 4px 0;
  margin-bottom: 12px;
  transition: border-color .15s;
}
.tk-detail-title-input:focus { border-bottom-color: var(--kat-gold); }

.tk-detail-section { margin-bottom: 20px; }
.tk-detail-section__title {
  font-size: .72rem;
  font-weight: 700;
  color: var(--kat-text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 8px;
}

.tk-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--kat-border);
  font-size: .82rem;
}
.tk-meta-row:last-child { border-bottom: none; }
.tk-meta-row__label {
  width: 90px;
  flex-shrink: 0;
  color: var(--kat-text-muted);
  font-size: .78rem;
}

/* ── Checklist ────────────────────────────────────────────────────────── */
.tk-checklist-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid var(--kat-border);
  font-size: .83rem;
}
.tk-checklist-item:last-child { border-bottom: none; }
.tk-checklist-item--done .tk-checklist-item__text {
  text-decoration: line-through;
  color: var(--kat-text-muted);
}
.tk-checklist-progress {
  height: 4px;
  background: var(--kat-bg-hover);
  border-radius: 2px;
  overflow: hidden;
  margin: 6px 0 10px;
}
.tk-checklist-progress__fill {
  height: 100%;
  background: var(--kat-gold);
  border-radius: 2px;
  transition: width .3s;
}

/* ── Comment thread ───────────────────────────────────────────────────── */
.tk-comment {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--kat-border);
}
.tk-comment:last-child { border-bottom: none; }
.tk-comment__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--kat-bg-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  color: var(--kat-gold);
  flex-shrink: 0;
  text-transform: uppercase;
}
.tk-comment__body { flex: 1; min-width: 0; }
.tk-comment__meta { font-size: .72rem; color: var(--kat-text-muted); margin-bottom: 3px; }
.tk-comment__text { font-size: .83rem; color: var(--kat-text); line-height: 1.5; }

/* ── Mention input dropdown ───────────────────────────────────────────── */
.tk-mention-dropdown {
  position: absolute;
  z-index: 9999;
  background: var(--kat-bg-elevated);
  border: 1px solid var(--kat-border);
  border-radius: 10px;
  padding: 4px;
  min-width: 200px;
  max-height: 220px;
  overflow-y: auto;
  box-shadow: 0 8px 24px rgba(var(--kat-shadow-rgb), 0.16);
}
.tk-mention-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: .82rem;
  color: var(--kat-text);
}
.tk-mention-item:hover,
.tk-mention-item.active { background: var(--kat-bg-hover); }

/* ── Toast notification (task-toasts.js) ─────────────────────────────── */
.tk-toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9990;
  display: flex;
  flex-direction: column-reverse;
  gap: 8px;
  pointer-events: none;
}
.tk-toast {
  background: var(--kat-bg-elevated);
  border: 1px solid var(--kat-border);
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .83rem;
  color: var(--kat-text);
  box-shadow: 0 4px 20px rgba(var(--kat-shadow-rgb), 0.14);
  pointer-events: auto;
  max-width: 320px;
  animation: tkToastIn .2s ease;
}
.tk-toast--success { border-color: rgba(74,222,128,.3); }
.tk-toast--error   { border-color: rgba(248,113,113,.3); }
.tk-toast--warning { border-color: rgba(251,191,36,.3); }
.tk-toast__icon { font-size: 1.1rem; }
.tk-toast--success .tk-toast__icon { color: #15803d; }
.tk-toast--error   .tk-toast__icon { color: #dc2626; }
.tk-toast--warning .tk-toast__icon { color: #b45309; }
.tk-toast--info    .tk-toast__icon { color: #2563eb; }
@keyframes tkToastIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Calendar (views/calendar.ejs + assets/js/calendar.js) ─────────────── */
.cal-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-bottom: 14px; }
.cal-nav { display: flex; align-items: center; gap: 6px; }
.cal-nav__btn { padding: 6px 10px; }
.cal-monthlabel { margin: 0 0 0 8px; font-size: 1rem; font-weight: 600; color: var(--kat-text-strong); min-width: 140px; }
.cal-view-switch { display: inline-flex; border: 1px solid var(--kat-border); border-radius: 10px; overflow: hidden; }
.cal-view-btn { background: transparent; border: 0; color: var(--kat-text-muted); padding: 6px 12px; font-size: .8rem; }
.cal-view-btn.is-active { background: var(--kat-bg-hover); color: var(--kat-gold); }
.cal-view-btn:disabled { opacity: .5; cursor: not-allowed; }
.cal-filter-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.cal-pill { background: transparent; border: 1px solid var(--kat-border); color: var(--kat-text-muted); border-radius: 999px; padding: 5px 12px; font-size: .78rem; cursor: pointer; }
.cal-pill.is-active, .cal-pill:hover { border-color: var(--kat-gold); color: var(--kat-gold); }
.cal-colorby { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.cal-colorby__label { font-size: .75rem; color: var(--kat-text-muted); margin: 0; }
.cal-colorby__select { min-width: 120px; }
.cal-overdue { border: 1px solid rgba(248, 113, 113, .35); border-radius: 10px; margin-bottom: 12px; overflow: hidden; }
.cal-overdue__head { width: 100%; display: flex; align-items: center; gap: 8px; background: rgba(248, 113, 113, .08); border: 0; color: #dc2626; padding: 8px 12px; font-size: .82rem; font-weight: 600; text-align: left; }
.cal-overdue__count { background: rgba(248, 113, 113, .2); border-radius: 999px; padding: 0 8px; font-size: .72rem; }
.cal-overdue__chev { margin-left: auto; transition: transform .15s; }
.cal-overdue__head[aria-expanded="false"] .cal-overdue__chev { transform: rotate(180deg); }
.cal-overdue__body { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px; }
.cal-overdue__body .cal-chip { width: auto; max-width: 260px; }
.cal-dow { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-bottom: 1px solid var(--kat-border); }
.cal-dow > div { padding: 8px; text-align: center; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--kat-text-muted); }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal-cell { min-height: 104px; padding: 6px; border-right: 1px solid var(--kat-border); border-bottom: 1px solid var(--kat-border); cursor: pointer; min-width: 0; transition: background .12s; }
.cal-cell:nth-child(7n) { border-right: 0; }
.cal-cell:hover { background: var(--kat-bg-hover); }
.cal-cell--pad { background: rgba(var(--kat-shadow-rgb), .15); cursor: default; }
.cal-cell--pad:hover { background: rgba(var(--kat-shadow-rgb), .15); }
.cal-cell--drop { background: rgba(var(--kat-gold-rgb, 78, 125, 45), .12); outline: 1px dashed var(--kat-gold); outline-offset: -3px; }
.cal-cell__day { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 600; color: var(--kat-text-muted); margin-bottom: 4px; }
.cal-cell--today .cal-cell__day { background: var(--kat-gold); color: var(--kat-on-gold, #ffffff); }
.cal-cell__tasks { display: flex; flex-direction: column; gap: 3px; }
.cal-chip { --cal-chip: #94a3b8; display: block; width: 100%; text-align: left; background: color-mix(in srgb, var(--cal-chip) 16%, transparent); border: 0; border-left: 3px solid var(--cal-chip); border-radius: 4px; color: var(--kat-text); font-size: .72rem; padding: 2px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.cal-chip[draggable="true"] { cursor: grab; }
.cal-chip--done { opacity: .6; text-decoration: line-through; }
.cal-chip--dragging { opacity: .4; }
.cal-more { background: none; border: 0; color: var(--kat-text-muted); font-size: .68rem; padding: 0 4px; text-align: left; cursor: pointer; }
.cal-mobile__day { padding: 10px 4px; border-bottom: 1px solid var(--kat-border); display: flex; flex-direction: column; gap: 4px; }
.cal-mobile__date { font-size: .78rem; font-weight: 600; color: var(--kat-gold); }
.cal-empty, .cal-error { color: var(--kat-text-muted); font-size: .85rem; padding: 24px; text-align: center; grid-column: 1 / -1; }
.cal-error { color: #dc2626; }
@media (max-width: 767.98px) {
  .cal-colorby { margin-left: 0; }
  .cal-cell { min-height: 80px; padding: 4px; }
}

/* ── Toolbar dropdowns (Columns / Presets in tasks-list.js) ──────────── */
.tk-dd-menu { position: absolute; top: calc(100% + 6px); right: 0; z-index: 1030; min-width: 200px; background: var(--kat-bg-elevated); border: 1px solid var(--kat-border); border-radius: 10px; padding: 6px; box-shadow: 0 10px 30px rgba(var(--kat-shadow-rgb), 0.18); }
.tk-dd-item { display: flex; align-items: center; gap: 8px; padding: 6px 8px; font-size: .8rem; color: var(--kat-text); border-radius: 6px; margin: 0; cursor: pointer; }
.tk-dd-item:hover { background: var(--kat-bg-hover); }
.tk-dd-link { background: none; border: 0; color: inherit; padding: 0; text-align: left; cursor: pointer; font-size: .8rem; }
.tk-dd-link:hover { color: var(--kat-gold); }

/* Pending assignment banner (accept / decline) */
.tk-respond { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 14px; margin-bottom: 14px; border-radius: 12px; border: 1px solid rgba(var(--kat-brand-rgb), .45); background: rgba(var(--kat-brand-rgb), .12); }
.tk-respond__text { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--kat-text); }
.tk-respond__text i { font-size: 1.3rem; color: var(--kat-gold); line-height: 1; }
.tk-respond__text b { color: var(--kat-text-strong); }
.tk-respond__actions { display: flex; gap: 8px; }
.tk-respond--muted { border-color: var(--kat-border); background: rgba(var(--kat-ink-rgb), .04); }
.tk-respond--muted .tk-respond__text i { color: var(--kat-text-muted); }
