/* Régua de ordem premium para os cards de planejamento. */
.schedule-page .task-tree .task-node > .task-row {
  grid-template-columns: 50px minmax(0,1fr) auto !important;
  column-gap: 8px !important;
  min-height: 74px !important;
  padding: 9px 11px 9px 7px !important;
}
.schedule-page .task-tree .task-node > .task-row > .task-tree-dot {
  visibility: hidden !important;
  width: 42px !important;
  margin: 0 !important;
}
.schedule-page .task-tree .task-node > .task-row > .task-parent-toggle {
  position: absolute;
  z-index: 4;
  left: 28px;
  bottom: 9px;
  width: 17px !important;
  height: 17px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 5px !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: .55;
}
.schedule-page .task-tree .task-parent-toggle span { font-size: 13px; }
.schedule-page .task-tree .task-node > .task-row:hover > .task-parent-toggle { opacity: 1; }
.schedule-page .task-tree .task-main { position: relative; }
.schedule-page .task-tree .task-order-number {
  position: absolute;
  z-index: 3;
  left: -50px;
  top: 50%;
  display: grid !important;
  place-items: center;
  width: 42px !important;
  height: 54px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: color-mix(in srgb,var(--task-tone) 78%,var(--text)) !important;
  font: 850 16px/1 Manrope,sans-serif !important;
  letter-spacing: -.035em;
  transform: translateY(-50%);
  box-shadow: none !important;
}
.schedule-page .task-tree .task-order-number::before {
  content: "ORDEM";
  align-self: end;
  color: color-mix(in srgb,var(--task-tone) 58%,var(--muted));
  font: 850 5px/1 "DM Sans",sans-serif;
  letter-spacing: .12em;
}
.schedule-page .task-tree .task-order-number::after {
  content: "";
  align-self: start;
  width: 12px;
  height: 2px;
  margin-top: 5px;
  border-radius: 99px;
  background: color-mix(in srgb,var(--task-tone) 72%,transparent);
}
.schedule-page .task-tree .task-node > .task-row::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 4px;
  top: 8px;
  bottom: 8px;
  width: 42px;
  border-right: 1px solid color-mix(in srgb,var(--task-tone) 18%,var(--line));
  background: linear-gradient(90deg,color-mix(in srgb,var(--task-tone) 7%,transparent),transparent);
  pointer-events: none;
}
.schedule-page .task-tree .task-card-heading {
  min-width: 0;
  padding-right: 2px !important;
}
.schedule-page .task-tree .task-card-heading .task-name {
  flex: 0 1 auto !important;
  max-width: min(520px,55vw);
  font-size: 13px !important;
}
.schedule-page .task-tree .task-details-cue {
  margin-left: auto;
  opacity: 0;
  transform: translateX(-3px);
}
.schedule-page .task-tree .task-row:hover .task-details-cue,
.schedule-page .task-tree .task-row:focus-within .task-details-cue {
  opacity: 1;
  transform: none;
}
.schedule-page .task-tree .task-main > .progress-wrap,
.schedule-page .task-tree .task-main > .parent-collapse-progress {
  width: 100%;
  max-width: none;
  padding-top: 2px !important;
}
.schedule-page .task-tree .progress-track,
.schedule-page .task-tree .parent-collapse-track { height: 5px !important; }
.schedule-page .task-tree .compact-decision-actions {
  grid-row: 1/3 !important;
  align-self: center;
  padding-left: 4px;
}
.schedule-page .task-tree .compact-decision-actions button {
  height: 31px !important;
  min-width: 74px;
}
.schedule-page .task-tree .task-main > .task-edit-button,
.schedule-page .task-tree .task-main > .queue-release-button {
  grid-row: 1/3;
  align-self: center;
}
.schedule-page .task-tree .task-card-actions {
  margin-left: 2px;
  opacity: .38;
}
.schedule-page .task-tree .task-row:hover .task-card-actions,
.schedule-page .task-tree .task-row:focus-within .task-card-actions { opacity: 1; }
.schedule-page .task-tree .queue-drag-rail {
  inset: 10px auto 10px 1px !important;
  width: 3px !important;
  border-radius: 0 3px 3px 0 !important;
}
@media(max-width:760px){
  .schedule-page .task-tree .task-node > .task-row { grid-template-columns: 43px minmax(0,1fr) !important; }
  .schedule-page .task-tree .task-order-number { left:-43px;width:36px !important; }
  .schedule-page .task-tree .task-node > .task-row::before { width:36px; }
  .schedule-page .task-tree .task-card-heading .task-name { max-width:58vw; }
  .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-row:auto; }
}
