/* Meridiam tasks styles — extracted from index.html (build 783) */

  html[data-theme="light"] .tk-sidebar { background: var(--bg-elevated); border-color: var(--border); }

  html[data-theme="light"] .tk-sidebar-search input { background: var(--bg-surface); border-color: var(--border); color: var(--text-primary); }

  html[data-theme="light"] .tk-tree-item { color: var(--text-secondary); }

  html[data-theme="light"] .tk-tree-item:hover { background: var(--bg-surface); }

  html[data-theme="light"] .tk-tree-item.active { background: #dbeafe; color: #2563eb; }

  html[data-theme="light"] .tk-tree-item-count { background: var(--bg-surface); color: var(--text-muted); }

  html[data-theme="light"] .tk-tree-all { color: var(--text-secondary); }

  html[data-theme="light"] .tk-tree-all:hover { background: var(--bg-surface); }

  html[data-theme="light"] .tk-tree-all.active { background: #dbeafe; color: #2563eb; }

  html[data-theme="light"] .tk-tree-act-btn { color: var(--text-muted); }

  html[data-theme="light"] .tk-tree-act-btn:hover { background: var(--bg-surface); color: var(--text-primary); }

  html[data-theme="light"] .tk-sidebar-toggle { border-color: var(--border); color: var(--text-secondary); }

  html[data-theme="light"] .tk-list-view { background: var(--bg-surface); border-color: var(--border); }

  html[data-theme="light"] .tk-list-progress { background: var(--bg-elevated); border-color: var(--border); }

  html[data-theme="light"] .tk-list-progress-bar { background: #e2e8f0; }

  html[data-theme="light"] .tk-list-progress-text { color: var(--text-secondary); }

  html[data-theme="light"] .tk-list-cell-muted { color: var(--text-secondary) !important; }

  html[data-theme="light"] .tk-list-assignee-av { background: #dbeafe !important; color: #1e40af !important; }

  html[data-theme="light"] .tk-cal-nav { background: var(--bg-surface); border-color: var(--border); color: var(--text-secondary); }

  html[data-theme="light"] .tk-cal-label { color: var(--text-primary); }

  html[data-theme="light"] .tk-column { background: var(--bg-elevated); border-color: var(--border); }

  html[data-theme="light"] .tk-col-header { color: var(--text-primary); border-color: var(--border); }

  html[data-theme="light"] .tk-col-count { background: var(--bg-surface); color: var(--text-secondary); }

  html[data-theme="light"] .tk-card { background: var(--bg-surface); border-color: var(--border); }

  html[data-theme="light"] .tk-card:hover { background: var(--bg-elevated); }

  html[data-theme="light"] .tk-card-menu-btn { color: var(--text-muted); }

  html[data-theme="light"] .tk-card-ctx { background: var(--bg-surface); border-color: var(--border); }

  html[data-theme="light"] .tk-card-ctx-item { color: var(--text-primary); }

  html[data-theme="light"] .tk-card-ctx-item:hover { background: var(--bg-elevated); }

  html[data-theme="light"] .tk-card-ctx-sep { border-color: var(--border); }

  html[data-theme="light"] .tk-card-bottom { border-color: var(--border); }

  html[data-theme="light"] .tk-card-bottom-icon { color: var(--text-muted); }

  html[data-theme="light"] .tk-card-bottom-icon:hover { background: #e2e8f0; color: #1e293b; }

  html[data-theme="light"] .tk-card-del { color: var(--text-muted); }

  html[data-theme="light"] .tk-card-del:hover { background: #e2e8f0; color: #ef4444; }

  html[data-theme="light"] .tk-card-indicators { color: var(--text-secondary); }

  html[data-theme="light"] .tk-col-action-btn { color: var(--text-muted); }

  html[data-theme="light"] .tk-col-action-btn:hover { background: var(--bg-elevated); color: var(--text-primary); }

  html[data-theme="light"] .tk-add-btn { background: var(--bg-surface); border-color: var(--border); color: var(--text-secondary); }

  html[data-theme="light"] .tk-list-row { background: var(--bg-surface); border-color: var(--border); }

  html[data-theme="light"] .tk-list-row:hover { background: var(--bg-elevated); }

  html[data-theme="light"] .tk-list-header { background: var(--bg-elevated); color: var(--text-secondary); border-color: var(--border); }

  html[data-theme="light"] .tk-list-group-header { background: var(--bg-elevated); border-color: var(--border); }

  html[data-theme="light"] .tk-list-add { color: var(--text-muted); }

  html[data-theme="light"] .tk-bulk-bar { background: #ede9fe; border-color: #8b5cf6; }

  html[data-theme="light"] .tk-bulk-selected-count { color: #5b21b6; }

  html[data-theme="light"] .tk-bulk-selected-close { color: #7c3aed; }

  html[data-theme="light"] .tk-bulk-btn { color: #6d28d9; }

  html[data-theme="light"] .tk-bulk-btn:hover { background: #ddd6fe; color: #4c1d95; }

  html[data-theme="light"] .tk-bulk-btn.danger { color: #dc2626; }

  html[data-theme="light"] .tk-bulk-sep { background: #c4b5fd; }

  html[data-theme="light"] .tk-bulk-popup { background: var(--bg-surface); border-color: var(--border); }

  html[data-theme="light"] .tk-bulk-popup-item { color: var(--text-primary); }

  html[data-theme="light"] .tk-bulk-popup-item:hover { background: var(--bg-elevated); }

  html[data-theme="light"] .tk-row-action { color: var(--text-muted); }

  html[data-theme="light"] .tk-row-action:hover { background: #e2e8f0; color: #1e293b; border-color: #cbd5e1; }

  html[data-theme="light"] .tk-cal-day { background: var(--bg-surface); border-color: var(--border); }

  html[data-theme="light"] .tk-stat-card { background: var(--bg-surface); border-color: var(--border); }

  html[data-theme="light"] .tk-swimlane-header { background: var(--bg-elevated); border-color: var(--border); color: var(--text-primary); }

  html[data-theme="light"] .tk-activity-item { border-color: var(--border); }

  html[data-theme="light"] .tk-template-item { background: var(--bg-surface); border-color: var(--border); }

  html[data-theme="light"] .tk-subtask-track { background: #e2e8f0; }

  html[data-theme="light"] .tk-icon-toolbar { background: var(--bg-surface); border-color: var(--border); }

  html[data-theme="light"] .tk-toolbar-icon { color: var(--text-muted); }

  html[data-theme="light"] .tk-toolbar-icon:hover { background: var(--bg-elevated); color: var(--text-primary); }

  html[data-theme="light"] .tk-toolbar-popup { background: var(--bg-surface); border-color: var(--border); }

  html[data-theme="light"] .tk-toolbar-popup-item { color: var(--text-primary); }

  html[data-theme="light"] .tk-toolbar-popup-item:hover { background: var(--bg-elevated); }

  html[data-theme="light"] .tk-assignee-popup { background: var(--bg-surface); border-color: var(--border); }

  html[data-theme="light"] .tk-assignee-popup-search { background: var(--bg-elevated); border-color: var(--border); color: var(--text-primary); }

  html[data-theme="light"] .tk-assignee-popup-row:hover { background: var(--bg-elevated); }

  html[data-theme="light"] .tk-assignee-popup-name { color: var(--text-primary); }

  html[data-theme="light"] .tk-assignee-popup-cb { border-color: var(--border); }

  html[data-theme="light"] .tk-filter-panel { background: var(--bg-surface); border-color: var(--border); }

  html[data-theme="light"] .tk-filter-panel-title { color: var(--text-primary); }

  html[data-theme="light"] .tk-filter-row-field { color: var(--text-primary); }

  html[data-theme="light"] .tk-filter-row-value select, html[data-theme="light"] .tk-filter-row-value input { background: var(--bg-elevated); border-color: var(--border); color: var(--text-primary); }

  html[data-theme="light"] .tk-filter-select { background: var(--bg-surface); border-color: var(--border); }

  html[data-theme="light"] .tk-filter-select-item { color: var(--text-primary); }

  html[data-theme="light"] .tk-filter-select-item:hover { background: var(--bg-elevated); }

  html[data-theme="light"] .tk-filter-select-search { background: var(--bg-elevated); border-color: var(--border); color: var(--text-primary); }

  html[data-theme="light"] .tk-filter-btn { border-color: var(--border); color: var(--text-secondary); }

  html[data-theme="light"] .tk-filter-btn:hover { border-color: var(--text-muted); color: var(--text-primary); }

  html[data-theme="light"] .tk-status-picker { background: var(--bg-surface); border-color: var(--border); }

  html[data-theme="light"] .tk-status-picker-tab { color: var(--text-muted); }

  html[data-theme="light"] .tk-status-picker-tab.active { color: var(--text-primary); }

  html[data-theme="light"] .tk-status-picker-search { background: var(--bg-elevated); border-color: var(--border); color: var(--text-primary); }

  html[data-theme="light"] .tk-status-picker-item { color: var(--text-primary); }

  html[data-theme="light"] .tk-status-picker-item:hover { background: var(--bg-elevated); }

  html[data-theme="light"] .tk-fields-popup { background: var(--bg-surface); border-color: var(--border); }

  html[data-theme="light"] .tk-fields-popup-title { color: var(--text-primary); }

  html[data-theme="light"] .tk-fields-popup-search { background: var(--bg-elevated); border-color: var(--border); color: var(--text-primary); }

  html[data-theme="light"] .tk-fields-popup-tab { color: var(--text-muted); }

  html[data-theme="light"] .tk-fields-popup-tab.active { color: var(--text-primary); }

  html[data-theme="light"] .tk-fields-popup-item { color: var(--text-primary); }

  html[data-theme="light"] .tk-fields-popup-item:hover { background: var(--bg-elevated); }

  html[data-theme="light"] .tk-add-col-btn { color: var(--text-muted); }

  html[data-theme="light"] .tk-add-col-btn:hover { background: var(--bg-elevated); color: var(--text-primary); }

  html[data-theme="light"] .tk-ie-btn { border-color: var(--border); color: var(--text-secondary); }

  html[data-theme="light"] .tk-ie-btn:hover { border-color: var(--accent); color: var(--accent-text); }

  html[data-theme="light"] .tk-checklist-tpl-btn { background: var(--bg-surface); border-color: var(--border); color: var(--text-secondary); }

  html[data-theme="light"] .tk-checklist-tpl-btn:hover { border-color: var(--accent); color: var(--accent-text); }

  html[data-theme="light"] .tk-star { color: var(--border); }

  html[data-theme="light"] .tk-star:hover { color: #f59e0b; }

  html[data-theme="light"] .tk-star.starred { color: #f59e0b; }

  html[data-theme="light"] .tk-inline-edit { background: var(--bg-surface); border-color: var(--accent); color: var(--text-primary); }

  html[data-theme="light"] .tk-workload-bar-wrap { background: var(--bg-surface); }

  html[data-theme="light"] .tk-workload-row { border-color: var(--border); }

  html[data-theme="light"] .tk-dup-warn { background: #f59e0b10; border-color: #f59e0b30; }

  html[data-theme="light"] .tk-kbd-hint { background: #fff; border-color: var(--border); color: var(--text-secondary); }

  html[data-theme="light"] .tk-kbd-hint kbd { background: var(--bg-surface); border-color: var(--border); color: var(--text-primary); }

  html[data-theme="light"] #tkEmptyActivity { color: #64748b !important; }

  html[data-theme="light"] #tkEmptyActivity div { color: #475569 !important; }

  html[data-theme="light"] #tkActivityEmpty { color: #64748b !important; }

  html[data-theme="light"] #tkActivityEmpty span { color: #475569 !important; }

  html[data-theme="light"] #tkDeleteBtn { color: #94a3b8 !important; }

  html[data-theme="light"] #tkSaveTemplateBtn { color: #94a3b8 !important; }

  html[data-theme="light"] .tk-card-title { color: var(--text-primary); }

  html[data-theme="light"] .tk-cal-task { color: var(--text-primary); }

  html[data-theme="light"] .tk-stat-num { color: var(--text-primary); }

  html[data-theme="light"] .tk-list-assignee-av { border-color: var(--bg-surface); }

  html[data-theme="light"] .tk-tpl-btn { background: var(--bg-elevated) !important; border-color: var(--border) !important; color: var(--text-secondary) !important; }

  html[data-theme="light"] .tk-view-switcher { border-color: var(--border); }

  html[data-theme="light"] .tk-view-btn { background: var(--bg-surface); color: var(--text-secondary); }

  html[data-theme="light"] .tk-view-btn + .tk-view-btn { border-left-color: var(--border); }

  html[data-theme="light"] .tk-view-btn.active { background: #dbeafe; color: #2563eb; }

  html[data-theme="light"] .tk-watcher-dot { background: var(--bg-elevated); }

  .tk-sidebar { width:240px; min-width:240px; background:#0d1526; border-right:1px solid #1e293b; display:flex; flex-direction:column; overflow:hidden; transition:width 0.2s, min-width 0.2s; position:relative; }

  .tk-sidebar.collapsed { width:0; min-width:0; border-right:none; overflow:hidden; }

  .tk-sidebar-head { display:flex; align-items:center; justify-content:space-between; padding:14px 16px 10px; }

  .tk-sidebar-title { font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:0.05em; color:#64748b; }

  .tk-sidebar-add { background:none; border:1px solid #334155; color:#64748b; width:22px; height:22px; border-radius:4px; cursor:pointer; font-size:14px; display:flex; align-items:center; justify-content:center; transition:all 0.15s; }

  .tk-sidebar-add:hover { border-color:#3b82f6; color:#60a5fa; }

  .tk-sidebar-search { padding:0 12px 8px; }

  .tk-sidebar-search input { width:100%; padding:5px 8px; font-size:11px; background:#0f172a; border:1px solid #1e293b; border-radius:5px; color:#e2e8f0; outline:none; font-family:inherit; box-sizing:border-box; }

  .tk-sidebar-search input:focus { border-color:#3b82f6; }

  .tk-sidebar-tree { flex:1; overflow-y:auto; padding:4px 0; }

  .tk-tree-item { padding:6px 12px 6px 16px; display:flex; align-items:center; gap:8px; cursor:pointer; font-size:12px; color:#94a3b8; border-radius:4px; margin:1px 8px; transition:background 0.1s; white-space:nowrap; }

  .tk-tree-item:hover { background:#1e293b; }

  .tk-tree-item.active { background:#1e3a5f; color:#60a5fa; }

  .tk-tree-item-dot { width:8px; height:8px; border-radius:50%; flex-shrink:0; }

  .tk-tree-item-name { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; }

  .tk-tree-item-count { font-size:10px; color:#475569; background:#1e293b; padding:1px 6px; border-radius:9999px; flex-shrink:0; margin-left:auto; }

  .tk-tree-folder { padding:8px 12px 4px 10px; margin:1px 8px; font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:0.05em; color:#475569; cursor:pointer; display:flex; align-items:center; gap:6px; user-select:none; white-space:nowrap; overflow:hidden; }

  .tk-tree-folder:hover { color:#64748b; }

  .tk-tree-folder-chevron { font-size:8px; transition:transform 0.15s; flex-shrink:0; }

  .tk-tree-folder-chevron.collapsed { transform:rotate(-90deg); }

  /* Build 970 (#142) — always render the action buttons, but at 0 opacity
     so they're invisible until the user hovers. Previous display:none →
     display:flex transition meant the buttons appeared at the moment the
     count vanished, racing the user's click and sometimes catching the
     parent .tk-tree-item's onclick instead. Opacity transition keeps the
     hit target stable so a click never falls through. Also gives touch
     users a way to access the actions (tap the row, then the + button). */
  .tk-tree-item-actions { display:flex; align-items:center; gap:2px; margin-left:auto; flex-shrink:0; opacity: 0; pointer-events: none; transition: opacity 0.12s; }

  .tk-tree-item:hover .tk-tree-item-actions, .tk-tree-folder:hover .tk-tree-folder-actions, .tk-tree-item.active .tk-tree-item-actions { opacity: 1; pointer-events: auto; }

  .tk-tree-folder-actions { display: flex; opacity: 0; pointer-events: none; transition: opacity 0.12s; }

  .tk-tree-item:hover .tk-tree-item-count, .tk-tree-folder:hover .tk-tree-folder-count-wrap { display:none; }

  /* Build 970 (#142): merged into .tk-tree-folder-actions opacity rule above. */
  .tk-tree-folder-actions { align-items:center; gap:2px; margin-left:auto; flex-shrink:0; }

  .tk-tree-folder-count-wrap { margin-left:auto; flex-shrink:0; }

  .tk-tree-act-btn { background:none; border:none; color:#64748b; cursor:pointer; padding:2px 4px; border-radius:4px; font-size:11px; line-height:1; display:flex; align-items:center; justify-content:center; transition:all 0.1s; }

  .tk-tree-act-btn:hover { background:#334155; color:#e2e8f0; }

  .tk-proj-ctx { position:fixed; background:#0f172a; border:1px solid #1e293b; border-radius:8px; box-shadow:0 8px 24px rgba(0,0,0,.5); min-width:180px; z-index:500; padding:4px 0; font-size:12px; }

  .tk-proj-ctx-item { padding:7px 14px; color:#e2e8f0; cursor:pointer; display:flex; align-items:center; gap:8px; transition:background 0.1s; }

  .tk-proj-ctx-item:hover { background:#1e293b; }

  .tk-proj-ctx-item.danger { color:#ef4444; }

  .tk-proj-ctx-item.danger:hover { background:rgba(239,68,68,0.1); }

  .tk-proj-ctx-sep { height:1px; background:#1e293b; margin:4px 0; }

  .tk-proj-ctx-colors { display:flex; gap:4px; padding:6px 14px; flex-wrap:wrap; }

  .tk-proj-ctx-color { width:18px; height:18px; border-radius:50%; cursor:pointer; border:2px solid transparent; transition:all 0.1s; }

  .tk-proj-ctx-color:hover { transform:scale(1.2); }

  .tk-proj-ctx-color.active { border-color:#fff; }

  html[data-theme="light"] .tk-proj-ctx { background:#fff; border-color:#e2e8f0; box-shadow:0 8px 24px rgba(0,0,0,.15); }

  html[data-theme="light"] .tk-proj-ctx-item { color:#1e293b; }

  html[data-theme="light"] .tk-proj-ctx-item:hover { background:#f1f5f9; }

  html[data-theme="light"] .tk-proj-ctx-sep { background:#e2e8f0; }

  .tk-tree-all { padding:8px 12px 8px 16px; display:flex; align-items:center; gap:8px; cursor:pointer; font-size:12px; font-weight:600; color:#94a3b8; border-radius:4px; margin:4px 8px; transition:background 0.1s; }

  .tk-tree-all:hover { background:#1e293b; }

  .tk-tree-all.active { background:#1e3a5f; color:#60a5fa; }

  .tk-main-content { flex:1; overflow-y:auto; padding:20px 24px; min-width:0; }

  .tk-sidebar-toggle { background:none; border:1px solid #334155; color:#64748b; padding:5px 7px; border-radius:5px; cursor:pointer; display:flex; align-items:center; transition:all 0.15s; }

  .tk-sidebar-toggle:hover { border-color:#475569; color:#94a3b8; }

  .tk-filter-btn { display: flex; align-items: center; gap: 5px; padding: 6px 12px; font-size: 12px; font-weight: 600; background: none; border: 1px solid #334155; color: #94a3b8; border-radius: 6px; cursor: pointer; font-family: inherit; transition: all 0.12s; }

  .tk-filter-btn:hover { border-color: #475569; color: #e2e8f0; }

  .tk-filter-btn.active { border-color: #7c3aed; color: #a78bfa; background: #7c3aed15; }

  .tk-filter-count { background: #7c3aed; color: #fff; font-size: 10px; font-weight: 700; padding: 0 5px; border-radius: 9999px; min-width: 16px; text-align: center; line-height: 16px; }

  .tk-filter-panel { position: absolute; top: 100%; left: 0; margin-top: 6px; background: #0f172a; border: 1px solid #1e293b; border-radius: 10px; box-shadow: 0 12px 36px rgba(0,0,0,.5); min-width: 520px; z-index: 200; }

  .tk-filter-panel-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid #1e293b; }

  .tk-filter-panel-title { font-size: 14px; font-weight: 700; color: #f1f5f9; }

  .tk-filter-save-btn { background: none; border: 1px solid #334155; color: #94a3b8; padding: 4px 10px; border-radius: 5px; font-size: 11px; cursor: pointer; font-family: inherit; }

  .tk-filter-save-btn:hover { border-color: #475569; color: #e2e8f0; }

  .tk-filter-saved-btn { background: none; border: 1px solid #334155; color: #94a3b8; padding: 4px 10px; border-radius: 5px; font-size: 11px; cursor: pointer; font-family: inherit; }

  .tk-filter-saved-btn:hover { border-color: #475569; color: #e2e8f0; }

  .tk-active-filters { padding: 0 16px; }

  .tk-filter-row { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid #1e293b20; }

  .tk-filter-row-field { font-size: 12px; font-weight: 600; color: #e2e8f0; min-width: 80px; display: flex; align-items: center; gap: 6px; }

  .tk-filter-row-field svg { width: 14px; height: 14px; color: #64748b; }

  .tk-filter-row-op { font-size: 11px; color: #64748b; padding: 3px 8px; background: #1e293b; border-radius: 4px; cursor: pointer; border: 1px solid #334155; }

  .tk-filter-row-value { flex: 1; }

  /* Tickets: without appearance:none the native macOS Chrome dark-mode
     <select> rendering draws a crosshatched triangle pattern over the value
     which obscured the text. Draw our own chevron so the background stays
     flat. */
  .tk-filter-row-value select, .tk-filter-row-value input { padding: 4px 28px 4px 8px; font-size: 12px; background-color: #1e293b; border: 1px solid #334155; color: #e2e8f0; border-radius: 4px; font-family: inherit; width: 100%; -webkit-appearance: none; appearance: none; }
  .tk-filter-row-value select { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='1 1 5 5 9 1'/></svg>") !important; background-repeat: no-repeat !important; background-position: right 10px center !important; }

  .tk-filter-row-remove { background: none; border: none; color: #64748b; cursor: pointer; padding: 4px; border-radius: 4px; font-size: 14px; line-height: 1; }

  .tk-filter-row-remove:hover { background: #334155; color: #f87171; }

  .tk-filter-add-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; }

  .tk-filter-add-btn { display: flex; align-items: center; gap: 5px; background: none; border: none; color: #64748b; font-size: 12px; cursor: pointer; padding: 4px 0; font-family: inherit; font-weight: 600; }

  .tk-filter-add-btn:hover { color: #a78bfa; }

  .tk-filter-clear-btn { background: none; border: none; color: #64748b; cursor: pointer; padding: 6px; border-radius: 4px; display: flex; align-items: center; }

  .tk-filter-clear-btn:hover { background: #334155; color: #f87171; }

  .tk-filter-select { position: absolute; top: 100%; left: 0; margin-top: 4px; background: #0f172a; border: 1px solid #1e293b; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.5); min-width: 220px; z-index: 300; padding: 6px 0; }

  .tk-filter-select-search { width: calc(100% - 16px); margin: 4px 8px 6px; padding: 6px 10px; font-size: 12px; background: #1e293b; border: 1px solid #334155; color: #e2e8f0; border-radius: 6px; font-family: inherit; }

  .tk-filter-select-search:focus { border-color: #7c3aed; outline: none; }

  .tk-filter-select-list { max-height: 260px; overflow-y: auto; }

  .tk-filter-select-item { display: flex; align-items: center; gap: 10px; padding: 8px 14px; color: #e2e8f0; cursor: pointer; font-size: 13px; transition: background 0.1s; }

  .tk-filter-select-item:hover { background: #1e293b; }

  .tk-filter-select-item svg { width: 16px; height: 16px; color: #64748b; flex-shrink: 0; }

  .tk-filter-tags { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

  .tk-filter-tag { display: flex; align-items: center; gap: 4px; background: #7c3aed20; color: #a78bfa; padding: 3px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; }

  .tk-filter-tag-x { cursor: pointer; font-size: 12px; margin-left: 2px; }

  .tk-filter-tag-x:hover { color: #f87171; }

  .tk-saved-filters-popup { position: absolute; top: 100%; right: 0; margin-top: 4px; background: #0f172a; border: 1px solid #1e293b; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.5); min-width: 200px; z-index: 300; padding: 4px 0; }

  .tk-saved-filter-item { display: flex; align-items: center; justify-content: space-between; padding: 7px 14px; color: #e2e8f0; cursor: pointer; font-size: 12px; }

  .tk-saved-filter-item:hover { background: #1e293b; }

  .tk-undo-toast { position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%) translateY(80px); background: #1e293b; color: #e2e8f0; border: 1px solid #334155; border-radius: 10px; padding: 10px 18px; display: flex; align-items: center; gap: 14px; z-index: 9999; box-shadow: 0 8px 32px rgba(0,0,0,.5); font-size: 13px; opacity: 0; transition: transform .25s cubic-bezier(.4,0,.2,1), opacity .25s ease; pointer-events: none; }

  .tk-undo-toast.show { transform: translateX(-50%) translateY(0); opacity: 1; pointer-events: auto; }

  .tk-undo-toast-msg { white-space: nowrap; }

  .tk-undo-toast-btn { background: #7c3aed; color: #fff; border: none; border-radius: 6px; padding: 5px 14px; font-size: 12px; font-weight: 600; cursor: pointer; transition: background .15s; }

  .tk-undo-toast-btn:hover { background: #6d28d9; }

  .tk-undo-toast-progress { position: absolute; bottom: 0; left: 0; height: 3px; background: #7c3aed; border-radius: 0 0 10px 10px; transition: width linear; }

  html[data-theme="light"] .tk-undo-toast { background: #fff; color: #1e293b; border-color: #e2e8f0; box-shadow: 0 8px 32px rgba(0,0,0,.15); }

  .tk-icon-toolbar { display: flex; align-items: center; gap: 2px; background: #0f172a; border: 1px solid #1e293b; border-radius: 8px; padding: 3px; }

  .tk-toolbar-icon { background: none; border: none; color: #64748b; cursor: pointer; padding: 6px; border-radius: 6px; display: flex; align-items: center; justify-content: center; transition: all 0.12s; }

  .tk-toolbar-icon:hover { background: #1e293b; color: #e2e8f0; }

  .tk-toolbar-icon.active { background: #7c3aed20; color: #a78bfa; }

  .tk-toolbar-popup { position: absolute; right: 0; top: 100%; margin-top: 6px; background: #0f172a; border: 1px solid #1e293b; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.5); min-width: 180px; z-index: 200; padding: 4px 0; }

  .tk-toolbar-popup-item { display: flex; align-items: center; gap: 8px; padding: 8px 14px; color: #e2e8f0; cursor: pointer; font-size: 12px; }

  .tk-toolbar-popup-item:hover { background: #1e293b; }

  .tk-toolbar-popup-item.active { color: #a78bfa; }

  .tk-toolbar-popup-item.active::after { content: '✓'; margin-left: auto; font-size: 11px; }

  .tk-assignee-popup { position: absolute; right: 100px; top: 46px; background: #0f172a; border: 1px solid #1e293b; border-radius: 12px; box-shadow: 0 12px 36px rgba(0,0,0,.5); width: 320px; z-index: 300; }

  .tk-assignee-popup-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 8px; }

  .tk-assignee-popup-search { width: 100%; padding: 8px 12px; font-size: 13px; background: #1e293b; border: 1px solid #334155; color: #e2e8f0; border-radius: 8px; font-family: inherit; }

  .tk-assignee-popup-search:focus { border-color: #7c3aed; outline: none; }

  .tk-assignee-popup-list { max-height: 380px; overflow-y: auto; padding: 4px 0; }

  .tk-assignee-popup-section { padding: 6px 16px; font-size: 11px; font-weight: 600; color: #64748b; }

  .tk-assignee-popup-row { display: flex; align-items: center; gap: 10px; padding: 7px 16px; cursor: pointer; transition: background 0.1s; }

  .tk-assignee-popup-row:hover { background: #1e293b; }

  .tk-assignee-popup-av { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0; }

  .tk-assignee-popup-name { font-size: 13px; color: #e2e8f0; font-weight: 500; }

  .tk-assignee-popup-count { font-size: 12px; color: #64748b; margin-left: 4px; }

  .tk-assignee-popup-cb { width: 18px; height: 18px; border-radius: 4px; border: 2px solid #334155; margin-left: auto; flex-shrink: 0; appearance: none; cursor: pointer; }

  .tk-assignee-popup-cb:checked { background: #7c3aed; border-color: #7c3aed; }

  .tk-status-picker { position: fixed; background: #0f172a; border: 1px solid #1e293b; border-radius: 12px; box-shadow: 0 12px 36px rgba(0,0,0,.5); width: 280px; z-index: 400; overflow: hidden; }

  .tk-status-picker-tabs { display: flex; border-bottom: 1px solid #1e293b; }

  .tk-status-picker-tab { flex: 1; padding: 10px; text-align: center; font-size: 13px; font-weight: 600; color: #64748b; cursor: pointer; background: none; border: none; border-bottom: 2px solid transparent; font-family: inherit; }

  .tk-status-picker-tab.active { color: #f1f5f9; border-bottom-color: #7c3aed; }

  .tk-status-picker-search { width: calc(100% - 24px); margin: 10px 12px 6px; padding: 7px 10px; font-size: 12px; background: #1e293b; border: 1px solid #334155; color: #e2e8f0; border-radius: 8px; font-family: inherit; }

  .tk-status-picker-search:focus { border-color: #7c3aed; outline: none; }

  .tk-status-picker-section { padding: 6px 14px; font-size: 11px; font-weight: 600; color: #64748b; display: flex; align-items: center; justify-content: space-between; }

  .tk-status-picker-list { max-height: 300px; overflow-y: auto; padding: 4px 0; }

  .tk-status-picker-item { display: flex; align-items: center; gap: 10px; padding: 8px 14px; cursor: pointer; font-size: 13px; color: #e2e8f0; font-weight: 500; transition: background 0.1s; border-radius: 0; }

  .tk-status-picker-item:hover { background: #1e293b; }

  .tk-status-picker-item.current { background: #1e293b; }

  .tk-status-picker-dot { width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; border: 2px solid; }

  .tk-status-picker-dot.filled { border: none; }

  .tk-status-picker-check { margin-left: auto; color: #64748b; font-size: 16px; }

  .tk-add-col-btn { background: none; border: none; color: #475569; cursor: pointer; padding: 4px; border-radius: 4px; display: flex; align-items: center; justify-content: center; transition: all 0.12s; }

  .tk-add-col-btn:hover { background: #334155; color: #e2e8f0; }

  .tk-fields-popup { position: fixed; background: #0f172a; border: 1px solid #1e293b; border-radius: 12px; box-shadow: 0 12px 36px rgba(0,0,0,.5); width: 320px; z-index: 400; overflow: hidden; }

  .tk-fields-popup-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 8px; }

  .tk-fields-popup-title { font-size: 15px; font-weight: 700; color: #f1f5f9; }

  .tk-fields-popup-search { width: calc(100% - 24px); margin: 4px 12px 8px; padding: 8px 12px; font-size: 13px; background: #1e293b; border: 1px solid #334155; color: #e2e8f0; border-radius: 8px; font-family: inherit; }

  .tk-fields-popup-search:focus { border-color: #7c3aed; outline: none; }

  .tk-fields-popup-tabs { display: flex; border-bottom: 1px solid #1e293b; margin: 0 12px; }

  .tk-fields-popup-tab { padding: 8px 14px; font-size: 12px; font-weight: 600; color: #64748b; cursor: pointer; background: none; border: none; border-bottom: 2px solid transparent; font-family: inherit; }

  .tk-fields-popup-tab.active { color: #f1f5f9; border-bottom-color: #7c3aed; }

  .tk-fields-popup-section { padding: 8px 16px 4px; font-size: 11px; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: 0.03em; }

  .tk-fields-popup-list { max-height: 360px; overflow-y: auto; padding: 4px 0; }

  .tk-fields-popup-item { display: flex; align-items: center; gap: 10px; padding: 8px 16px; cursor: pointer; font-size: 13px; color: #e2e8f0; font-weight: 500; transition: background 0.1s; }

  .tk-fields-popup-item:hover { background: #1e293b; }

  .tk-fields-popup-item svg { width: 18px; height: 18px; flex-shrink: 0; }

  .tk-cf-cell { font-size: 11px; cursor: pointer; padding: 0 4px; }

  .tk-cf-cell:hover { background: #1e293b40; border-radius: 3px; }

  .tk-cf-badge { display: inline-flex; align-items: center; padding: 1px 6px; border-radius: 3px; font-size: 10px; font-weight: 600; }

  .tk-cf-checkbox { width: 14px; height: 14px; border-radius: 3px; cursor: pointer; }

  .tk-cf-remove-col { background: none; border: none; color: #64748b; cursor: pointer; font-size: 12px; padding: 2px; margin-left: auto; opacity: 0; transition: opacity 0.15s; }

  .tk-list-header:hover .tk-cf-remove-col { opacity: 1; }

  .tk-cf-remove-col:hover { color: #f87171; }

  .tk-list-view { background:#0f172a; border:1px solid #1e293b; border-radius:10px; overflow:hidden; }

  .tk-list-progress { padding:10px 14px; display:flex; align-items:center; gap:10px; border-bottom:1px solid #1e293b; }

  .tk-list-progress-bar { flex:1; height:4px; background:#1e293b; border-radius:2px; overflow:hidden; }

  .tk-list-progress-text { font-size:11px; color:#64748b; white-space:nowrap; }

  .tk-list-cell-muted { color:#64748b; }

  .tk-cal-nav { background:none; border:1px solid #334155; color:#94a3b8; padding:4px 10px; border-radius:6px; cursor:pointer; font-size:14px; }

  .tk-cal-label { font-size:14px; font-weight:700; color:#f1f5f9; }

  .tk-tpl-btn { background:#1e293b !important; border:1px solid #334155 !important; color:#94a3b8 !important; }

  .tk-view-switcher { display:flex; border:1px solid #334155; border-radius:6px; overflow:hidden; }

  .tk-view-btn { padding:6px 12px; font-size:11px; font-weight:600; background:#0f172a; color:#64748b; border:none; cursor:pointer; font-family:inherit; transition:background .15s, color .15s; }

  .tk-view-btn + .tk-view-btn { border-left:1px solid #334155; }

  .tk-view-btn.active { background:#1e3a5f; color:#60a5fa; }

  .tk-board { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; min-height: 400px; }

  .tk-column { min-width: 200px; flex: 1; flex-shrink: 0; background: #0f172a; border: 1px solid #1e293b; border-radius: 10px; display: flex; flex-direction: column; max-height: 70vh; }

  .tk-col-header { padding: 10px 14px; border-bottom: 1px solid #1e293b; display: flex; align-items: center; gap: 8px; }

  .tk-col-header-badge { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.03em; display: flex; align-items: center; gap: 6px; }

  .tk-col-header-badge .tk-list-status-dot { flex-shrink: 0; }

  .tk-col-count { font-size: 11px; color: #64748b; font-weight: 600; }

  .tk-col-actions { display: flex; align-items: center; gap: 2px; margin-left: auto; opacity: 0; transition: opacity 0.15s; }

  .tk-col-header:hover .tk-col-actions { opacity: 1; }

  .tk-col-action-btn { background: none; border: none; color: #64748b; cursor: pointer; padding: 3px 5px; border-radius: 4px; font-size: 14px; line-height: 1; display: flex; align-items: center; }

  .tk-col-action-btn:hover { background: #334155; color: #e2e8f0; }

  .tk-col-body { flex: 1; overflow-y: auto; padding: 10px; display: flex; flex-direction: column; gap: 8px; min-height: 60px; transition: background 0.2s; }

  .tk-col-body.drag-over { background: #1e3a5f30; border-radius: 0 0 10px 10px; }

  .tk-card { background: #1e293b; border: 1px solid #334155; border-radius: 8px; padding: 12px; cursor: grab; transition: border-color 0.15s, transform 0.1s, opacity 0.2s; content-visibility: auto; contain-intrinsic-size: auto 120px; }

  .tk-card:active { cursor: grabbing; }

  .tk-card.dragging { opacity: 0.4; transform: scale(0.95); content-visibility: visible; }

  .tk-card { position: relative; }

  .tk-card:hover { border-color: #475569; transform: translateY(-1px); }

  .tk-card-menu-btn { position:absolute;top:8px;right:8px;background:none;border:none;color:#64748b;cursor:pointer;font-size:16px;padding:2px 4px;border-radius:4px;opacity:0;transition:opacity 0.15s;line-height:1;z-index:2; }

  .tk-card:hover .tk-card-menu-btn { opacity:1; }

  .tk-card-menu-btn:hover { background:#334155;color:#e2e8f0; }

  .tk-card-ctx { position:absolute;top:28px;right:8px;background:#1e293b;border:1px solid #334155;border-radius:8px;box-shadow:0 8px 24px rgba(0,0,0,.4);padding:4px 0;min-width:170px;z-index:100;font-size:12px;display:none; }

  .tk-card-ctx.open { display:block; }

  .tk-card:has(.tk-card-ctx.open) { z-index:50; }

  .tk-card-ctx-item { padding:7px 14px;color:#e2e8f0;cursor:pointer;display:flex;align-items:center;gap:8px;white-space:nowrap; }

  .tk-card-ctx-item:hover { background:#334155; }

  .tk-card-ctx-item.danger { color:#f87171; }

  .tk-card-ctx-item.danger:hover { background:#ef444420; }

  .tk-card-ctx-sep { height:1px;background:#334155;margin:4px 0; }

  .tk-card-ctx-sub { font-size:10px;color:#64748b;padding:4px 14px;text-transform:uppercase;font-weight:600;letter-spacing:.5px; }

  .tk-card-title { font-size: 13px; font-weight: 600; color: #f1f5f9; margin-bottom: 6px; line-height: 1.3; }

  .tk-card-desc { font-size: 11px; color: #64748b; line-height: 1.4; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

  .tk-card-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

  .tk-card-indicators { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 10px; color: #64748b; }

  .tk-card-indicator { display: flex; align-items: center; gap: 3px; }

  .tk-card-indicator svg { width: 12px; height: 12px; }

  .tk-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; padding-top: 8px; border-top: 1px solid #1e293b40; }

  .tk-card-bottom-icons { display: flex; align-items: center; gap: 4px; }

  .tk-card-bottom-icon { color: #475569; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 4px; cursor: pointer; transition: all 0.12s; }

  .tk-card-bottom-icon:hover { background: #334155; color: #94a3b8; }

  .tk-card-bottom-icon svg { width: 13px; height: 13px; }

  /* TK-76 (build 883): bumped from 18×18 to 28×28 so the click target meets
     WCAG-style "comfortable tap" guidance. SVG icon stays 12×12 — the extra
     hit area is padding around it, kept centered with display:flex. */
  .tk-card-del { color:#475569;display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:4px;cursor:pointer;transition:all 0.12s;margin-left:auto;opacity:0;flex-shrink:0; }

  .tk-card:hover .tk-card-del { opacity:1; }

  .tk-card-del:hover { background:#334155;color:#ef4444; }

  .tk-card-del svg { width:12px;height:12px; }

  .tk-tag { font-size: 9px; font-weight: 600; padding: 2px 7px; border-radius: 4px; text-transform: uppercase; }

  .tk-tag.urgent { background: #ef444425; color: #f87171; }

  .tk-tag.high { background: #f59e0b25; color: #fbbf24; }

  .tk-tag.medium { background: #3b82f625; color: #60a5fa; }

  .tk-tag.low { background: #10b98125; color: #34d399; }

  .tk-avatar { width: 22px; height: 22px; border-radius: 50%; background: #334155; color: #94a3b8; font-size: 9px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

  .tk-due { font-size: 10px; color: #64748b; display: flex; align-items: center; gap: 3px; }

  .tk-due.overdue { color: #f87171; }

  .tk-subtask-bar { display: flex; align-items: center; gap: 4px; font-size: 10px; color: #64748b; }

  .tk-subtask-track { width: 40px; height: 4px; background: #1e293b; border-radius: 2px; overflow: hidden; }

  .tk-subtask-fill { height: 100%; background: #10b981; border-radius: 2px; }

  .tk-add-btn { width: 100%; padding: 8px; background: none; border: 1px dashed #334155; border-radius: 6px; color: #475569; font-size: 11px; cursor: pointer; transition: all 0.15s; }

  .tk-add-btn:hover { border-color: #3b82f6; color: #60a5fa; }

  .tk-list-row { display: grid; grid-template-columns: 28px 1fr 110px 90px 90px 90px 80px 90px; align-items: center; gap: 0; padding: 0 14px; border-bottom: 1px solid #1e293b; font-size: 12px; transition: background 0.1s; height: 38px; }

  .tk-list-row > div { padding: 0 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

  .tk-list-row:hover { background: #1e293b60; }

  .tk-list-header { font-weight: 700; color: #64748b; text-transform: uppercase; font-size: 10px; letter-spacing: 0.5px; background: #0f172a; height: 32px; border-bottom: 1px solid #334155; }
  /* Build 970 (#177) — column resize handles. Header cells become positioning
     contexts so the handle sits flush at the right edge. 6px hit area, blue
     hover hint, col-resize cursor on the handle only (not the whole cell). */
  .tk-list-header > div { position: relative; }
  .tk-col-resize { position: absolute; right: 0; top: 0; bottom: 0; width: 6px; cursor: col-resize; user-select: none; z-index: 1; }
  .tk-col-resize:hover { background: #3b82f6; opacity: 0.6; }
  /* Build 957 — clickable sort headers + indicators */
  .tk-list-header .tk-sortable { cursor: pointer; user-select: none; transition: color 0.12s; }
  .tk-list-header .tk-sortable:hover { color: #cbd5e1; }
  .tk-sort-ind { display: inline-block; margin-left: 3px; font-size: 10px; color: #334155; opacity: 0.6; }
  .tk-sort-ind.tk-sort-on { color: #60a5fa; opacity: 1; }
  html[data-theme="light"] .tk-list-header .tk-sortable:hover { color: #1f2937; }
  html[data-theme="light"] .tk-sort-ind { color: #cbd5e1; }
  html[data-theme="light"] .tk-sort-ind.tk-sort-on { color: #2563eb; }

  .tk-list-group { border-bottom: none; }

  .tk-list-group-header { display: flex; align-items: center; gap: 8px; padding: 8px 14px; cursor: pointer; user-select: none; border-bottom: 1px solid #1e293b; }

  .tk-list-group-header:hover { background: #1e293b40; }

  .tk-list-group-chevron { transition: transform 0.2s; font-size: 10px; color: #64748b; }

  .tk-list-group-chevron.collapsed { transform: rotate(-90deg); }

  .tk-list-group-badge { font-size: 11px; font-weight: 700; padding: 2px 10px; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.03em; }

  .tk-list-group-count { font-size: 11px; color: #64748b; font-weight: 500; }

  .tk-list-group-body.collapsed { display: none; }

  .tk-list-add { display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 46px; cursor: pointer; color: #475569; font-size: 12px; border-bottom: 1px solid #1e293b; transition: color 0.15s; }

  .tk-list-add:hover { color: #94a3b8; }

  .tk-inline-add { display:flex; align-items:center; gap:8px; padding:4px 14px 4px 46px; border-bottom:1px solid #1e293b; }

  .tk-inline-add input { flex:1; background:transparent; border:none; color:#e2e8f0; font-size:12px; font-family:inherit; outline:none; padding:4px 0; }

  .tk-inline-add input::placeholder { color:#475569; }

  .tk-inline-add-actions { display:flex; align-items:center; gap:4px; flex-shrink:0; }

  .tk-inline-add-btn { background:none; border:none; color:#64748b; cursor:pointer; padding:3px 6px; border-radius:4px; font-size:11px; transition:all 0.1s; }

  .tk-inline-add-btn:hover { background:#334155; color:#e2e8f0; }

  .tk-inline-add-btn.save { color:#10b981; }

  .tk-inline-add-btn.save:hover { background:rgba(16,185,129,0.15); }

  html[data-theme="light"] .tk-inline-add input { color:var(--text-primary); }

  html[data-theme="light"] .tk-inline-add input::placeholder { color:var(--text-muted); }

  html[data-theme="light"] .tk-inline-add { border-color:var(--border); }

  html[data-theme="light"] .tk-inline-add-btn:hover { background:var(--bg-surface); color:var(--text-primary); }

  .tk-list-status-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

  .tk-list-assignee { display: flex; align-items: center; gap: -4px; }

  .tk-list-assignee-av { width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; border: 2px solid #0f172a; margin-left: -4px; }

  .tk-list-assignee-av:first-child { margin-left: 0; }

  .tk-mention-dropdown { position: absolute; background: #1e293b; border: 1px solid #334155; border-radius: 10px; box-shadow: 0 12px 36px rgba(0,0,0,.5); width: 240px; z-index: 9999; max-height: 200px; overflow-y: auto; }

  .tk-mention-dropdown-item { display: flex; align-items: center; gap: 10px; padding: 8px 14px; cursor: pointer; transition: background 0.1s; font-size: 13px; color: #e2e8f0; }

  .tk-mention-dropdown-item:first-child { border-radius: 10px 10px 0 0; }

  .tk-mention-dropdown-item:last-child { border-radius: 0 0 10px 10px; }

  .tk-mention-dropdown-item:only-child { border-radius: 10px; }

  .tk-mention-dropdown-item:hover, .tk-mention-dropdown-item.active { background: #334155; }

  .tk-mention-dropdown-av { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; flex-shrink: 0; }

  .tk-mention-dropdown-empty { padding: 12px 14px; font-size: 12px; color: #64748b; text-align: center; }

  .tk-comment-mention { color: #818cf8; font-weight: 600; }

  .tk-list-prio-flag { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; }

  .tk-list-prio-flag svg { width: 12px; height: 12px; }

  .tk-row-actions { display: none; align-items: center; gap: 2px; margin-left: 6px; flex-shrink: 0; }

  .tk-list-row:hover .tk-row-actions { display: inline-flex; }

  .tk-row-action { background: none; border: 1px solid transparent; color: #64748b; cursor: pointer; padding: 2px 4px; border-radius: 4px; display: flex; align-items: center; justify-content: center; transition: all 0.12s; }

  .tk-row-action:hover { background: #334155; color: #e2e8f0; border-color: #475569; }

  .tk-row-action svg { width: 13px; height: 13px; }

  .tk-bulk-popup { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); background: #1e293b; border: 1px solid #334155; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.5); padding: 4px 0; min-width: 160px; z-index: 1000; margin-bottom: 6px; }

  .tk-bulk-popup-item { padding: 7px 14px; color: #e2e8f0; cursor: pointer; display: flex; align-items: center; gap: 8px; font-size: 12px; white-space: nowrap; }

  .tk-bulk-popup-item:hover { background: #334155; }

  .tk-due.due-today { color: #fbbf24; font-weight: 600; }

  .tk-due.overdue { color: #f87171; font-weight: 600; }

  .tk-card.overdue-card { border-left: 3px solid #ef4444; }

  .tk-card.due-today-card { border-left: 3px solid #f59e0b; }

  .tk-card.blocked-card { opacity: 0.6; border-left: 3px solid #64748b; }

  .tk-blocked-badge { font-size: 9px; background: #64748b30; color: #94a3b8; padding: 1px 6px; border-radius: 4px; }

  .tk-time-badge { font-size: 9px; background: #7c3aed25; color: #a78bfa; padding: 1px 6px; border-radius: 4px; display: inline-flex; align-items: center; gap: 3px; }

  .tk-watcher-dot { width: 18px; height: 18px; border-radius: 50%; background: #1e293b; border: 1px solid #334155; color: #64748b; font-size: 8px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; margin-left: -4px; }

  .tk-star { cursor:pointer; font-size:14px; color:#334155; transition:color 0.15s; flex-shrink:0; line-height:1; }

  .tk-star:hover { color:#fbbf24; }

  .tk-star.starred { color:#fbbf24; }

  .tk-inline-edit { background:#1e293b; border:1px solid #7c3aed; border-radius:4px; color:#e2e8f0; font-size:12px; font-family:inherit; padding:2px 6px; outline:none; min-width:60px; }

  .tk-workload { padding:16px 0; }

  .tk-workload-row { display:flex; align-items:center; gap:12px; padding:10px 0; border-bottom:1px solid #1e293b; }

  .tk-workload-name { min-width:140px; display:flex; align-items:center; gap:8px; font-size:13px; color:#e2e8f0; font-weight:500; }

  .tk-workload-av { width:28px; height:28px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:10px; font-weight:700; flex-shrink:0; }

  .tk-workload-bar-wrap { flex:1; height:24px; background:#1e293b; border-radius:6px; overflow:hidden; position:relative; }

  .tk-workload-bar { height:100%; border-radius:6px; transition:width 0.4s ease; display:flex; align-items:center; padding-left:8px; font-size:10px; font-weight:600; color:#fff; min-width:fit-content; }

  .tk-workload-stats { display:flex; gap:12px; font-size:11px; color:#64748b; min-width:160px; justify-content:flex-end; }

  .tk-workload-stats span { white-space:nowrap; }

  .tk-dup-warn { background:#f59e0b15; border:1px solid #f59e0b40; border-radius:6px; padding:8px 12px; margin:8px 0; font-size:11px; color:#fbbf24; display:flex; align-items:center; gap:8px; }

  .tk-dup-warn svg { flex-shrink:0; }

  .tk-import-export-bar { display:flex; gap:6px; align-items:center; }

  .tk-ie-btn { background:none; border:1px solid #334155; color:#94a3b8; padding:5px 12px; border-radius:6px; font-size:11px; font-weight:600; cursor:pointer; display:flex; align-items:center; gap:5px; font-family:inherit; transition:all 0.15s; }

  .tk-ie-btn:hover { border-color:#7c3aed; color:#a78bfa; }

  .tk-checklist-tpl { display:flex; gap:4px; flex-wrap:wrap; margin:6px 0; }

  .tk-checklist-tpl-btn { background:#1e293b; border:1px solid #334155; color:#94a3b8; padding:4px 10px; border-radius:4px; font-size:10px; cursor:pointer; font-family:inherit; transition:all 0.15s; }

  .tk-checklist-tpl-btn:hover { border-color:#7c3aed; color:#a78bfa; }

  .tk-kbd-hint { position:fixed; bottom:70px; right:20px; background:#1e293b; border:1px solid #334155; border-radius:10px; padding:12px 16px; font-size:11px; color:#94a3b8; z-index:400; box-shadow:0 8px 24px rgba(0,0,0,.4); line-height:1.8; max-width:220px; }

  .tk-kbd-hint kbd { background:#0f172a; border:1px solid #475569; padding:1px 6px; border-radius:3px; font-size:10px; color:#e2e8f0; font-family:inherit; }

  .tk-calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }

  .tk-cal-header { text-align: center; font-size: 10px; font-weight: 700; color: #64748b; padding: 6px 0; text-transform: uppercase; }

  .tk-cal-day { min-height: 80px; background: #0f172a; border: 1px solid #1e293b; border-radius: 4px; padding: 4px; font-size: 10px; }

  .tk-cal-day.today { border-color: #3b82f6; }

  .tk-cal-day.other-month { opacity: 0.3; }

  .tk-cal-day-num { font-weight: 600; color: #94a3b8; margin-bottom: 2px; }

  .tk-cal-task { font-size: 9px; padding: 1px 4px; border-radius: 3px; margin-bottom: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; color: #e2e8f0; }

  .tk-cal-task:hover { opacity: 0.8; }

  .tk-stats-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-bottom: 16px; }

  .tk-stat-card { background: #0f172a; border: 1px solid #1e293b60; border-radius: 10px; padding: 14px; text-align: center; cursor: pointer; transition: all 0.15s; }

  .tk-stat-card:hover { border-color: #334155; background: #0f172a; }

  .tk-stat-card.active { border-color: #334155; background: #111827; box-shadow: none; }

  .tk-stat-num { font-size: 24px; font-weight: 700; color: #f1f5f9; }

  .tk-stat-label { font-size: 11px; color: #64748b; margin-top: 2px; }

  .tk-bulk-bar { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: #2d1b69; border: 1px solid #7c3aed; border-radius: 10px; padding: 0 6px; display: flex; align-items: center; gap: 0; z-index: 999; box-shadow: 0 8px 32px rgba(0,0,0,0.5); height: 44px; }

  .tk-bulk-selected { display: flex; align-items: center; gap: 8px; padding: 0 14px; border-right: 1px solid #7c3aed60; height: 100%; white-space: nowrap; }

  .tk-bulk-selected-count { font-size: 13px; color: #e9d5ff; font-weight: 600; }

  .tk-bulk-selected-close { background: none; border: none; color: #a78bfa; cursor: pointer; font-size: 16px; padding: 2px 4px; border-radius: 4px; line-height: 1; }

  .tk-bulk-selected-close:hover { background: #7c3aed40; color: #e9d5ff; }

  .tk-bulk-btn { background: none; border: none; color: #c4b5fd; padding: 8px 12px; font-size: 11px; cursor: pointer; font-weight: 600; display: flex; align-items: center; gap: 5px; height: 100%; transition: background 0.12s, color 0.12s; border-radius: 0; font-family: inherit; white-space: nowrap; }

  .tk-bulk-btn:hover { background: #7c3aed40; color: #f5f3ff; }

  .tk-bulk-btn svg { width: 14px; height: 14px; flex-shrink: 0; }

  .tk-bulk-btn.danger { color: #fca5a5; }

  .tk-bulk-btn.danger:hover { background: #ef444430; color: #fecaca; }

  .tk-bulk-sep { width: 1px; height: 24px; background: #7c3aed50; flex-shrink: 0; }

  .tk-bulk-more { position: relative; }

  .tk-swimlane { margin-bottom: 16px; }

  .tk-swimlane-header { font-size: 12px; font-weight: 700; color: #94a3b8; padding: 8px 14px; background: #0d1526; border-radius: 6px 6px 0 0; border: 1px solid #1e293b; border-bottom: none; display: flex; align-items: center; gap: 8px; cursor: pointer; }

  .tk-activity-item { padding: 6px 0; border-bottom: 1px solid #1e293b; font-size: 11px; color: #94a3b8; }

  .tk-activity-action { color: #60a5fa; font-weight: 600; }

  .tk-template-item { padding: 8px 12px; background: #0f172a; border: 1px solid #1e293b; border-radius: 6px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; }

  .tk-template-item:hover { border-color: #3b82f6; }

  .tk-multi-assignee { display: flex; align-items: center; gap: 0; }

  .tk-checkbox { width: 16px; height: 16px; accent-color: #3b82f6; cursor: pointer; }

  .tk-ai-toggle-wrap { display: flex; align-items: center; gap: 10px; padding: 6px 24px 8px; margin-top: 2px; }

  .tk-ai-toggle { position: relative; width: 40px; height: 22px; cursor: pointer; }

  .tk-ai-toggle input { opacity: 0; width: 0; height: 0; }

  .tk-ai-toggle-slider { position: absolute; inset: 0; background: #334155; border-radius: 11px; transition: background 0.2s; }

  .tk-ai-toggle-slider:before { content: ''; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; background: #64748b; border-radius: 50%; transition: all 0.2s; }

  .tk-ai-toggle input:checked + .tk-ai-toggle-slider { background: #7c3aed; }

  .tk-ai-toggle input:checked + .tk-ai-toggle-slider:before { transform: translateX(18px); background: #e9d5ff; }

  .tk-ai-toggle-label { font-size: 12px; font-weight: 600; color: #a78bfa; display: flex; align-items: center; gap: 6px; }

  .tk-ai-toggle-label svg { width: 16px; height: 16px; }

  .tk-ai-section { padding: 0 24px 16px; margin-top: 4px; display: none; animation: tkAiFadeIn 0.2s ease; }

  .tk-ai-section.visible { display: block; }

  .tk-ai-section-head { font-size: 12px; font-weight: 700; color: #a78bfa; padding: 12px 0 8px; text-transform: uppercase; letter-spacing: 0.05em; display: flex; align-items: center; gap: 6px; }

  .tk-ai-prompt { width: 100%; background: #0f172a; border: 1px solid #334155; color: #e2e8f0; padding: 10px 12px; font-size: 13px; font-family: 'SF Mono', 'Fira Code', monospace; resize: vertical; line-height: 1.6; outline: none; border-radius: 8px; box-sizing: border-box; min-height: 100px; }

  .tk-ai-prompt:hover { border-color: #7c3aed60; }

  .tk-ai-prompt:focus { border-color: #7c3aed; background: #0c1322; box-shadow: 0 0 0 3px #7c3aed15; }

  .tk-ai-prompt::placeholder { color: #475569; }

  .tk-ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 20px; background: #0f172a; border-radius: 10px; padding: 8px 6px; border: 1px solid #1e293b; }

  .tk-ai-field { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 6px; transition: background 0.12s; }

  .tk-ai-field-label { font-size: 11px; font-weight: 600; color: #64748b; min-width: 80px; white-space: nowrap; }

  .tk-ai-field select, .tk-ai-field input { background: #0f172a; border: 1px solid #334155; color: #e2e8f0; padding: 5px 10px; border-radius: 8px; font-size: 12px; font-family: inherit; cursor: pointer; transition: all 0.15s; }

  .tk-ai-field select:hover, .tk-ai-field input:hover { border-color: #475569; background: #1e293b; }

  .tk-ai-field select:focus, .tk-ai-field input:focus { border-color: #7c3aed; outline: none; box-shadow: 0 0 0 2px #7c3aed20; }

  .tk-ai-field:hover { background: #1e293b40; }

  .tk-ai-schedule-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; grid-column: 1 / -1; }

  .tk-ai-window-custom { display: none; align-items: center; gap: 6px; margin-top: 4px; }

  .tk-ai-window-custom.visible { display: flex; }

  .tk-ai-badge { display: inline-flex; align-items: center; gap: 3px; font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 4px; background: #7c3aed20; color: #a78bfa; white-space: nowrap; }

  .tk-ai-badge svg { width: 12px; height: 12px; }

  .tk-ai-status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 3px; }

  .tk-ai-status-dot.pending { background: #64748b; }

  .tk-ai-status-dot.queued { background: #f59e0b; animation: tk-ai-pulse 1.5s infinite; }

  .tk-ai-status-dot.running { background: #8b5cf6; animation: tk-ai-pulse 1s infinite; }

  .tk-ai-status-dot.completed { background: #10b981; }

  .tk-ai-status-dot.failed { background: #ef4444; }

  .tk-ai-status-dot.cancelled { background: #64748b; }

  .tk-ai-results { padding: 12px 0; }

  .tk-ai-results-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; }

  .tk-ai-results-status { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; }

  .tk-ai-results-actions { display: flex; gap: 4px; }

  .tk-ai-results-btn { background: none; border: 1px solid #334155; color: #94a3b8; padding: 3px 10px; border-radius: 5px; font-size: 10px; font-weight: 600; cursor: pointer; transition: all 0.15s; font-family: inherit; }

  .tk-ai-results-btn:hover { border-color: #7c3aed; color: #a78bfa; }

  .tk-ai-results-btn.danger:hover { border-color: #ef4444; color: #f87171; }

  .tk-ai-output { background: #0f172a; border: 1px solid #1e293b; border-radius: 8px; padding: 10px 12px; font-size: 11px; font-family: 'SF Mono', 'Fira Code', monospace; color: #94a3b8; line-height: 1.6; max-height: 300px; overflow-y: auto; white-space: pre-wrap; word-break: break-word; margin-top: 6px; }

  .tk-ai-output:empty { display: none; }

  .tk-ai-run-history { margin-top: 8px; }

  .tk-ai-run-item { display: flex; align-items: center; gap: 8px; padding: 5px 0; border-bottom: 1px solid #1e293b; font-size: 11px; color: #94a3b8; cursor: pointer; }

  .tk-ai-run-item:hover { color: #e2e8f0; }

  .tk-ai-run-item .tk-ai-run-time { color: #475569; font-size: 10px; }

  html[data-theme="light"] .tk-ai-toggle-slider { background: #cbd5e1; }

  html[data-theme="light"] .tk-ai-toggle-slider:before { background: #94a3b8; }

  html[data-theme="light"] .tk-ai-prompt { background: #f8fafc; border-color: #e2e8f0; color: #1e293b; }

  html[data-theme="light"] .tk-ai-prompt:hover { border-color: #7c3aed60; }

  html[data-theme="light"] .tk-ai-prompt:focus { border-color: #7c3aed; }

  html[data-theme="light"] .tk-ai-output { background: #f8fafc; border-color: #e2e8f0; color: #475569; }

  html[data-theme="light"] .tk-ai-badge { background: #7c3aed15; }

  html[data-theme="light"] .tk-ai-field select, html[data-theme="light"] .tk-ai-field input { color: #1e293b; }

  html[data-theme="light"] .tk-board { scrollbar-color: #cbd5e1 transparent; }

  html[data-theme="light"] .tk-column { background: #f8fafc !important; border-color: #e2e8f0 !important; }

  html[data-theme="light"] .tk-col-header { border-bottom-color: #e2e8f0 !important; }

  html[data-theme="light"] .tk-col-body { scrollbar-color: #cbd5e1 transparent; }

  html[data-theme="light"] .tk-card { background: #fff !important; border-color: #e2e8f0 !important; }

  html[data-theme="light"] .tk-card:hover { background: #f8fafc !important; border-color: #cbd5e1 !important; }

  html[data-theme="light"] .tk-card-title { color: #0f172a !important; }

  html[data-theme="light"] .tk-card-desc { color: #64748b !important; }

  html[data-theme="light"] .tk-card-menu-btn:hover { background: #e2e8f0 !important; color: #0f172a !important; }

  html[data-theme="light"] .tk-card-ctx { background: #fff !important; border-color: #e2e8f0 !important; box-shadow: 0 8px 24px rgba(0,0,0,.12) !important; }

  html[data-theme="light"] .tk-card-ctx-item { color: #1e293b !important; }

  html[data-theme="light"] .tk-card-ctx-item:hover { background: #f1f5f9 !important; }

  html[data-theme="light"] .tk-card-ctx-item.danger { color: #ef4444 !important; }

  html[data-theme="light"] .tk-card-ctx-item.danger:hover { background: #fef2f2 !important; }

  html[data-theme="light"] .tk-card-ctx-sep { background: #e2e8f0 !important; }

  html[data-theme="light"] .tk-card-ctx-sub { color: #94a3b8 !important; }

  html[data-theme="light"] .tk-card-bottom { border-color: #f1f5f9 !important; }

  html[data-theme="light"] .tk-card-bottom-icon { color: #94a3b8 !important; }

  html[data-theme="light"] .tk-card-bottom-icon:hover { background: #e2e8f0 !important; color: #475569 !important; }

  html[data-theme="light"] .tk-toolbar-icon { color: #64748b !important; }

  html[data-theme="light"] .tk-toolbar-icon:hover { background: #f1f5f9 !important; color: #0f172a !important; }

  html[data-theme="light"] .tk-toolbar-popup { background: #fff !important; border-color: #e2e8f0 !important; box-shadow: 0 8px 24px rgba(0,0,0,.12) !important; }

  html[data-theme="light"] .tk-toolbar-popup-item { color: #1e293b !important; }

  html[data-theme="light"] .tk-toolbar-popup-item:hover { background: #f1f5f9 !important; }

  html[data-theme="light"] .tk-toolbar-popup-item.active { color: #7c3aed !important; }

  html[data-theme="light"] .tk-filter-panel { background: #fff !important; border-color: #e2e8f0 !important; box-shadow: 0 12px 36px rgba(0,0,0,.1) !important; }

  html[data-theme="light"] .tk-filter-panel-head { border-bottom-color: #e2e8f0 !important; }

  html[data-theme="light"] .tk-filter-panel-title { color: #0f172a !important; }

  html[data-theme="light"] .tk-filter-save-btn { border-color: #cbd5e1 !important; color: #64748b !important; }

  html[data-theme="light"] .tk-filter-save-btn:hover { border-color: #94a3b8 !important; color: #0f172a !important; }

  html[data-theme="light"] .tk-filter-saved-btn { border-color: #cbd5e1 !important; color: #64748b !important; }

  html[data-theme="light"] .tk-filter-saved-btn:hover { border-color: #94a3b8 !important; color: #0f172a !important; }

  html[data-theme="light"] .tk-filter-row { border-bottom-color: #f1f5f9 !important; }

  html[data-theme="light"] .tk-filter-row-field { color: #0f172a !important; }

  html[data-theme="light"] .tk-filter-row-op { background: #f1f5f9 !important; border-color: #e2e8f0 !important; color: #475569 !important; }

  html[data-theme="light"] .tk-filter-row-remove:hover { background: #fef2f2 !important; color: #ef4444 !important; }

  html[data-theme="light"] .tk-filter-add-btn { color: #64748b !important; }

  html[data-theme="light"] .tk-filter-add-btn:hover { color: #7c3aed !important; }

  html[data-theme="light"] .tk-filter-clear-btn:hover { background: #fef2f2 !important; color: #ef4444 !important; }

  html[data-theme="light"] .tk-filter-btn { border-color: #cbd5e1 !important; color: #64748b !important; }

  html[data-theme="light"] .tk-filter-btn:hover { border-color: #94a3b8 !important; color: #0f172a !important; }

  html[data-theme="light"] .tk-filter-select { background: #fff !important; border-color: #e2e8f0 !important; box-shadow: 0 8px 24px rgba(0,0,0,.1) !important; }

  html[data-theme="light"] .tk-filter-select-search { background: #f8fafc !important; border-color: #e2e8f0 !important; color: #0f172a !important; }

  html[data-theme="light"] .tk-filter-select-item { color: #1e293b !important; }

  html[data-theme="light"] .tk-filter-select-item:hover { background: #f1f5f9 !important; }

  html[data-theme="light"] .tk-filter-select-item svg { color: #94a3b8 !important; }

  .scroll-wrap::-webkit-scrollbar, .tk-col-body::-webkit-scrollbar, .notif-panel::-webkit-scrollbar { width: 4px; height: 4px; }

  .scroll-wrap::-webkit-scrollbar-track, .tk-col-body::-webkit-scrollbar-track, .notif-panel::-webkit-scrollbar-track { background: transparent; }

  .scroll-wrap::-webkit-scrollbar-thumb, .tk-col-body::-webkit-scrollbar-thumb, .notif-panel::-webkit-scrollbar-thumb { background: var(--border-hover); border-radius: 2px; }


  /* Build 885 (TK-84): spinner for the comment-image upload-in-flight state. */
  @keyframes tkSpin { to { transform: rotate(360deg); } }

  /* Build 1005 — mobile band-aid for the Tasks projects rail.
     `.tk-sidebar` is hard-coded `width: 240px; min-width: 240px` and
     sits next to the global icon rail + main task list — three columns
     at 390px. On mobile let the rail (when shown) overlay the task
     list instead of pushing it; default-collapsed comes from the
     existing tkToggleSidebar() flow. */
  @media (max-width: 640px) {
    .tk-sidebar:not(.collapsed) {
      position: absolute; left: 0; top: 0; height: 100%;
      z-index: 30; box-shadow: 4px 0 16px rgba(0,0,0,0.45);
    }
    .tk-main-content { padding: 12px 12px; }
    /* List view's header row uses grid-template-columns with fixed
       widths — let the card scroll horizontally rather than clip. */
    .tk-list-card { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    /* Build 1006 Phase B — tasks mobile expansions. */
    .tk-board { flex-direction: column; gap: 8px; }
    .tk-column { width: 100%; min-width: 0; }
    .tk-column-body { max-height: none; }
    .tk-toolbar { flex-wrap: wrap; gap: 6px; padding: 10px 12px; }
    .tk-view-tabs { flex-wrap: wrap; }
    .tk-stats { grid-template-columns: 1fr 1fr; }
    .tk-card { padding: 10px 12px; }
    .tk-comment { padding: 10px 12px; }
    .tkd-topbar { padding: 10px 12px 6px; }
    .tk-modal,
    .tk-modal-card { width: 95vw !important; max-width: 95vw !important; }
  }

/* Build 1033 — tasks UI bundle.
   seq 197 (badge text-selection), 204 (status/priority dropdown light theme),
   205 (low-priority list flag contrast). */

/* seq 197 — purely informational badges should not pick up the browser's
   default text highlight, which clashes with their pill shape. */
.tk-tag,
.tk-id-tag,
.tk-key,
.tk-list-prio-flag,
.tk-list-status-pill,
.tkd-id,
.tkd-status-pill { user-select: none; }

/* seq 204 — Status / Priority dropdown menus inherited their dark-bg colors
   from .tk-status-picker; the priority popover used the same component but
   no light-theme class. Cover both. */
html[data-theme="light"] .tk-status-picker,
html[data-theme="light"] .tk-priority-picker,
html[data-theme="light"] .tk-status-popover,
html[data-theme="light"] .tk-priority-popover {
  background: var(--bg-surface, #ffffff) !important;
  border-color: var(--border, #e2e8f0) !important;
  color: var(--text-primary, #0f172a) !important;
  box-shadow: 0 12px 36px rgba(15,23,42,0.10) !important;
}
html[data-theme="light"] .tk-status-picker-tab,
html[data-theme="light"] .tk-priority-picker-tab { color: var(--text-secondary, #475569) !important; }
html[data-theme="light"] .tk-status-picker-tab.active,
html[data-theme="light"] .tk-priority-picker-tab.active { color: var(--text-primary, #0f172a) !important; }
html[data-theme="light"] .tk-status-picker-search,
html[data-theme="light"] .tk-priority-picker-search {
  background: var(--bg-elevated, #f8fafc) !important;
  border-color: var(--border, #e2e8f0) !important;
  color: var(--text-primary, #0f172a) !important;
}
html[data-theme="light"] .tk-status-picker-item,
html[data-theme="light"] .tk-priority-picker-item { color: var(--text-primary, #0f172a) !important; }
html[data-theme="light"] .tk-status-picker-item:hover,
html[data-theme="light"] .tk-priority-picker-item:hover,
html[data-theme="light"] .tk-status-picker-item.current,
html[data-theme="light"] .tk-priority-picker-item.current { background: #f1f5f9 !important; }
html[data-theme="light"] .tk-status-picker-section,
html[data-theme="light"] .tk-priority-picker-section { color: var(--text-muted, #64748b) !important; }
html[data-theme="light"] .tk-status-picker-check,
html[data-theme="light"] .tk-priority-picker-check { color: var(--text-muted, #64748b) !important; }

/* seq 205 — Low priority flag in list view used #64748b (slate-500) which
   blends with the surrounding muted text. Bump to a distinct teal. */
.tk-list-prio-flag.tk-prio-low,
.tk-list-prio-low { color: #14b8a6 !important; }
.tk-list-prio-flag.tk-prio-low svg,
.tk-list-prio-low svg { fill: #14b8a6 !important; }
