/* ============================================================
   Activity Tracker — universal tracker in the reserved area.
   One master list (type = a column, not a tab) + pinned cards.
   Reuses .modal/.field/.btn from menus-modals.css for the dialog.
   ============================================================ */

#activity-tracker.activity-tracker {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  padding: 12px 14px;
  gap: 10px;
  font-size: var(--fs-base);
}

/* ---------- header ---------- */
.act-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex: 0 0 auto;
}

.act-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: var(--fs-md);
  color: var(--ink);
}

.act-title svg {
  color: var(--accent);
}

.act-count {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 1px 7px;
  border-radius: var(--r-pill);
}

.act-count:empty {
  display: none;
}

.act-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.act-new {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--accent);
  color: var(--accent-fg);
  border: none;
  border-radius: var(--r-md);
  padding: 6px 11px;
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
  transition: background var(--dur) var(--ease);
}

.act-new:hover {
  background: var(--accent-hover);
}

/* ---------- pinned strip (fixed-width cards wrap, scroll vertically) ---------- */
.act-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  overflow: hidden;
  padding: 6px 8px 10px;
  flex: 0 1 auto;
  min-height: 0;
  scrollbar-width: none;
  /* Center the whole card block: cap the strip at 4 cards wide (4×250 + 3×8 gaps + 16
     padding = 1040px) and auto-margin it. Cards stay left-aligned WITHIN the strip
     (flex-start), so a partial row sits under the first cards — but the block as a whole
     is centered whenever the shutter is wider than 4 cards. Narrower shutters shrink it. */
  max-width: 1040px;
  margin-inline: auto;
}

.act-strip::-webkit-scrollbar {
  display: none;
}

.act-strip[hidden] {
  display: none;
}

.act-card {
  /* Fixed width so every card is identical across rows (no per-row stretching). 250px × 4 +
     3×8px gaps = 1024px, fitting the ~1028px content area the shutter gets beside the right
     to-do pane (the 8px gap — vs 10 — is what keeps all 4 columns on one row). */
  flex: 0 0 250px;
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 10px;
  cursor: grab;
  box-shadow: var(--shadow-md);
  transition:
    box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}

.act-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-pop);
  transform: translateY(-1px);
}

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

/* finished card: quiet accent tint on the border so done items read at a glance */
.act-card.is-done {
  border-color: var(--accent);
}

.act-card.is-done .act-plabel {
  color: var(--accent-text);
  font-weight: 600;
}

.act-card-top {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

/* ---------- drag-to-reorder (cards + rows) ---------- */
.act-grip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--faint);
  cursor: grab;
}

.act-grip:active {
  cursor: grabbing;
}

.act-card.act-dragging,
.act-table tr.act-dragging {
  opacity: 0.4;
}

.act-card.drop-before {
  box-shadow: -3px 0 0 0 var(--accent), var(--shadow-md);
}

.act-card.drop-after {
  box-shadow: 3px 0 0 0 var(--accent), var(--shadow-md);
}

.act-table tr.drop-before td {
  box-shadow: inset 0 2px 0 0 var(--accent);
}

.act-table tr.drop-after td {
  box-shadow: inset 0 -2px 0 0 var(--accent);
}

/* grip column in the table */
.act-table .act-c-grip {
  width: 26px;
  padding: 6px 0 6px 4px;
  text-align: center;
}

.act-table thead .act-c-grip .act-grip-hdr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--faint);
  opacity: 0.5;
}

/* row grips stay visible always (owner choice — was hover-only) */
.act-table .act-c-grip .act-grip {
  opacity: 0.85;
  transition: opacity var(--dur) var(--ease);
}

/* when a sort is active rows can't be reordered — show the grip as disabled */
.act-table:not(.is-reorderable) .act-c-grip .act-grip {
  opacity: 0.3;
  cursor: not-allowed;
}

.act-card-meta {
  flex: 1;
  min-width: 0;
}

.act-card-name {
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--ink);
  /* wrap onto up to 2 lines (was a single truncated line); long titles still ellipsize.
     Full title stays available via the title="" tooltip. Keeps cards compact + uniform. */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.act-card-by {
  font-size: var(--fs-xs);
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- cover thumbnail (image slot) ---------- */
.act-cover {
  position: relative;
  flex: none;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.act-cover.is-link {
  cursor: pointer;
}

.act-cover.is-link:hover {
  border-color: var(--accent);
}

.act-cover-ico {
  color: var(--faint);
  display: flex;
}

.act-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- chips ---------- */
.act-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;   /* sits just under the author name inside the meta column */
}

.act-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-xs);
  padding: 2px 8px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  white-space: nowrap;
}

.act-chip svg {
  color: var(--faint);
}

/* "Finished" chip on done cards */
.act-chip-done {
  background: var(--accent-soft);
  border-color: transparent;
  color: var(--accent-text);
  font-weight: 600;
}

.act-chip-done svg {
  color: var(--accent-text);
}

/* ---------- progress ---------- */
.act-prog {
  display: flex;
  align-items: center;
  gap: 8px;
}

.act-bar {
  flex: 1;
  height: 6px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  min-width: 40px;
}

.act-bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  border-radius: var(--r-pill);
  transition: width var(--dur) var(--ease);
}

.act-plabel {
  font-size: var(--fs-xs);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ---------- +1 step button (on card) ---------- */
.act-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: 5px 8px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.act-step:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-text);
}

/* tiny press feedback on the +1 button */
.act-step:active {
  transform: scale(0.96);
}

/* card action row: pin (at the start) + "+1" share one line, same height, aligned */
.act-card-actions {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.act-card-actions .act-step {
  flex: 1;
}

/* pin button matches the "+1" button here: bordered, same height (stretch), no fixed box */
.act-card-actions .act-icon {
  width: auto;
  height: auto;
  margin: 0;
  padding: 0 10px;
  background: var(--surface);
  border-color: var(--border);
  border-radius: var(--r-md);
}

/* ---------- shutter body (state messages; the master table lives in the Logbook) ---------- */
.act-body {
  flex: 1 1 0;
  min-height: 0;
  overflow: auto;
  display: flex;
  flex-direction: column;
}

/* ---------- master table (rendered inside the Logbook) ---------- */
/* Notion-style: compact rows, left-aligned cells, quiet lowercase headers */
.act-table {
  width: 100%;
  min-width: 1060px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: var(--fs-base);
}

.act-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--surface);
  /* all headers centred — Name is the only left-aligned one (below) */
  text-align: center;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--muted);
  padding: 7px 10px;
  border-bottom: 1px solid var(--border-strong);
  white-space: nowrap;
}

.act-table th[data-k="title"] {
  text-align: left;
}


/* clickable header = Excel-style sort + filter dropdown trigger */
.act-table th.act-h {
  cursor: pointer;
  user-select: none;
}

.act-table th.act-h .act-h-in {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
}

.act-table th.act-h:hover {
  color: var(--ink);
}

.act-h-arrow {
  color: var(--accent-text);
  font-weight: 700;
}

.act-h-caret {
  display: inline-flex;
  align-items: center;
  color: var(--faint);
  transition: color var(--dur) var(--ease);
}

.act-table th.act-h:hover .act-h-caret {
  color: var(--ink);
}

.act-table th.act-h.is-sorted .act-h-caret,
.act-table th.act-h.is-filtered .act-h-caret {
  color: var(--accent-text);
}

.act-table td {
  padding: 6px 10px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  /* all values centred — Name is the only left-aligned column (below) */
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--ink);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.act-table td.act-c-name {
  text-align: left;
}

/* date cells (Start / End) */
.act-table td.act-date {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.act-nil {
  color: var(--faint);
}

.act-table tbody tr {
  transition: background var(--dur) var(--ease);
}

.act-table tbody tr:hover {
  background: var(--surface-2);
}

.act-name-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.act-name-meta {
  min-width: 0;
  line-height: 1.25;
}

.act-name {
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.act-by {
  font-size: var(--fs-xs);
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* type: muted label + small icon */
.act-table td.act-ty {
  color: var(--muted);
}

.act-ty-in {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
}

.act-ty-in svg {
  color: var(--faint);
  flex: none;
}

.act-ty-txt {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.act-num {
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  white-space: nowrap;
}

/* progress cell: bar fills, % is fixed-width + right-aligned so bars line up */
.act-table td .act-prog {
  gap: 8px;
}

.act-table .act-bar {
  min-width: 28px;
}

.act-table .act-plabel {
  min-width: 34px;
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-size: var(--fs-sm);
}

/* ---------- status pill (color + dot/check, never color alone) ---------- */
.act-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: 1px 8px;
  border-radius: var(--r-pill);
  white-space: nowrap;
  overflow: hidden;
}

.act-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

.act-pill.is-todo {
  background: var(--surface-2);
  color: var(--muted);
  border: 1px solid var(--border);
}

.act-pill.is-doing {
  background: var(--accent-soft);
  color: var(--accent-text);
}

.act-pill.is-done {
  background: var(--accent);
  color: var(--accent-fg);
}

/* ---------- row action icons (compact) ---------- */
.act-acts {
  white-space: nowrap;
}

/* Row action buttons (+1 / edit / pin): box + border always visible, matching the card action buttons */
.act-acts .act-icon {
  background: var(--surface);
  border-color: var(--border);
}

.act-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background var(--dur), color var(--dur), border-color var(--dur);
  margin-left: 2px;
}

.act-icon:hover {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border);
}

.act-icon.on {
  color: var(--accent);
}

/* ---------- empty state ---------- */
.act-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-align: center;
  color: var(--muted);
  padding: 24px 16px;
  height: 100%;
}

.act-empty-ico {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-text);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.act-empty-title {
  font-weight: 600;
  color: var(--ink);
}

.act-empty-sub {
  font-size: var(--fs-sm);
}

.act-empty .act-new {
  margin-top: 8px;
}

/* ---------- custom select (Type field in dialog) ---------- */
.field-select-wrap {
  position: relative;
  display: block;
}

.field-select-wrap::after {
  content: '';
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--muted);
}

.field-select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 7px 32px 7px 10px;
  font-size: var(--fs-sm);
  font-family: inherit;
  color: var(--ink);
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.field-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-soft);
}

.field-select option {
  background: var(--surface);
  color: var(--ink);
}

/* ---------- dialog extras (reuses .modal/.field/.btn) ---------- */
.act-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.field-opt {
  color: var(--faint);
  font-weight: 400;
  font-size: var(--fs-xs);
}

.act-modal-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.act-actions-spacer {
  flex: 1;
}

/* "Pin to shutter" toggle in the New/Edit activity footer. Ghost by default; teal
   (accent) when active, matching the pinned "on" state used elsewhere. */
.act-pin-toggle svg {
  width: 16px;
  height: 16px;
}
.act-pin-toggle.is-on {
  color: var(--accent-text);
  border-color: var(--accent);
  background: var(--accent-soft);
}
.act-pin-toggle.is-on:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
}

.btn-danger {
  background: var(--danger-soft);
  color: var(--danger);
  border: 1px solid transparent;
}

.btn-danger:hover {
  background: var(--danger);
  color: #fff;
}

/* ---------- "Clear filters" toolbar button (shows only when active) ---------- */
.act-clear {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: var(--r-md);
  padding: 6px 10px;
  font-size: var(--fs-sm);
  font-family: inherit;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.act-clear:hover {
  border-color: var(--border-strong);
  color: var(--ink);
}

.act-clear[hidden] {
  display: none;
}

/* ---------- Excel-style column dropdown (sort + filter) ---------- */
.act-colmenu {
  position: fixed;
  z-index: 1000;
  min-width: 210px;
  max-width: 270px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  padding: 6px;
  font-size: var(--fs-sm);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.act-colmenu[hidden] {
  display: none;
}

.act-cm-sort {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.act-cm-opt {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--ink);
  padding: 7px 8px;
  border-radius: var(--r-sm);
  cursor: pointer;
  font-size: var(--fs-sm);
  font-family: inherit;
}

.act-cm-opt:hover {
  background: var(--surface-2);
}

.act-cm-opt.on {
  color: var(--accent-text);
  background: var(--accent-soft);
}

.act-cm-opt svg {
  color: var(--muted);
  flex: none;
}

.act-cm-opt.on svg {
  color: var(--accent-text);
}

.act-cm-filter {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px 2px 2px;
  margin-top: 4px;
  border-top: 1px solid var(--border);
}

/* filter-only menus (no sort section above, e.g. Status) — drop the stray top divider */
.act-cm-filter:first-child {
  border-top: none;
  margin-top: 0;
  padding-top: 2px;
}

.act-cm-search input {
  width: 100%;
  box-sizing: border-box;
  padding: 6px 9px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--surface-2);
  color: var(--ink);
  font-size: var(--fs-sm);
  font-family: inherit;
}

.act-cm-search input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-soft);
}

.act-cm-list {
  max-height: 184px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1px;
  scrollbar-width: thin;
}

.act-cm-check {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 8px;
  border-radius: var(--r-sm);
  cursor: pointer;
}

.act-cm-check:hover {
  background: var(--surface-2);
}

.act-cm-check input {
  accent-color: var(--accent);
  width: 15px;
  height: 15px;
  flex: none;
  cursor: pointer;
}

.act-cm-check span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.act-cm-all {
  font-weight: 600;
  margin-bottom: 2px;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  padding-bottom: 7px;
}

.act-cm-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px solid var(--border);
}

.act-cm-clear {
  background: none;
  border: none;
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: var(--r-sm);
}

.act-cm-clear:hover {
  color: var(--accent-text);
  background: var(--accent-soft);
}

/* ---------- group rows (Logbook "Group by" — Notion-style section headers) ---------- */
.act-table tr.act-group-row td {
  background: var(--surface-2);
  padding: 6px 10px;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ink);
  text-align: center;
}

.act-group-n {
  margin-left: 6px;
  color: var(--muted);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

/* "Group" header button (matches .act-clear, glows teal while grouping is on) */
.act-groupbtn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: var(--r-md);
  padding: 6px 10px;
  font-size: var(--fs-sm);
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.act-groupbtn:hover {
  border-color: var(--border-strong);
  color: var(--ink);
}

.act-groupbtn.on {
  background: var(--accent-soft);
  border-color: transparent;
  color: var(--accent-text);
}

.act-groupbtn.on svg,
.act-groupbtn.on .act-h-caret {
  color: var(--accent-text);
}

/* checkmark slot in the Group dropdown (keeps unticked labels aligned) */
.act-cm-gap {
  width: 14px;
  flex: none;
}

/* ---------- header: Logbook button + shutter-pin toggle ---------- */
.act-logbtn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--ink);
  border-radius: var(--r-md);
  padding: 6px 11px;
  font-size: var(--fs-sm);
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.act-logbtn:hover {
  background: var(--surface);
  border-color: var(--border-strong);
}

.act-logbtn svg { color: var(--accent); }

/* ---------- Logbook (full-page overlay hosting the master table) ---------- */
.act-logbook {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  padding: 18px 22px 22px;
  box-sizing: border-box;
  animation: act-log-in 0.18s var(--ease);
}

.act-logbook[hidden] { display: none; }

@keyframes act-log-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

.act-log-panel {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.act-log-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex: 0 0 auto;
}

.act-log-head .act-title { font-size: var(--fs-lg); }

.act-log-close {
  width: 32px;
  height: 32px;
}

.act-log-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

/* lock background scroll while the logbook is open */
body.act-log-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .act-bar > span,
  .act-new,
  .act-step,
  .act-icon,
  .act-h-caret,
  .act-logbtn,
  .act-card,
  .act-table tbody tr {
    transition: none;
  }
  .act-card:hover { transform: none; }
  .act-step:active { transform: none; }
  .act-logbook { animation: none; }
}
