.vnuti-timeline-lookup {
  --vntl-text: #18212f;
  --vntl-muted: #667085;
  --vntl-line: #d9e1ea;
  --vntl-blue: #2f9fd6;
  --vntl-green: #079455;
  --vntl-amber: #b54708;
  --vntl-red: #d92d20;
  --vntl-busy: #bfc8d6;
  --vntl-work: #f4df9e;
  --vntl-yellow: #ffd91a;
  --vntl-dark: #0f172a;
  --vntl-radius: 8px;
  color: var(--vntl-text);
  font-family: inherit;
  width: calc(100vw - 28px);
  max-width: none;
  margin-left: calc(50% - 50vw + 14px);
  margin-right: calc(50% - 50vw + 14px);
}

.vnuti-timeline-lookup.is-embedded {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.vnuti-timeline-lookup * {
  box-sizing: border-box;
}

.vnuti-timeline-lookup [hidden] {
  display: none !important;
}

.vntl-topbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 14px;
  padding: 0 2px;
}

.vntl-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.vntl-mark {
  width: 42px;
  height: 42px;
  display: grid;
  flex: 0 0 42px;
  place-items: center;
  border-radius: var(--vntl-radius);
  background: var(--vntl-dark);
  color: #fff;
  box-shadow: 0 14px 34px rgba(16, 24, 40, .16);
}

.vntl-mark svg {
  width: 23px;
  height: 23px;
}

.vntl-topbar h2 {
  margin: 0;
  color: var(--vntl-text);
  font-size: 28px;
  line-height: 1.1;
}

.vntl-usage-note {
  margin: 5px 0 0;
  color: var(--vntl-muted);
  font-size: 14px;
}

.vntl-usage-note strong {
  color: var(--vntl-text);
  font-weight: 900;
}

.vntl-today {
  padding: 9px 12px;
  border: 1px solid var(--vntl-line);
  border-radius: var(--vntl-radius);
  background: #fff;
  color: #344054;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.vntl-form {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) minmax(230px, 1.2fr) minmax(135px, .62fr) minmax(125px, .54fr) minmax(120px, .52fr) minmax(150px, .65fr) auto;
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid var(--vntl-line);
  border-radius: var(--vntl-radius);
  background: #fff;
  margin-bottom: 12px;
  box-shadow: 0 14px 34px rgba(16, 24, 40, .08);
}

.vntl-field-wide {
  min-width: 180px;
}

.vntl-field {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.vntl-field span {
  color: var(--vntl-muted);
  font-size: 12px;
  font-weight: 800;
}

.vntl-field input,
.vntl-field select {
  width: 100%;
  height: 42px;
  border: 1px solid var(--vntl-line);
  border-radius: var(--vntl-radius);
  background: #fff;
  color: var(--vntl-text);
  font: inherit;
  padding: 0 10px;
  outline: none;
}

.vntl-field input:focus,
.vntl-field select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .14);
}

.vntl-location-field {
  position: relative;
}

.vntl-location-field input {
  padding-right: 72px;
}

.vnuti-timeline-lookup .vntl-paste-button {
  position: absolute;
  right: 7px;
  bottom: 7px;
  width: 54px !important;
  min-width: 54px !important;
  height: 28px !important;
  min-height: 28px;
  border: 1px solid #c8d2df;
  border-radius: 999px;
  background: #f8fafc;
  color: #111827;
  padding: 0 !important;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.vnuti-timeline-lookup .vntl-paste-button:hover {
  background: #eef4ff;
  border-color: #9db8ff;
  color: #1454d8;
}

.vntl-place-list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 30;
  border: 1px solid var(--vntl-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(16, 24, 40, .16);
  overflow: hidden;
}

.vntl-place-item {
  width: 100%;
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid #eef2f7;
  background: #fff;
  color: var(--vntl-text);
  text-align: left;
  cursor: pointer;
}

.vntl-place-item:last-child {
  border-bottom: 0;
}

.vntl-place-item:hover,
.vntl-place-item:focus-visible {
  background: #eef4ff;
  outline: none;
}

.vntl-place-title {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.vntl-place-meta {
  color: var(--vntl-muted);
  font-size: 12px;
  line-height: 1.4;
}

.vntl-place-empty {
  padding: 10px 12px;
  color: var(--vntl-muted);
  font-size: 12px;
}

.vntl-time-field {
  position: relative;
}

.vntl-time-field input[type="time"] {
  padding-right: 42px;
}

.vntl-time-field input[type="time"]::-webkit-calendar-picker-indicator {
  opacity: 0;
}

.vnuti-timeline-lookup .vntl-now-button {
  position: absolute;
  right: 8px;
  bottom: 7px;
  width: 28px !important;
  min-width: 28px !important;
  max-width: 28px;
  height: 28px !important;
  min-height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  padding: 0 !important;
  border-radius: 999px;
  background: transparent;
  color: #111827;
  cursor: pointer;
  line-height: 1;
}

.vnuti-timeline-lookup .vntl-now-button:hover {
  background: #eef4ff;
  color: #1454d8;
}

.vnuti-timeline-lookup .vntl-now-button svg {
  width: 17px;
  height: 17px;
}

.vntl-button {
  height: 42px;
  min-width: 96px;
  border: 1px solid var(--vntl-dark);
  border-radius: var(--vntl-radius);
  background: var(--vntl-dark);
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

@media (max-width: 1280px) {
  .vntl-form {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .vntl-button {
    width: 100%;
  }
}

@media (max-width: 1560px) {
  .vntl-form {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .vntl-button {
    width: 100%;
  }
}

.vntl-button:disabled {
  opacity: .62;
  cursor: wait;
}

.vntl-message {
  padding: 10px 12px;
  border: 1px solid #fedf89;
  border-radius: var(--vntl-radius);
  background: #fffaeb;
  color: #93370d;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 12px;
}

.vntl-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.vntl-stats div {
  padding: 12px;
  border: 1px solid var(--vntl-line);
  border-radius: var(--vntl-radius);
  background: #fff;
}

.vntl-stats span {
  display: block;
  color: var(--vntl-muted);
  font-size: 12px;
  font-weight: 800;
}

.vntl-stats strong {
  display: block;
  margin-top: 4px;
  color: var(--vntl-text);
  font-size: 24px;
  line-height: 1;
}

.vntl-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 42%);
  gap: 12px;
  align-items: start;
}

.vntl-layout > * {
  min-width: 0;
}

.vntl-panel {
  min-width: 0;
  border: 1px solid var(--vntl-line);
  border-radius: var(--vntl-radius);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(16, 24, 40, .08);
}

.vntl-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--vntl-line);
  background: #fbfcfe;
}

.vntl-panel-head h3 {
  margin: 0;
  font-size: 15px;
}

.vntl-count {
  color: var(--vntl-muted);
  font-size: 12px;
  font-weight: 800;
}

.vntl-head-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.vntl-share-button {
  min-height: 30px;
  border: 1px solid var(--vntl-dark);
  border-radius: var(--vntl-radius);
  background: var(--vntl-dark);
  color: #fff;
  padding: 0 10px;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}

.vntl-share-button:hover {
  background: #1d2939;
}

.vntl-share-button:disabled {
  border-color: #cbd5e1;
  background: #eef2f7;
  color: #94a3b8;
  cursor: not-allowed;
}

.vntl-table-wrap {
  overflow-x: auto;
}

.vntl-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  table-layout: auto;
}

.vntl-table th,
.vntl-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--vntl-line);
  text-align: left;
  vertical-align: top;
  font-size: 13px;
}

.vntl-table th {
  color: #475467;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  background: #f8fafc;
  white-space: normal;
  line-height: 1.25;
  vertical-align: middle;
}

.vntl-th-label {
  display: inline-block;
  max-width: 100%;
  line-height: 1.15;
}

.vntl-col-shop {
  width: auto;
}

.vntl-col-eta {
  width: 1%;
}

.vntl-col-hours {
  width: 112px;
  min-width: 112px;
}

.vntl-col-available {
  width: 1%;
}

.vntl-col-status {
  width: 1%;
}

.vntl-table th:nth-child(2),
.vntl-table td:nth-child(2) {
  white-space: normal;
  overflow-wrap: normal;
}

.vntl-table th:nth-child(3),
.vntl-table td:nth-child(3),
.vntl-table th:nth-child(4),
.vntl-table td:nth-child(4),
.vntl-table th:nth-child(5),
.vntl-table td:nth-child(5) {
  white-space: nowrap;
}

.vntl-table tr {
  cursor: pointer;
}

.vntl-table tbody tr:hover,
.vntl-table tbody tr.is-active {
  background: #f1f6ff;
}

.vntl-shop {
  font-weight: 900;
}

.vntl-col-eta-cell {
  min-width: 148px;
  max-width: 220px;
}

.vntl-work-cell {
  display: grid;
  gap: 4px;
  min-width: 104px;
}

.vntl-work-range {
  line-height: 1.35;
  white-space: nowrap;
}

.vntl-sub {
  margin-top: 2px;
  color: var(--vntl-muted);
  font-size: 12px;
}

.vntl-eta-distance {
  font-weight: 900;
}

.vntl-eta-meta {
  margin-top: 2px;
  color: var(--vntl-muted);
  font-size: 11px;
  line-height: 1.35;
}

.vntl-eta-arrival {
  margin-top: 4px;
  color: #0f172a;
  font-size: 12px;
  font-weight: 900;
}

.vntl-radius-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}

.vntl-radius-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.vntl-radius-badge.within {
  background: #dcfae6;
  color: var(--vntl-green);
}

.vntl-radius-badge.outside {
  background: #fff1eb;
  color: var(--vntl-red);
}

.vntl-radius-badge.missing_data {
  background: #f4f5f7;
  color: #475467;
}

.vntl-radius-meta,
.vntl-radius-note {
  color: var(--vntl-muted);
  font-size: 11px;
  line-height: 1.35;
}

.vntl-radius-detail {
  display: grid;
  gap: 6px;
}

.vntl-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.vntl-badge.open {
  background: #dcfae6;
  color: var(--vntl-green);
}

.vntl-badge.busy {
  background: #fef0c7;
  color: var(--vntl-amber);
}

.vntl-badge.off,
.vntl-badge.error {
  background: #fee4e2;
  color: var(--vntl-red);
}

.vntl-detail {
  min-width: 0;
  padding: 14px;
}

.vntl-detail h3 {
  margin: 0;
  font-size: 20px;
}

.vntl-detail-meta {
  margin: 4px 0 12px;
  color: var(--vntl-muted);
  font-size: 13px;
  font-weight: 800;
}

.vntl-info-grid {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.vntl-info {
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--vntl-line);
  border-radius: var(--vntl-radius);
  background: #fbfcfe;
}

.vntl-info span {
  display: block;
  margin-bottom: 4px;
  color: var(--vntl-muted);
  font-size: 12px;
  font-weight: 800;
}

.vntl-info strong {
  display: block;
  font-size: 14px;
}

.vntl-slots {
  display: grid;
  gap: 6px;
}

.vntl-slot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid #c7d4e5;
  border-radius: 6px;
  background: #eef5ff;
  color: #153b8a;
  font-size: 13px;
  font-weight: 900;
}

.vntl-slot span {
  display: block;
}

.vntl-slots-empty {
  padding: 2px 0 0;
  color: var(--vntl-muted);
  font-size: 14px;
  font-weight: 800;
}

.vntl-empty {
  min-height: 220px;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--vntl-muted);
  text-align: center;
  font-weight: 800;
}

.vntl-board {
  position: relative;
  min-width: 0;
  max-width: 100%;
  border: 1px solid #aeb8c6;
  border-radius: var(--vntl-radius);
  background: #fff;
  overflow: hidden;
}

.vntl-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 5px 11px;
  padding: 8px 12px 10px;
  border-top: 1px solid #d7dee8;
  background: #fbfcfe;
  color: #475467;
  font-size: 10px;
  font-weight: 900;
}

.vntl-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.vntl-legend i {
  width: 15px;
  height: 10px;
  display: inline-block;
  border: 1px solid #cbd5e1;
  border-radius: 2px;
}

.vntl-legend .off {
  background: #fff;
}

.vntl-legend .work {
  background: var(--vntl-work);
  border-color: #d4b85d;
}

.vntl-legend .busy {
  background: var(--vntl-busy);
  border-color: #94a3b8;
}

.vntl-legend .free {
  background: linear-gradient(180deg, #2f80ed 0%, #175cd3 100%);
  border-color: #175cd3;
}

.vntl-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-color: #7f8da1 #eef2f7;
  scrollbar-width: auto;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-overflow-scrolling: touch;
}

.vntl-scroll.is-dragging {
  cursor: grabbing;
}

.vntl-scroll::-webkit-scrollbar {
  height: 12px;
}

.vntl-scroll::-webkit-scrollbar-track {
  background: #eef2f7;
  border-top: 1px solid #d7dee8;
}

.vntl-scroll::-webkit-scrollbar-thumb {
  background: #8696ab;
  border: 2px solid #eef2f7;
  border-radius: 999px;
}

.vntl-canvas {
  min-width: calc(var(--vntl-days, 2) * 1120px);
}

.vntl-day-head,
.vntl-hour-row {
  display: grid;
  grid-template-columns: repeat(var(--vntl-days, 2), 1fr);
}

.vntl-day {
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 12px;
  border-right: 1px solid #1f2937;
  border-bottom: 2px solid #1f2937;
  background: linear-gradient(180deg, #ffe64d 0%, var(--vntl-yellow) 100%);
  color: #111827;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.vntl-day:last-child {
  border-right: none;
}

.vntl-hours {
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  height: 30px;
  border-right: 1px solid #1f2937;
  border-bottom: 2px solid #1f2937;
  background:
    linear-gradient(180deg, #fff4a1 0%, #ffe81a 100%);
}

.vntl-hour-row .vntl-hours:last-child {
  border-right: none;
}

.vntl-hours span {
  display: grid;
  place-items: center;
  border-right: 1px solid rgba(17, 24, 39, .72);
  color: #111827;
  font-size: 12px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .4);
}

.vntl-hours span:last-child {
  border-right: none;
}

.vntl-lane {
  position: relative;
  height: 44px;
  background:
    repeating-linear-gradient(90deg, rgba(15, 23, 42, .16) 0 1px, transparent 1px calc(100% / (24 * var(--vntl-days, 2)))),
    repeating-linear-gradient(90deg, rgba(15, 23, 42, .06) 0 1px, transparent 1px calc(100% / (96 * var(--vntl-days, 2)))),
    #fffdf2;
  border-top: 1px solid #d9b93f;
  border-bottom: 1px solid #c7b98f;
  overflow: hidden;
}

.vntl-work {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  background: linear-gradient(180deg, #f5e3a0 0%, #ebd38b 100%);
  box-shadow: inset 0 0 0 1px rgba(194, 163, 40, .12);
}

.vntl-block {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border: 1px solid transparent;
  box-shadow: none;
}

.vntl-block.free {
  background: linear-gradient(180deg, #2f80ed 0%, #175cd3 100%);
  color: #fff;
  border-radius: 0 0 6px 6px;
  border-color: #175cd3;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .18);
}

.vntl-block.busy {
  background: linear-gradient(180deg, #cfd7e4 0%, #bcc8d9 100%);
  color: #344054;
  border-radius: 0 0 6px 6px;
  border-color: #97a6ba;
}

.vntl-next {
  padding: 10px 12px;
  color: #344054;
  font-size: 13px;
  font-weight: 900;
  background: #fbfcfe;
  border-top: 1px solid #d7dee8;
}

.vntl-next b {
  color: #0f4fd6;
}

@media (max-width: 920px) {
  .vnuti-timeline-lookup {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .vntl-form,
  .vntl-layout,
  .vntl-stats {
    grid-template-columns: 1fr;
  }

  .vntl-topbar {
    flex-direction: column;
  }
}
