/* r384: выделение по образцу и компактные элементы управления. */
.route-print-summary .route-summary-date th {
  background: color-mix(in srgb, var(--day-color) 26%, white) !important;
}

@media screen {
#rp-plan .route-day-head {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 6px 12px !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 8px 10px !important;
  box-sizing: border-box !important;
  width: 100% !important;
}
#rp-plan .route-day-head > * { min-width: 0; margin: 0 !important; }
#rp-plan .route-day-title { order: 0; flex: 0 1 auto; }
#rp-plan .route-day-color { order: 1; flex: 0 0 auto; }
#rp-plan .route-day-head > label:not(.route-day-color):not(.route-day-confirm) { order: 2; display: inline-flex; align-items: center; gap: 6px; }
#rp-plan .route-day-confirm { order: 3; flex: 0 0 auto; }
#rp-plan .route-nav-day { order: 4; margin-left: auto !important; }
#rp-plan .route-day-up { order: 5; }
#rp-plan .route-day-down { order: 6; }
#rp-plan .route-day-delete { order: 7; }
#rp-plan .route-day-head input { width: auto; max-width: 100%; }
#rp-plan .route-day .route-plan-row {
  display: grid !important;
  grid-template-columns: minmax(150px, .65fr) minmax(0, 2fr) auto auto auto !important;
  grid-template-rows: auto auto !important;
  align-items: start !important;
  gap: 4px 10px !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 7px 0 !important;
}
#rp-plan .route-plan-row > * { min-width: 0; margin: 0 !important; }
#rp-plan .route-plan-object { grid-column: 1 !important; grid-row: 1 !important; }
#rp-plan .route-object-order { grid-column: 1 !important; grid-row: 2 !important; }
#rp-plan .route-plan-row > span:not(.route-object-order) { grid-column: 2 !important; grid-row: 1 !important; }
#rp-plan .route-plan-row > small { grid-column: 2 !important; grid-row: 2 !important; }
#rp-plan .route-plan-row > time { grid-column: 3 !important; grid-row: 1 !important; }
#rp-plan .route-nav-leg { grid-column: 4 !important; grid-row: 1 !important; }
#rp-plan .route-unassign-object { grid-column: 5 !important; grid-row: 1 !important; }
#rp-plan .route-move-object { grid-column: 3 / 6 !important; grid-row: 2 !important; display: flex; align-items: center; justify-content: end; gap: 6px; }
#rp-plan .route-plan-row button, #rp-plan .route-plan-row .route-nav-button { min-height: 28px !important; height: 28px !important; padding: 3px 7px !important; }
@media (max-width: 760px) {
  #rp-plan .route-day .route-plan-row { grid-template-columns: minmax(0, 1fr) auto auto auto !important; grid-template-rows: auto auto auto auto !important; }
  #rp-plan .route-plan-row > time { grid-column: 2 !important; }
  #rp-plan .route-nav-leg { grid-column: 3 !important; }
  #rp-plan .route-unassign-object { grid-column: 4 !important; }
  #rp-plan .route-plan-row > span:not(.route-object-order) { grid-column: 1 / -1 !important; grid-row: 2 !important; }
  #rp-plan .route-plan-row > small { grid-column: 1 / -1 !important; grid-row: 3 !important; }
  #rp-plan .route-object-order { grid-row: 4 !important; }
  #rp-plan .route-move-object { grid-column: 2 / -1 !important; grid-row: 4 !important; }
}
}
.route-day-color {
  display: inline-flex !important;
  grid-template-columns: auto 34px;
  align-items: center;
  gap: 6px;
}

.route-day-color input[type="color"] {
  width: 34px;
  min-width: 34px;
  height: 32px;
  min-height: 32px;
  padding: 2px;
  border-radius: 8px;
  cursor: pointer;
}

.route-day-confirm {
  display: inline-flex !important;
  flex: 0 0 auto;
  align-items: center;
  width: auto !important;
  min-width: max-content;
  white-space: nowrap !important;
  word-break: normal !important;
}

.route-day-confirm input[type="checkbox"] {
  flex: 0 0 auto;
}

.route-plan-marker {
  background: var(--plan-marker) !important;
}

.route-day-head {
  background: color-mix(in srgb, var(--day-color) 22%, white) !important;
  border-color: color-mix(in srgb, var(--day-color) 30%, white) !important;
  color: #17232a !important;
}

.route-print-summary tbody[data-summary-day] td {
  background: #fff !important;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

.route-print-summary tbody[data-summary-day] .route-summary-marker {
  background: color-mix(in srgb, var(--day-color) 24%, white) !important;
  color: var(--day-color) !important;
}

.route-day .route-plan-row {
  background: #fff !important;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

.route-day .route-day-totals {
  background: #fff !important;
  border-left: 4px solid var(--day-color) !important;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

.pdf-export-host-r261 .route-day-color,
.pdf-export-host-r261 .route-day-confirm,
.pdf-export-host-r261 .route-day-head > button,
.pdf-export-host-r261 .route-object-order,
.pdf-export-host-r261 .route-move-object,
.pdf-export-host-r261 .route-unassign-object {
  display: none !important;
}

.pdf-export-host-r261 .route-nav-button {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: center !important;
  width: 7mm !important;
  min-width: 7mm !important;
  height: 7mm !important;
  padding: 0 !important;
  border: .25mm solid #9cb6aa !important;
  border-radius: 2mm !important;
  background: #eef5f1 !important;
  color: #17683d !important;
  text-decoration: none !important;
}

.pdf-export-host-r261 .route-nav-button svg {
  width: 4.5mm !important;
  height: 4.5mm !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.8 !important;
}

.pdf-export-host-r261 .route-pdf-all-nav-r383 {
  width: auto !important;
  margin: 0 0 3mm !important;
  padding: 0 2.5mm !important;
  gap: 1.5mm !important;
  font-size: 8pt !important;
  font-weight: 700 !important;
}

.pdf-export-host-r261 .pdf-route-summary-r261,
.pdf-export-host-r261 .pdf-route-map-r261,
.pdf-export-host-r261 .pdf-route-day-r261 {
  color: #17232a !important;
  font-family: Arial, sans-serif !important;
  font-size: 9pt !important;
  line-height: 1.28 !important;
}

.pdf-export-host-r261 .pdf-route-summary-r261 h1 {
  margin: 0 0 4mm !important;
  color: #17232a !important;
  font-size: 16pt !important;
  line-height: 1.15 !important;
}

.pdf-export-host-r261 .pdf-route-summary-r261 table {
  width: 100% !important;
  table-layout: fixed !important;
  border-collapse: collapse !important;
}

.pdf-export-host-r261 .pdf-route-summary-r261 th,
.pdf-export-host-r261 .pdf-route-summary-r261 td {
  padding: 2mm 2.3mm !important;
  border: .25mm solid #c5d6cd !important;
  color: #17232a !important;
  font-size: 8.5pt !important;
  line-height: 1.25 !important;
  text-align: left !important;
  vertical-align: top !important;
}

.pdf-export-host-r261 .pdf-route-summary-r261 thead th {
  background: #e4efe9 !important;
  font-weight: 800 !important;
}

.pdf-export-host-r261 .pdf-route-summary-r261 th:nth-child(1),
.pdf-export-host-r261 .pdf-route-summary-r261 td:nth-child(1) { width: 5% !important; }
.pdf-export-host-r261 .pdf-route-summary-r261 th:nth-child(2),
.pdf-export-host-r261 .pdf-route-summary-r261 td:nth-child(2) { width: 8% !important; text-align: center !important; }
.pdf-export-host-r261 .pdf-route-summary-r261 th:nth-child(3),
.pdf-export-host-r261 .pdf-route-summary-r261 td:nth-child(3) { width: 10% !important; }
.pdf-export-host-r261 .pdf-route-summary-r261 th:nth-child(4),
.pdf-export-host-r261 .pdf-route-summary-r261 td:nth-child(4) { width: 11% !important; }
.pdf-export-host-r261 .pdf-route-summary-r261 th:nth-child(5),
.pdf-export-host-r261 .pdf-route-summary-r261 td:nth-child(5) { width: 66% !important; }

.pdf-export-host-r261 .pdf-route-summary-r261 td.route-summary-marker {
  color: var(--day-color) !important;
}

.pdf-export-host-r261 .pdf-route-summary-r261 .route-summary-date th {
  padding: 2mm 2.3mm !important;
  background: color-mix(in srgb, var(--day-color) 26%, white) !important;
  border-color: color-mix(in srgb, var(--day-color) 36%, white) !important;
  font-weight: 800 !important;
}

.pdf-export-host-r261 .pdf-route-summary-r261 .route-plan-totals {
  display: flex !important;
  align-items: center !important;
  gap: 3mm 6mm !important;
  flex-wrap: wrap !important;
  margin: 1.5mm 0 0 !important;
  padding: 2.5mm 3mm !important;
  border-radius: 2.5mm !important;
  background: #eef5f1 !important;
  font-size: 8.5pt !important;
}

.pdf-export-host-r261 .pdf-route-summary-r261 .route-plan-totals b {
  margin-right: auto !important;
}

.pdf-export-host-r261 .pdf-route-map-r261 h2 {
  margin: 0 0 2mm !important;
  color: #17232a !important;
  font-size: 14pt !important;
  line-height: 1.15 !important;
}

.pdf-export-host-r261 .pdf-route-map-r261 .route-print-map-image {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: 155mm !important;
  border-radius: 2.5mm !important;
  object-fit: contain !important;
  object-position: left top !important;
}

.pdf-export-host-r261 .pdf-route-day-r261 .route-day-head {
  display: flex !important;
  align-items: center !important;
  min-height: 10mm !important;
  margin: 0 0 2mm !important;
  padding: 2.5mm 3mm !important;
  border: 0 !important;
  border-left: 1.2mm solid var(--day-color) !important;
  border-radius: 2.5mm !important;
  background: color-mix(in srgb, var(--day-color) 25%, white) !important;
}

.pdf-export-host-r261 .pdf-route-day-r261 .route-day-head h3 {
  margin: 0 !important;
  color: #17232a !important;
  font-size: 12pt !important;
  line-height: 1.15 !important;
}

.pdf-export-host-r261 .pdf-route-day-r261 .route-plan-row {
  display: grid !important;
  grid-template-columns: 66mm minmax(0, 1fr) 31mm 8mm !important;
  align-items: start !important;
  gap: 1mm 3mm !important;
  margin: 0 !important;
  padding: 2.3mm 0 !important;
  border: 0 !important;
  border-bottom: .25mm solid #dbe4df !important;
  background: #fff !important;
}

.pdf-export-host-r261 .pdf-route-day-r261 .route-plan-row > b {
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
  font-size: 9pt !important;
}

.pdf-export-host-r261 .pdf-route-day-r261 .route-plan-row > span {
  grid-column: 2 !important;
  grid-row: 1 !important;
  font-size: 9pt !important;
}

.pdf-export-host-r261 .pdf-route-day-r261 .route-plan-row > time {
  grid-column: 3 !important;
  grid-row: 1 !important;
  white-space: nowrap !important;
  text-align: left !important;
  font-size: 9pt !important;
}

.pdf-export-host-r261 .pdf-route-day-r261 .route-plan-row > small {
  grid-column: 2 / 5 !important;
  grid-row: 2 !important;
  color: #6b7b73 !important;
  font-size: 7.5pt !important;
  line-height: 1.2 !important;
}

.pdf-export-host-r261 .pdf-route-day-r261 .route-plan-row > .route-nav-button {
  grid-column: 4 !important;
  grid-row: 1 !important;
  align-self: start !important;
  justify-self: end !important;
}

.pdf-export-host-r261 .pdf-route-day-r261 .route-plan-row em {
  display: block !important;
  margin: 0 0 .7mm !important;
  color: var(--day-color) !important;
  font-size: 8pt !important;
  font-style: normal !important;
  font-weight: 800 !important;
}

.pdf-export-host-r261 .pdf-route-day-r261 .route-day-totals {
  display: flex !important;
  align-items: center !important;
  gap: 2mm 5mm !important;
  flex-wrap: wrap !important;
  margin: 1mm 0 0 !important;
  padding: 2.5mm 3mm !important;
  border: 0 !important;
  border-left: 1.2mm solid var(--day-color) !important;
  border-radius: 2.5mm !important;
  background: color-mix(in srgb, var(--day-color) 20%, white) !important;
  font-size: 8.5pt !important;
}

.pdf-export-host-r261 .pdf-route-day-r261 .route-day-totals b {
  margin-right: auto !important;
}

@media print {
  body.print-profile-route .route-day-color,
  body.print-profile-route .route-day-confirm,
  body.print-profile-route .route-day-head > button {
    display: none !important;
  }

  body.print-profile-route .route-print-summary tbody[data-summary-day] td,
  body.print-profile-route .route-day .route-plan-row {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  body.print-profile-route .route-day .route-plan-row {
    background: #fff !important;
  }

  body.print-profile-route .route-day .route-day-totals {
    background: color-mix(in srgb, var(--day-color) 20%, white) !important;
  }
}
/* r385: размеры и выделение по предоставленному образцу */
.pdf-export-host-r261 .pdf-route-summary-r261 th,
.pdf-export-host-r261 .pdf-route-summary-r261 td {
  font-size:7pt!important; line-height:1.15!important; padding:.8mm 1.6mm!important;
}
.pdf-export-host-r261 .pdf-route-summary-r261 thead th { white-space:nowrap!important; }
.pdf-export-host-r261 .pdf-route-summary-r261 h1 { font-size:16pt!important; }
.pdf-export-host-r261 .pdf-route-summary-r261 .route-summary-date th { padding:.8mm 1.6mm!important; }
.pdf-export-host-r261 .pdf-route-day-r261 .route-day-head > label { display:none!important; }
.pdf-export-host-r261 .pdf-route-day-r261 .route-day-head { min-height:0!important; padding:1mm 0!important; border-left:0!important; gap:8mm!important; }
.pdf-export-host-r261 .pdf-route-day-r261 .route-day-totals { border-left:0!important; }
.pdf-export-host-r261 .pdf-route-day-r261 .route-plan-row { grid-template-columns:44mm minmax(0,1fr) 28mm 8mm!important; padding:1.3mm 0!important; }
.pdf-export-host-r261 .pdf-route-day-r261 .route-day-head h3 { min-width:74mm!important; }
.pdf-export-host-r261 .route-nav-button { background:#e1e4e6!important; color:#263238!important; }
.pdf-export-host-r261 .route-nav-button > span { color:#263238!important; background:transparent!important; }

/* Keep label and count intact; addresses wrap at word boundaries. */
@media screen {
.route-planner-list > header {display:flex!important;flex-wrap:wrap!important;align-items:center;gap:5px 12px!important;padding:12px!important;}
.route-planner-list > header > b {flex:0 0 auto;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;}
.route-planner-list #rp-count {flex:1 1 210px;min-width:0;word-break:normal!important;overflow-wrap:normal!important;font-size:13px;}
.route-object-id b {white-space:nowrap!important;word-break:normal!important;}
.route-object-address {min-width:0;word-break:normal!important;overflow-wrap:break-word!important;hyphens:none!important;}
.route-object-address em {word-break:normal!important;overflow-wrap:normal!important;}
}
