/* Cronograma: duas linhas, decisões no fluxo e nenhuma expansão de detalhes. */
.schedule-page .task-tree .task-node > .task-row {
  min-height: 68px !important;
  padding: 8px 10px 8px 13px !important;
}
.schedule-page .task-tree .task-node > .task-row > .task-main {
  grid-template-columns: minmax(220px,1fr) auto !important;
  grid-template-rows: auto auto;
  gap: 5px 12px !important;
}
.schedule-page .task-tree .task-card-heading {
  grid-column: 1 !important;
  grid-row: 1;
  min-height: 27px !important;
}
.schedule-page .task-tree .task-card-heading .task-name {
  font-size: 12px !important;
}
.schedule-page .task-tree .task-details-cue::after { content: "Abrir  ›"; }
.schedule-page .task-tree .task-main > .progress-wrap,
.schedule-page .task-tree .task-main > .parent-collapse-progress {
  grid-column: 1 !important;
  grid-row: 2;
  min-width: 0;
}
.schedule-page .task-tree .compact-decision-actions {
  grid-column: 2 !important;
  grid-row: 1;
  align-self: center;
  display: flex !important;
  gap: 5px;
}
.schedule-page .task-tree .compact-decision-actions button {
  min-width: 72px;
  min-height: 28px !important;
  padding-inline: 9px !important;
  box-shadow: none !important;
}
.schedule-page .task-tree .task-main > .task-edit-button,
.schedule-page .task-tree .task-main > .queue-release-button {
  grid-column: 2;
  grid-row: 2;
  align-self: center;
  justify-self: end;
  min-height: 25px !important;
  padding-inline: 9px !important;
}
.schedule-page .task-tree .task-edit-button {
  font-size: 0 !important;
  width: 27px;
  padding: 0 !important;
}
.schedule-page .task-tree .task-edit-button::before {
  content: "✎";
  font-size: 11px;
}
.schedule-page .task-tree .task-edit-button::after {
  content: "Editar";
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  clip: rect(0 0 0 0);
}
.schedule-page .task-tree .subtask-button {
  width: 28px;
  min-width: 28px;
  height: 28px;
  padding: 0;
  overflow: hidden;
  border-radius: 8px;
  font-size: 0;
}
.schedule-page .task-tree .subtask-button::before { content: "+";font-size: 16px; }
.schedule-page .task-tree .queue-drag-rail {
  position: absolute !important;
  z-index: 2;
  inset: 8px auto 8px 0 !important;
  width: 4px !important;
  height: auto !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 4px 4px 0 !important;
  background: color-mix(in srgb,var(--primary) 72%,transparent) !important;
  box-shadow: none !important;
  cursor: grab;
}
.schedule-page .task-tree .queue-drag-rail::before,
.schedule-page .task-tree .queue-drag-rail::after { display: none !important;content: none !important; }
.schedule-page .task-tree .task-reorder-pending > .task-row .queue-drag-rail {
  background: #5ca8e8 !important;
}
.schedule-page .task-tree .task-awaiting-approval > .task-row {
  box-shadow: inset 3px 0 0 #d99b38,0 5px 18px #00000012 !important;
}
.schedule-page .task-tree .task-reorder-pending > .task-row {
  box-shadow: inset 3px 0 0 #5ca8e8,0 5px 18px #00000012 !important;
}
.schedule-page .task-tree-children {
  margin-top: 4px !important;
  padding-left: 13px !important;
}
@media(max-width:760px){
  .schedule-page .task-tree .task-node > .task-row > .task-main { grid-template-columns: 1fr !important; }
  .schedule-page .task-tree .task-card-heading,
  .schedule-page .task-tree .task-main > .progress-wrap,
  .schedule-page .task-tree .task-main > .parent-collapse-progress,
  .schedule-page .task-tree .compact-decision-actions,
  .schedule-page .task-tree .task-main > .task-edit-button,
  .schedule-page .task-tree .task-main > .queue-release-button { grid-column: 1 !important;grid-row: auto;justify-self: stretch; }
  .schedule-page .task-tree .task-edit-button { justify-self: end;width: 27px; }
}
