/* Accrod Phase 29 — practical hit areas and contrast polish.
   Small, utility-like actions keep their visual scale; the clickable area is enlarged. */

/* The dashboard/date quick actions were only about 19px high on desktop. Keep the
   quiet text treatment, but give mouse, touch and keyboard users a dependable target. */
.workspace-body #view-content .subtle-action {
  min-height: 28px;
  padding: 4px 2px;
  line-height: 1.35;
}

/* These buttons open record detail views. A full 24px target improves precision without
   turning dense tables into oversized cards. */
.workspace-body #view-content .table-open-record {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding-block: 3px;
  vertical-align: middle;
}

/* Native checkboxes were only 18 × 18px. Match the minimum comfortable target size and
   keep their alignment with the task title. */
.workspace-body #view-content .task-check {
  width: 24px;
  height: 24px;
  margin-top: 0;
}

/* Helper links in compact field notes should still be easy to tap and look like links. */
.workspace-body #view-content .field-note a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding-block: 4px;
  color: var(--brand-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  border-radius: 4px;
}
.workspace-body.dark-mode #view-content .field-note a {
  color: var(--brand);
}

/* The team-invite helper copy was just below the normal-text AA target on the soft
   surface (4.47:1). Use the existing higher-contrast semantic text token instead. */
.workspace-body #view-content .team-form-heading p {
  color: var(--ink-2);
}

@media (max-width: 680px) {
  .workspace-body #view-content .subtle-action {
    min-height: 32px;
    padding-inline: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .workspace-body #view-content .subtle-action,
  .workspace-body #view-content .table-open-record {
    transition: none !important;
  }
}
