html {
  scroll-behavior: smooth;
}

.field {
  min-height: 42px;
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid #cfd8de;
  background: #fff;
  padding: 0.625rem 0.75rem;
  color: #172026;
  outline: none;
}

.field:focus {
  border-color: #0f766e;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.mobile-menu {
  display: none;
}

.mobile-menu.open {
  display: grid;
  gap: 0.75rem;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.42);
}

.modal-backdrop.open {
  display: flex;
}

.modal-panel {
  position: relative;
  width: min(100%, 460px);
  border-radius: 0.5rem;
  border: 1px solid #dbe2e6;
  background: #fff;
  padding: 1.5rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
}

.modal-panel-wide {
  width: min(100%, 720px);
  max-height: min(90vh, 780px);
  overflow: auto;
}

.close-btn {
  position: absolute;
  right: 0.875rem;
  top: 0.875rem;
  display: grid;
  height: 2rem;
  width: 2rem;
  place-items: center;
  border-radius: 0.375rem;
  border: 1px solid #dbe2e6;
  background: #fff;
  color: #66727a;
  font-size: 1.25rem;
  line-height: 1;
}

.admin-tabs button {
  white-space: nowrap;
  border-radius: 999px;
  border: 1px solid #dbe2e6;
  background: #fff;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #66727a;
}

.admin-tabs button.active {
  border-color: #14181f;
  background: #14181f;
  color: #fff;
}

.status-tabs button {
  white-space: nowrap;
  border-radius: 999px;
  border: 1px solid #dbe2e6;
  background: #fff;
  padding: 0.45rem 0.85rem;
  font-size: 0.875rem;
  color: #66727a;
}

.status-tabs button.active {
  border-color: #14181f;
  background: #14181f;
  color: #fff;
}

.progress-bar {
  height: 0.45rem;
  overflow: hidden;
  border-radius: 999px;
  background: #e5eaee;
}

.progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #0f766e;
}

.product-shot {
  transform: perspective(1200px) rotateY(-2deg);
}

.empty-state {
  display: none;
}

.empty-state.show {
  display: block;
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  max-width: min(360px, calc(100vw - 2rem));
  transform: translateY(12px);
  border-radius: 0.5rem;
  background: #172026;
  padding: 0.75rem 1rem;
  color: #fff;
  font-size: 0.875rem;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 640px) {
  .product-shot {
    transform: none;
  }

  .modal-panel {
    padding: 1.25rem;
  }
}
