/* Phase 1 components: toolbars and filters, pop-ups, task cards, the task panel, Table, Settings, modals.
   Colours come from tokens.css only; every state that uses colour also shows an icon or text. */

/* ---------------------------------------------------------------- shared small parts */
.danger { color: var(--bad); }
.menu-item.danger:hover, .btn.danger:hover { background: var(--bad-soft); }
.btn-danger { background: var(--bad); color: #fff; }
.btn-danger:hover { filter: brightness(.94); }
.icon-btn-sm { width: 26px; height: 26px; border-radius: 8px; display: inline-grid; place-items: center; color: var(--text-3); flex: none; transition: background .15s, color .15s, opacity .15s; }
.icon-btn-sm:hover { background: var(--hover); color: var(--text); }
.link-btn { color: inherit; text-decoration: underline; font-weight: 800; }
.grow { flex: 1; min-width: 0; }
.hint { margin: 6px 0 0; font-size: 12.5px; color: var(--text-3); font-weight: 600; }
.pad { padding: 10px 12px; }
.input-sm { height: 32px; font-size: 13px; padding: 0 10px; border-radius: var(--r-sm); }
select.input { padding-right: 8px; }
button.chip { cursor: pointer; }
button.chip:hover { background: var(--hover); }
.chip.wait { background: var(--warn-soft); color: var(--warn); }
.chip.tag { padding-right: 4px; }
.chip.tag button { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; color: inherit; }
.chip.tag button:hover { background: var(--hover); }
.tool-badges { display: inline-flex; gap: 3px; margin-left: auto; }
.tool-badge { display: inline-grid; place-items: center; min-width: 24px; height: 22px; padding: 0 4px; border-radius: var(--r-xs); background: var(--sunken); border: 1px solid var(--border-strong); font-size: 10.5px; font-weight: 800; color: var(--text-2); }
.tool-badge.more { border-style: dashed; }

.save-status { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700; color: var(--text-3); padding: 0 10px; white-space: nowrap; }
.save-status svg { width: 14px; height: 14px; }
.save-status[data-state="saving"] { color: var(--text-2); }
.save-status[data-state="offline"] { color: var(--warn); }
.save-status[data-state="signedout"] { color: var(--bad); }

/* ---------------------------------------------------------------- toolbars, quick add, filters */
.view-toolbar { display: flex; align-items: center; gap: 12px; padding: 16px 20px 0; flex-wrap: wrap; }
.quick {
  flex: 1; min-width: 260px; max-width: 680px; display: flex; align-items: center; gap: 10px; padding: 0 12px; height: 44px; border-radius: var(--r);
  border: 1.5px dashed var(--border-strong); color: var(--text-3); background: var(--surface); transition: border-color .15s, background .15s;
}
.quick:focus-within { border-style: solid; border-color: var(--blue); box-shadow: var(--ring); }
.quick input { flex: 1; border: 0; background: none; height: 100%; font-weight: 600; outline: none; color: var(--text); min-width: 0; }
.quick input::placeholder { color: var(--text-3); }
.quick input:disabled { opacity: .6; }
.seg-label { padding: 3px 8px 3px 10px; font-size: 12px; font-weight: 700; color: var(--text-3); align-self: center; }
.view-toolbar .seg-toggle { margin-left: auto; }
.group-by { margin-left: auto; display: flex; align-items: center; gap: 8px; color: var(--text-2); font-weight: 700; font-size: 13px; }
.group-by select { width: auto; }

.filterbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 12px 20px 0; }
.spacer { flex: 1; }
.fsearch { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: var(--r-pill); background: var(--sunken); color: var(--text-3); }
.fsearch input { border: 0; background: none; outline: none; width: 130px; color: var(--text); font-weight: 600; }
.fchip { display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 10px 0 13px; border-radius: var(--r-pill); background: var(--sunken); color: var(--text-2); font-weight: 700; font-size: 13px; white-space: nowrap; transition: background .15s, color .15s; }
.fchip.toggle { padding: 0 13px; }
.fchip:hover { background: var(--hover); color: var(--text); }
.fchip.on { background: var(--accent-soft); color: var(--accent-text); }
.fchip .n { background: var(--accent); color: var(--accent-ink); border-radius: var(--r-pill); padding: 0 6px; font-size: 11px; line-height: 17px; margin-left: 2px; }
.fchip svg { opacity: .7; }

/* pop-up menus (filters, card menu, bulk edit) */
.pop { position: fixed; z-index: 70; min-width: 200px; max-width: 340px; max-height: min(70vh, 520px); overflow: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--shadow-lg); animation: pop-in .15s var(--ease); }
.pop-body { padding: 6px; display: grid; gap: 2px; }
.pop-body.pad { padding: 12px; gap: 10px; }
.pop .menu-item { white-space: nowrap; }
.pop-search { margin: 4px 4px 6px; width: calc(100% - 8px); height: 34px; }
.check-list { display: grid; gap: 1px; max-height: 300px; overflow: auto; }
.check-row { display: flex; align-items: center; gap: 9px; padding: 7px 10px; border-radius: var(--r-sm); font-weight: 600; cursor: pointer; }
.check-row:hover { background: var(--hover); }
.check-row[hidden] { display: none; }
.check-row input { width: 16px; height: 16px; accent-color: var(--accent); flex: none; }
.saved-row { display: flex; align-items: center; gap: 8px; }
.saved-row .menu-item { flex: 1; }
.saved-row > input.grow { min-width: 140px; }
.saved-row > select.input { flex: 0 0 auto; width: auto; min-width: 170px; }      /* the group picker sizes to its text; the name gets the rest */
.saved-form { display: flex; gap: 8px; align-items: center; }
.saved-form .input { height: 34px; }
.form-grid { display: grid; gap: 10px; }
.form-grid label, .fgrid label { display: grid; gap: 4px; font-size: 12px; font-weight: 800; color: var(--text-2); }
.form-grid label .input, .fgrid label .input { font-weight: 600; }

/* ---------------------------------------------------------------- board additions */
.board { min-height: 0; padding-top: 14px; }
.card-top { display: flex; align-items: flex-start; gap: 8px; }
.card-top .task-title { flex: 1; min-width: 0; overflow-wrap: anywhere; padding-top: 1px; }
.card-top .check { width: 22px; height: 22px; border-radius: 7px; flex: none; margin-top: 0; }
.card-top .check svg { width: 13px; height: 13px; }
.card-menu { opacity: 0; margin: -2px -4px 0 0; }
.task-card:hover .card-menu, .task-card:focus-within .card-menu, .card-menu[aria-expanded="true"] { opacity: 1; }
.task-card { cursor: grab; }
.task-card:focus-visible { box-shadow: var(--ring); border-radius: var(--r); }
.task-card.waiting { opacity: .62; border-style: dashed; }
.task-card.waiting:hover { opacity: 1; }
.task-card.flash { animation: flash 1.1s 2; }
.col-empty { padding: 14px 10px; text-align: center; color: var(--text-3); font-weight: 600; font-size: 13px; border: 1.5px dashed var(--border-strong); border-radius: var(--r); }
.group-head .faint { margin-left: auto; font-weight: 700; }
.incomplete-head .count { margin-left: auto; background: var(--surface); }
.sortable-fallback { opacity: .95 !important; box-shadow: var(--shadow-lg) !important; transform: rotate(2deg); }
@keyframes flash { 0%, 100% { box-shadow: var(--shadow-sm); } 35% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 50%, transparent); } }
@keyframes slide-in { from { transform: translateX(28px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------------------------------------------------------------- the task panel */
.drawer-scrim { position: fixed; inset: 0; z-index: 40; background: rgba(14, 16, 30, .28); animation: fade .15s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(480px, 100vw); z-index: 41; display: flex; flex-direction: column; background: var(--surface); border-left: 1px solid var(--border); box-shadow: var(--shadow-lg); animation: slide-in .22s var(--ease); }
.drawer-band { height: 6px; flex: none; background: linear-gradient(90deg, var(--c), color-mix(in srgb, var(--c) 40%, var(--accent))); }
.drawer-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px 4px 20px; flex: none; }
.drawer-where { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; font-weight: 700; }
.drawer-body { flex: 1; overflow-y: auto; padding: 6px 20px 24px; display: grid; gap: 18px; align-content: start; }
.drawer-foot { flex: none; display: flex; gap: 10px; padding: 12px 20px; border-top: 1px solid var(--border); background: var(--surface-2); }
.drawer-foot .danger { margin-left: auto; }
.title-input { width: 100%; border: 0; border-bottom: 2px solid transparent; background: none; font-size: 21px; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; padding: 4px 0; outline: none; color: var(--text); border-radius: 0; }
.title-input:hover { border-bottom-color: var(--border); }
.title-input:focus { border-bottom-color: var(--blue); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fgrid .wide { grid-column: 1 / -1; }
.flabel { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; color: var(--text-2); text-transform: uppercase; letter-spacing: .05em; }
summary.flabel { cursor: pointer; }
.section { display: grid; gap: 8px; }
.repeat-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 4px; }
.repeat-row select { width: auto; min-width: 150px; }
.day-toggles { display: flex; gap: 4px; }
.day-toggles button, .tool-pills button { background: var(--sunken); color: var(--text-2); font-weight: 700; transition: background .15s, color .15s; }
.day-toggles button { width: 32px; height: 32px; border-radius: 50%; font-size: 12px; }
.tool-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.tool-pills button { height: 30px; padding: 0 13px; border-radius: var(--r-pill); }
.day-toggles button[aria-pressed="true"], .tool-pills button[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent-text); box-shadow: inset 0 0 0 1.5px var(--accent); }
.tag-input { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 6px 8px; border: 1.5px solid var(--border); border-radius: var(--r); background: var(--surface-2); }
.tag-input:focus-within { border-color: var(--blue); box-shadow: var(--ring); }
.tag-input input { border: 0; background: none; outline: none; flex: 1; min-width: 90px; height: 24px; font-weight: 600; }
.link-list { display: grid; gap: 4px; }
.link-row { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: var(--r-sm); background: var(--surface-2); font-weight: 600; }
.link-row > svg { color: var(--text-3); }
.link-row a { color: var(--blue); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; }
.link-row .path { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.link-add { display: grid; grid-template-columns: 1fr 1.6fr auto; gap: 6px; }
.link-add .input { height: 34px; }
.notes { height: auto; min-height: 110px; padding: 10px 12px; line-height: 1.5; resize: vertical; font-weight: 500; }
.history { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 13px; font-weight: 600; }
.history li { display: flex; justify-content: space-between; gap: 12px; }

/* ---------------------------------------------------------------- modals */
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.modal.wide { width: min(640px, calc(100vw - 32px)); }
.pick .grow { flex: 1; min-width: 0; text-align: left; }
.est-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.est-chips .chip { height: 30px; padding: 0 13px; }
.chip.suggest { height: 32px; padding: 0 14px; background: var(--accent-soft); color: var(--accent-text); font-weight: 800; justify-self: start; }
.chip.suggest .faint { color: var(--accent-text); opacity: .75; font-weight: 600; }
.est-form { display: flex; gap: 8px; }
.trash-list { max-height: 50vh; overflow: auto; display: grid; gap: 6px; }
.trash-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--border); border-radius: var(--r); background: var(--surface-2); }
.trash-row .task-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------------------------------------------------------------- table */
.table-wrap { padding-top: 14px; }
.tbl-scroll { overflow-x: auto; border-radius: var(--r-lg); }
.tbl { min-width: 1080px; }
.tbl th.sortable { padding: 0; }
.tbl th.sortable button { width: 100%; display: flex; align-items: center; gap: 4px; padding: 11px 12px; font-weight: 800; color: inherit; text-align: left; }
.tbl th.num button { justify-content: flex-end; }
.tbl th.sortable:hover { background: var(--hover); }
.tbl .arrow { display: inline-grid; transition: transform .15s; }
.tbl .arrow.down { transform: rotate(180deg); }
.tbl .sel-cell { width: 34px; padding-right: 0; text-align: center; }
.tbl .sel-cell input { width: 16px; height: 16px; accent-color: var(--accent); }
.tbl tr.sel td { background: var(--accent-soft); }
.tbl td[data-cell] { cursor: text; }
.tbl td[data-cell]:hover { background: var(--hover); }
.tbl td.title-cell { padding-left: 14px; min-width: 260px; }
.tbl td.title-cell .open { opacity: 0; vertical-align: middle; margin: -2px 4px -2px -6px; }
.tbl tr:hover .open, .tbl .open:focus-visible { opacity: 1; }
.tbl td.title-cell.is-done .cell-text { color: var(--text-3); text-decoration: line-through; }
.tbl .cell-flags .chip { margin-left: 6px; }
.tbl .input-sm { width: 100%; min-width: 90px; }
.tbl-empty { text-align: center; color: var(--text-3); padding: 34px 12px !important; font-weight: 600; }
.tbl-foot { margin: 10px 4px 0; font-size: 13px; font-weight: 700; color: var(--text-2); }
.tbl .grp-name { display: inline-flex; align-items: center; gap: 8px; }
.tbl .grp-name .faint { font-weight: 700; margin-left: 6px; }
.tbl .delta-ok { color: var(--ok); } .tbl .delta-bad { color: var(--bad); }
.bulkbar { position: sticky; top: 70px; z-index: 15; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 8px 12px; margin-bottom: 10px; border-radius: var(--r); background: var(--accent-soft); color: var(--accent-text); font-weight: 800; box-shadow: var(--shadow-sm); }
.bulkbar[hidden] { display: none; }
.bulkbar .btn-soft { background: var(--surface); color: var(--text); }
.bulkbar .btn-ghost { color: var(--accent-text); }

/* ---------------------------------------------------------------- settings */
.settings { max-width: 1000px; margin: 0 auto; padding: 20px; display: grid; gap: 16px; }
.set-h { margin: 14px 0 -4px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.settings .panel { display: grid; gap: 12px; }
.settings .panel p { margin: 0; }
.area-card { border-left: 5px solid var(--c); }
.area-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.area-head .input { flex: 1; min-width: 160px; max-width: 280px; font-weight: 800; }
.swatch-row { display: inline-flex; gap: 5px; }
.swatch-btn { width: 20px; height: 20px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 2px var(--surface); outline: 2px solid transparent; transition: transform .12s; }
.swatch-btn:hover { transform: scale(1.15); }
.swatch-btn[aria-checked="true"] { outline-color: var(--text); }
.switch { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; cursor: pointer; }
.switch input { width: 36px; height: 20px; appearance: none; border-radius: var(--r-pill); background: var(--border-strong); position: relative; transition: background .15s; cursor: pointer; flex: none; }
.switch input::after { content: ''; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s var(--ease); box-shadow: var(--shadow-sm); }
.switch input:checked { background: var(--green); }
.switch input:checked::after { transform: translateX(16px); }
.switch input:focus-visible { box-shadow: var(--ring); }
.cal-field { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--text-2); }
.cal-field .input { max-width: 360px; }
.proj-head, .proj-row { display: grid; grid-template-columns: var(--pc, 1.4fr 1fr 120px 130px 1fr); gap: 8px; align-items: center; }
.proj-head { font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--text-3); padding: 0 2px; }
.add-row { display: flex; gap: 8px; }
.add-row .input { max-width: 320px; }
.area-new { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.area-new .input { max-width: 260px; }
.hours-grid { display: grid; grid-template-columns: 150px 130px 130px; gap: 8px 12px; align-items: center; }
.hr-day { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.hr-day input { width: 16px; height: 16px; accent-color: var(--accent); }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; }

@media (max-width: 720px) {
  .view-toolbar, .filterbar { padding-left: 12px; padding-right: 12px; }
  .fgrid { grid-template-columns: 1fr; }
  .proj-head { display: none; }
  .proj-row { grid-template-columns: 1fr 1fr; }
  .tbl-foot { margin-left: 0; }
}

/* ================================================================ Phase 2: the timer */
.pill-host { display: flex; align-items: center; margin-right: 4px; min-width: 0; }
body[data-view="focus"] .pill-host { display: none; }
.pill-start { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent-text); font-weight: 800; white-space: nowrap; }
.pill-start:hover { background: var(--accent); color: var(--accent-ink); }
.timer-pill { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 5px 0 14px; border-radius: var(--r-pill); background: var(--surface); border: 1.5px solid color-mix(in srgb, var(--c) 55%, var(--border)); box-shadow: var(--shadow-sm); max-width: min(420px, 38vw); }
.timer-pill .live { flex: none; }
.pill-title { min-width: 0; max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 800; font-size: 13px; text-align: left; }
.pill-title:hover { text-decoration: underline; }
.pill-clock { font-weight: 800; font-size: 15px; padding: 0 2px; }
.pill-btn { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--sunken); color: var(--text); flex: none; transition: transform .12s, background .15s; }
.pill-btn svg { width: 13px; height: 13px; }
.pill-btn:hover { transform: scale(1.08); background: var(--hover); }
.pill-btn.primary { background: var(--accent); color: var(--accent-ink); }
.timer-pill.is-paused { border-style: dashed; }
.timer-pill.is-paused .live, .now-card.is-paused .live { background: var(--text-3); animation: none; box-shadow: none; }
.timer-pill.is-paused .pill-clock, .now-card.is-paused .timer { color: var(--text-3); }

/* Focus */
.hello-sun { color: var(--sun); display: inline-flex; transform: translateY(3px); }
.hello-sun svg { width: 26px; height: 26px; stroke-width: 2.4; }
.now-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.now-chips { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; }
.title-link { text-align: left; font: inherit; color: inherit; }
.title-link:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.now-idle { text-align: center; justify-items: center; padding: 34px 20px; }
.now-idle .now-title { font-size: 20px; }
.now-idle p { margin: 0; max-width: 440px; }
.idle-art { width: 64px; height: 64px; border-radius: 22px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); transform: rotate(-5deg); }
.idle-art svg { width: 30px; height: 30px; stroke-width: 2.2; }
.foot-item { display: inline-flex; align-items: center; gap: 6px; }
.foot-item .link-btn { margin-left: 6px; color: var(--accent-text); }
.row-start { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); transition: transform .12s, background .15s; }
.row-start:hover { background: var(--accent); color: var(--accent-ink); transform: scale(1.1); }
.row-start svg { width: 12px; height: 12px; margin-left: 1px; }
.row-est { width: 150px; }
.task-row { cursor: grab; }
.task-row.flash { animation: flash 1.1s 2; }
.task-row.incomplete-row { background: var(--warn-soft); border: 1.5px dashed color-mix(in srgb, var(--orange) 55%, transparent); cursor: default; }
.task-row.incomplete-row .slot { color: var(--warn); }
.task-row .check { cursor: pointer; }
.center { text-align: center; }
.entry-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-size: 13px; font-weight: 600; }
.entry-list li { display: flex; align-items: center; gap: 10px; padding: 7px 4px; border-bottom: 1px solid var(--border); }
.entry-list li:last-child { border-bottom: 0; }
.entry-list li.running .grow { color: var(--accent-text); font-weight: 800; }
.entry-list .grow { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.finish-actions { display: grid; gap: 8px; }
.finish-actions .btn { height: 42px; }

/* the "Which task?" search */
.switch-box { width: min(560px, calc(100vw - 32px)); }
.picker-input { margin-bottom: 8px; }
.picker-list { display: grid; gap: 4px; max-height: min(52vh, 420px); overflow: auto; }
.pick-row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: var(--r); background: var(--surface-2); border: 1.5px solid transparent; text-align: left; font-weight: 600; width: 100%; }
.pick-row:hover, .pick-row.active { background: var(--accent-soft); border-color: var(--accent); }
.pick-row .grow { display: grid; min-width: 0; }
.pick-row b { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pick-row small { color: var(--text-3); font-weight: 700; font-size: 12px; }
.pick-row .plus { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 7px; background: var(--accent); color: var(--accent-ink); flex: none; }
.picker-pop { width: 380px; max-width: 90vw; }
.picked { padding: 4px 2px 10px; font-weight: 700; }

/* Table → Time entries */
.table-modes a { padding: 3px 12px; border-radius: var(--r-pill); font-size: 13px; font-weight: 700; color: var(--text-2); text-decoration: none; }
.table-modes a[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.table-modes { margin-left: 0 !important; }
.custom-range { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); font-weight: 700; }
.custom-range[hidden] { display: none; }
.entries-tbl { min-width: 960px; }
.entries-tbl td.title-cell { min-width: 260px; }
.entries-tbl .cell-sub { margin-left: 8px; font-size: 12px; }
.entries-tbl .note-cell { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.entries-tbl .act-col { width: 70px; white-space: nowrap; text-align: right; }
.entries-tbl td[data-cell] { cursor: text; }
.entries-tbl tr.running td { background: color-mix(in srgb, var(--accent) 7%, transparent); }
