/* Page-specific overrides only — shared design tokens and component styles
   live in /shared/tokens.css and /shared/base.css. Nothing page-unique yet. */

/* Task [105]: task-list rows open the read-only detail view on click
   (app.js ignores clicks that land on an inline control/button within the
   row). Cursor affordance is scoped to this class rather than the shared
   .task-table selector, since that class is also used by the non-clickable
   overview/log tables on this page. */
.task-row-clickable {
  cursor: pointer;
}

/* Task detail modal (task [146]) */
.modal-dialog--detail {
  max-width: 800px;
  width: 90vw;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-dialog--detail > .modal-close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
}

/* Task [192]: push the project selector / edit-project button to the
   right side of the toolbar. .toolbar already has display: flex
   (see /shared/base.css), so margin-left: auto on this group is enough
   to pin it to the end of the row. */
.toolbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.toolbar-right > label {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.toolbar-right > .button-link {
  align-self: flex-end;
  margin-bottom: 2px;
}
