/* v47-root: dynamic numbering, multiple customers, and layout alignment. */

.filter-reset-bar {
  min-height: 53px;
  padding: 12px 13px;
}

.customer-editor-list {
  display: grid;
  gap: 8px;
}

.customer-editor-row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 8px;
}

.customer-editor-row > input {
  min-width: 0;
}

.customer-editor-row > input:only-child {
  grid-column: 1 / -1;
}

.customer-editor-remove,
.customer-editor-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: #b9bbc4;
  background: #252730;
  font: inherit;
  font-weight: 800;
}

.customer-editor-remove {
  width: 42px;
  height: 42px;
  padding: 0;
  color: #e18487;
}

.customer-editor-add {
  width: fit-content;
  min-height: 38px;
  gap: 7px;
  padding: 8px 12px;
  font-size: 12px;
}

.customer-editor-remove:focus-visible,
.customer-editor-remove:hover,
.customer-editor-add:focus-visible,
.customer-editor-add:hover {
  color: #fff;
  border-color: rgba(165, 131, 232, 0.45);
  background: rgba(165, 131, 232, 0.12);
  outline: 0;
}

html[data-theme="light"] .customer-editor-remove,
html[data-theme="light"] .customer-editor-add {
  color: #555b66;
  background: #f7f8fa;
}

html[data-theme="light"] .customer-editor-remove {
  color: #a5383d;
}

.timer-progress-actual {
  gap: 0;
}

@media (min-width: 721px) {
  .section-heading h1,
  .home-schedule-heading h2,
  .queue-heading h2 {
    font-size: 40px;
    line-height: 1.05;
  }

  .current-content h3 {
    font-size: 18px;
    line-height: 1.38;
  }

  .current-customer,
  .current-details,
  .type-label {
    font-size: 14px;
    line-height: 1.5;
  }

  .current-description {
    margin-top: 0;
    color: #d0d2d8;
    font-size: 15px;
    line-height: 1.52;
  }

  .current-details {
    margin-top: 9px;
  }

  html[data-theme="light"] .current-description {
    color: #474c57;
  }

  .queue-section {
    padding-top: 44px;
  }
}

@media (max-width: 720px) {
  .section-heading h1,
  .home-schedule-heading h2,
  .queue-heading h2 {
    font-size: 29px;
    line-height: 1.08;
  }

  .home-schedule-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
    align-items: start;
    gap: 14px;
  }

  .home-schedule-heading > div:first-child {
    min-width: 0;
    width: auto;
    grid-column: 1;
    grid-row: 1;
  }

  .owner-mode .home-schedule-heading > div:first-child {
    width: auto;
  }

  .home-schedule-link,
  .home-schedule-add {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    margin-left: 0;
  }

  .home-schedule-link + .home-schedule-add {
    grid-row: 2;
  }

  .queue-section {
    padding-top: 36px;
  }

  .filter-reset-bar {
    min-height: 58px;
    padding: 13px;
  }

  .customer-editor-row {
    grid-template-columns: minmax(0, 1fr) 44px;
  }

  .customer-editor-remove {
    width: 44px;
    height: 44px;
  }
}
