/* TPS 2026.10.17.058: Planowanie — align the real route drop-zone between controls and utilization. */
html body #root section.planning-compact.planning-module-planning[class*="daily-view-"] > .min-h-0.flex-1.overflow-y-auto > .relative.tps-week-search-result > .grid.items-center.border-t {
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:34px 240px 76px minmax(220px,1fr) 142px 108px!important;
  grid-auto-flow:row!important;
  column-gap:3px!important;
  width:max(100%, 835px)!important;
  min-width:835px!important;
  max-width:none!important;
}
html body #root section.planning-compact.planning-module-planning[class*="daily-view-"] > .min-h-0.flex-1.overflow-y-auto > .relative.tps-week-search-result > .grid.items-center.border-t > :nth-child(1){grid-column:1!important;grid-row:1!important}
html body #root section.planning-compact.planning-module-planning[class*="daily-view-"] > .min-h-0.flex-1.overflow-y-auto > .relative.tps-week-search-result > .grid.items-center.border-t > :nth-child(2){grid-column:2!important;grid-row:1!important}
html body #root section.planning-compact.planning-module-planning[class*="daily-view-"] > .planning-column-header,
html body #root section.planning-compact.planning-module-planning[class*="daily-view-"] > div[class~="tracking-wide"] {
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:34px 240px 76px minmax(220px,1fr) 142px 108px!important;
  column-gap:3px!important;
  width:max(100%, 835px)!important;
  min-width:835px!important;
  max-width:none!important;
}
html body #root section.planning-compact.planning-module-planning[class*="daily-view-"] > div[class~="tracking-wide"] > :nth-child(1){grid-column:1!important}
html body #root section.planning-compact.planning-module-planning[class*="daily-view-"] > div[class~="tracking-wide"] > :nth-child(2){grid-column:2!important}
html body #root section.planning-compact.planning-module-planning[class*="daily-view-"] > div[class~="tracking-wide"] > :nth-child(3){grid-column:3!important}
html body #root section.planning-compact.planning-module-planning[class*="daily-view-"] > div[class~="tracking-wide"] > :nth-child(4){display:none!important}
html body #root section.planning-compact.planning-module-planning[class*="daily-view-"] > div[class~="tracking-wide"] > :nth-child(5){grid-column:4!important}
html body #root section.planning-compact.planning-module-planning[class*="daily-view-"] > div[class~="tracking-wide"] > :nth-child(6){grid-column:5!important}
html body #root section.planning-compact.planning-module-planning[class*="daily-view-"] > div[class~="tracking-wide"] > :nth-child(7){grid-column:6!important}

/* Time and checkboxes share the compact control track immediately before route. */
html body #root section.planning-compact.planning-module-planning[class*="daily-view-"] .min-h-0.flex-1.overflow-y-auto > .relative.tps-week-search-result > .grid.items-center.border-t > :nth-child(4),
html body #root section.planning-compact.planning-module-planning[class*="daily-view-"] .min-h-0.flex-1.overflow-y-auto > .relative.tps-week-search-result > .grid.items-center.border-t > :nth-child(5) {
  grid-column:3!important;
  grid-row:1!important;
  min-width:0!important;
  max-width:76px!important;
  box-sizing:border-box!important;
}
/* This element carries useDroppable's ref: fill all space after controls and stop at utilization. */
html body #root section.planning-compact.planning-module-planning[class*="daily-view-"] .min-h-0.flex-1.overflow-y-auto > .relative.tps-week-search-result > .grid.items-center.border-t > :nth-child(6) {
  grid-column:4!important;
  grid-row:1!important;
  position:relative!important;
  inset:auto!important;
  box-sizing:border-box!important;
  display:flex!important;
  align-self:stretch!important;
  justify-self:stretch!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  height:auto!important;
  min-height:54px!important;
  margin:0!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  overscroll-behavior-x:contain!important;
}
html body #root section.planning-compact.planning-module-planning[class*="daily-view-"] .min-h-0.flex-1.overflow-y-auto > .relative.tps-week-search-result > .grid.items-center.border-t > :nth-child(6) > .route-point-copy-wrap,
html body #root section.planning-compact.planning-module-planning[class*="daily-view-"] .min-h-0.flex-1.overflow-y-auto > .relative.tps-week-search-result > .grid.items-center.border-t > :nth-child(6) > .base-route-item {
  flex:0 0 auto!important;
}
html body #root section.planning-compact.planning-module-planning[class*="daily-view-"] .min-h-0.flex-1.overflow-y-auto > .relative.tps-week-search-result > .grid.items-center.border-t > :nth-child(7){grid-column:5!important;grid-row:1!important;min-width:142px!important;width:142px!important;max-width:142px!important;justify-self:stretch!important}
html body #root section.planning-compact.planning-module-planning[class*="daily-view-"] .min-h-0.flex-1.overflow-y-auto > .relative.tps-week-search-result > .grid.items-center.border-t > :nth-child(8){grid-column:6!important;grid-row:1!important;min-width:108px!important;width:108px!important;max-width:108px!important;justify-self:stretch!important}

@media(max-width:1000px){
  html body #root section.planning-compact.planning-module-planning[class*="daily-view-"] > .min-h-0.flex-1.overflow-y-auto > .relative.tps-week-search-result {min-width:835px!important}
}
