body.nimbus-page-routes.routes-detail-screen #filters,
body.nimbus-page-routes.routes-create-screen #filters {
  display: none;
}

.route-detail-host #workList { height: 100%; overflow: hidden; }

.nimbus-clean-root {
  display: grid;
  grid-template-rows: 60px minmax(0, 1fr);
  width: 100%; height: 100%; min-height: 0;
  background: #eff3f6;
}

.nimbus-clean-route-top {
  position: relative;
  display: grid;
  grid-template-columns: 34px 30px minmax(0, 1fr) auto;
  grid-template-rows: minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 60px;
  padding: 0 20px;
  box-sizing: border-box;
  border-bottom: 1px solid #e6eaee;
  background: #fff;
}

.nimbus-clean-back,
.nimbus-clean-pencil,
.nimbus-clean-delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nimbus-clean-back {
  width: 24px;
  height: 24px;
}

.nimbus-clean-back img {
  display: block;
  width: 24px;
  height: 24px;
  pointer-events: none;
}

.nimbus-clean-pencil {
  width: 14px;
  height: 14px;
  border-radius: 2px;
  background: rgba(153, 157, 168, .7);
}

.nimbus-clean-pencil img {
  display: block;
  width: 12px;
  height: 12px;
  filter: brightness(0) invert(1);
  pointer-events: none;
}

.nimbus-clean-delete {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  margin: 1px 0 0 21px;
  border: 1px solid rgba(153, 157, 168, .4);
  border-radius: 4px;
}

.nimbus-clean-delete img {
  display: block;
  width: 20px;
  height: 20px;
  pointer-events: none;
}

.nimbus-clean-route-icon {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  color: #fff;
}

.nimbus-clean-route-title-wrap {
  display: flex;
  align-items: center;
  min-width: 0;
  overflow: visible;
}

.nimbus-clean-resizable-input {
  position: relative;
  flex: 0 0 auto;
}

.nimbus-clean-resizable-input-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.nimbus-clean-route-input-text {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-block;
  width: max-content;
  box-sizing: border-box;
  border: 1px solid transparent;
  overflow: visible;
  visibility: hidden;
  color: transparent;
  white-space: pre;
  pointer-events: none;
}

.nimbus-clean-route-number-field .nimbus-clean-route-input-text {
  min-width: 106px;
  height: 34px;
  padding: 0 4px 1px;
  font-size: 24px;
  font-weight: 400;
  line-height: normal;
}

.nimbus-clean-route-description-resizable .nimbus-clean-route-input-text {
  min-width: 56px;
  height: 18px;
  padding: 0 5px 2px;
  font-size: 11px;
  font-weight: 700;
  line-height: normal;
}

.nimbus-clean-route-number-field {
  height: 34px;
}

.nimbus-clean-route-number-input {
  position: absolute;
  inset: 0;
  display: block;
  height: 34px;
  padding: 0 4px 1px;
  box-sizing: border-box;
  border: 1px solid rgba(153,157,168,.4);
  border-radius: 4px;
  outline: 0;
  background: transparent;
  color: #2d2c33;
  font: inherit;
  font-size: 24px;
  font-weight: 400;
  line-height: normal;
  text-align: center;
  white-space: nowrap;
}

.nimbus-clean-route-number-input.is-editing {
  border-color: #4285f4;
}

.nimbus-clean-route-name-wrapper {
  display: flex;
  align-items: center;
  min-width: 0;
  overflow: hidden;
}

.nimbus-clean-route-name {
  min-width: 0;
  overflow: hidden;
  padding: 0 10px;
  color: #2d2c33;
  font-size: 24px;
  font-weight: 400;
  line-height: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nimbus-clean-route-description-field {
  position: relative;
  flex: 0 0 auto;
  margin: 3px 0 0 10px;
}

.nimbus-clean-route-description-resizable {
  display: inline-block;
  height: 18px;
  margin-top: 6px;
}

.nimbus-clean-route-description-input {
  position: absolute;
  inset: 0;
  display: block;
  height: 18px;
  padding: 0 5px 2px;
  box-sizing: border-box;
  border: 1px solid transparent;
  border-radius: 2px;
  outline: 0;
  background: #999da8;
  color: #fff;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: normal;
  text-overflow: clip;
  white-space: nowrap;
  cursor: text;
}

.nimbus-clean-route-description-field.is-empty {
  margin-top: 3px;
  display: flex;
  align-items: flex-end;
  height: 19px;
  padding-bottom: 1px;
}

.nimbus-clean-route-tooltip::after {
  content: attr(data-route-tooltip);
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 1200;
  display: none;
  padding: 8px 10px;
  border-radius: 4px;
  background: #2d2c33;
  box-shadow: 0 6px 16px rgba(0,0,0,.24);
  color: #fff;
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
  white-space: nowrap;
  transform: translateX(-50%);
  pointer-events: none;
}

.nimbus-clean-route-tooltip::before {
  content: "";
  position: absolute;
  top: calc(100% + 3px);
  left: 50%;
  z-index: 1201;
  display: none;
  border: 5px solid transparent;
  border-bottom-color: #2d2c33;
  transform: translateX(-50%);
  pointer-events: none;
}

.nimbus-clean-route-tooltip:hover::before,
.nimbus-clean-route-tooltip:hover::after {
  display: block;
}

.nimbus-clean-route-title-wrap.is-editing .nimbus-clean-route-tooltip::before,
.nimbus-clean-route-title-wrap.is-editing .nimbus-clean-route-tooltip::after {
  display: none;
}

.nimbus-clean-route-status,
.nimbus-clean-route-clean-actions,
.nimbus-clean-route-units-dirty-actions,
.nimbus-clean-route-header-edit-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nimbus-clean-route-header-cancel,
.nimbus-clean-route-header-save {
  height: 36px;
  box-sizing: border-box;
  border: 0;
  border-radius: 4px;
  font: inherit;
  font-size: 16px;
  cursor: pointer;
}

.nimbus-clean-route-header-cancel {
  padding: 0 10px;
  background: transparent;
  color: #999da8;
}

.nimbus-clean-route-header-save {
  min-width: 100px;
  padding: 0 20px;
  background: #32a754;
  color: #fff;
}

.nimbus-clean-route-header-save:disabled {
  cursor: wait;
  opacity: .7;
}
.nimbus-clean-route-clean-actions {
  gap: 0;
  align-items: flex-start;
  height: 37px;
}

.nimbus-clean-auto-create-toggle {
  display: inline-block;
  width: 80px;
  padding: 8px 22px;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.nimbus-clean-auto-create-toggle span {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  width: 36px;
  height: 16px;
  border: 1px solid #eff3f6;
  border-radius: 20px;
  background: #eff3f6;
  line-height: 20px;
}

.nimbus-clean-auto-create-toggle span::after {
  content: "";
  position: absolute;
  top: -5px;
  left: -4px;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(45,44,51,.35);
  transition: transform .16s ease;
}

.nimbus-clean-auto-create-toggle.on span::after {
  background: #32a754;
  transform: translateX(19px);
}

.nimbus-clean-action-separator {
  position: absolute;
  top: -1px;
  right: 76px;
  width: 1px;
  height: 70px;
  background: #e6eaee;
}

.nimbus-clean-route-body {
  display: grid;
  grid-template-rows: 50px minmax(0, 1fr);
  min-height: 0;
  padding: 20px;
  box-sizing: border-box;
  background: #eff3f6;
}
.nimbus-clean-tabs {
  display: flex;
  align-items: flex-end;
  height: 50px;
  gap: 0;
  border: 0;
  background: transparent;
}

.nimbus-clean-tab {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  height: 45px;
  margin: 0 5px 0 0;
  padding: 14px 20px 0;
  box-sizing: border-box;
  border: 1px solid #e6eaee;
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
  appearance: none;
  background: #fff;
  color: #999da8;
  cursor: pointer;
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
  text-align: center;
}

.nimbus-clean-tab.active {
  position: relative;
  height: 50px;
  padding-top: 16px;
  color: #2d2c33;
  font-size: 16px;
}

.nimbus-clean-tab.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: #fff;
}

.nimbus-clean-tab:disabled {
  cursor: default;
  opacity: .55;
}

.nimbus-clean-tab-count {
  display: inline-block;
  min-width: 22px;
  margin-left: 0;
  padding: 2px 6px;
  box-sizing: border-box;
  border-radius: 10px;
  background: rgba(153, 157, 168, .7);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: normal;
  text-align: center;
}

.nimbus-clean-tab.active .nimbus-clean-tab-count {
  background: #999da8;
}
.nimbus-clean-tab-panel { min-height: 0; overflow: hidden; border: 1px solid rgba(153,157,168,.2); background: #fff; }

.nimbus-clean-stops-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
}

.nimbus-clean-stops-list {
  width: 340px;
  min-height: 0;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
  border-right: 1px solid rgba(153, 157, 168, .28);
  background: #fff;
}

.nimbus-clean-stops-list::-webkit-scrollbar {
  width: 15px;
}

.nimbus-clean-stops-list::-webkit-scrollbar-track {
  background: #fff;
}

.nimbus-clean-stops-list::-webkit-scrollbar-thumb {
  border: 4px solid #fff;
  border-radius: 8px;
  background: rgba(153, 157, 168, .72);
}

.nimbus-clean-stop-row {
  position: relative;
  display: block;
  width: 100%;
  height: 81px;
  min-height: 81px;
  padding-left: 60px;
  box-sizing: border-box;
  cursor: pointer;
}

.nimbus-clean-stop-row::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 60px;
  border-bottom: 1px solid #e6eaee;
  content: "";
}

.nimbus-clean-stop-row:hover,
.nimbus-clean-stop-row.is-map-hovered {
  background: rgba(66, 133, 244, .05);
}

.nimbus-clean-stop-index {
  position: absolute;
  top: 36px;
  left: 0;
  width: 53px;
  color: rgba(45, 44, 51, .7);
  font-size: 12px;
  font-weight: 400;
  line-height: normal;
  text-align: right;
}

.nimbus-clean-stop-line {
  position: absolute;
  top: 2px;
  bottom: 0;
  left: 17px;
  width: 12px;
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAAICAYAAADTLS5CAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4QEMDy40R5VOKwAAABl0RVh0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeBDhcAAAAlSURBVAjXY/z//z8DAwMDA8uyjQf+MzAwMDAxQAEjTAougocBAA7KCSFSO0vJAAAAAElFTkSuQmCC") repeat-y 50% 0;
}

.nimbus-clean-stop-row.is-first .nimbus-clean-stop-line {
  top: 18px;
}

.nimbus-clean-stop-row.is-last .nimbus-clean-stop-line {
  bottom: auto;
  height: 25px;
}

.nimbus-clean-stop-line::before {
  content: none;
}

.nimbus-clean-stop-dot {
  width: 12px;
  height: 12px;
  margin-top: 16px;
  box-sizing: border-box;
  border: 1px solid #999da8;
  border-radius: 50%;
  background: #fff;
}

.nimbus-clean-stop-row.is-first .nimbus-clean-stop-dot {
  margin-top: 0;
}

.nimbus-clean-stop-row:hover .nimbus-clean-stop-dot,
.nimbus-clean-stop-row.is-map-hovered .nimbus-clean-stop-dot {
  border-color: #999da8;
  background: #999da8;
}

.nimbus-clean-stop-main {
  height: 81px;
  min-width: 0;
  padding: 14px 10px 0 0;
  box-sizing: border-box;
}

.nimbus-clean-stop-ref {
  display: inline-block;
  max-width: 100%;
  margin-left: 5px;
  color: rgba(153, 157, 168, .7);
  font-size: 12px;
  font-weight: 400;
  line-height: normal;
  cursor: text;
  user-select: text;
}

.nimbus-clean-stop-ref:not(:empty)::before {
  content: "#";
}

.nimbus-clean-stop-name {
  max-width: var(--stop-name-max-width, 260px);
  margin: 0;
  overflow: hidden;
  color: #2d2c33;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nimbus-clean-stop-row:hover .nimbus-clean-stop-name {
  max-width: var(--stop-name-max-width, 240px);
}

.nimbus-clean-stop-desc {
  min-height: 0;
  margin: 2px 0;
  overflow: hidden;
  color: rgba(45, 44, 51, .7);
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nimbus-clean-stop-actions {
  position: absolute;
  top: 11px;
  right: 4px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 28px;
  height: 28px;
  padding: 5px;
  box-sizing: border-box;
  border: 0;
  background: transparent;
  color: rgba(153, 157, 168, .7);
  cursor: pointer;
}

.nimbus-clean-stop-actions span {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
}

.nimbus-clean-stop-row:hover .nimbus-clean-stop-actions,
.nimbus-clean-stop-actions:focus-visible {
  display: inline-flex;
}

.nimbus-clean-map-slot { position: relative; min-width: 0; min-height: 0; overflow: hidden; background: #fff; }
.nimbus-clean-map-slot .map-wrap,
.nimbus-clean-map-slot #map {
  display: block;
  width: 100%;
  height: 100%;
}
.nimbus-clean-map-note { display: none; }

.route-create-detail-actions { display: flex; align-items: center; gap: 14px; }
.route-create-cancel-link { border: 0; background: transparent; color: rgba(45,44,51,.58); cursor: pointer; }
.route-create-title-wrap { display: flex; align-items: center; gap: 10px; min-width: 0; }
.route-create-number-input { width: 112px; height: 36px; padding: 0 8px; box-sizing: border-box; border: 1px solid #4285f4; border-radius: 4px; color: #2d2c33; font-size: 18px; }

.nimbus-route-map-stop-marker {
  display: block;
  width: 32px;
  height: 32px;
  box-sizing: border-box;
  border: 1px solid #e6eaee;
  border-radius: 50%;
  background: #fff;
  color: #000;
  padding-top: 7px;
  font-family: Lato, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  cursor: pointer;
}

.nimbus-route-map-stop-marker:hover,
.nimbus-route-map-stop-marker.is-hovered,
.nimbus-route-map-stop-marker.is-selected {
  border-color: var(--route-stop-color, #32a754);
  background: var(--route-stop-color, #32a754);
  color: #fff;
}

.route-map-stop-tooltip {
  position: fixed;
  z-index: 10002;
  width: max-content;
  padding: 10px 18px;
  box-sizing: border-box;
  border: 1px solid #fff;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(45, 44, 51, .35);
  color: #222;
  font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 18px;
  pointer-events: none;
}

.route-map-stop-tooltip::after {
  position: absolute;
  bottom: -20px;
  left: 50%;
  width: 0;
  height: 0;
  margin-left: -10px;
  border: 10px solid transparent;
  border-top-color: #fff;
  content: "";
}

.route-map-stop-tooltip-name {
  max-width: 400px;
  overflow: hidden;
  color: #2d2c33;
  font-size: 16px;
  line-height: 24px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.route-map-stop-tooltip-desc {
  max-width: 400px;
  margin: 2px 0;
  overflow: hidden;
  color: rgba(45, 44, 51, .7);
  font-size: 14px;
  line-height: 21px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nimbus-route-map-edit-point {
  box-sizing: border-box;
  border-radius: 50%;
  background: #fff;
}

.nimbus-route-map-edit-point.is-main {
  width: 16px;
  height: 16px;
  border: 1px solid #e6eaee;
  cursor: move;
}

.nimbus-route-map-edit-point.is-middle {
  width: 10px;
  height: 10px;
  border: 2px solid #32a754;
  cursor: pointer;
}

.nimbus-route-map-edit-point.is-main:hover {
  border-color: #32a754;
}

.nimbus-route-map-edit-point.is-middle:hover {
  background: #32a754;
}

.route-stop-context-menu,
.route-stop-picker-menu {
  position: fixed;
  z-index: 10003;
  box-sizing: border-box;
  border: 1px solid #ecedf0;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(45, 44, 51, .2);
}

.route-stop-context-menu {
  width: 130px;
  min-width: 130px;
  overflow: hidden;
}

.route-stop-context-menu.is-row {
  height: auto;
}

.route-stop-context-menu.is-map {
  display: flex;
  width: 132px;
  min-width: 132px;
  overflow: visible;
  flex-direction: column;
  border: 0;
  background: #43424d;
}

.route-stop-context-menu.is-map::after {
  position: absolute;
  top: 50%;
  left: -7px;
  width: 14px;
  height: 14px;
  background: #43424d;
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.route-stop-context-menu button {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 31px;
  min-height: 31px;
  padding: 0 20px;
  border: 0;
  background: transparent;
  color: #2d2c33;
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

.route-stop-context-menu.is-row button:hover,
.route-stop-context-menu.is-row button:focus-visible {
  background: rgba(66, 133, 244, .05);
  color: #4285f4;
  outline: 0;
}

.route-stop-context-menu.is-map button {
  display: block;
  width: 132px;
  height: 40px;
  min-height: 40px;
  padding: 0 14px;
  color: rgba(255, 255, 255, .72);
  text-align: left;
}

.route-stop-context-menu.is-map button:hover,
.route-stop-context-menu.is-map button:focus-visible {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  outline: 0;
}

.route-stop-picker-menu { width: 320px; max-height: 420px; padding: 12px; }
.route-stop-picker-title { margin-bottom: 10px; color: #2d2c33; font-size: 14px; font-weight: 600; }
.route-stop-picker-search { width: 100%; height: 36px; padding: 0 10px; box-sizing: border-box; border: 1px solid rgba(153,157,168,.4); border-radius: 4px; outline: 0; }
.route-stop-picker-search:focus { border-color: #4285f4; }
.route-stop-picker-list { max-height: 326px; margin-top: 8px; overflow-y: auto; }
.route-stop-picker-item { display: block; width: 100%; min-height: 34px; padding: 6px 8px; border: 0; background: transparent; color: #2d2c33; text-align: left; cursor: pointer; }
.route-stop-picker-item:hover { background: rgba(66,133,244,.07); }

.route-draft-schedules { display: flex; flex-direction: column; height: 100%; min-height: 0; padding: 14px; box-sizing: border-box; }
.route-draft-schedules-toolbar { display: grid; grid-template-columns: 130px minmax(180px, 1fr) minmax(220px, 1fr) auto; gap: 12px; align-items: end; padding: 14px; border: 1px solid rgba(153,157,168,.28); border-radius: 4px 4px 0 0; }
.route-draft-schedules-toolbar label { display: flex; flex-direction: column; gap: 5px; color: rgba(45,44,51,.68); font-size: 12px; }
.route-draft-schedules-toolbar input,
.route-draft-schedules-toolbar select { height: 36px; padding: 0 9px; box-sizing: border-box; border: 1px solid rgba(153,157,168,.4); border-radius: 4px; background: #fff; color: #2d2c33; }
.route-draft-schedules-table { min-height: 0; overflow: auto; border: 1px solid rgba(153,157,168,.28); border-top: 0; }
.route-draft-schedules-head,
.route-draft-schedule-row { display: grid; grid-template-columns: 120px minmax(180px,1fr) minmax(220px,1fr) 100px 44px; align-items: center; min-height: 48px; padding: 0 12px; column-gap: 12px; border-bottom: 1px solid rgba(153,157,168,.22); }
.route-draft-schedules-head { min-height: 38px; background: #f7f9fb; color: rgba(45,44,51,.58); font-size: 12px; }
.route-draft-schedule-row button { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 1px solid rgba(153,157,168,.34); border-radius: 4px; background: #fff; color: rgba(153,157,168,.8); cursor: pointer; }
.route-draft-schedule-row button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.route-draft-empty { padding: 30px; color: rgba(45,44,51,.52); text-align: center; }

/* Phase 12.1: route Objects structure/visual owner aligned to original Nimbus. */
.nimbus-route-objects {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  padding: 0;
  box-sizing: border-box;
  background: #fff;
  color: #2d2c33;
}

.nimbus-route-objects-toolbar {
  display: flex;
  align-items: center;
  min-height: 60px;
  padding: 0 20px;
  box-sizing: border-box;
  border: 0;
  border-bottom: 1px solid #e6eaee;
  border-radius: 0;
  background: #fff;
}

.nimbus-route-objects-title {
  flex: 0 0 342px;
  min-width: 0;
  height: 35px;
  padding: 6px 0;
  margin-right: 0;
  overflow: hidden;
  font-size: 16px;
  font-weight: 700;
  line-height: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nimbus-route-objects-toolbar-spacer {
  flex: 1 1 auto;
  min-width: 20px;
}

.nimbus-route-objects-auto-assignment {
  position: relative;
  bottom: 2px;
  display: inline-block;
  flex: 0 0 auto;
  min-width: 0;
  margin: 0;
  color: #2d2c33;
  font-size: 16px;
  line-height: normal;
  white-space: nowrap;
}

.nimbus-route-objects-auto-content {
  display: inline-block;
  vertical-align: middle;
  overflow: hidden;
  cursor: pointer;
}

.nimbus-route-objects-auto-label {
  display: inline-block;
  vertical-align: middle;
  padding: 0 6px 0 10px;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nimbus-route-objects-help {
  anchor-name: --route-objects-help;
  position: absolute;
  top: 5px;
  left: 100%;
  display: inline-block;
  width: 20px;
  height: 20px;
  color: rgba(153, 157, 168, .7);
  font-size: 0;
}

.nimbus-route-objects-help::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  background: currentColor;
  mask: url("/nimbus-icons/toolbar-info.svg") center / contain no-repeat;
}

.nimbus-route-objects-help-tooltip {
  display: none;
  position: fixed;
  position-anchor: --route-objects-help;
  top: round(down, calc(anchor(bottom) + 13px), 1px);
  left: round(down, calc(anchor(center) - 180px), 1px);
  z-index: 40;
  width: 360px;
  padding: 8px 10px;
  border-radius: 4px;
  background: #43424d;
  color: #fff;
  font: 14px / normal Lato, sans-serif;
  text-align: left;
  white-space: normal;
  opacity: .96;
  box-shadow: 0 9px 36px rgba(0, 0, 0, .24);
  pointer-events: none;
}

.nimbus-route-objects-help-tooltip::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: calc(50% - 5px);
  border: 5px solid transparent;
  border-top: 0;
  border-bottom-color: #43424d;
}

.nimbus-route-objects-help:is(:hover, :focus-visible) .nimbus-route-objects-help-tooltip {
  display: block;
}

.nimbus-route-objects-mode-switch {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  height: 36px;
  margin: 0 10px 0 0;
  border: 1px solid rgba(153, 157, 168, .4);
  border-radius: 4px;
}

.nimbus-route-objects-mode-button {
  min-width: 0;
  height: 100%;
  padding: 0 10px;
  box-sizing: border-box;
  border: 0;
  background: #fff;
  color: #999da8;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.nimbus-route-objects-mode-button:first-child {
  border-radius: 4px 0 0 4px;
}

.nimbus-route-objects-mode-button:last-child {
  margin-left: 0;
  border-left: 1px solid rgba(153, 157, 168, .4);
  border-radius: 0 4px 4px 0;
}

.nimbus-route-objects-mode-button:hover,
.nimbus-route-objects-mode-button:focus-visible {
  position: relative;
  color: #2d2c33;
  outline: 0;
}

.nimbus-route-objects-mode-button.is-active {
  position: relative;
  z-index: 1;
  background: rgba(66, 133, 244, .05);
  color: #2d2c33;
}

.nimbus-route-objects-search {
  position: relative;
  display: block;
  flex: 0 0 300px;
  width: 300px;
}

.nimbus-route-objects-search input {
  width: 100%;
  height: 36px;
  padding: 5px 34px 5px 10px;
  box-sizing: border-box;
  border: 1px solid rgba(153, 157, 168, 0.4);
  border-radius: 4px;
  background: #fff;
  color: #2d2c33;
  font: inherit;
  font-size: 14px;
  outline: 0;
}

.nimbus-route-objects-search input:focus {
  border-color: #4285f4;
}

.nimbus-route-objects-search-icon {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  box-sizing: border-box;
  background: #999da8;
  mask: url("/nimbus-icons/toolbar-search.svg") center / contain no-repeat;
  pointer-events: none;
}

.nimbus-route-objects-summary,
.nimbus-route-objects-group-units-summary,
.nimbus-route-objects-groups-header {
  display: flex;
  align-items: flex-start;
  min-height: 36px;
  padding: 8px 20px 9px;
  box-sizing: border-box;
  border: 0;
  border-bottom: 1px solid #e6eaee;
  background: #f8fafc;
  color: rgba(45, 44, 51, 0.7);
  font-size: 14px;
}

.nimbus-route-objects-summary {
  justify-content: space-between;
}

.nimbus-route-objects-select-all {
  padding: 0;
  border: 0;
  background: transparent;
  color: #8492a6;
  font: inherit;
  cursor: pointer;
}

.nimbus-route-objects-select-all:focus-visible {
  color: #4285f4;
  outline: 0;
}

.nimbus-route-objects-select-all:disabled {
  color: rgba(153, 157, 168, 0.42);
  cursor: default;
}

.nimbus-route-objects-content {
  flex: 1 1 auto;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  overflow: hidden;
}

.nimbus-route-objects-units-viewport,
.nimbus-route-objects-group-units-viewport {
  min-height: 0;
  overflow: hidden;
}

.nimbus-route-objects-units-viewport {
  height: 100%;
}

.nimbus-route-objects-units-track,
.nimbus-route-objects-group-units-track {
  display: flex;
  flex-flow: column wrap;
  align-content: flex-start;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 10px 20px 5px;
  overflow-x: auto;
  box-sizing: border-box;
}

.nimbus-route-objects-unit-item {
  flex: 0 0 32px;
  display: flex;
  align-items: center;
  min-width: 0;
  width: 270px;
  height: 32px;
  padding: 5px 20px 5px 0;
  box-sizing: border-box;
  color: #2d2c33;
  font-size: 16px;
  line-height: normal;
  cursor: pointer;
}

.nimbus-route-objects-unit-item.is-disabled {
  cursor: default;
}

.nimbus-route-objects-unit-content {
  display: inline-block;
  min-width: 0;
  overflow: hidden;
  vertical-align: middle;
  white-space: nowrap;
}

.nimbus-route-objects-unit-name {
  display: inline-block;
  min-width: 0;
  max-width: calc(100% - 16px);
  padding-left: 10px;
  overflow: hidden;
  font-size: 14px;
  vertical-align: middle;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nimbus-route-objects-unit-id {
  flex: 0 0 auto;
  margin: 3px 0 0 5px;
  color: rgba(153, 157, 168, 0.7);
  font-size: 12px;
  white-space: nowrap;
  user-select: text;
  cursor: text;
}

.nimbus-route-objects-check {
  position: relative;
  display: inline-flex;
  vertical-align: middle;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  min-width: 16px;
  box-sizing: border-box;
  border: 1px solid rgba(153, 157, 168, 0.4);
  border-radius: 4px;
  background: #fff;
  color: #fff;
}

.nimbus-route-objects-check input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.nimbus-route-objects-check.is-checked,
.nimbus-route-objects-check.is-partly {
  background: #32a754;
}

.nimbus-route-objects-check.is-disabled {
  background: rgba(153, 157, 168, 0.1);
  color: rgba(153, 157, 168, 0.7);
}

.nimbus-route-objects-check.is-disabled input {
  cursor: default;
}

.nimbus-route-objects-check-icon {
  display: none;
  width: 8px;
  height: 5px;
  margin-top: -2px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  pointer-events: none;
}

.nimbus-route-objects-check.is-checked .nimbus-route-objects-check-icon {
  display: block;
}

.nimbus-route-objects-group-check.is-partly .nimbus-route-objects-check-icon {
  display: block;
  width: 8px;
  height: 2px;
  margin: 0;
  border: 0;
  border-radius: 2px;
  background: #fff;
  transform: none;
}

.nimbus-route-objects-group-check-wrap {
  display: block;
  white-space: nowrap;
}

.nimbus-route-objects-groups-layout {
  display: grid;
  grid-template-columns: 342px minmax(0, 1fr);
  height: 100%;
  min-height: 0;
}

.nimbus-route-objects-groups-sidebar {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-right: 1px solid #e6eaee;
  overflow: hidden;
}

.nimbus-route-objects-groups-header {
  flex: 0 0 36px;
}

.nimbus-route-objects-groups-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}

.nimbus-route-objects-group-item {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 51px;
  padding: 0 20px;
  box-sizing: border-box;
  border-bottom: 1px solid #e6eaee;
  background: transparent;
  color: #000;
  font-size: 14px;
  line-height: normal;
  cursor: pointer;
}

.nimbus-route-objects-group-item.is-selected {
  background: rgba(66, 133, 244, 0.05);
}

.nimbus-route-objects-group-open {
  display: flex;
  align-items: center;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.nimbus-route-objects-group-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nimbus-route-objects-group-count {
  margin-left: 4px;
  white-space: nowrap;
}

.nimbus-route-objects-group-units-area {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}

.nimbus-route-objects-group-units-summary {
  flex: 0 0 36px;
}

.nimbus-route-objects-group-units-viewport {
  flex: 1 1 auto;
}

.nimbus-route-objects-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  padding: 24px;
  color: rgba(45, 44, 51, 0.48);
  text-align: center;
}

@media (max-width: 1500px) {
  .nimbus-route-objects-title {
    flex-basis: 270px;
    min-width: 220px;
  }

  .nimbus-route-objects-search {
    flex-basis: 260px;
    width: 260px;
  }

}

@media (max-width: 1180px) {
  .nimbus-route-objects-toolbar {
    flex-wrap: wrap;
    align-content: center;
    gap: 8px 10px;
    min-height: 96px;
    padding: 10px 12px;
  }

  .nimbus-route-objects-title {
    flex: 1 1 260px;
    min-width: 220px;
    margin-right: 0;
  }

  .nimbus-route-objects-auto-assignment {
    margin-right: 0;
  }

  .nimbus-route-objects-toolbar-spacer {
    display: none;
  }

  .nimbus-route-objects-mode-switch {
    margin-right: 0;
  }

  .nimbus-route-objects-search {
    flex: 1 1 240px;
    width: auto;
    min-width: 220px;
  }

  .nimbus-route-objects-groups-layout {
    grid-template-columns: 280px minmax(0, 1fr);
  }
}

/* Phase 7.4: one schedule-table owner reconstructed from original Nimbus. */
.nimbus-clean-schedule-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  padding: 0;
  box-sizing: border-box;
}

.nimbus-clean-schedule-toolbar {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  min-height: 60px;
  height: 60px;
  flex-shrink: 0;
  padding: 12px 20px;
  box-sizing: border-box;
  border: 0;
  border-bottom: 1px solid #e6eaee;
  border-radius: 0;
  background: #fff;
}

.nimbus-clean-select.nimbus-schedule-filter-select {
  position: relative;
  flex: 0 0 301px;
  width: 301px;
}

.nimbus-schedule-filter-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 36px;
  padding: 0 8px 0 10px;
  box-sizing: border-box;
  border: 1px solid rgba(153, 157, 168, .4);
  border-radius: 4px;
  background: #fff;
  color: #2d2c33;
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

.nimbus-schedule-filter-control:focus-visible,
.nimbus-schedule-filter-control.Select__control--menu-is-open {
  border-color: #4285f4;
  outline: 0;
}

.nimbus-schedule-filter-control:disabled {
  background: #f7f8fa;
  color: rgba(45, 44, 51, 0.38);
  cursor: default;
}

.nimbus-schedule-filter-value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nimbus-schedule-filter-arrow {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  margin-left: 12px;
  background: currentColor;
  color: #999da8;
  -webkit-mask: url("/nimbus-icons/user-chevron.svg") center / 14px 14px no-repeat;
  mask: url("/nimbus-icons/user-chevron.svg") center / 14px 14px no-repeat;
}

.nimbus-schedule-filter-menu {
  position: absolute;
  top: 42px;
  left: 0;
  z-index: 40;
  width: 100%;
  max-height: 260px;
  overflow: auto;
  padding: 4px 0;
  box-sizing: border-box;
  border: 1px solid rgba(153, 157, 168, 0.28);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(45, 44, 51, 0.18);
}

.nimbus-schedule-filter-option {
  display: block;
  width: 100%;
  min-height: 36px;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  color: #2d2c33;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.nimbus-schedule-filter-option:hover,
.nimbus-schedule-filter-option:focus-visible {
  background: #f2f6ff;
  outline: 0;
}

.nimbus-schedule-filter-option.Select__option--is-selected {
  background: #eaf2ff;
  color: #4285f4;
}

.nimbus-clean-schedule-bulk {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin-left: 20px;
}

.nimbus-clean-icon-btn,
.nimbus-clean-calendar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  box-sizing: border-box;
  border: 1px solid rgba(153, 157, 168, 0.4);
  border-radius: 4px;
  background: #fff;
  color: #999da8;
  cursor: pointer;
}

.nimbus-clean-toolbar-icon {
  display: block;
  width: 20px;
  height: 20px;
  background: currentColor;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.nimbus-clean-toolbar-icon-list {
  width: 18px;
  height: 18px;
  -webkit-mask-image: url("/nimbus-icons/routes-original/2.svg");
  mask-image: url("/nimbus-icons/routes-original/2.svg");
}

.nimbus-clean-toolbar-icon-edit {
  -webkit-mask-image: url("/nimbus-icons/action-edit.svg");
  mask-image: url("/nimbus-icons/action-edit.svg");
}

.nimbus-clean-toolbar-icon-delete {
  -webkit-mask-image: url("/nimbus-icons/action-delete.svg");
  mask-image: url("/nimbus-icons/action-delete.svg");
}

.nimbus-clean-toolbar-icon-calendar {
  width: 18px;
  height: 18px;
  -webkit-mask-image: url("/nimbus-icons/routes-original/3.svg");
  mask-image: url("/nimbus-icons/routes-original/3.svg");
}

.nimbus-clean-toolbar-icon-plus {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  background-color: transparent;
  background-image: url("/nimbus-icons/routes-original/5.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 18px 18px;
  -webkit-mask-image: none;
  mask-image: none;
}

.nimbus-clean-icon-btn:hover,
.nimbus-clean-icon-btn:focus-visible,
.nimbus-clean-calendar-btn:hover,
.nimbus-clean-calendar-btn:focus-visible,
.nimbus-clean-icon-btn.pressed {
  border-color: #4285f4;
  color: #4285f4;
  outline: 0;
}

.nimbus-clean-icon-btn.pressed {
  background: #ffffff;
}

.nimbus-clean-icon-btn:disabled,
.nimbus-clean-calendar-btn:disabled,
.nimbus-clean-icon-btn.disabled,
.nimbus-clean-calendar-btn.disabled {
  border-color: rgba(153, 157, 168, 0.22);
  background: #fafbfc;
  color: rgba(153, 157, 168, 0.38);
  cursor: default;
}

.nimbus-clean-select-all {
  height: 36px;
  padding: 0 12px;
  box-sizing: border-box;
  border: 1px solid rgba(153, 157, 168, 0.34);
  border-radius: 4px;
  background: #fff;
  color: #2d2c33;
  font: inherit;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
}

.nimbus-clean-select-all.active {
  border-color: #4285f4;
  color: #4285f4;
}

.nimbus-clean-convert-btn {
  position: relative;
  margin-left: auto;
}

.nimbus-clean-convert-btn::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -21px;
  width: 1px;
  height: 36px;
  background: #e6eaee;
  pointer-events: none;
}

.nimbus-clean-add-schedule {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  flex: 0 0 auto;
  width: auto;
  height: 36px;
  margin-left: 20px;
  padding: 9px 16px 9px 12px;
  box-sizing: border-box;
  border: 1px solid #32a754;
  border-radius: 4px;
  background: #32a754;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.nimbus-clean-add-schedule:hover,
.nimbus-clean-add-schedule:focus-visible {
  background: #2b944a;
  border-color: #2b944a;
  outline: 0;
}

.nimbus-clean-add-schedule:disabled,
.nimbus-clean-add-schedule.disabled {
  border-color: rgba(153, 157, 168, 0.28);
  background: #f2f3f5;
  color: rgba(153, 157, 168, 0.5);
  cursor: default;
}

.nimbus-clean-schedule-grid {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  grid-template-rows: 30px minmax(0, 1fr) 30px;
  flex: 1 1 auto;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  overflow: hidden;
}

.nimbus-clean-schedule-stops-header {
  grid-column: 1;
  grid-row: 1;
  display: block;
  height: 30px;
  padding: 5px 17px;
  box-sizing: border-box;
  border-right: 1px solid rgba(153, 157, 168, 0.22);
  border-bottom: 1px solid rgba(153, 157, 168, 0.22);
  background: #f8fafc;
  color: rgba(45, 44, 51, 0.7);
  font-size: 14px;
}

.nimbus-clean-schedule-stops-header > span {
  opacity: .7;
}

.nimbus-clean-schedule-header-viewport {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(153, 157, 168, 0.22);
  background: #f8fafc;
}

.nimbus-clean-schedule-header-track,
.nimbus-clean-schedule-body-track {
  width: var(--schedule-track-width, 0px);
  min-width: var(--schedule-track-width, 0px);
}

.nimbus-clean-schedule-header-track {
  display: flex;
  height: 30px;
}

.nimbus-clean-schedule-col {
  flex: 0 0 85px;
  width: 85px;
  height: 30px;
  box-sizing: border-box;
}

.nimbus-clean-schedule-head-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 30px;
  box-sizing: border-box;
  border-right: 0;
  color: #8492a6;
  cursor: default;
}

.nimbus-clean-schedule-col.is-selected .nimbus-clean-schedule-head-inner {
  background: rgba(66, 133, 244, 0.1);
}

.nimbus-clean-schedule-name {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  width: 100%;
  height: 100%;
  padding-left: 17px;
  box-sizing: border-box;
  font-size: 12px;
  white-space: nowrap;
}

.nimbus-clean-schedule-name > span:not(.nimbus-clean-schedule-checkbox) {
  overflow: hidden;
  text-overflow: ellipsis;
}

.nimbus-clean-schedule-pencil {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin-left: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(153, 157, 168, 0.5);
  cursor: pointer;
}

.nimbus-clean-schedule-pencil-icon {
  display: block;
  width: 12px;
  height: 12px;
  background: currentColor;
  -webkit-mask: url("/nimbus-icons/action-edit.svg") center / contain no-repeat;
  mask: url("/nimbus-icons/action-edit.svg") center / contain no-repeat;
}

.nimbus-clean-schedule-pencil:hover,
.nimbus-clean-schedule-pencil:focus-visible {
  color: #4285f4;
  outline: 0;
}

.nimbus-clean-schedule-checkbox {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  margin: 0 5px 0 0;
  padding: 0;
  box-sizing: border-box;
  border: 1px solid rgba(153, 157, 168, 0.48);
  border-radius: 4px;
  background: #fff;
  color: #fff;
  cursor: pointer;
  appearance: none;
}

.nimbus-clean-schedule-checkbox:hover,
.nimbus-clean-schedule-checkbox:focus-visible {
  border-color: #4285f4;
  outline: 0;
}

.nimbus-clean-schedule-checkbox.checked {
  border-color: #4285f4;
  background: #4285f4;
}

.nimbus-clean-schedule-checkbox-icon {
  display: none;
  width: 7px;
  height: 4px;
  margin-top: -2px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

.nimbus-clean-schedule-checkbox.checked .nimbus-clean-schedule-checkbox-icon {
  display: block;
}

.nimbus-clean-schedule-stops-viewport {
  grid-column: 1;
  grid-row: 2;
  min-height: 0;
  overflow: hidden;
}

.nimbus-clean-schedule-stops-track,
.nimbus-clean-schedule-body-track {
  min-height: var(--schedule-body-height, 0px);
}

.nimbus-clean-schedule-stop-cell,
.nimbus-clean-schedule-body-row {
  height: 66px;
  box-sizing: border-box;
}

/* Schedules reuses the existing route-stops sequence owner for index / dotted line / dot / text. */
.nimbus-schedule-stop-row {
  --stop-name-max-width: none;
  height: 66px;
  min-height: 66px;
  cursor: default;
}

.nimbus-schedule-stop-row:hover {
  background: transparent;
}

.nimbus-schedule-stop-row .nimbus-clean-stop-index {
  top: 17px;
}

.nimbus-schedule-stop-row .nimbus-clean-stop-main {
  height: 66px;
  padding: 14px 10px 0 0;
}

.nimbus-clean-schedule-body-viewport {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  min-height: 0;
  overflow: auto;
  border-left: 1px solid #e6eaee;
}

/* Keep the body as the real horizontal scroll owner, but do not expose a second
   native horizontal scrollbar below the grid. The vertical scrollbar remains. */
.nimbus-clean-schedule-body-viewport::-webkit-scrollbar {
  width: 8px;
  height: 0;
}

.nimbus-clean-schedule-body-viewport::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background: rgba(99, 104, 116, 0.42);
}

.nimbus-clean-schedule-body-viewport::-webkit-scrollbar-track {
  background: transparent;
}

.nimbus-clean-schedule-body-track {
  position: relative;
}

.nimbus-clean-schedule-body-row {
  display: flex;
  border-bottom: 1px solid #eff3f6;
  width: var(--schedule-track-width, 0px);
  min-width: var(--schedule-track-width, 0px);
}

.nimbus-clean-time-cell {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex: 0 0 85px;
  width: 85px;
  height: 66px;
  padding: 16px 12px;
  box-sizing: border-box;
  border-right: 0;
  transition: background-color .12s ease;
}

.nimbus-clean-time-cell.is-selected {
  background: rgba(66, 133, 244, 0.08);
}

.nimbus-clean-time-cell.is-editing-column,
.nimbus-clean-schedule-col.is-editing-column .nimbus-clean-schedule-head-inner {
  background: rgba(50, 167, 84, 0.055);
}

.nimbus-clean-time-control {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 60px;
  height: 36px;
  padding: 0;
  box-sizing: border-box;
  border: 1px solid rgba(153, 157, 168, 0.4);
  border-radius: 4px;
  background: #fff;
  color: #2d2c33;
  transition: width .12s ease, border-color .12s ease, box-shadow .12s ease;
}

.nimbus-clean-time-control.is-editing,
.nimbus-clean-time-control:focus-within {
  z-index: 40;
  width: 100px;
  padding-right: 27px;
  border-color: #4285f4;
  box-shadow: 0 0 0 1px rgba(66, 133, 244, 0.08);
}

.nimbus-clean-time-control.dirty {
  border-color: rgba(153, 157, 168, 0.38);
}

.nimbus-clean-time-control.is-invalid,
.nimbus-clean-time-cell.is-invalid .nimbus-clean-time-control {
  border-color: #e25757;
  box-shadow: 0 0 0 1px rgba(226, 87, 87, 0.08);
}

.nimbus-clean-time-control.past-midnight {
  background: #f6f0ff;
}

.nimbus-clean-time-input {
  display: block;
  flex: 0 0 60px;
  width: 60px;
  min-width: 0;
  height: 34px;
  padding: 1px 11px 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 14px;
  line-height: normal;
  text-align: left;
  appearance: none;
}

.nimbus-clean-time-input[readonly] {
  cursor: default;
}

.nimbus-clean-time-control:has(.nimbus-clean-time-input[readonly]) {
  background: #fafbfc;
  color: rgba(45, 44, 51, 0.58);
}

.nimbus-clean-time-midnight-toggle,
.nimbus-clean-time-options-toggle {
  position: absolute;
  top: 50%;
  right: 5px;
  display: none;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #999da8;
  transform: translateY(-50%);
  cursor: pointer;
}

.nimbus-clean-time-control.is-editing .nimbus-clean-time-midnight-toggle,
.nimbus-clean-time-control.is-editing .nimbus-clean-time-options-toggle,
.nimbus-clean-time-control:focus-within .nimbus-clean-time-midnight-toggle,
.nimbus-clean-time-control:focus-within .nimbus-clean-time-options-toggle {
  display: inline-flex;
}

.nimbus-clean-time-midnight-toggle img {
  display: block;
  width: 12px;
  height: 13px;
  pointer-events: none;
}

.nimbus-clean-time-options-toggle {
  font-size: 15px;
  line-height: 1;
  letter-spacing: -2px;
}

.nimbus-clean-time-options-menu {
  position: absolute;
  z-index: 1250;
  top: calc(100% + 4px);
  left: 0;
  right: auto;
  min-width: 118px;
  padding: 4px 0;
  border: 1px solid #dfe3e8;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(45, 44, 51, 0.16);
}

.nimbus-clean-time-options-menu button {
  display: block;
  width: 100%;
  min-height: 32px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: #2d2c33;
  font: inherit;
  font-size: 13px;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
}

.nimbus-clean-time-options-menu button:hover {
  background: #f2f6ff;
  color: #4285f4;
}

.nimbus-clean-time-options-menu button:disabled {
  opacity: .45;
  cursor: default;
}

.nimbus-clean-time-options-menu button:disabled:hover {
  background: transparent;
  color: #2d2c33;
}

.nimbus-clean-time-options-menu[hidden] {
  display: none;
}

.nimbus-clean-schedule-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 180px;
  color: rgba(45, 44, 51, 0.48);
}

.nimbus-clean-schedule-time-navigator {
  position: relative;
  grid-column: 2;
  grid-row: 3;
  height: 30px;
  box-sizing: border-box;
  border-top: 1px solid rgba(153, 157, 168, 0.22);
  background: #fff;
  overflow: hidden;
  touch-action: none;
  cursor: pointer;
}

.nimbus-clean-schedule-time-labels {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.nimbus-clean-schedule-time-label {
  position: absolute;
  bottom: 3px;
  padding-left: 5px;
  color: rgba(45, 44, 51, 0.72);
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
  transform: none;
}

.nimbus-clean-schedule-time-label:not(.first):not(.last)::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 1px;
  height: 20px;
  background: #8f99a8;
}

.nimbus-clean-schedule-time-label.first {
  padding-left: 3px;
}

.nimbus-clean-schedule-time-label.last {
  padding-left: 0;
  transform: translateX(-100%);
}

.nimbus-clean-schedule-time-slider {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 30px;
  border: 2px solid #8f99a8;
  border-radius: 0;
  background: transparent;
  box-sizing: border-box;
  cursor: grab;
}

.nimbus-clean-schedule-time-slider:active {
  cursor: grabbing;
}

.nimbus-clean-schedule-time-navigator.is-disabled {
  cursor: default;
}

.nimbus-clean-schedule-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  padding-top: 4px;
  color: rgba(45, 44, 51, 0.62);
  font-size: 13px;
}

.nimbus-clean-schedule-footer .nimbus-clean-actions {
  display: flex;
  gap: 8px;
}

.nimbus-clean-dirty {
  color: #c27b00;
}

/* Schedule header tooltip. */
.nimbus-schedule-tooltip {
  position: fixed;
  z-index: 1400;
  width: max-content;
  padding: 10px 20px;
  border-radius: 4px;
  background: #fff;
  color: #2d2c33;
  font-size: 14px;
  line-height: normal;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-3px);
  transition: opacity 100ms ease, transform 100ms ease;
  box-shadow: 0 2px 10px rgba(45, 44, 51, 0.35);
}

.nimbus-schedule-tooltip.visible {
  opacity: .96;
  transform: translateY(0);
}

.nimbus-schedule-tooltip .unit {
  font-weight: 400;
}

.nimbus-schedule-tooltip .pattern {
  margin-top: 0;
  color: inherit;
}

/* Existing schedule-settings owner, visually completed here. */
#scheduleSettingsPopoverHost,
#addScheduleModalHost {
  position: relative;
  z-index: 1450;
}

.schedule-settings-backdrop {
  position: fixed;
  inset: 60px 0 0;
  z-index: 1450;
  background: transparent;
}

.nimbus-add-schedule-overlay {
  position: fixed;
  inset: 60px 0 0;
  z-index: 1450;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 143px 40px 0 0;
  box-sizing: border-box;
  background: transparent;
}

.schedule-settings-popover {
  position: fixed;
  z-index: 1451;
  display: flex;
  flex-direction: column;
  width: 280px;
  min-height: 334px;
  max-height: calc(100vh - 84px);
  overflow: visible;
  box-sizing: border-box;
  border: 1px solid rgba(153, 157, 168, 0.24);
  border-radius: 4px;
  background: #fff;
  color: #2d2c33;
  box-shadow: 0 4px 16px rgba(45, 44, 51, 0.22);
}

.nimbus-add-schedule-modal {
  display: flex;
  flex-direction: column;
  width: 266px;
  min-height: 386px;
  max-height: calc(100vh - 220px);
  overflow: visible;
  border: 1px solid rgba(153, 157, 168, 0.24);
  border-radius: 4px;
  background: #fff;
  color: #2d2c33;
  box-shadow: 0 4px 16px rgba(45, 44, 51, 0.22);
}

.schedule-settings-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  padding: 0 16px;
  box-sizing: border-box;
  border-bottom: 1px solid rgba(153, 157, 168, 0.34);
}

.nimbus-add-schedule-modal-head {
  display: flex;
  align-items: center;
  min-height: 50px;
  padding: 0 20px;
  box-sizing: border-box;
  border-bottom: 1px solid rgba(153, 157, 168, 0.26);
}

.schedule-settings-title {
  min-width: 0;
  overflow: hidden;
  color: #2d2c33;
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nimbus-add-schedule-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
}

.schedule-settings-delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.schedule-settings-delete img {
  display: block;
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.schedule-settings-link-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.schedule-settings-delete:hover img {
  opacity: 0.78;
}

.schedule-settings-body {
  display: grid;
  gap: 20px;
  padding: 18px 16px 0;
}

.nimbus-add-schedule-content {
  display: grid;
  gap: 20px;
  padding: 18px 20px 12px;
}

.schedule-settings-field {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 8px;
}

.schedule-settings-label {
  color: #8a8d94;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
}

.nimbus-add-schedule-field {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 6px;
}

.nimbus-add-schedule-label {
  color: #8a8d94;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
}

.nimbus-add-schedule-control {
  width: 100%;
  height: 38px;
  padding: 0 10px;
  box-sizing: border-box;
  border: 1px solid rgba(153, 157, 168, 0.42);
  border-radius: 4px;
  background: #fff;
  color: #2d2c33;
  font: inherit;
}

.nimbus-add-schedule-control {
  height: 36px;
  font-size: 15px;
  line-height: 20px;
}

.nimbus-add-schedule-control:focus {
  outline: none;
  border-color: #4d8df7;
}

.nimbus-add-schedule-dropdown {
  position: relative;
  display: block;
  width: 100%;
}

.nimbus-add-schedule-dropdown-trigger.ui-filter-dropdown__trigger {
  justify-content: space-between;
  gap: 4px;
  width: 100%;
  min-width: 0;
  height: 36px;
  box-sizing: border-box;
  overflow: hidden;
  padding: 0 5px 0 10px;
  border: 1px solid #d5d8de;
  border-radius: 4px;
  background: #fff;
  color: #2d2c33;
  font-size: 15px;
  line-height: 20px;
}

.nimbus-add-schedule-dropdown-trigger.ui-filter-dropdown__trigger:hover,
.nimbus-add-schedule-dropdown-trigger.ui-filter-dropdown__trigger:focus-visible,
.nimbus-add-schedule-dropdown.ui-filter-dropdown--open .nimbus-add-schedule-dropdown-trigger.ui-filter-dropdown__trigger {
  border-color: #4d8df7;
  color: #2d2c33;
  outline: 0;
}

.nimbus-add-schedule-dropdown-value {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
}

.nimbus-add-schedule-dropdown .ui-filter-dropdown__arrow {
  width: 22px;
  height: 34px;
  flex: 0 0 22px;
  color: #999da8;
  transition: transform 120ms ease;
}

.nimbus-add-schedule-dropdown .ui-filter-dropdown__arrow::before {
  width: 14px;
  height: 14px;
  background: url("/nimbus-icons/routes-original/1.svg") center / 14px 14px no-repeat;
  mask-image: none;
  -webkit-mask-image: none;
}

.nimbus-add-schedule-dropdown.ui-filter-dropdown--open .ui-filter-dropdown__arrow {
  transform: rotate(180deg);
}

.nimbus-add-schedule-dropdown-menu.ui-filter-dropdown__menu {
  top: 100%;
  left: 0;
  z-index: 80;
  width: 100%;
  min-width: 100%;
  max-height: 210px;
  padding: 0;
  overflow-y: auto;
  border: 1px solid #d5d8de;
  border-top: 0;
  border-radius: 0 0 4px 4px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(45, 44, 51, 0.20);
  scrollbar-width: thin;
  scrollbar-color: #b9bcc3 transparent;
}

.nimbus-add-schedule-dropdown-menu.ui-filter-dropdown__menu::-webkit-scrollbar {
  width: 8px;
}

.nimbus-add-schedule-dropdown-menu.ui-filter-dropdown__menu::-webkit-scrollbar-track {
  background: transparent;
}

.nimbus-add-schedule-dropdown-menu.ui-filter-dropdown__menu::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: #b9bcc3;
}

.nimbus-add-schedule-dropdown-option.ui-filter-dropdown__option {
  min-height: 36px;
  padding: 0 10px;
  color: #2d2c33;
  font-size: 15px;
  line-height: 20px;
}

.nimbus-add-schedule-dropdown-option.ui-filter-dropdown__option:hover,
.nimbus-add-schedule-dropdown-option.ui-filter-dropdown__option:focus-visible,
.nimbus-add-schedule-dropdown-option.ui-filter-dropdown__option--focused {
  background: #f2f6ff;
  color: #2d2c33;
}

.nimbus-add-schedule-dropdown-option.ui-filter-dropdown__option--selected {
  background: #f2f6ff;
  color: #4285f4;
}

.nimbus-add-schedule-dropdown.ui-filter-dropdown--open .nimbus-add-schedule-dropdown-trigger.ui-filter-dropdown__trigger {
  border-radius: 4px 4px 0 0;
}

.nimbus-add-schedule-time-control {
  position: relative;
  display: block;
  width: 100%;
}

.nimbus-add-schedule-time-control .nimbus-add-schedule-time {
  padding-right: 30px;
}

.nimbus-add-schedule-clock-icon {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 12px;
  height: 13px;
  background: url("/nimbus-icons/routes-original/15.svg") center / 12px 13px no-repeat;
  transform: translateY(-50%);
  pointer-events: none;
}

.nimbus-add-schedule-clock-icon::before {
  content: none;
}

.schedule-settings-unit-control {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
}

.schedule-settings-unit-control .nimbus-add-schedule-dropdown-value {
  padding-right: 58px;
}

.schedule-settings-unit-clear {
  position: absolute;
  top: 10px;
  right: 55px;
  z-index: 82;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.schedule-settings-unit-clear img {
  display: block;
  width: 16px;
  height: 16px;
  pointer-events: none;
}

.schedule-settings-unit-clear[hidden] {
  display: none;
}

.nimbus-add-schedule-units-select {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
}

.nimbus-add-schedule-units-select .nimbus-add-schedule-dropdown {
  min-width: 0;
}

.nimbus-add-schedule-units-select .nimbus-add-schedule-dropdown-trigger {
  box-sizing: border-box;
  overflow: hidden;
}

.nimbus-add-schedule-units-select .nimbus-add-schedule-dropdown-value {
  min-width: 0;
  padding-right: 58px;
}

.schedule-settings-link-icon {
  position: absolute;
  top: 0;
  right: 24px;
  z-index: 82;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.schedule-settings-link-icon img {
  display: block;
  width: 12px;
  height: 13px;
  filter: grayscale(1);
  opacity: 0.66;
  pointer-events: none;
}

.schedule-settings-link-icon.is-active img {
  filter: none;
  opacity: 1;
}

.schedule-settings-link-icon:disabled {
  cursor: default;
}

.schedule-settings-link-icon:disabled img {
  filter: grayscale(1);
  opacity: 0.38;
}

.schedule-settings-link-icon::after {
  position: absolute;
  top: 8px;
  right: 0;
  width: 1px;
  height: 20px;
  background: rgba(153, 157, 168, 0.30);
  content: "";
}

.nimbus-add-schedule-link-icon {
  position: absolute;
  top: 0;
  right: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 36px;
  box-sizing: border-box;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nimbus-add-schedule-link-icon img {
  display: block;
  width: 12px;
  height: 13px;
  filter: grayscale(1);
  opacity: 0.66;
  pointer-events: none;
}

.nimbus-add-schedule-link-icon.is-active img {
  filter: none;
  opacity: 1;
}

.nimbus-add-schedule-link-icon:disabled {
  cursor: default;
}

.nimbus-add-schedule-link-icon:disabled img {
  filter: grayscale(1);
  opacity: 0.38;
}

.nimbus-add-schedule-unit-clear {
  position: absolute;
  top: 10px;
  right: 55px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nimbus-add-schedule-unit-clear img {
  display: block;
  width: 16px;
  height: 16px;
  pointer-events: none;
}

.nimbus-add-schedule-unit-clear[hidden] {
  display: none;
}

.nimbus-add-schedule-link-icon::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 0;
  width: 1px;
  height: 20px;
  background: rgba(153, 157, 168, 0.30);
}

.nimbus-add-schedule-copy-from {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}

.nimbus-add-schedule-copy-from > * {
  min-width: 0;
}

.nimbus-add-schedule-dropdown-empty {
  padding: 10px;
  color: #8a8d94;
  font-size: 14px;
  line-height: 20px;
}

.schedule-settings-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-top: auto;
  padding: 30px 16px 18px;
}

.schedule-settings-close.ui-button.ui-button--secondary {
  min-width: 84px;
  height: 36px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #8290a8;
  font-size: 14px;
  font-weight: 500;
}

.schedule-settings-apply.ui-button.ui-button--primary {
  min-width: 112px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid #32a754;
  border-radius: 4px;
  background: #32a754;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.schedule-settings-popover .nimbus-add-schedule-dropdown .ui-filter-dropdown__arrow::before {
  width: 14px;
  height: 14px;
  background: url("/nimbus-icons/routes-original/1.svg") center / 14px 14px no-repeat;
  -webkit-mask-image: none;
  mask-image: none;
}

.schedule-settings-popover .nimbus-add-schedule-dropdown-menu.ui-filter-dropdown__menu {
  z-index: 90;
}

.nimbus-add-schedule-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-top: auto;
  padding: 18px 20px 20px;
}

.nimbus-add-schedule-close.ui-button.ui-button--secondary {
  min-width: 84px;
  height: 36px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #8290a8;
  font-size: 14px;
  font-weight: 500;
}

.nimbus-add-schedule-close.ui-button.ui-button--secondary:hover,
.nimbus-add-schedule-close.ui-button.ui-button--secondary:focus-visible {
  border: 0;
  background: transparent;
  color: #65758f;
  outline: 0;
}

.nimbus-add-schedule-apply.ui-button.ui-button--primary {
  min-width: 110px;
  height: 36px;
  padding: 0 18px;
  border: 1px solid #32a754;
  background: #32a754;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}


@media (max-width: 1100px) {
  .nimbus-clean-schedule-panel {
    padding: 12px;
  }

  .nimbus-clean-schedule-toolbar {
    padding: 0 12px;
  }

  .nimbus-clean-select.nimbus-schedule-filter-select {
    flex-basis: 240px;
    width: 240px;
  }

  .nimbus-clean-schedule-grid {
    grid-template-columns: 300px minmax(0, 1fr);
  }

  .nimbus-clean-add-schedule {
    min-width: 160px;
    margin-left: 12px;
  }
}

/* Phase 11.6-r3: keep schedule time actions from creating browser text selections. */
.nimbus-clean-time-midnight-toggle,
.nimbus-clean-time-options-toggle,
.nimbus-clean-time-options-menu,
.nimbus-clean-time-options-menu button {
  -webkit-user-select: none;
  user-select: none;
}
